@fedify/vocab 2.1.2 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deno.json +1 -1
- package/dist/mod.cjs +202 -202
- package/dist/mod.js +202 -202
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-Cb1qyeNy.mjs → deno-DW1_1YTc.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-uS-D0TBY.mjs → vocab-7uCD77Gl.mjs} +201 -201
- 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.1.
|
|
11
|
+
var version = "2.1.3";
|
|
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.1.
|
|
675
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
821
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
1033
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
1217
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
1379
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
1509
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
1675
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
1841
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
2015
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
2189
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
2368
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
2489
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
2616
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
2743
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
2888
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
3040
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
3204
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
3368
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
3532
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
3733
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
3920
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
4041
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
4162
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").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.1.
|
|
4989
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").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);
|
|
@@ -6362,7 +6362,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6362
6362
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6363
6363
|
*/
|
|
6364
6364
|
static async fromJsonLd(json, options = {}) {
|
|
6365
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
6365
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6366
6366
|
try {
|
|
6367
6367
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6368
6368
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6601,7 +6601,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6601
6601
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6602
6602
|
*/
|
|
6603
6603
|
static async fromJsonLd(json, options = {}) {
|
|
6604
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
6604
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6605
6605
|
try {
|
|
6606
6606
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
6607
6607
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6882,7 +6882,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6882
6882
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6883
6883
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6884
6884
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6885
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
6885
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6886
6886
|
let fetchResult;
|
|
6887
6887
|
try {
|
|
6888
6888
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7094,7 +7094,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7094
7094
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7095
7095
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7096
7096
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7097
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7097
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7098
7098
|
let fetchResult;
|
|
7099
7099
|
try {
|
|
7100
7100
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7260,7 +7260,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7260
7260
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7261
7261
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7262
7262
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7263
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7263
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7264
7264
|
let fetchResult;
|
|
7265
7265
|
try {
|
|
7266
7266
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7432,7 +7432,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7432
7432
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7433
7433
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7434
7434
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7435
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7435
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7436
7436
|
let fetchResult;
|
|
7437
7437
|
try {
|
|
7438
7438
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7598,7 +7598,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7598
7598
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7599
7599
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7600
7600
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7601
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7601
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7602
7602
|
let fetchResult;
|
|
7603
7603
|
try {
|
|
7604
7604
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7766,7 +7766,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7766
7766
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7767
7767
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7768
7768
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7769
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7769
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7770
7770
|
let fetchResult;
|
|
7771
7771
|
try {
|
|
7772
7772
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8017,7 +8017,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8017
8017
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8018
8018
|
*/
|
|
8019
8019
|
static async fromJsonLd(json, options = {}) {
|
|
8020
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8020
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8021
8021
|
try {
|
|
8022
8022
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8023
8023
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8339,7 +8339,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
8339
8339
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8340
8340
|
*/
|
|
8341
8341
|
static async fromJsonLd(json, options = {}) {
|
|
8342
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8342
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8343
8343
|
try {
|
|
8344
8344
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
8345
8345
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8585,7 +8585,7 @@ var PropertyValue = class {
|
|
|
8585
8585
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8586
8586
|
*/
|
|
8587
8587
|
static async fromJsonLd(json, options = {}) {
|
|
8588
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8588
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8589
8589
|
try {
|
|
8590
8590
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
8591
8591
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8745,7 +8745,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
8745
8745
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8746
8746
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8747
8747
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8748
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
8748
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8749
8749
|
let fetchResult;
|
|
8750
8750
|
try {
|
|
8751
8751
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8866,7 +8866,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
8866
8866
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8867
8867
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8868
8868
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8869
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
8869
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8870
8870
|
let fetchResult;
|
|
8871
8871
|
try {
|
|
8872
8872
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9082,7 +9082,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9082
9082
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9083
9083
|
*/
|
|
9084
9084
|
static async fromJsonLd(json, options = {}) {
|
|
9085
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9085
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9086
9086
|
try {
|
|
9087
9087
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
9088
9088
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9279,7 +9279,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
9279
9279
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9280
9280
|
*/
|
|
9281
9281
|
static async fromJsonLd(json, options = {}) {
|
|
9282
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9282
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9283
9283
|
try {
|
|
9284
9284
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
9285
9285
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9519,7 +9519,7 @@ var InteractionPolicy = class {
|
|
|
9519
9519
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9520
9520
|
*/
|
|
9521
9521
|
static async fromJsonLd(json, options = {}) {
|
|
9522
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9522
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9523
9523
|
try {
|
|
9524
9524
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
9525
9525
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9821,7 +9821,7 @@ var InteractionRule = class {
|
|
|
9821
9821
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9822
9822
|
*/
|
|
9823
9823
|
static async fromJsonLd(json, options = {}) {
|
|
9824
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9824
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9825
9825
|
try {
|
|
9826
9826
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
9827
9827
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9978,7 +9978,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
9978
9978
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9979
9979
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9980
9980
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9981
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
9981
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9982
9982
|
let fetchResult;
|
|
9983
9983
|
try {
|
|
9984
9984
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10099,7 +10099,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10099
10099
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10100
10100
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10101
10101
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10102
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10102
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10103
10103
|
let fetchResult;
|
|
10104
10104
|
try {
|
|
10105
10105
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10315,7 +10315,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10315
10315
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10316
10316
|
*/
|
|
10317
10317
|
static async fromJsonLd(json, options = {}) {
|
|
10318
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10318
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10319
10319
|
try {
|
|
10320
10320
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
10321
10321
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10511,7 +10511,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
10511
10511
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10512
10512
|
*/
|
|
10513
10513
|
static async fromJsonLd(json, options = {}) {
|
|
10514
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10514
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10515
10515
|
try {
|
|
10516
10516
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
10517
10517
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10642,7 +10642,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
10642
10642
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10643
10643
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10644
10644
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10645
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10645
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10646
10646
|
let fetchResult;
|
|
10647
10647
|
try {
|
|
10648
10648
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10763,7 +10763,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
10763
10763
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10764
10764
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10765
10765
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10766
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10766
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10767
10767
|
let fetchResult;
|
|
10768
10768
|
try {
|
|
10769
10769
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10979,7 +10979,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
10979
10979
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10980
10980
|
*/
|
|
10981
10981
|
static async fromJsonLd(json, options = {}) {
|
|
10982
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10982
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10983
10983
|
try {
|
|
10984
10984
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
10985
10985
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11175,7 +11175,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
11175
11175
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11176
11176
|
*/
|
|
11177
11177
|
static async fromJsonLd(json, options = {}) {
|
|
11178
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11178
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11179
11179
|
try {
|
|
11180
11180
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
11181
11181
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11381,7 +11381,7 @@ var DidService = class {
|
|
|
11381
11381
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11382
11382
|
*/
|
|
11383
11383
|
static async fromJsonLd(json, options = {}) {
|
|
11384
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11384
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11385
11385
|
try {
|
|
11386
11386
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
11387
11387
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11535,7 +11535,7 @@ var Export = class Export extends DidService {
|
|
|
11535
11535
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11536
11536
|
*/
|
|
11537
11537
|
static async fromJsonLd(json, options = {}) {
|
|
11538
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11538
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11539
11539
|
try {
|
|
11540
11540
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
11541
11541
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11708,7 +11708,7 @@ var DataIntegrityProof = class {
|
|
|
11708
11708
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11709
11709
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11710
11710
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11711
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
11711
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11712
11712
|
let fetchResult;
|
|
11713
11713
|
try {
|
|
11714
11714
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11927,7 +11927,7 @@ var DataIntegrityProof = class {
|
|
|
11927
11927
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11928
11928
|
*/
|
|
11929
11929
|
static async fromJsonLd(json, options = {}) {
|
|
11930
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11930
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11931
11931
|
try {
|
|
11932
11932
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
11933
11933
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12141,7 +12141,7 @@ var CryptographicKey = class {
|
|
|
12141
12141
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12142
12142
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12143
12143
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12144
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
12144
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12145
12145
|
let fetchResult;
|
|
12146
12146
|
try {
|
|
12147
12147
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12403,7 +12403,7 @@ var CryptographicKey = class {
|
|
|
12403
12403
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12404
12404
|
*/
|
|
12405
12405
|
static async fromJsonLd(json, options = {}) {
|
|
12406
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12406
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12407
12407
|
try {
|
|
12408
12408
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
12409
12409
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12598,7 +12598,7 @@ var Multikey = class {
|
|
|
12598
12598
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12599
12599
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12600
12600
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12601
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
12601
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12602
12602
|
let fetchResult;
|
|
12603
12603
|
try {
|
|
12604
12604
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12866,7 +12866,7 @@ var Multikey = class {
|
|
|
12866
12866
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12867
12867
|
*/
|
|
12868
12868
|
static async fromJsonLd(json, options = {}) {
|
|
12869
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12869
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12870
12870
|
try {
|
|
12871
12871
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
12872
12872
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13061,7 +13061,7 @@ var Accept = class Accept extends Activity {
|
|
|
13061
13061
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13062
13062
|
*/
|
|
13063
13063
|
static async fromJsonLd(json, options = {}) {
|
|
13064
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13064
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13065
13065
|
try {
|
|
13066
13066
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
13067
13067
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13213,7 +13213,7 @@ var Add = class Add extends Activity {
|
|
|
13213
13213
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13214
13214
|
*/
|
|
13215
13215
|
static async fromJsonLd(json, options = {}) {
|
|
13216
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13216
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13217
13217
|
try {
|
|
13218
13218
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
13219
13219
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13382,7 +13382,7 @@ var Announce = class Announce extends Activity {
|
|
|
13382
13382
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13383
13383
|
*/
|
|
13384
13384
|
static async fromJsonLd(json, options = {}) {
|
|
13385
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13385
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13386
13386
|
try {
|
|
13387
13387
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
13388
13388
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13777,7 +13777,7 @@ var Application = class Application extends Object$1 {
|
|
|
13777
13777
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13778
13778
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13779
13779
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13780
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
13780
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13781
13781
|
let fetchResult;
|
|
13782
13782
|
try {
|
|
13783
13783
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13939,7 +13939,7 @@ var Application = class Application extends Object$1 {
|
|
|
13939
13939
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13940
13940
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13941
13941
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13942
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
13942
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13943
13943
|
let fetchResult;
|
|
13944
13944
|
try {
|
|
13945
13945
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14119,7 +14119,7 @@ var Application = class Application extends Object$1 {
|
|
|
14119
14119
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14120
14120
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14121
14121
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14122
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14122
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14123
14123
|
let fetchResult;
|
|
14124
14124
|
try {
|
|
14125
14125
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14261,7 +14261,7 @@ var Application = class Application extends Object$1 {
|
|
|
14261
14261
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14262
14262
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14263
14263
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14264
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14264
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14265
14265
|
let fetchResult;
|
|
14266
14266
|
try {
|
|
14267
14267
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14400,7 +14400,7 @@ var Application = class Application extends Object$1 {
|
|
|
14400
14400
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14401
14401
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14402
14402
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14403
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14403
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14404
14404
|
let fetchResult;
|
|
14405
14405
|
try {
|
|
14406
14406
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14524,7 +14524,7 @@ var Application = class Application extends Object$1 {
|
|
|
14524
14524
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14525
14525
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14526
14526
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14527
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14527
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14528
14528
|
let fetchResult;
|
|
14529
14529
|
try {
|
|
14530
14530
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14651,7 +14651,7 @@ var Application = class Application extends Object$1 {
|
|
|
14651
14651
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14652
14652
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14653
14653
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14654
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14654
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14655
14655
|
let fetchResult;
|
|
14656
14656
|
try {
|
|
14657
14657
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14776,7 +14776,7 @@ var Application = class Application extends Object$1 {
|
|
|
14776
14776
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14777
14777
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14778
14778
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14779
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14779
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14780
14780
|
let fetchResult;
|
|
14781
14781
|
try {
|
|
14782
14782
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14899,7 +14899,7 @@ var Application = class Application extends Object$1 {
|
|
|
14899
14899
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14900
14900
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14901
14901
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14902
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14902
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14903
14903
|
let fetchResult;
|
|
14904
14904
|
try {
|
|
14905
14905
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15022,7 +15022,7 @@ var Application = class Application extends Object$1 {
|
|
|
15022
15022
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15023
15023
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15024
15024
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15025
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15025
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15026
15026
|
let fetchResult;
|
|
15027
15027
|
try {
|
|
15028
15028
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15184,7 +15184,7 @@ var Application = class Application extends Object$1 {
|
|
|
15184
15184
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15185
15185
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15186
15186
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15187
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15187
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15188
15188
|
let fetchResult;
|
|
15189
15189
|
try {
|
|
15190
15190
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15350,7 +15350,7 @@ var Application = class Application extends Object$1 {
|
|
|
15350
15350
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15351
15351
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15352
15352
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15353
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15353
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15354
15354
|
let fetchResult;
|
|
15355
15355
|
try {
|
|
15356
15356
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15564,7 +15564,7 @@ var Application = class Application extends Object$1 {
|
|
|
15564
15564
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15565
15565
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15566
15566
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15567
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15567
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15568
15568
|
let fetchResult;
|
|
15569
15569
|
try {
|
|
15570
15570
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16249,7 +16249,7 @@ var Application = class Application extends Object$1 {
|
|
|
16249
16249
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16250
16250
|
*/
|
|
16251
16251
|
static async fromJsonLd(json, options = {}) {
|
|
16252
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
16252
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16253
16253
|
try {
|
|
16254
16254
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
16255
16255
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16803,7 +16803,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
16803
16803
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16804
16804
|
*/
|
|
16805
16805
|
static async fromJsonLd(json, options = {}) {
|
|
16806
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
16806
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16807
16807
|
try {
|
|
16808
16808
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
16809
16809
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16956,7 +16956,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
16956
16956
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16957
16957
|
*/
|
|
16958
16958
|
static async fromJsonLd(json, options = {}) {
|
|
16959
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
16959
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16960
16960
|
try {
|
|
16961
16961
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
16962
16962
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17193,7 +17193,7 @@ var Article = class Article extends Object$1 {
|
|
|
17193
17193
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17194
17194
|
*/
|
|
17195
17195
|
static async fromJsonLd(json, options = {}) {
|
|
17196
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17196
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17197
17197
|
try {
|
|
17198
17198
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
17199
17199
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17430,7 +17430,7 @@ var Document = class Document extends Object$1 {
|
|
|
17430
17430
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17431
17431
|
*/
|
|
17432
17432
|
static async fromJsonLd(json, options = {}) {
|
|
17433
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17433
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17434
17434
|
try {
|
|
17435
17435
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
17436
17436
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17621,7 +17621,7 @@ var Audio = class Audio extends Document {
|
|
|
17621
17621
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17622
17622
|
*/
|
|
17623
17623
|
static async fromJsonLd(json, options = {}) {
|
|
17624
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17624
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17625
17625
|
try {
|
|
17626
17626
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
17627
17627
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17770,7 +17770,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
17770
17770
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17771
17771
|
*/
|
|
17772
17772
|
static async fromJsonLd(json, options = {}) {
|
|
17773
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17773
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17774
17774
|
try {
|
|
17775
17775
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
17776
17776
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17922,7 +17922,7 @@ var Block = class Block extends Ignore {
|
|
|
17922
17922
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17923
17923
|
*/
|
|
17924
17924
|
static async fromJsonLd(json, options = {}) {
|
|
17925
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17925
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17926
17926
|
try {
|
|
17927
17927
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
17928
17928
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18186,7 +18186,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18186
18186
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18187
18187
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18188
18188
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18189
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18189
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18190
18190
|
let fetchResult;
|
|
18191
18191
|
try {
|
|
18192
18192
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18307,7 +18307,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18307
18307
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18308
18308
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18309
18309
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18310
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18310
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18311
18311
|
let fetchResult;
|
|
18312
18312
|
try {
|
|
18313
18313
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18428,7 +18428,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18428
18428
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18429
18429
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18430
18430
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18431
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18431
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18432
18432
|
let fetchResult;
|
|
18433
18433
|
try {
|
|
18434
18434
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18549,7 +18549,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18549
18549
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18550
18550
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18551
18551
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18552
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18552
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18553
18553
|
let fetchResult;
|
|
18554
18554
|
try {
|
|
18555
18555
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18680,7 +18680,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18680
18680
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18681
18681
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18682
18682
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18683
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18683
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18684
18684
|
let fetchResult;
|
|
18685
18685
|
try {
|
|
18686
18686
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18800,7 +18800,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18800
18800
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18801
18801
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18802
18802
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18803
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18803
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18804
18804
|
let fetchResult;
|
|
18805
18805
|
try {
|
|
18806
18806
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18920,7 +18920,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18920
18920
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18921
18921
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18922
18922
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18923
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18923
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18924
18924
|
let fetchResult;
|
|
18925
18925
|
try {
|
|
18926
18926
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19040,7 +19040,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19040
19040
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19041
19041
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19042
19042
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19043
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19043
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19044
19044
|
let fetchResult;
|
|
19045
19045
|
try {
|
|
19046
19046
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19160,7 +19160,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19160
19160
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19161
19161
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19162
19162
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19163
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19163
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19164
19164
|
let fetchResult;
|
|
19165
19165
|
try {
|
|
19166
19166
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19280,7 +19280,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19280
19280
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19281
19281
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19282
19282
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19283
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19283
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19284
19284
|
let fetchResult;
|
|
19285
19285
|
try {
|
|
19286
19286
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19400,7 +19400,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19400
19400
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19401
19401
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19402
19402
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19403
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19403
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19404
19404
|
let fetchResult;
|
|
19405
19405
|
try {
|
|
19406
19406
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19520,7 +19520,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19520
19520
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19521
19521
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19522
19522
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19523
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19523
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19524
19524
|
let fetchResult;
|
|
19525
19525
|
try {
|
|
19526
19526
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19949,7 +19949,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19949
19949
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19950
19950
|
*/
|
|
19951
19951
|
static async fromJsonLd(json, options = {}) {
|
|
19952
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
19952
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19953
19953
|
try {
|
|
19954
19954
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
19955
19955
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20402,7 +20402,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
20402
20402
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20403
20403
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20404
20404
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20405
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20405
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20406
20406
|
let fetchResult;
|
|
20407
20407
|
try {
|
|
20408
20408
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20523,7 +20523,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
20523
20523
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20524
20524
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20525
20525
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20526
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20526
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20527
20527
|
let fetchResult;
|
|
20528
20528
|
try {
|
|
20529
20529
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20643,7 +20643,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
20643
20643
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20644
20644
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20645
20645
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20646
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20646
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20647
20647
|
let fetchResult;
|
|
20648
20648
|
try {
|
|
20649
20649
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20909,7 +20909,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
20909
20909
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20910
20910
|
*/
|
|
20911
20911
|
static async fromJsonLd(json, options = {}) {
|
|
20912
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
20912
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20913
20913
|
try {
|
|
20914
20914
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
20915
20915
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21136,7 +21136,7 @@ var Create = class Create extends Activity {
|
|
|
21136
21136
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21137
21137
|
*/
|
|
21138
21138
|
static async fromJsonLd(json, options = {}) {
|
|
21139
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21139
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21140
21140
|
try {
|
|
21141
21141
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
21142
21142
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21301,7 +21301,7 @@ var Delete = class Delete extends Activity {
|
|
|
21301
21301
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21302
21302
|
*/
|
|
21303
21303
|
static async fromJsonLd(json, options = {}) {
|
|
21304
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21304
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21305
21305
|
try {
|
|
21306
21306
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
21307
21307
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21453,7 +21453,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
21453
21453
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21454
21454
|
*/
|
|
21455
21455
|
static async fromJsonLd(json, options = {}) {
|
|
21456
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21456
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21457
21457
|
try {
|
|
21458
21458
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
21459
21459
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21798,7 +21798,7 @@ var Endpoints = class {
|
|
|
21798
21798
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21799
21799
|
*/
|
|
21800
21800
|
static async fromJsonLd(json, options = {}) {
|
|
21801
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21801
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21802
21802
|
try {
|
|
21803
21803
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
21804
21804
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22032,7 +22032,7 @@ var Event = class Event extends Object$1 {
|
|
|
22032
22032
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22033
22033
|
*/
|
|
22034
22034
|
static async fromJsonLd(json, options = {}) {
|
|
22035
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22035
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22036
22036
|
try {
|
|
22037
22037
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
22038
22038
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22182,7 +22182,7 @@ var Flag = class Flag extends Activity {
|
|
|
22182
22182
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22183
22183
|
*/
|
|
22184
22184
|
static async fromJsonLd(json, options = {}) {
|
|
22185
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22185
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22186
22186
|
try {
|
|
22187
22187
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
22188
22188
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22336,7 +22336,7 @@ var Follow = class Follow extends Activity {
|
|
|
22336
22336
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22337
22337
|
*/
|
|
22338
22338
|
static async fromJsonLd(json, options = {}) {
|
|
22339
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22339
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22340
22340
|
try {
|
|
22341
22341
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
22342
22342
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22731,7 +22731,7 @@ var Group = class Group extends Object$1 {
|
|
|
22731
22731
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22732
22732
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22733
22733
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22734
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
22734
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22735
22735
|
let fetchResult;
|
|
22736
22736
|
try {
|
|
22737
22737
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22893,7 +22893,7 @@ var Group = class Group extends Object$1 {
|
|
|
22893
22893
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22894
22894
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22895
22895
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22896
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
22896
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22897
22897
|
let fetchResult;
|
|
22898
22898
|
try {
|
|
22899
22899
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23073,7 +23073,7 @@ var Group = class Group extends Object$1 {
|
|
|
23073
23073
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23074
23074
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23075
23075
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23076
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23076
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23077
23077
|
let fetchResult;
|
|
23078
23078
|
try {
|
|
23079
23079
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23215,7 +23215,7 @@ var Group = class Group extends Object$1 {
|
|
|
23215
23215
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23216
23216
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23217
23217
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23218
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23218
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23219
23219
|
let fetchResult;
|
|
23220
23220
|
try {
|
|
23221
23221
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23354,7 +23354,7 @@ var Group = class Group extends Object$1 {
|
|
|
23354
23354
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23355
23355
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23356
23356
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23357
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23357
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23358
23358
|
let fetchResult;
|
|
23359
23359
|
try {
|
|
23360
23360
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23478,7 +23478,7 @@ var Group = class Group extends Object$1 {
|
|
|
23478
23478
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23479
23479
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23480
23480
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23481
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23481
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23482
23482
|
let fetchResult;
|
|
23483
23483
|
try {
|
|
23484
23484
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23605,7 +23605,7 @@ var Group = class Group extends Object$1 {
|
|
|
23605
23605
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23606
23606
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23607
23607
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23608
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23608
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23609
23609
|
let fetchResult;
|
|
23610
23610
|
try {
|
|
23611
23611
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23730,7 +23730,7 @@ var Group = class Group extends Object$1 {
|
|
|
23730
23730
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23731
23731
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23732
23732
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23733
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23733
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23734
23734
|
let fetchResult;
|
|
23735
23735
|
try {
|
|
23736
23736
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23853,7 +23853,7 @@ var Group = class Group extends Object$1 {
|
|
|
23853
23853
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23854
23854
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23855
23855
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23856
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23856
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23857
23857
|
let fetchResult;
|
|
23858
23858
|
try {
|
|
23859
23859
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23976,7 +23976,7 @@ var Group = class Group extends Object$1 {
|
|
|
23976
23976
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23977
23977
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23978
23978
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23979
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23979
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23980
23980
|
let fetchResult;
|
|
23981
23981
|
try {
|
|
23982
23982
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24138,7 +24138,7 @@ var Group = class Group extends Object$1 {
|
|
|
24138
24138
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24139
24139
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24140
24140
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24141
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24141
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24142
24142
|
let fetchResult;
|
|
24143
24143
|
try {
|
|
24144
24144
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24304,7 +24304,7 @@ var Group = class Group extends Object$1 {
|
|
|
24304
24304
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24305
24305
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24306
24306
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24307
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24307
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24308
24308
|
let fetchResult;
|
|
24309
24309
|
try {
|
|
24310
24310
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24518,7 +24518,7 @@ var Group = class Group extends Object$1 {
|
|
|
24518
24518
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24519
24519
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24520
24520
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24521
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24521
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24522
24522
|
let fetchResult;
|
|
24523
24523
|
try {
|
|
24524
24524
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25203,7 +25203,7 @@ var Group = class Group extends Object$1 {
|
|
|
25203
25203
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25204
25204
|
*/
|
|
25205
25205
|
static async fromJsonLd(json, options = {}) {
|
|
25206
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
25206
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25207
25207
|
try {
|
|
25208
25208
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
25209
25209
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25895,7 +25895,7 @@ var Link = class Link {
|
|
|
25895
25895
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25896
25896
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25897
25897
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25898
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25898
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25899
25899
|
let fetchResult;
|
|
25900
25900
|
try {
|
|
25901
25901
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26187,7 +26187,7 @@ var Link = class Link {
|
|
|
26187
26187
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26188
26188
|
*/
|
|
26189
26189
|
static async fromJsonLd(json, options = {}) {
|
|
26190
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26190
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26191
26191
|
try {
|
|
26192
26192
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
26193
26193
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26520,7 +26520,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
26520
26520
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26521
26521
|
*/
|
|
26522
26522
|
static async fromJsonLd(json, options = {}) {
|
|
26523
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26523
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26524
26524
|
try {
|
|
26525
26525
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
26526
26526
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26682,7 +26682,7 @@ var Image = class Image extends Document {
|
|
|
26682
26682
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26683
26683
|
*/
|
|
26684
26684
|
static async fromJsonLd(json, options = {}) {
|
|
26685
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26685
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26686
26686
|
try {
|
|
26687
26687
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
26688
26688
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26832,7 +26832,7 @@ var Offer = class Offer extends Activity {
|
|
|
26832
26832
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26833
26833
|
*/
|
|
26834
26834
|
static async fromJsonLd(json, options = {}) {
|
|
26835
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26835
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26836
26836
|
try {
|
|
26837
26837
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
26838
26838
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26982,7 +26982,7 @@ var Invite = class Invite extends Offer {
|
|
|
26982
26982
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26983
26983
|
*/
|
|
26984
26984
|
static async fromJsonLd(json, options = {}) {
|
|
26985
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26985
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26986
26986
|
try {
|
|
26987
26987
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
26988
26988
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27131,7 +27131,7 @@ var Join = class Join extends Activity {
|
|
|
27131
27131
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27132
27132
|
*/
|
|
27133
27133
|
static async fromJsonLd(json, options = {}) {
|
|
27134
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27134
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27135
27135
|
try {
|
|
27136
27136
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
27137
27137
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27280,7 +27280,7 @@ var Leave = class Leave extends Activity {
|
|
|
27280
27280
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27281
27281
|
*/
|
|
27282
27282
|
static async fromJsonLd(json, options = {}) {
|
|
27283
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27283
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27284
27284
|
try {
|
|
27285
27285
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
27286
27286
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27433,7 +27433,7 @@ var Like = class Like extends Activity {
|
|
|
27433
27433
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27434
27434
|
*/
|
|
27435
27435
|
static async fromJsonLd(json, options = {}) {
|
|
27436
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27436
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27437
27437
|
try {
|
|
27438
27438
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
27439
27439
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27581,7 +27581,7 @@ var Listen = class Listen extends Activity {
|
|
|
27581
27581
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27582
27582
|
*/
|
|
27583
27583
|
static async fromJsonLd(json, options = {}) {
|
|
27584
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27584
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27585
27585
|
try {
|
|
27586
27586
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
27587
27587
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27732,7 +27732,7 @@ var Mention = class Mention extends Link {
|
|
|
27732
27732
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27733
27733
|
*/
|
|
27734
27734
|
static async fromJsonLd(json, options = {}) {
|
|
27735
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27735
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27736
27736
|
try {
|
|
27737
27737
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
27738
27738
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27882,7 +27882,7 @@ var Move = class Move extends Activity {
|
|
|
27882
27882
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27883
27883
|
*/
|
|
27884
27884
|
static async fromJsonLd(json, options = {}) {
|
|
27885
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27885
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27886
27886
|
try {
|
|
27887
27887
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
27888
27888
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28120,7 +28120,7 @@ var Note = class Note extends Object$1 {
|
|
|
28120
28120
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28121
28121
|
*/
|
|
28122
28122
|
static async fromJsonLd(json, options = {}) {
|
|
28123
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28123
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28124
28124
|
try {
|
|
28125
28125
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
28126
28126
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28249,7 +28249,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
28249
28249
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28250
28250
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28251
28251
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28252
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
28252
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28253
28253
|
let fetchResult;
|
|
28254
28254
|
try {
|
|
28255
28255
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28499,7 +28499,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
28499
28499
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28500
28500
|
*/
|
|
28501
28501
|
static async fromJsonLd(json, options = {}) {
|
|
28502
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28502
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28503
28503
|
try {
|
|
28504
28504
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
28505
28505
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28711,7 +28711,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
28711
28711
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28712
28712
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28713
28713
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28714
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
28714
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28715
28715
|
let fetchResult;
|
|
28716
28716
|
try {
|
|
28717
28717
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28984,7 +28984,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
28984
28984
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28985
28985
|
*/
|
|
28986
28986
|
static async fromJsonLd(json, options = {}) {
|
|
28987
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28987
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28988
28988
|
try {
|
|
28989
28989
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
28990
28990
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29482,7 +29482,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29482
29482
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29483
29483
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29484
29484
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29485
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
29485
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29486
29486
|
let fetchResult;
|
|
29487
29487
|
try {
|
|
29488
29488
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29644,7 +29644,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29644
29644
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29645
29645
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29646
29646
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29647
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
29647
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29648
29648
|
let fetchResult;
|
|
29649
29649
|
try {
|
|
29650
29650
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29824,7 +29824,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29824
29824
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29825
29825
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29826
29826
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29827
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
29827
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29828
29828
|
let fetchResult;
|
|
29829
29829
|
try {
|
|
29830
29830
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29966,7 +29966,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29966
29966
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29967
29967
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29968
29968
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29969
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
29969
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29970
29970
|
let fetchResult;
|
|
29971
29971
|
try {
|
|
29972
29972
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30105,7 +30105,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30105
30105
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30106
30106
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30107
30107
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30108
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30108
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30109
30109
|
let fetchResult;
|
|
30110
30110
|
try {
|
|
30111
30111
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30229,7 +30229,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30229
30229
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30230
30230
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30231
30231
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30232
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30232
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30233
30233
|
let fetchResult;
|
|
30234
30234
|
try {
|
|
30235
30235
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30356,7 +30356,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30356
30356
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30357
30357
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30358
30358
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30359
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30359
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30360
30360
|
let fetchResult;
|
|
30361
30361
|
try {
|
|
30362
30362
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30481,7 +30481,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30481
30481
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30482
30482
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30483
30483
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30484
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30484
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30485
30485
|
let fetchResult;
|
|
30486
30486
|
try {
|
|
30487
30487
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30604,7 +30604,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30604
30604
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30605
30605
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30606
30606
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30607
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30607
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30608
30608
|
let fetchResult;
|
|
30609
30609
|
try {
|
|
30610
30610
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30727,7 +30727,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30727
30727
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30728
30728
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30729
30729
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30730
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30730
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30731
30731
|
let fetchResult;
|
|
30732
30732
|
try {
|
|
30733
30733
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30889,7 +30889,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30889
30889
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30890
30890
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30891
30891
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30892
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30892
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30893
30893
|
let fetchResult;
|
|
30894
30894
|
try {
|
|
30895
30895
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31055,7 +31055,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31055
31055
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31056
31056
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31057
31057
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31058
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31058
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31059
31059
|
let fetchResult;
|
|
31060
31060
|
try {
|
|
31061
31061
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31269,7 +31269,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31269
31269
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31270
31270
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31271
31271
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31272
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31272
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31273
31273
|
let fetchResult;
|
|
31274
31274
|
try {
|
|
31275
31275
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31954,7 +31954,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31954
31954
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31955
31955
|
*/
|
|
31956
31956
|
static async fromJsonLd(json, options = {}) {
|
|
31957
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
31957
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31958
31958
|
try {
|
|
31959
31959
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
31960
31960
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32520,7 +32520,7 @@ var Page = class Page extends Document {
|
|
|
32520
32520
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32521
32521
|
*/
|
|
32522
32522
|
static async fromJsonLd(json, options = {}) {
|
|
32523
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
32523
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32524
32524
|
try {
|
|
32525
32525
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
32526
32526
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32915,7 +32915,7 @@ var Person = class Person extends Object$1 {
|
|
|
32915
32915
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32916
32916
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32917
32917
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32918
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32918
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32919
32919
|
let fetchResult;
|
|
32920
32920
|
try {
|
|
32921
32921
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33077,7 +33077,7 @@ var Person = class Person extends Object$1 {
|
|
|
33077
33077
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33078
33078
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33079
33079
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33080
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33080
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33081
33081
|
let fetchResult;
|
|
33082
33082
|
try {
|
|
33083
33083
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33257,7 +33257,7 @@ var Person = class Person extends Object$1 {
|
|
|
33257
33257
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33258
33258
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33259
33259
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33260
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33260
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33261
33261
|
let fetchResult;
|
|
33262
33262
|
try {
|
|
33263
33263
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33399,7 +33399,7 @@ var Person = class Person extends Object$1 {
|
|
|
33399
33399
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33400
33400
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33401
33401
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33402
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33402
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33403
33403
|
let fetchResult;
|
|
33404
33404
|
try {
|
|
33405
33405
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33538,7 +33538,7 @@ var Person = class Person extends Object$1 {
|
|
|
33538
33538
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33539
33539
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33540
33540
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33541
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33541
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33542
33542
|
let fetchResult;
|
|
33543
33543
|
try {
|
|
33544
33544
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33662,7 +33662,7 @@ var Person = class Person extends Object$1 {
|
|
|
33662
33662
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33663
33663
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33664
33664
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33665
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33665
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33666
33666
|
let fetchResult;
|
|
33667
33667
|
try {
|
|
33668
33668
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33789,7 +33789,7 @@ var Person = class Person extends Object$1 {
|
|
|
33789
33789
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33790
33790
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33791
33791
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33792
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33792
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33793
33793
|
let fetchResult;
|
|
33794
33794
|
try {
|
|
33795
33795
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33914,7 +33914,7 @@ var Person = class Person extends Object$1 {
|
|
|
33914
33914
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33915
33915
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33916
33916
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33917
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33917
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33918
33918
|
let fetchResult;
|
|
33919
33919
|
try {
|
|
33920
33920
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34037,7 +34037,7 @@ var Person = class Person extends Object$1 {
|
|
|
34037
34037
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34038
34038
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34039
34039
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34040
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34040
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34041
34041
|
let fetchResult;
|
|
34042
34042
|
try {
|
|
34043
34043
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34160,7 +34160,7 @@ var Person = class Person extends Object$1 {
|
|
|
34160
34160
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34161
34161
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34162
34162
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34163
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34163
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34164
34164
|
let fetchResult;
|
|
34165
34165
|
try {
|
|
34166
34166
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34322,7 +34322,7 @@ var Person = class Person extends Object$1 {
|
|
|
34322
34322
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34323
34323
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34324
34324
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34325
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34325
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34326
34326
|
let fetchResult;
|
|
34327
34327
|
try {
|
|
34328
34328
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34488,7 +34488,7 @@ var Person = class Person extends Object$1 {
|
|
|
34488
34488
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34489
34489
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34490
34490
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34491
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34491
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34492
34492
|
let fetchResult;
|
|
34493
34493
|
try {
|
|
34494
34494
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34702,7 +34702,7 @@ var Person = class Person extends Object$1 {
|
|
|
34702
34702
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34703
34703
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34704
34704
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34705
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34705
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34706
34706
|
let fetchResult;
|
|
34707
34707
|
try {
|
|
34708
34708
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35387,7 +35387,7 @@ var Person = class Person extends Object$1 {
|
|
|
35387
35387
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35388
35388
|
*/
|
|
35389
35389
|
static async fromJsonLd(json, options = {}) {
|
|
35390
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
35390
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35391
35391
|
try {
|
|
35392
35392
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
35393
35393
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36130,7 +36130,7 @@ var Place = class Place extends Object$1 {
|
|
|
36130
36130
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36131
36131
|
*/
|
|
36132
36132
|
static async fromJsonLd(json, options = {}) {
|
|
36133
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
36133
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36134
36134
|
try {
|
|
36135
36135
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
36136
36136
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36321,7 +36321,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
36321
36321
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36322
36322
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36323
36323
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36324
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36324
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36325
36325
|
let fetchResult;
|
|
36326
36326
|
try {
|
|
36327
36327
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36522,7 +36522,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
36522
36522
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36523
36523
|
*/
|
|
36524
36524
|
static async fromJsonLd(json, options = {}) {
|
|
36525
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
36525
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36526
36526
|
try {
|
|
36527
36527
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
36528
36528
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36693,7 +36693,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
36693
36693
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36694
36694
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36695
36695
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36696
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36696
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36697
36697
|
let fetchResult;
|
|
36698
36698
|
try {
|
|
36699
36699
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36815,7 +36815,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
36815
36815
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36816
36816
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36817
36817
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36818
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36818
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36819
36819
|
let fetchResult;
|
|
36820
36820
|
try {
|
|
36821
36821
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37079,7 +37079,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
37079
37079
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37080
37080
|
*/
|
|
37081
37081
|
static async fromJsonLd(json, options = {}) {
|
|
37082
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
37082
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37083
37083
|
try {
|
|
37084
37084
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
37085
37085
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37306,7 +37306,7 @@ var Read = class Read extends Activity {
|
|
|
37306
37306
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37307
37307
|
*/
|
|
37308
37308
|
static async fromJsonLd(json, options = {}) {
|
|
37309
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
37309
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37310
37310
|
try {
|
|
37311
37311
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
37312
37312
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37455,7 +37455,7 @@ var Reject = class Reject extends Activity {
|
|
|
37455
37455
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37456
37456
|
*/
|
|
37457
37457
|
static async fromJsonLd(json, options = {}) {
|
|
37458
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
37458
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37459
37459
|
try {
|
|
37460
37460
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
37461
37461
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37628,7 +37628,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
37628
37628
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37629
37629
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37630
37630
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37631
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
37631
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37632
37632
|
let fetchResult;
|
|
37633
37633
|
try {
|
|
37634
37634
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37751,7 +37751,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
37751
37751
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37752
37752
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37753
37753
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37754
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
37754
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37755
37755
|
let fetchResult;
|
|
37756
37756
|
try {
|
|
37757
37757
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37913,7 +37913,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
37913
37913
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37914
37914
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37915
37915
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37916
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
37916
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37917
37917
|
let fetchResult;
|
|
37918
37918
|
try {
|
|
37919
37919
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38191,7 +38191,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
38191
38191
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38192
38192
|
*/
|
|
38193
38193
|
static async fromJsonLd(json, options = {}) {
|
|
38194
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38194
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38195
38195
|
try {
|
|
38196
38196
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
38197
38197
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38400,7 +38400,7 @@ var Remove = class Remove extends Activity {
|
|
|
38400
38400
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38401
38401
|
*/
|
|
38402
38402
|
static async fromJsonLd(json, options = {}) {
|
|
38403
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38403
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38404
38404
|
try {
|
|
38405
38405
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
38406
38406
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38795,7 +38795,7 @@ var Service = class Service extends Object$1 {
|
|
|
38795
38795
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38796
38796
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38797
38797
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38798
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38798
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38799
38799
|
let fetchResult;
|
|
38800
38800
|
try {
|
|
38801
38801
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38957,7 +38957,7 @@ var Service = class Service extends Object$1 {
|
|
|
38957
38957
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38958
38958
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38959
38959
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38960
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38960
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38961
38961
|
let fetchResult;
|
|
38962
38962
|
try {
|
|
38963
38963
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39137,7 +39137,7 @@ var Service = class Service extends Object$1 {
|
|
|
39137
39137
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39138
39138
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39139
39139
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39140
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39140
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39141
39141
|
let fetchResult;
|
|
39142
39142
|
try {
|
|
39143
39143
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39279,7 +39279,7 @@ var Service = class Service extends Object$1 {
|
|
|
39279
39279
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39280
39280
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39281
39281
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39282
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39282
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39283
39283
|
let fetchResult;
|
|
39284
39284
|
try {
|
|
39285
39285
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39418,7 +39418,7 @@ var Service = class Service extends Object$1 {
|
|
|
39418
39418
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39419
39419
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39420
39420
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39421
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39421
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39422
39422
|
let fetchResult;
|
|
39423
39423
|
try {
|
|
39424
39424
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39542,7 +39542,7 @@ var Service = class Service extends Object$1 {
|
|
|
39542
39542
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39543
39543
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39544
39544
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39545
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39545
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39546
39546
|
let fetchResult;
|
|
39547
39547
|
try {
|
|
39548
39548
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39669,7 +39669,7 @@ var Service = class Service extends Object$1 {
|
|
|
39669
39669
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39670
39670
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39671
39671
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39672
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39672
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39673
39673
|
let fetchResult;
|
|
39674
39674
|
try {
|
|
39675
39675
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39794,7 +39794,7 @@ var Service = class Service extends Object$1 {
|
|
|
39794
39794
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39795
39795
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39796
39796
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39797
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39797
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39798
39798
|
let fetchResult;
|
|
39799
39799
|
try {
|
|
39800
39800
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39917,7 +39917,7 @@ var Service = class Service extends Object$1 {
|
|
|
39917
39917
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39918
39918
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39919
39919
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39920
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39920
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39921
39921
|
let fetchResult;
|
|
39922
39922
|
try {
|
|
39923
39923
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40040,7 +40040,7 @@ var Service = class Service extends Object$1 {
|
|
|
40040
40040
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40041
40041
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40042
40042
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40043
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40043
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40044
40044
|
let fetchResult;
|
|
40045
40045
|
try {
|
|
40046
40046
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40202,7 +40202,7 @@ var Service = class Service extends Object$1 {
|
|
|
40202
40202
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40203
40203
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40204
40204
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40205
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40205
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40206
40206
|
let fetchResult;
|
|
40207
40207
|
try {
|
|
40208
40208
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40368,7 +40368,7 @@ var Service = class Service extends Object$1 {
|
|
|
40368
40368
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40369
40369
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40370
40370
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40371
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40371
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40372
40372
|
let fetchResult;
|
|
40373
40373
|
try {
|
|
40374
40374
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40582,7 +40582,7 @@ var Service = class Service extends Object$1 {
|
|
|
40582
40582
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40583
40583
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40584
40584
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40585
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40585
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40586
40586
|
let fetchResult;
|
|
40587
40587
|
try {
|
|
40588
40588
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41267,7 +41267,7 @@ var Service = class Service extends Object$1 {
|
|
|
41267
41267
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41268
41268
|
*/
|
|
41269
41269
|
static async fromJsonLd(json, options = {}) {
|
|
41270
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
41270
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41271
41271
|
try {
|
|
41272
41272
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
41273
41273
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41915,7 +41915,7 @@ var Source = class {
|
|
|
41915
41915
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41916
41916
|
*/
|
|
41917
41917
|
static async fromJsonLd(json, options = {}) {
|
|
41918
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
41918
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41919
41919
|
try {
|
|
41920
41920
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
41921
41921
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42091,7 +42091,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
42091
42091
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42092
42092
|
*/
|
|
42093
42093
|
static async fromJsonLd(json, options = {}) {
|
|
42094
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42094
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42095
42095
|
try {
|
|
42096
42096
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
42097
42097
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42240,7 +42240,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
42240
42240
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42241
42241
|
*/
|
|
42242
42242
|
static async fromJsonLd(json, options = {}) {
|
|
42243
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42243
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42244
42244
|
try {
|
|
42245
42245
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
42246
42246
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42435,7 +42435,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
42435
42435
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42436
42436
|
*/
|
|
42437
42437
|
static async fromJsonLd(json, options = {}) {
|
|
42438
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42438
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42439
42439
|
try {
|
|
42440
42440
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
42441
42441
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42599,7 +42599,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
42599
42599
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42600
42600
|
*/
|
|
42601
42601
|
static async fromJsonLd(json, options = {}) {
|
|
42602
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42602
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42603
42603
|
try {
|
|
42604
42604
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
42605
42605
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42762,7 +42762,7 @@ var Undo = class Undo extends Activity {
|
|
|
42762
42762
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42763
42763
|
*/
|
|
42764
42764
|
static async fromJsonLd(json, options = {}) {
|
|
42765
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42765
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42766
42766
|
try {
|
|
42767
42767
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
42768
42768
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42963,7 +42963,7 @@ var Update = class Update extends Activity {
|
|
|
42963
42963
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42964
42964
|
*/
|
|
42965
42965
|
static async fromJsonLd(json, options = {}) {
|
|
42966
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42966
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42967
42967
|
try {
|
|
42968
42968
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
42969
42969
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43125,7 +43125,7 @@ var Video = class Video extends Document {
|
|
|
43125
43125
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43126
43126
|
*/
|
|
43127
43127
|
static async fromJsonLd(json, options = {}) {
|
|
43128
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43128
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43129
43129
|
try {
|
|
43130
43130
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
43131
43131
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43273,7 +43273,7 @@ var View = class View extends Activity {
|
|
|
43273
43273
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43274
43274
|
*/
|
|
43275
43275
|
static async fromJsonLd(json, options = {}) {
|
|
43276
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43276
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43277
43277
|
try {
|
|
43278
43278
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
43279
43279
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|