@fedify/fedify 1.10.8 → 1.10.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{actor-BtdqoffI.js → actor-CMBXPdjk.js} +187 -187
- package/dist/{actor-CHbT9hXW.cjs → actor-DSmY7of0.cjs} +187 -187
- package/dist/{actor-stZ3L5bm.mjs → actor-z4bjwAPy.mjs} +1 -1
- package/dist/{authdocloader-BjFtWv8Q.js → authdocloader-B4QKchy5.js} +3 -3
- package/dist/{authdocloader-DiNlCuEL.mjs → authdocloader-C7iVUcxr.mjs} +3 -3
- package/dist/{authdocloader-qSZCRtME.cjs → authdocloader-YXazGK4I.cjs} +3 -3
- package/dist/{builder-C06p3NRV.mjs → builder-C3PFAtTV.mjs} +4 -4
- package/dist/{client-aAP3RFq_.mjs → client-C-xdpu6M.mjs} +1 -1
- package/dist/compat/mod.cjs +1 -1
- package/dist/compat/transformers.test.mjs +3 -3
- package/dist/{docloader--HMTXXhM.cjs → docloader-9cG6ESUw.cjs} +12 -3
- package/dist/{docloader-Cms83CjK.js → docloader-DXUkyjIx.js} +12 -3
- package/dist/{esm-CfjSLJ-h.mjs → esm-Bfj-SwEx.mjs} +1 -1
- package/dist/federation/builder.test.mjs +3 -3
- package/dist/federation/collection.test.mjs +1 -1
- package/dist/federation/handler.test.mjs +6 -6
- package/dist/federation/idempotency.test.mjs +5 -5
- package/dist/federation/inbox.test.mjs +3 -3
- package/dist/federation/keycache.test.mjs +3 -3
- package/dist/federation/kv.test.mjs +1 -1
- package/dist/federation/middleware.test.mjs +11 -11
- package/dist/federation/mod.cjs +2 -2
- package/dist/federation/mod.js +1 -1
- package/dist/federation/mq.test.mjs +1 -1
- package/dist/federation/retry.test.mjs +1 -1
- package/dist/federation/router.test.mjs +2 -2
- package/dist/federation/send.test.mjs +7 -7
- package/dist/{http-CDZB3DBW.js → http-CuloN7xQ.js} +3 -3
- package/dist/{http-BPQ_zPRB.mjs → http-D5CDiVKf.mjs} +2 -2
- package/dist/{http-Bg-OkZtX.cjs → http-LjaXmp2m.cjs} +3 -3
- package/dist/{inbox-Cnih7u27.mjs → inbox-D0Mzd940.mjs} +1 -1
- package/dist/{key-Bbf-ITpM.cjs → key-B22mXs2u.cjs} +2 -2
- package/dist/{key-B0qYOng3.mjs → key-B5QN42gR.mjs} +1 -1
- package/dist/{key-DGuUMBsU.cjs → key-CXkrXfz6.cjs} +1 -1
- package/dist/{key-ASS7oK8n.js → key-D1PkkNK-.js} +2 -2
- package/dist/{key-C16D-kud.mjs → key-Dnc1ekhA.mjs} +2 -2
- package/dist/{keycache-CBPbgb7d.mjs → keycache-DwDRFAp7.mjs} +1 -1
- package/dist/{keys-Br4iedk3.mjs → keys-C4Ms2Cy-.mjs} +1 -1
- package/dist/{ld-7nQ68-rS.mjs → ld-BJ8BZLC8.mjs} +2 -2
- package/dist/{lookup-CpMB-hV5.js → lookup-B8rOR_1a.js} +1 -1
- package/dist/{lookup-CCcDhxO2.mjs → lookup-Br7I7sqm.mjs} +1 -1
- package/dist/{lookup-CA5RreoS.cjs → lookup-D0d32cZH.cjs} +1 -1
- package/dist/{middleware-C90kKt44.cjs → middleware-0yq2uipZ.cjs} +10 -10
- package/dist/{middleware-BPTDstS-.cjs → middleware-BRXIidLb.cjs} +1 -1
- package/dist/{middleware-Crs1EVL7.mjs → middleware-BbgpZrsX.mjs} +14 -14
- package/dist/{middleware-Bi5LcEMF.mjs → middleware-BlsPkr2X.mjs} +1 -1
- package/dist/{middleware-BDTuu7QY.js → middleware-CYNQWJ-D.js} +8 -8
- package/dist/mod.cjs +10 -10
- package/dist/mod.js +9 -9
- package/dist/nodeinfo/client.test.mjs +3 -3
- package/dist/nodeinfo/handler.test.mjs +2 -2
- package/dist/nodeinfo/mod.cjs +1 -1
- package/dist/nodeinfo/mod.js +1 -1
- package/dist/nodeinfo/semver.test.mjs +1 -1
- package/dist/nodeinfo/types.test.mjs +1 -1
- package/dist/otel/exporter.test.mjs +1 -1
- package/dist/otel/mod.cjs +1 -1
- package/dist/{owner-ncOJW9jU.mjs → owner-D32qC-wF.mjs} +3 -3
- package/dist/{proof-Bd732W1s.mjs → proof-B67QOiuS.mjs} +2 -2
- package/dist/{proof-BYdxNk_7.cjs → proof-DE2Z0_uv.cjs} +3 -3
- package/dist/{proof-JCn_Nftz.js → proof-u5ivh_eA.js} +3 -3
- package/dist/runtime/authdocloader.test.mjs +6 -6
- package/dist/runtime/docloader.test.mjs +3 -3
- package/dist/runtime/key.test.mjs +3 -3
- package/dist/runtime/langstr.test.mjs +2 -2
- package/dist/runtime/link.test.mjs +2 -2
- package/dist/runtime/mod.cjs +3 -3
- package/dist/runtime/mod.js +3 -3
- package/dist/runtime/multibase/multibase.test.mjs +2 -2
- package/dist/runtime/url.test.mjs +5 -2
- package/dist/{send-BUUNtAjI.mjs → send-7RGxOhrY.mjs} +2 -2
- package/dist/sig/http.test.mjs +6 -6
- package/dist/sig/key.test.mjs +4 -4
- package/dist/sig/ld.test.mjs +5 -5
- package/dist/sig/mod.cjs +3 -3
- package/dist/sig/mod.js +3 -3
- package/dist/sig/owner.test.mjs +5 -5
- package/dist/sig/proof.test.mjs +4 -4
- package/dist/testing/docloader.test.mjs +1 -1
- package/dist/testing/mod.mjs +1 -1
- package/dist/{testing-CvmsaHLW.mjs → testing-zWgaXBJW.mjs} +2 -2
- package/dist/{transformers-Cd6Tdn3M.cjs → transformers-BdbEtUZU.cjs} +1 -1
- package/dist/{types-Dy8sMtkH.js → types-6_pWuZfK.js} +1 -1
- package/dist/{types-BVCtDIwE.cjs → types-ec4G8nGs.cjs} +1 -1
- package/dist/vocab/actor.test.mjs +4 -4
- package/dist/vocab/cjs.test.mjs +1 -1
- package/dist/vocab/lookup.test.mjs +4 -4
- package/dist/vocab/mod.cjs +3 -3
- package/dist/vocab/mod.js +3 -3
- package/dist/vocab/type.test.mjs +2 -2
- package/dist/vocab/vocab.test.mjs +3 -3
- package/dist/{vocab-DcYXFzyR.mjs → vocab-C60RNInZ.mjs} +197 -188
- package/dist/webfinger/handler.test.mjs +3 -3
- package/dist/webfinger/lookup.test.mjs +3 -3
- package/dist/webfinger/mod.cjs +1 -1
- package/dist/webfinger/mod.js +1 -1
- package/dist/x/cfworkers.cjs +1 -1
- package/dist/x/cfworkers.test.mjs +1 -1
- package/dist/x/hono.cjs +1 -1
- package/dist/x/sveltekit.cjs +1 -1
- package/package.json +1 -1
|
@@ -52,7 +52,7 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
|
52
52
|
//#endregion
|
|
53
53
|
//#region deno.json
|
|
54
54
|
var name = "@fedify/fedify";
|
|
55
|
-
var version = "1.10.
|
|
55
|
+
var version = "1.10.9";
|
|
56
56
|
//#endregion
|
|
57
57
|
//#region src/runtime/contexts.ts
|
|
58
58
|
const preloadedContexts = {
|
|
@@ -4471,8 +4471,13 @@ async function validatePublicUrl(url) {
|
|
|
4471
4471
|
const parsed = new URL(url);
|
|
4472
4472
|
if (parsed.protocol !== "http:" && parsed.protocol !== "https:") throw new UrlError(`Unsupported protocol: ${parsed.protocol}`);
|
|
4473
4473
|
let hostname = parsed.hostname;
|
|
4474
|
-
if (hostname.startsWith("[") && hostname.endsWith("]")) hostname = hostname.
|
|
4474
|
+
if (hostname.startsWith("[") && hostname.endsWith("]")) hostname = hostname.slice(1, -1);
|
|
4475
4475
|
if (hostname === "localhost") throw new UrlError("Localhost is not allowed");
|
|
4476
|
+
const hostnameFamily = isIP(hostname);
|
|
4477
|
+
if (hostnameFamily !== 0) {
|
|
4478
|
+
validatePublicIpAddress(hostname, hostnameFamily);
|
|
4479
|
+
return;
|
|
4480
|
+
}
|
|
4476
4481
|
if ("Deno" in globalThis && !isIP(hostname)) {
|
|
4477
4482
|
if ((await Deno.permissions.query({ name: "net" })).state !== "granted") return;
|
|
4478
4483
|
}
|
|
@@ -4486,7 +4491,11 @@ async function validatePublicUrl(url) {
|
|
|
4486
4491
|
} catch {
|
|
4487
4492
|
addresses = [];
|
|
4488
4493
|
}
|
|
4489
|
-
for (const { address, family } of addresses)
|
|
4494
|
+
for (const { address, family } of addresses) validatePublicIpAddress(address, family);
|
|
4495
|
+
}
|
|
4496
|
+
function validatePublicIpAddress(address, family) {
|
|
4497
|
+
if (family === 4 && isValidPublicIPv4Address(address) || family === 6 && isValidPublicIPv6Address(address)) return;
|
|
4498
|
+
throw new UrlError(`Invalid or private address: ${address}`);
|
|
4490
4499
|
}
|
|
4491
4500
|
function isValidPublicIPv4Address(address) {
|
|
4492
4501
|
const parts = address.split(".");
|
|
@@ -5298,7 +5307,7 @@ async function importSpki(pem) {
|
|
|
5298
5307
|
* @since 0.5.0
|
|
5299
5308
|
*/
|
|
5300
5309
|
async function exportSpki(key) {
|
|
5301
|
-
const { validateCryptoKey } = await import("./key-
|
|
5310
|
+
const { validateCryptoKey } = await import("./key-B5QN42gR.mjs");
|
|
5302
5311
|
validateCryptoKey(key);
|
|
5303
5312
|
let pem = encodeBase64(await crypto.subtle.exportKey("spki", key));
|
|
5304
5313
|
pem = (pem.match(/.{1,64}/g) || []).join("\n");
|
|
@@ -6096,7 +6105,7 @@ var Object$1 = class Object$1 {
|
|
|
6096
6105
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6097
6106
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6098
6107
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6099
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
6108
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6100
6109
|
let fetchResult;
|
|
6101
6110
|
try {
|
|
6102
6111
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6242,7 +6251,7 @@ var Object$1 = class Object$1 {
|
|
|
6242
6251
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6243
6252
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6244
6253
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6245
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
6254
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6246
6255
|
let fetchResult;
|
|
6247
6256
|
try {
|
|
6248
6257
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6454,7 +6463,7 @@ var Object$1 = class Object$1 {
|
|
|
6454
6463
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6455
6464
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6456
6465
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6457
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
6466
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6458
6467
|
let fetchResult;
|
|
6459
6468
|
try {
|
|
6460
6469
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6638,7 +6647,7 @@ var Object$1 = class Object$1 {
|
|
|
6638
6647
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6639
6648
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6640
6649
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6641
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
6650
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6642
6651
|
let fetchResult;
|
|
6643
6652
|
try {
|
|
6644
6653
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6800,7 +6809,7 @@ var Object$1 = class Object$1 {
|
|
|
6800
6809
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6801
6810
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6802
6811
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6803
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
6812
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6804
6813
|
let fetchResult;
|
|
6805
6814
|
try {
|
|
6806
6815
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6930,7 +6939,7 @@ var Object$1 = class Object$1 {
|
|
|
6930
6939
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6931
6940
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6932
6941
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6933
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
6942
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6934
6943
|
let fetchResult;
|
|
6935
6944
|
try {
|
|
6936
6945
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7096,7 +7105,7 @@ var Object$1 = class Object$1 {
|
|
|
7096
7105
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7097
7106
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7098
7107
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7099
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
7108
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7100
7109
|
let fetchResult;
|
|
7101
7110
|
try {
|
|
7102
7111
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7262,7 +7271,7 @@ var Object$1 = class Object$1 {
|
|
|
7262
7271
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7263
7272
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7264
7273
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7265
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
7274
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7266
7275
|
let fetchResult;
|
|
7267
7276
|
try {
|
|
7268
7277
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7436,7 +7445,7 @@ var Object$1 = class Object$1 {
|
|
|
7436
7445
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7437
7446
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7438
7447
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7439
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
7448
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7440
7449
|
let fetchResult;
|
|
7441
7450
|
try {
|
|
7442
7451
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7610,7 +7619,7 @@ var Object$1 = class Object$1 {
|
|
|
7610
7619
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7611
7620
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7612
7621
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7613
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
7622
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7614
7623
|
let fetchResult;
|
|
7615
7624
|
try {
|
|
7616
7625
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7789,7 +7798,7 @@ var Object$1 = class Object$1 {
|
|
|
7789
7798
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7790
7799
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7791
7800
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7792
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
7801
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7793
7802
|
let fetchResult;
|
|
7794
7803
|
try {
|
|
7795
7804
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7910,7 +7919,7 @@ var Object$1 = class Object$1 {
|
|
|
7910
7919
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7911
7920
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7912
7921
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7913
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
7922
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7914
7923
|
let fetchResult;
|
|
7915
7924
|
try {
|
|
7916
7925
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8037,7 +8046,7 @@ var Object$1 = class Object$1 {
|
|
|
8037
8046
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8038
8047
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8039
8048
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8040
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
8049
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8041
8050
|
let fetchResult;
|
|
8042
8051
|
try {
|
|
8043
8052
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8164,7 +8173,7 @@ var Object$1 = class Object$1 {
|
|
|
8164
8173
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8165
8174
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8166
8175
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8167
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
8176
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8168
8177
|
let fetchResult;
|
|
8169
8178
|
try {
|
|
8170
8179
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8309,7 +8318,7 @@ var Object$1 = class Object$1 {
|
|
|
8309
8318
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8310
8319
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8311
8320
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8312
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
8321
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8313
8322
|
let fetchResult;
|
|
8314
8323
|
try {
|
|
8315
8324
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8461,7 +8470,7 @@ var Object$1 = class Object$1 {
|
|
|
8461
8470
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8462
8471
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8463
8472
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8464
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
8473
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8465
8474
|
let fetchResult;
|
|
8466
8475
|
try {
|
|
8467
8476
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8625,7 +8634,7 @@ var Object$1 = class Object$1 {
|
|
|
8625
8634
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8626
8635
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8627
8636
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8628
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
8637
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8629
8638
|
let fetchResult;
|
|
8630
8639
|
try {
|
|
8631
8640
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8789,7 +8798,7 @@ var Object$1 = class Object$1 {
|
|
|
8789
8798
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8790
8799
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8791
8800
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8792
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
8801
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8793
8802
|
let fetchResult;
|
|
8794
8803
|
try {
|
|
8795
8804
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8953,7 +8962,7 @@ var Object$1 = class Object$1 {
|
|
|
8953
8962
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8954
8963
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8955
8964
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8956
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
8965
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8957
8966
|
let fetchResult;
|
|
8958
8967
|
try {
|
|
8959
8968
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9154,7 +9163,7 @@ var Object$1 = class Object$1 {
|
|
|
9154
9163
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9155
9164
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9156
9165
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9157
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
9166
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9158
9167
|
let fetchResult;
|
|
9159
9168
|
try {
|
|
9160
9169
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9943,7 +9952,7 @@ var Object$1 = class Object$1 {
|
|
|
9943
9952
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9944
9953
|
*/
|
|
9945
9954
|
static async fromJsonLd(json, options = {}) {
|
|
9946
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
9955
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9947
9956
|
try {
|
|
9948
9957
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
9949
9958
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11187,7 +11196,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
11187
11196
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11188
11197
|
*/
|
|
11189
11198
|
static async fromJsonLd(json, options = {}) {
|
|
11190
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
11199
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11191
11200
|
try {
|
|
11192
11201
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
11193
11202
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11424,7 +11433,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
11424
11433
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11425
11434
|
*/
|
|
11426
11435
|
static async fromJsonLd(json, options = {}) {
|
|
11427
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
11436
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11428
11437
|
try {
|
|
11429
11438
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
11430
11439
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11705,7 +11714,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
11705
11714
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11706
11715
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11707
11716
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11708
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
11717
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11709
11718
|
let fetchResult;
|
|
11710
11719
|
try {
|
|
11711
11720
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11917,7 +11926,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
11917
11926
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11918
11927
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11919
11928
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11920
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
11929
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11921
11930
|
let fetchResult;
|
|
11922
11931
|
try {
|
|
11923
11932
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12083,7 +12092,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12083
12092
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12084
12093
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12085
12094
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12086
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
12095
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12087
12096
|
let fetchResult;
|
|
12088
12097
|
try {
|
|
12089
12098
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12255,7 +12264,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12255
12264
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12256
12265
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12257
12266
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12258
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
12267
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12259
12268
|
let fetchResult;
|
|
12260
12269
|
try {
|
|
12261
12270
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12421,7 +12430,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12421
12430
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12422
12431
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12423
12432
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12424
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
12433
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12425
12434
|
let fetchResult;
|
|
12426
12435
|
try {
|
|
12427
12436
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12589,7 +12598,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12589
12598
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12590
12599
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12591
12600
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12592
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
12601
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12593
12602
|
let fetchResult;
|
|
12594
12603
|
try {
|
|
12595
12604
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12839,7 +12848,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12839
12848
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12840
12849
|
*/
|
|
12841
12850
|
static async fromJsonLd(json, options = {}) {
|
|
12842
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
12851
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12843
12852
|
try {
|
|
12844
12853
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
12845
12854
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13157,7 +13166,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
13157
13166
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13158
13167
|
*/
|
|
13159
13168
|
static async fromJsonLd(json, options = {}) {
|
|
13160
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
13169
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13161
13170
|
try {
|
|
13162
13171
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
13163
13172
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13403,7 +13412,7 @@ var PropertyValue = class {
|
|
|
13403
13412
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13404
13413
|
*/
|
|
13405
13414
|
static async fromJsonLd(json, options = {}) {
|
|
13406
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
13415
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13407
13416
|
try {
|
|
13408
13417
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
13409
13418
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13637,7 +13646,7 @@ var DidService = class {
|
|
|
13637
13646
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13638
13647
|
*/
|
|
13639
13648
|
static async fromJsonLd(json, options = {}) {
|
|
13640
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
13649
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13641
13650
|
try {
|
|
13642
13651
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
13643
13652
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13791,7 +13800,7 @@ var Export = class Export extends DidService {
|
|
|
13791
13800
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13792
13801
|
*/
|
|
13793
13802
|
static async fromJsonLd(json, options = {}) {
|
|
13794
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
13803
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13795
13804
|
try {
|
|
13796
13805
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
13797
13806
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13964,7 +13973,7 @@ var DataIntegrityProof = class {
|
|
|
13964
13973
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13965
13974
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13966
13975
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13967
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
13976
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13968
13977
|
let fetchResult;
|
|
13969
13978
|
try {
|
|
13970
13979
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14183,7 +14192,7 @@ var DataIntegrityProof = class {
|
|
|
14183
14192
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14184
14193
|
*/
|
|
14185
14194
|
static async fromJsonLd(json, options = {}) {
|
|
14186
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
14195
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14187
14196
|
try {
|
|
14188
14197
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
14189
14198
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14397,7 +14406,7 @@ var CryptographicKey = class {
|
|
|
14397
14406
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14398
14407
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14399
14408
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14400
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
14409
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14401
14410
|
let fetchResult;
|
|
14402
14411
|
try {
|
|
14403
14412
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14659,7 +14668,7 @@ var CryptographicKey = class {
|
|
|
14659
14668
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14660
14669
|
*/
|
|
14661
14670
|
static async fromJsonLd(json, options = {}) {
|
|
14662
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
14671
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14663
14672
|
try {
|
|
14664
14673
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
14665
14674
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14854,7 +14863,7 @@ var Multikey = class {
|
|
|
14854
14863
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14855
14864
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14856
14865
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14857
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
14866
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14858
14867
|
let fetchResult;
|
|
14859
14868
|
try {
|
|
14860
14869
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15122,7 +15131,7 @@ var Multikey = class {
|
|
|
15122
15131
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15123
15132
|
*/
|
|
15124
15133
|
static async fromJsonLd(json, options = {}) {
|
|
15125
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
15134
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15126
15135
|
try {
|
|
15127
15136
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
15128
15137
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15316,7 +15325,7 @@ var Accept = class Accept extends Activity {
|
|
|
15316
15325
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15317
15326
|
*/
|
|
15318
15327
|
static async fromJsonLd(json, options = {}) {
|
|
15319
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
15328
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15320
15329
|
try {
|
|
15321
15330
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
15322
15331
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15467,7 +15476,7 @@ var Add = class Add extends Activity {
|
|
|
15467
15476
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15468
15477
|
*/
|
|
15469
15478
|
static async fromJsonLd(json, options = {}) {
|
|
15470
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
15479
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15471
15480
|
try {
|
|
15472
15481
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
15473
15482
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15635,7 +15644,7 @@ var Announce = class Announce extends Activity {
|
|
|
15635
15644
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15636
15645
|
*/
|
|
15637
15646
|
static async fromJsonLd(json, options = {}) {
|
|
15638
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
15647
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15639
15648
|
try {
|
|
15640
15649
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
15641
15650
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16030,7 +16039,7 @@ var Application = class Application extends Object$1 {
|
|
|
16030
16039
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16031
16040
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16032
16041
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16033
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
16042
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16034
16043
|
let fetchResult;
|
|
16035
16044
|
try {
|
|
16036
16045
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16192,7 +16201,7 @@ var Application = class Application extends Object$1 {
|
|
|
16192
16201
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16193
16202
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16194
16203
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16195
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
16204
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16196
16205
|
let fetchResult;
|
|
16197
16206
|
try {
|
|
16198
16207
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16372,7 +16381,7 @@ var Application = class Application extends Object$1 {
|
|
|
16372
16381
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16373
16382
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16374
16383
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16375
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
16384
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16376
16385
|
let fetchResult;
|
|
16377
16386
|
try {
|
|
16378
16387
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16514,7 +16523,7 @@ var Application = class Application extends Object$1 {
|
|
|
16514
16523
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16515
16524
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16516
16525
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16517
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
16526
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16518
16527
|
let fetchResult;
|
|
16519
16528
|
try {
|
|
16520
16529
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16653,7 +16662,7 @@ var Application = class Application extends Object$1 {
|
|
|
16653
16662
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16654
16663
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16655
16664
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16656
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
16665
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16657
16666
|
let fetchResult;
|
|
16658
16667
|
try {
|
|
16659
16668
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16777,7 +16786,7 @@ var Application = class Application extends Object$1 {
|
|
|
16777
16786
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16778
16787
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16779
16788
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16780
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
16789
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16781
16790
|
let fetchResult;
|
|
16782
16791
|
try {
|
|
16783
16792
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16904,7 +16913,7 @@ var Application = class Application extends Object$1 {
|
|
|
16904
16913
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16905
16914
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16906
16915
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16907
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
16916
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16908
16917
|
let fetchResult;
|
|
16909
16918
|
try {
|
|
16910
16919
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17029,7 +17038,7 @@ var Application = class Application extends Object$1 {
|
|
|
17029
17038
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17030
17039
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17031
17040
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17032
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
17041
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17033
17042
|
let fetchResult;
|
|
17034
17043
|
try {
|
|
17035
17044
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17152,7 +17161,7 @@ var Application = class Application extends Object$1 {
|
|
|
17152
17161
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17153
17162
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17154
17163
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17155
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
17164
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17156
17165
|
let fetchResult;
|
|
17157
17166
|
try {
|
|
17158
17167
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17275,7 +17284,7 @@ var Application = class Application extends Object$1 {
|
|
|
17275
17284
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17276
17285
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17277
17286
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17278
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
17287
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17279
17288
|
let fetchResult;
|
|
17280
17289
|
try {
|
|
17281
17290
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17437,7 +17446,7 @@ var Application = class Application extends Object$1 {
|
|
|
17437
17446
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17438
17447
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17439
17448
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17440
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
17449
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17441
17450
|
let fetchResult;
|
|
17442
17451
|
try {
|
|
17443
17452
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17603,7 +17612,7 @@ var Application = class Application extends Object$1 {
|
|
|
17603
17612
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17604
17613
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17605
17614
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17606
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
17615
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17607
17616
|
let fetchResult;
|
|
17608
17617
|
try {
|
|
17609
17618
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17817,7 +17826,7 @@ var Application = class Application extends Object$1 {
|
|
|
17817
17826
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17818
17827
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17819
17828
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17820
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
17829
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17821
17830
|
let fetchResult;
|
|
17822
17831
|
try {
|
|
17823
17832
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18500,7 +18509,7 @@ var Application = class Application extends Object$1 {
|
|
|
18500
18509
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18501
18510
|
*/
|
|
18502
18511
|
static async fromJsonLd(json, options = {}) {
|
|
18503
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
18512
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18504
18513
|
try {
|
|
18505
18514
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
18506
18515
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19053,7 +19062,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
19053
19062
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19054
19063
|
*/
|
|
19055
19064
|
static async fromJsonLd(json, options = {}) {
|
|
19056
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
19065
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19057
19066
|
try {
|
|
19058
19067
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
19059
19068
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19205,7 +19214,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
19205
19214
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19206
19215
|
*/
|
|
19207
19216
|
static async fromJsonLd(json, options = {}) {
|
|
19208
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
19217
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19209
19218
|
try {
|
|
19210
19219
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
19211
19220
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19440,7 +19449,7 @@ var Article = class Article extends Object$1 {
|
|
|
19440
19449
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19441
19450
|
*/
|
|
19442
19451
|
static async fromJsonLd(json, options = {}) {
|
|
19443
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
19452
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19444
19453
|
try {
|
|
19445
19454
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
19446
19455
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19669,7 +19678,7 @@ var Document = class Document extends Object$1 {
|
|
|
19669
19678
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19670
19679
|
*/
|
|
19671
19680
|
static async fromJsonLd(json, options = {}) {
|
|
19672
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
19681
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19673
19682
|
try {
|
|
19674
19683
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
19675
19684
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19852,7 +19861,7 @@ var Audio = class Audio extends Document {
|
|
|
19852
19861
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19853
19862
|
*/
|
|
19854
19863
|
static async fromJsonLd(json, options = {}) {
|
|
19855
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
19864
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19856
19865
|
try {
|
|
19857
19866
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
19858
19867
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20000,7 +20009,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
20000
20009
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20001
20010
|
*/
|
|
20002
20011
|
static async fromJsonLd(json, options = {}) {
|
|
20003
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
20012
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20004
20013
|
try {
|
|
20005
20014
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
20006
20015
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20151,7 +20160,7 @@ var Block = class Block extends Ignore {
|
|
|
20151
20160
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20152
20161
|
*/
|
|
20153
20162
|
static async fromJsonLd(json, options = {}) {
|
|
20154
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
20163
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20155
20164
|
try {
|
|
20156
20165
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
20157
20166
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20415,7 +20424,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20415
20424
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20416
20425
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20417
20426
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20418
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
20427
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20419
20428
|
let fetchResult;
|
|
20420
20429
|
try {
|
|
20421
20430
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20536,7 +20545,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20536
20545
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20537
20546
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20538
20547
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20539
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
20548
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20540
20549
|
let fetchResult;
|
|
20541
20550
|
try {
|
|
20542
20551
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20657,7 +20666,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20657
20666
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20658
20667
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20659
20668
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20660
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
20669
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20661
20670
|
let fetchResult;
|
|
20662
20671
|
try {
|
|
20663
20672
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20778,7 +20787,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20778
20787
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20779
20788
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20780
20789
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20781
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
20790
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20782
20791
|
let fetchResult;
|
|
20783
20792
|
try {
|
|
20784
20793
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20909,7 +20918,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20909
20918
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20910
20919
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20911
20920
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20912
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
20921
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20913
20922
|
let fetchResult;
|
|
20914
20923
|
try {
|
|
20915
20924
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21029,7 +21038,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21029
21038
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21030
21039
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21031
21040
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21032
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
21041
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21033
21042
|
let fetchResult;
|
|
21034
21043
|
try {
|
|
21035
21044
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21149,7 +21158,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21149
21158
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21150
21159
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21151
21160
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21152
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
21161
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21153
21162
|
let fetchResult;
|
|
21154
21163
|
try {
|
|
21155
21164
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21269,7 +21278,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21269
21278
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21270
21279
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21271
21280
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21272
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
21281
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21273
21282
|
let fetchResult;
|
|
21274
21283
|
try {
|
|
21275
21284
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21389,7 +21398,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21389
21398
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21390
21399
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21391
21400
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21392
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
21401
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21393
21402
|
let fetchResult;
|
|
21394
21403
|
try {
|
|
21395
21404
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21509,7 +21518,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21509
21518
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21510
21519
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21511
21520
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21512
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
21521
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21513
21522
|
let fetchResult;
|
|
21514
21523
|
try {
|
|
21515
21524
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21629,7 +21638,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21629
21638
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21630
21639
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21631
21640
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21632
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
21641
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21633
21642
|
let fetchResult;
|
|
21634
21643
|
try {
|
|
21635
21644
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21749,7 +21758,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21749
21758
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21750
21759
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21751
21760
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21752
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
21761
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21753
21762
|
let fetchResult;
|
|
21754
21763
|
try {
|
|
21755
21764
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22176,7 +22185,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22176
22185
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22177
22186
|
*/
|
|
22178
22187
|
static async fromJsonLd(json, options = {}) {
|
|
22179
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
22188
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22180
22189
|
try {
|
|
22181
22190
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
22182
22191
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22623,7 +22632,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
22623
22632
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22624
22633
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22625
22634
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22626
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
22635
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22627
22636
|
let fetchResult;
|
|
22628
22637
|
try {
|
|
22629
22638
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22744,7 +22753,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
22744
22753
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22745
22754
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22746
22755
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22747
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
22756
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22748
22757
|
let fetchResult;
|
|
22749
22758
|
try {
|
|
22750
22759
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22864,7 +22873,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
22864
22873
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22865
22874
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22866
22875
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22867
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
22876
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22868
22877
|
let fetchResult;
|
|
22869
22878
|
try {
|
|
22870
22879
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23128,7 +23137,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23128
23137
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23129
23138
|
*/
|
|
23130
23139
|
static async fromJsonLd(json, options = {}) {
|
|
23131
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
23140
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23132
23141
|
try {
|
|
23133
23142
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
23134
23143
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23354,7 +23363,7 @@ var Create = class Create extends Activity {
|
|
|
23354
23363
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23355
23364
|
*/
|
|
23356
23365
|
static async fromJsonLd(json, options = {}) {
|
|
23357
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
23366
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23358
23367
|
try {
|
|
23359
23368
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
23360
23369
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23518,7 +23527,7 @@ var Delete = class Delete extends Activity {
|
|
|
23518
23527
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23519
23528
|
*/
|
|
23520
23529
|
static async fromJsonLd(json, options = {}) {
|
|
23521
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
23530
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23522
23531
|
try {
|
|
23523
23532
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
23524
23533
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23669,7 +23678,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
23669
23678
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23670
23679
|
*/
|
|
23671
23680
|
static async fromJsonLd(json, options = {}) {
|
|
23672
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
23681
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23673
23682
|
try {
|
|
23674
23683
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
23675
23684
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24016,7 +24025,7 @@ var Endpoints = class {
|
|
|
24016
24025
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24017
24026
|
*/
|
|
24018
24027
|
static async fromJsonLd(json, options = {}) {
|
|
24019
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
24028
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24020
24029
|
try {
|
|
24021
24030
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
24022
24031
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24242,7 +24251,7 @@ var Event = class Event extends Object$1 {
|
|
|
24242
24251
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24243
24252
|
*/
|
|
24244
24253
|
static async fromJsonLd(json, options = {}) {
|
|
24245
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
24254
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24246
24255
|
try {
|
|
24247
24256
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
24248
24257
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24391,7 +24400,7 @@ var Flag = class Flag extends Activity {
|
|
|
24391
24400
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24392
24401
|
*/
|
|
24393
24402
|
static async fromJsonLd(json, options = {}) {
|
|
24394
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
24403
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24395
24404
|
try {
|
|
24396
24405
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
24397
24406
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24544,7 +24553,7 @@ var Follow = class Follow extends Activity {
|
|
|
24544
24553
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24545
24554
|
*/
|
|
24546
24555
|
static async fromJsonLd(json, options = {}) {
|
|
24547
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
24556
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24548
24557
|
try {
|
|
24549
24558
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
24550
24559
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24939,7 +24948,7 @@ var Group = class Group extends Object$1 {
|
|
|
24939
24948
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24940
24949
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24941
24950
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24942
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
24951
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24943
24952
|
let fetchResult;
|
|
24944
24953
|
try {
|
|
24945
24954
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25101,7 +25110,7 @@ var Group = class Group extends Object$1 {
|
|
|
25101
25110
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25102
25111
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25103
25112
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25104
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
25113
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25105
25114
|
let fetchResult;
|
|
25106
25115
|
try {
|
|
25107
25116
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25281,7 +25290,7 @@ var Group = class Group extends Object$1 {
|
|
|
25281
25290
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25282
25291
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25283
25292
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25284
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
25293
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25285
25294
|
let fetchResult;
|
|
25286
25295
|
try {
|
|
25287
25296
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25423,7 +25432,7 @@ var Group = class Group extends Object$1 {
|
|
|
25423
25432
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25424
25433
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25425
25434
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25426
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
25435
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25427
25436
|
let fetchResult;
|
|
25428
25437
|
try {
|
|
25429
25438
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25562,7 +25571,7 @@ var Group = class Group extends Object$1 {
|
|
|
25562
25571
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25563
25572
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25564
25573
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25565
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
25574
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25566
25575
|
let fetchResult;
|
|
25567
25576
|
try {
|
|
25568
25577
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25686,7 +25695,7 @@ var Group = class Group extends Object$1 {
|
|
|
25686
25695
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25687
25696
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25688
25697
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25689
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
25698
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25690
25699
|
let fetchResult;
|
|
25691
25700
|
try {
|
|
25692
25701
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25813,7 +25822,7 @@ var Group = class Group extends Object$1 {
|
|
|
25813
25822
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25814
25823
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25815
25824
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25816
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
25825
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25817
25826
|
let fetchResult;
|
|
25818
25827
|
try {
|
|
25819
25828
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25938,7 +25947,7 @@ var Group = class Group extends Object$1 {
|
|
|
25938
25947
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25939
25948
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25940
25949
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25941
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
25950
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25942
25951
|
let fetchResult;
|
|
25943
25952
|
try {
|
|
25944
25953
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26061,7 +26070,7 @@ var Group = class Group extends Object$1 {
|
|
|
26061
26070
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26062
26071
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26063
26072
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26064
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
26073
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26065
26074
|
let fetchResult;
|
|
26066
26075
|
try {
|
|
26067
26076
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26184,7 +26193,7 @@ var Group = class Group extends Object$1 {
|
|
|
26184
26193
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26185
26194
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26186
26195
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26187
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
26196
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26188
26197
|
let fetchResult;
|
|
26189
26198
|
try {
|
|
26190
26199
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26346,7 +26355,7 @@ var Group = class Group extends Object$1 {
|
|
|
26346
26355
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26347
26356
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26348
26357
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26349
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
26358
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26350
26359
|
let fetchResult;
|
|
26351
26360
|
try {
|
|
26352
26361
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26512,7 +26521,7 @@ var Group = class Group extends Object$1 {
|
|
|
26512
26521
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26513
26522
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26514
26523
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26515
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
26524
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26516
26525
|
let fetchResult;
|
|
26517
26526
|
try {
|
|
26518
26527
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26726,7 +26735,7 @@ var Group = class Group extends Object$1 {
|
|
|
26726
26735
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26727
26736
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26728
26737
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26729
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
26738
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26730
26739
|
let fetchResult;
|
|
26731
26740
|
try {
|
|
26732
26741
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27409,7 +27418,7 @@ var Group = class Group extends Object$1 {
|
|
|
27409
27418
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27410
27419
|
*/
|
|
27411
27420
|
static async fromJsonLd(json, options = {}) {
|
|
27412
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
27421
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27413
27422
|
try {
|
|
27414
27423
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
27415
27424
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28101,7 +28110,7 @@ var Link = class Link {
|
|
|
28101
28110
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28102
28111
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28103
28112
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28104
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
28113
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28105
28114
|
let fetchResult;
|
|
28106
28115
|
try {
|
|
28107
28116
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28393,7 +28402,7 @@ var Link = class Link {
|
|
|
28393
28402
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28394
28403
|
*/
|
|
28395
28404
|
static async fromJsonLd(json, options = {}) {
|
|
28396
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
28405
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28397
28406
|
try {
|
|
28398
28407
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
28399
28408
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28720,7 +28729,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
28720
28729
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28721
28730
|
*/
|
|
28722
28731
|
static async fromJsonLd(json, options = {}) {
|
|
28723
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
28732
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28724
28733
|
try {
|
|
28725
28734
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
28726
28735
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28874,7 +28883,7 @@ var Image = class Image extends Document {
|
|
|
28874
28883
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28875
28884
|
*/
|
|
28876
28885
|
static async fromJsonLd(json, options = {}) {
|
|
28877
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
28886
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28878
28887
|
try {
|
|
28879
28888
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
28880
28889
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29023,7 +29032,7 @@ var Offer = class Offer extends Activity {
|
|
|
29023
29032
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29024
29033
|
*/
|
|
29025
29034
|
static async fromJsonLd(json, options = {}) {
|
|
29026
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
29035
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29027
29036
|
try {
|
|
29028
29037
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
29029
29038
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29172,7 +29181,7 @@ var Invite = class Invite extends Offer {
|
|
|
29172
29181
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29173
29182
|
*/
|
|
29174
29183
|
static async fromJsonLd(json, options = {}) {
|
|
29175
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
29184
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29176
29185
|
try {
|
|
29177
29186
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
29178
29187
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29320,7 +29329,7 @@ var Join = class Join extends Activity {
|
|
|
29320
29329
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29321
29330
|
*/
|
|
29322
29331
|
static async fromJsonLd(json, options = {}) {
|
|
29323
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
29332
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29324
29333
|
try {
|
|
29325
29334
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
29326
29335
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29468,7 +29477,7 @@ var Leave = class Leave extends Activity {
|
|
|
29468
29477
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29469
29478
|
*/
|
|
29470
29479
|
static async fromJsonLd(json, options = {}) {
|
|
29471
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
29480
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29472
29481
|
try {
|
|
29473
29482
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
29474
29483
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29620,7 +29629,7 @@ var Like = class Like extends Activity {
|
|
|
29620
29629
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29621
29630
|
*/
|
|
29622
29631
|
static async fromJsonLd(json, options = {}) {
|
|
29623
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
29632
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29624
29633
|
try {
|
|
29625
29634
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
29626
29635
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29767,7 +29776,7 @@ var Listen = class Listen extends Activity {
|
|
|
29767
29776
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29768
29777
|
*/
|
|
29769
29778
|
static async fromJsonLd(json, options = {}) {
|
|
29770
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
29779
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29771
29780
|
try {
|
|
29772
29781
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
29773
29782
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29918,7 +29927,7 @@ var Mention = class Mention extends Link {
|
|
|
29918
29927
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29919
29928
|
*/
|
|
29920
29929
|
static async fromJsonLd(json, options = {}) {
|
|
29921
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
29930
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29922
29931
|
try {
|
|
29923
29932
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
29924
29933
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30067,7 +30076,7 @@ var Move = class Move extends Activity {
|
|
|
30067
30076
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30068
30077
|
*/
|
|
30069
30078
|
static async fromJsonLd(json, options = {}) {
|
|
30070
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
30079
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30071
30080
|
try {
|
|
30072
30081
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
30073
30082
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30303,7 +30312,7 @@ var Note = class Note extends Object$1 {
|
|
|
30303
30312
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30304
30313
|
*/
|
|
30305
30314
|
static async fromJsonLd(json, options = {}) {
|
|
30306
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
30315
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30307
30316
|
try {
|
|
30308
30317
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
30309
30318
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30432,7 +30441,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
30432
30441
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30433
30442
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30434
30443
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30435
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
30444
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30436
30445
|
let fetchResult;
|
|
30437
30446
|
try {
|
|
30438
30447
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30680,7 +30689,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
30680
30689
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30681
30690
|
*/
|
|
30682
30691
|
static async fromJsonLd(json, options = {}) {
|
|
30683
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
30692
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30684
30693
|
try {
|
|
30685
30694
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
30686
30695
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30886,7 +30895,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
30886
30895
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30887
30896
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30888
30897
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30889
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
30898
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30890
30899
|
let fetchResult;
|
|
30891
30900
|
try {
|
|
30892
30901
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31157,7 +31166,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
31157
31166
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31158
31167
|
*/
|
|
31159
31168
|
static async fromJsonLd(json, options = {}) {
|
|
31160
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
31169
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31161
31170
|
try {
|
|
31162
31171
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
31163
31172
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31649,7 +31658,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31649
31658
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31650
31659
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31651
31660
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31652
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
31661
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31653
31662
|
let fetchResult;
|
|
31654
31663
|
try {
|
|
31655
31664
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31811,7 +31820,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31811
31820
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31812
31821
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31813
31822
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31814
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
31823
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31815
31824
|
let fetchResult;
|
|
31816
31825
|
try {
|
|
31817
31826
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31991,7 +32000,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31991
32000
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31992
32001
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31993
32002
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31994
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
32003
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31995
32004
|
let fetchResult;
|
|
31996
32005
|
try {
|
|
31997
32006
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32133,7 +32142,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32133
32142
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32134
32143
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32135
32144
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32136
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
32145
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32137
32146
|
let fetchResult;
|
|
32138
32147
|
try {
|
|
32139
32148
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32272,7 +32281,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32272
32281
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32273
32282
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32274
32283
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32275
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
32284
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32276
32285
|
let fetchResult;
|
|
32277
32286
|
try {
|
|
32278
32287
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32396,7 +32405,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32396
32405
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32397
32406
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32398
32407
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32399
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
32408
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32400
32409
|
let fetchResult;
|
|
32401
32410
|
try {
|
|
32402
32411
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32523,7 +32532,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32523
32532
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32524
32533
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32525
32534
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32526
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
32535
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32527
32536
|
let fetchResult;
|
|
32528
32537
|
try {
|
|
32529
32538
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32648,7 +32657,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32648
32657
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32649
32658
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32650
32659
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32651
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
32660
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32652
32661
|
let fetchResult;
|
|
32653
32662
|
try {
|
|
32654
32663
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32771,7 +32780,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32771
32780
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32772
32781
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32773
32782
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32774
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
32783
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32775
32784
|
let fetchResult;
|
|
32776
32785
|
try {
|
|
32777
32786
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32894,7 +32903,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32894
32903
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32895
32904
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32896
32905
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32897
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
32906
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32898
32907
|
let fetchResult;
|
|
32899
32908
|
try {
|
|
32900
32909
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33056,7 +33065,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33056
33065
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33057
33066
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33058
33067
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33059
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
33068
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33060
33069
|
let fetchResult;
|
|
33061
33070
|
try {
|
|
33062
33071
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33222,7 +33231,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33222
33231
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33223
33232
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33224
33233
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33225
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
33234
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33226
33235
|
let fetchResult;
|
|
33227
33236
|
try {
|
|
33228
33237
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33436,7 +33445,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33436
33445
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33437
33446
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33438
33447
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33439
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
33448
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33440
33449
|
let fetchResult;
|
|
33441
33450
|
try {
|
|
33442
33451
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34119,7 +34128,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34119
34128
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34120
34129
|
*/
|
|
34121
34130
|
static async fromJsonLd(json, options = {}) {
|
|
34122
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
34131
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34123
34132
|
try {
|
|
34124
34133
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
34125
34134
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34677,7 +34686,7 @@ var Page = class Page extends Document {
|
|
|
34677
34686
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34678
34687
|
*/
|
|
34679
34688
|
static async fromJsonLd(json, options = {}) {
|
|
34680
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
34689
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34681
34690
|
try {
|
|
34682
34691
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
34683
34692
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35072,7 +35081,7 @@ var Person = class Person extends Object$1 {
|
|
|
35072
35081
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35073
35082
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35074
35083
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35075
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
35084
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35076
35085
|
let fetchResult;
|
|
35077
35086
|
try {
|
|
35078
35087
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35234,7 +35243,7 @@ var Person = class Person extends Object$1 {
|
|
|
35234
35243
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35235
35244
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35236
35245
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35237
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
35246
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35238
35247
|
let fetchResult;
|
|
35239
35248
|
try {
|
|
35240
35249
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35414,7 +35423,7 @@ var Person = class Person extends Object$1 {
|
|
|
35414
35423
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35415
35424
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35416
35425
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35417
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
35426
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35418
35427
|
let fetchResult;
|
|
35419
35428
|
try {
|
|
35420
35429
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35556,7 +35565,7 @@ var Person = class Person extends Object$1 {
|
|
|
35556
35565
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35557
35566
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35558
35567
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35559
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
35568
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35560
35569
|
let fetchResult;
|
|
35561
35570
|
try {
|
|
35562
35571
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35695,7 +35704,7 @@ var Person = class Person extends Object$1 {
|
|
|
35695
35704
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35696
35705
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35697
35706
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35698
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
35707
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35699
35708
|
let fetchResult;
|
|
35700
35709
|
try {
|
|
35701
35710
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35819,7 +35828,7 @@ var Person = class Person extends Object$1 {
|
|
|
35819
35828
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35820
35829
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35821
35830
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35822
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
35831
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35823
35832
|
let fetchResult;
|
|
35824
35833
|
try {
|
|
35825
35834
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35946,7 +35955,7 @@ var Person = class Person extends Object$1 {
|
|
|
35946
35955
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35947
35956
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35948
35957
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35949
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
35958
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35950
35959
|
let fetchResult;
|
|
35951
35960
|
try {
|
|
35952
35961
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36071,7 +36080,7 @@ var Person = class Person extends Object$1 {
|
|
|
36071
36080
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36072
36081
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36073
36082
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36074
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
36083
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36075
36084
|
let fetchResult;
|
|
36076
36085
|
try {
|
|
36077
36086
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36194,7 +36203,7 @@ var Person = class Person extends Object$1 {
|
|
|
36194
36203
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36195
36204
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36196
36205
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36197
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
36206
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36198
36207
|
let fetchResult;
|
|
36199
36208
|
try {
|
|
36200
36209
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36317,7 +36326,7 @@ var Person = class Person extends Object$1 {
|
|
|
36317
36326
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36318
36327
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36319
36328
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36320
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
36329
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36321
36330
|
let fetchResult;
|
|
36322
36331
|
try {
|
|
36323
36332
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36479,7 +36488,7 @@ var Person = class Person extends Object$1 {
|
|
|
36479
36488
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36480
36489
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36481
36490
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36482
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
36491
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36483
36492
|
let fetchResult;
|
|
36484
36493
|
try {
|
|
36485
36494
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36645,7 +36654,7 @@ var Person = class Person extends Object$1 {
|
|
|
36645
36654
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36646
36655
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36647
36656
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36648
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
36657
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36649
36658
|
let fetchResult;
|
|
36650
36659
|
try {
|
|
36651
36660
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36859,7 +36868,7 @@ var Person = class Person extends Object$1 {
|
|
|
36859
36868
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36860
36869
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36861
36870
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36862
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
36871
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36863
36872
|
let fetchResult;
|
|
36864
36873
|
try {
|
|
36865
36874
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37542,7 +37551,7 @@ var Person = class Person extends Object$1 {
|
|
|
37542
37551
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37543
37552
|
*/
|
|
37544
37553
|
static async fromJsonLd(json, options = {}) {
|
|
37545
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
37554
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37546
37555
|
try {
|
|
37547
37556
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
37548
37557
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38277,7 +38286,7 @@ var Place = class Place extends Object$1 {
|
|
|
38277
38286
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38278
38287
|
*/
|
|
38279
38288
|
static async fromJsonLd(json, options = {}) {
|
|
38280
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
38289
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38281
38290
|
try {
|
|
38282
38291
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
38283
38292
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38468,7 +38477,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
38468
38477
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38469
38478
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38470
38479
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38471
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
38480
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38472
38481
|
let fetchResult;
|
|
38473
38482
|
try {
|
|
38474
38483
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38661,7 +38670,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
38661
38670
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38662
38671
|
*/
|
|
38663
38672
|
static async fromJsonLd(json, options = {}) {
|
|
38664
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
38673
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38665
38674
|
try {
|
|
38666
38675
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
38667
38676
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38832,7 +38841,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
38832
38841
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38833
38842
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38834
38843
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38835
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
38844
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38836
38845
|
let fetchResult;
|
|
38837
38846
|
try {
|
|
38838
38847
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38954,7 +38963,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
38954
38963
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38955
38964
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38956
38965
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38957
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
38966
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38958
38967
|
let fetchResult;
|
|
38959
38968
|
try {
|
|
38960
38969
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39217,7 +39226,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
39217
39226
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39218
39227
|
*/
|
|
39219
39228
|
static async fromJsonLd(json, options = {}) {
|
|
39220
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
39229
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39221
39230
|
try {
|
|
39222
39231
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
39223
39232
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39443,7 +39452,7 @@ var Read = class Read extends Activity {
|
|
|
39443
39452
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39444
39453
|
*/
|
|
39445
39454
|
static async fromJsonLd(json, options = {}) {
|
|
39446
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
39455
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39447
39456
|
try {
|
|
39448
39457
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
39449
39458
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39591,7 +39600,7 @@ var Reject = class Reject extends Activity {
|
|
|
39591
39600
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39592
39601
|
*/
|
|
39593
39602
|
static async fromJsonLd(json, options = {}) {
|
|
39594
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
39603
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39595
39604
|
try {
|
|
39596
39605
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
39597
39606
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39764,7 +39773,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
39764
39773
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39765
39774
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39766
39775
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39767
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
39776
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39768
39777
|
let fetchResult;
|
|
39769
39778
|
try {
|
|
39770
39779
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39887,7 +39896,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
39887
39896
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39888
39897
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39889
39898
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39890
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
39899
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39891
39900
|
let fetchResult;
|
|
39892
39901
|
try {
|
|
39893
39902
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40049,7 +40058,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
40049
40058
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40050
40059
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40051
40060
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40052
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
40061
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40053
40062
|
let fetchResult;
|
|
40054
40063
|
try {
|
|
40055
40064
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40319,7 +40328,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
40319
40328
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40320
40329
|
*/
|
|
40321
40330
|
static async fromJsonLd(json, options = {}) {
|
|
40322
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
40331
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40323
40332
|
try {
|
|
40324
40333
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
40325
40334
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40527,7 +40536,7 @@ var Remove = class Remove extends Activity {
|
|
|
40527
40536
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40528
40537
|
*/
|
|
40529
40538
|
static async fromJsonLd(json, options = {}) {
|
|
40530
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
40539
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40531
40540
|
try {
|
|
40532
40541
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
40533
40542
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40922,7 +40931,7 @@ var Service = class Service extends Object$1 {
|
|
|
40922
40931
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40923
40932
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40924
40933
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40925
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
40934
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40926
40935
|
let fetchResult;
|
|
40927
40936
|
try {
|
|
40928
40937
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41084,7 +41093,7 @@ var Service = class Service extends Object$1 {
|
|
|
41084
41093
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41085
41094
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41086
41095
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41087
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
41096
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41088
41097
|
let fetchResult;
|
|
41089
41098
|
try {
|
|
41090
41099
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41264,7 +41273,7 @@ var Service = class Service extends Object$1 {
|
|
|
41264
41273
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41265
41274
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41266
41275
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41267
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
41276
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41268
41277
|
let fetchResult;
|
|
41269
41278
|
try {
|
|
41270
41279
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41406,7 +41415,7 @@ var Service = class Service extends Object$1 {
|
|
|
41406
41415
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41407
41416
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41408
41417
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41409
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
41418
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41410
41419
|
let fetchResult;
|
|
41411
41420
|
try {
|
|
41412
41421
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41545,7 +41554,7 @@ var Service = class Service extends Object$1 {
|
|
|
41545
41554
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41546
41555
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41547
41556
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41548
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
41557
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41549
41558
|
let fetchResult;
|
|
41550
41559
|
try {
|
|
41551
41560
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41669,7 +41678,7 @@ var Service = class Service extends Object$1 {
|
|
|
41669
41678
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41670
41679
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41671
41680
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41672
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
41681
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41673
41682
|
let fetchResult;
|
|
41674
41683
|
try {
|
|
41675
41684
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41796,7 +41805,7 @@ var Service = class Service extends Object$1 {
|
|
|
41796
41805
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41797
41806
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41798
41807
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41799
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
41808
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41800
41809
|
let fetchResult;
|
|
41801
41810
|
try {
|
|
41802
41811
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41921,7 +41930,7 @@ var Service = class Service extends Object$1 {
|
|
|
41921
41930
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41922
41931
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41923
41932
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41924
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
41933
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41925
41934
|
let fetchResult;
|
|
41926
41935
|
try {
|
|
41927
41936
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42044,7 +42053,7 @@ var Service = class Service extends Object$1 {
|
|
|
42044
42053
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42045
42054
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42046
42055
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42047
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
42056
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42048
42057
|
let fetchResult;
|
|
42049
42058
|
try {
|
|
42050
42059
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42167,7 +42176,7 @@ var Service = class Service extends Object$1 {
|
|
|
42167
42176
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42168
42177
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42169
42178
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42170
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
42179
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42171
42180
|
let fetchResult;
|
|
42172
42181
|
try {
|
|
42173
42182
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42329,7 +42338,7 @@ var Service = class Service extends Object$1 {
|
|
|
42329
42338
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42330
42339
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42331
42340
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42332
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
42341
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42333
42342
|
let fetchResult;
|
|
42334
42343
|
try {
|
|
42335
42344
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42495,7 +42504,7 @@ var Service = class Service extends Object$1 {
|
|
|
42495
42504
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42496
42505
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42497
42506
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42498
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
42507
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42499
42508
|
let fetchResult;
|
|
42500
42509
|
try {
|
|
42501
42510
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42709,7 +42718,7 @@ var Service = class Service extends Object$1 {
|
|
|
42709
42718
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42710
42719
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42711
42720
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42712
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
42721
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42713
42722
|
let fetchResult;
|
|
42714
42723
|
try {
|
|
42715
42724
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43392,7 +43401,7 @@ var Service = class Service extends Object$1 {
|
|
|
43392
43401
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43393
43402
|
*/
|
|
43394
43403
|
static async fromJsonLd(json, options = {}) {
|
|
43395
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
43404
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43396
43405
|
try {
|
|
43397
43406
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
43398
43407
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44042,7 +44051,7 @@ var Source = class {
|
|
|
44042
44051
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44043
44052
|
*/
|
|
44044
44053
|
static async fromJsonLd(json, options = {}) {
|
|
44045
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
44054
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44046
44055
|
try {
|
|
44047
44056
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
44048
44057
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44217,7 +44226,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
44217
44226
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44218
44227
|
*/
|
|
44219
44228
|
static async fromJsonLd(json, options = {}) {
|
|
44220
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
44229
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44221
44230
|
try {
|
|
44222
44231
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
44223
44232
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44365,7 +44374,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
44365
44374
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44366
44375
|
*/
|
|
44367
44376
|
static async fromJsonLd(json, options = {}) {
|
|
44368
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
44377
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44369
44378
|
try {
|
|
44370
44379
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
44371
44380
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44552,7 +44561,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
44552
44561
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44553
44562
|
*/
|
|
44554
44563
|
static async fromJsonLd(json, options = {}) {
|
|
44555
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
44564
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44556
44565
|
try {
|
|
44557
44566
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
44558
44567
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44715,7 +44724,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
44715
44724
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44716
44725
|
*/
|
|
44717
44726
|
static async fromJsonLd(json, options = {}) {
|
|
44718
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
44727
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44719
44728
|
try {
|
|
44720
44729
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
44721
44730
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44877,7 +44886,7 @@ var Undo = class Undo extends Activity {
|
|
|
44877
44886
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44878
44887
|
*/
|
|
44879
44888
|
static async fromJsonLd(json, options = {}) {
|
|
44880
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
44889
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44881
44890
|
try {
|
|
44882
44891
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
44883
44892
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45077,7 +45086,7 @@ var Update = class Update extends Activity {
|
|
|
45077
45086
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45078
45087
|
*/
|
|
45079
45088
|
static async fromJsonLd(json, options = {}) {
|
|
45080
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
45089
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45081
45090
|
try {
|
|
45082
45091
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
45083
45092
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45231,7 +45240,7 @@ var Video = class Video extends Document {
|
|
|
45231
45240
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45232
45241
|
*/
|
|
45233
45242
|
static async fromJsonLd(json, options = {}) {
|
|
45234
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
45243
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45235
45244
|
try {
|
|
45236
45245
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
45237
45246
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45378,7 +45387,7 @@ var View = class View extends Activity {
|
|
|
45378
45387
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45379
45388
|
*/
|
|
45380
45389
|
static async fromJsonLd(json, options = {}) {
|
|
45381
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
45390
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45382
45391
|
try {
|
|
45383
45392
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
45384
45393
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|