@fedify/fedify 1.7.14 → 1.7.16
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-y7shp0CR.js → actor-BzWaWDTY.js} +3 -3
- package/dist/{actor-Dx5YX74F.d.ts → actor.d.ts} +2 -2
- package/dist/{actor-OYVgkiZG.js → actor.js} +179 -179
- package/dist/{authdocloader-C0JcfxUs.js → authdocloader-1vrHbYJF.js} +3 -3
- package/dist/{authdocloader-C2krvRo1.js → authdocloader.js} +3 -3
- package/dist/{builder-DaECqbbT.js → builder-8YjpOSrf.js} +3 -3
- package/dist/{client-dfu57WLy.js → client-CJ3nfMyp.js} +1 -1
- package/dist/{client-wKLuY12i.d.ts → client.d.ts} +1 -1
- package/dist/compat/{mod-Bwqav33K.d.ts → mod.d.ts} +2 -2
- package/dist/compat/mod.js +1 -1
- package/dist/compat/transformers.test.js +17 -17
- package/dist/{context-nxDPfAiA.js → context-OXYKUfFL.js} +2 -2
- package/dist/{context-CW_8R4BH.d.ts → context.d.ts} +10 -10
- package/dist/{docloader-sGz4vcrK.js → docloader-I3SkMpZK.js} +1 -1
- package/dist/{docloader-D_MGP37Q.d.ts → docloader.d.ts} +1 -1
- package/dist/{docloader-BU25UQLB.js → docloader.js} +1 -1
- package/dist/federation/builder.test.js +4 -4
- package/dist/federation/handler.test.js +19 -19
- package/dist/federation/inbox.test.js +3 -3
- package/dist/federation/keycache.test.js +3 -3
- package/dist/federation/middleware.test.js +18 -18
- package/dist/federation/{mod-DvlLc8Ru.d.ts → mod.d.ts} +3 -3
- package/dist/federation/mod.js +11 -11
- package/dist/federation/send.test.js +9 -9
- package/dist/{http-BhES0Sg9.js → http-CiQH4CF3.js} +3 -3
- package/dist/{http-DFZRNfDP.d.ts → http.d.ts} +2 -2
- package/dist/{http-DRePVWfE.js → http.js} +3 -3
- package/dist/{inbox-Z_QlSGYN.js → inbox-BqBPO0vG.js} +2 -2
- package/dist/{key-bMrDyA2T.js → key-Ba-IjS2c.js} +3 -3
- package/dist/{key-eP5Yk7hl.js → key-CdNa4Um6.js} +5 -5
- package/dist/key.js +10 -0
- package/dist/{key-D2HZrCxh.js → key2.js} +2 -2
- package/dist/{keycache-B5Rr8Lbc.js → keycache-BdgRTisV.js} +1 -1
- package/dist/{keys-DK4k1R8e.js → keys-CLFIvF3E.js} +1 -1
- package/dist/{ld--auFISy7.js → ld-Dm1tdWDX.js} +3 -3
- package/dist/{lookup-cHV4n1IB.js → lookup-BumKjgCt.js} +3 -3
- package/dist/{lookup-Bq8vhIG4.js → lookup-CoCshjhM.js} +1 -1
- package/dist/{lookup-CqI9jhXo.d.ts → lookup.d.ts} +1 -1
- package/dist/{lookup-4uc2jh52.js → lookup.js} +1 -1
- package/dist/{middleware-B7p-onxQ.js → middleware-Dvd4BUlF.js} +15 -15
- package/dist/{middleware-DB3BUysJ.js → middleware-pC0Ld2I6.js} +17 -17
- package/dist/{middleware-QJjRfjjc.js → middleware.js} +11 -11
- package/dist/middleware2.js +17 -0
- package/dist/{mod-DMn4Bxyg.d.ts → mod.d.ts} +17 -17
- package/dist/mod.js +11 -11
- package/dist/{mod-DjGYGrBd.d.ts → mod2.d.ts} +2 -2
- package/dist/{mod-BEZy4WHZ.d.ts → mod3.d.ts} +3 -3
- package/dist/nodeinfo/client.test.js +2 -2
- package/dist/nodeinfo/handler.test.js +18 -18
- package/dist/nodeinfo/{mod--upgPcaX.d.ts → mod.d.ts} +1 -1
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/{owner-DkTRLQAV.js → owner-BO3ZhyYg.js} +3 -3
- package/dist/{owner-CewLNqWO.d.ts → owner.d.ts} +3 -3
- package/dist/{proof-DT_xxRPF.js → proof-Btlfk6hr.js} +3 -3
- package/dist/{proof-D4HXHDPz.js → proof.js} +3 -3
- package/dist/runtime/authdocloader.test.js +8 -8
- package/dist/runtime/docloader.test.js +1 -1
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/{mod-BaH1vtHp.d.ts → mod.d.ts} +3 -3
- package/dist/runtime/mod.js +6 -6
- package/dist/{send-axIyQX2p.js → send-Dj-482tr.js} +2 -2
- package/dist/sig/http.test.js +7 -7
- package/dist/sig/key.test.js +6 -6
- package/dist/sig/ld.test.js +7 -7
- package/dist/sig/{mod-BmJQTnPT.d.ts → mod.d.ts} +3 -3
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +8 -8
- package/dist/sig/proof.test.js +7 -7
- package/dist/{types-Bk4b1bGc.js → types.js} +1 -1
- package/dist/vocab/actor.test.js +4 -4
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/{mod-BkXGAYkx.d.ts → mod.d.ts} +3 -3
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +2 -2
- package/dist/vocab/vocab.test.js +3 -3
- package/dist/{vocab-DCHRuBGF.js → vocab-B8zleLsO.js} +178 -178
- package/dist/{vocab-DoBcp8ow.d.ts → vocab.d.ts} +1 -1
- package/dist/{vocab-sMuiKIWm.js → vocab.js} +3 -3
- package/dist/webfinger/handler.test.js +18 -18
- package/dist/webfinger/lookup.test.js +2 -2
- package/dist/webfinger/{mod-B1UhCvlL.d.ts → mod.d.ts} +1 -1
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/{cfworkers-BIcR64Sf.d.ts → cfworkers.d.ts} +2 -2
- package/dist/x/{hono-DmQmp8wi.d.ts → hono.d.ts} +1 -1
- package/dist/x/{sveltekit-Cvh0XnN4.d.ts → sveltekit.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/key-CJuc1GE1.js +0 -10
- package/dist/middleware-72Tuh6Iw.js +0 -17
- /package/dist/{kv-CKqSUxHd.d.ts → kv.d.ts} +0 -0
- /package/dist/{mq-Cgfbl44M.d.ts → mq.d.ts} +0 -0
- /package/dist/{transformers-CFSWUhNi.js → transformers.js} +0 -0
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { d as name, f as version, i as getDocumentLoader } from "./docloader
|
|
6
|
-
import { t as lookupWebFinger } from "./lookup
|
|
5
|
+
import { d as name, f as version, i as getDocumentLoader } from "./docloader.js";
|
|
6
|
+
import { t as lookupWebFinger } from "./lookup.js";
|
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
|
8
8
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
9
9
|
import jsonld from "jsonld";
|
|
@@ -368,7 +368,7 @@ async function importSpki(pem) {
|
|
|
368
368
|
* @since 0.5.0
|
|
369
369
|
*/
|
|
370
370
|
async function exportSpki(key) {
|
|
371
|
-
const { validateCryptoKey } = await import("./key
|
|
371
|
+
const { validateCryptoKey } = await import("./key.js");
|
|
372
372
|
validateCryptoKey(key);
|
|
373
373
|
let pem = encodeBase64(await crypto.subtle.exportKey("spki", key));
|
|
374
374
|
pem = (pem.match(/.{1,64}/g) || []).join("\n");
|
|
@@ -916,7 +916,7 @@ var Object$1 = class Object$1 {
|
|
|
916
916
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
917
917
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
918
918
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
919
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
919
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
920
920
|
let fetchResult;
|
|
921
921
|
try {
|
|
922
922
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1041,7 +1041,7 @@ var Object$1 = class Object$1 {
|
|
|
1041
1041
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1042
1042
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1043
1043
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1044
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1044
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1045
1045
|
let fetchResult;
|
|
1046
1046
|
try {
|
|
1047
1047
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1220,7 +1220,7 @@ var Object$1 = class Object$1 {
|
|
|
1220
1220
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1221
1221
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1222
1222
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1223
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1223
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1224
1224
|
let fetchResult;
|
|
1225
1225
|
try {
|
|
1226
1226
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1375,7 +1375,7 @@ var Object$1 = class Object$1 {
|
|
|
1375
1375
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1376
1376
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1377
1377
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1378
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1378
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1379
1379
|
let fetchResult;
|
|
1380
1380
|
try {
|
|
1381
1381
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1517,7 +1517,7 @@ var Object$1 = class Object$1 {
|
|
|
1517
1517
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1518
1518
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1519
1519
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1520
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1520
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1521
1521
|
let fetchResult;
|
|
1522
1522
|
try {
|
|
1523
1523
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1627,7 +1627,7 @@ var Object$1 = class Object$1 {
|
|
|
1627
1627
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1628
1628
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1629
1629
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1630
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1630
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1631
1631
|
let fetchResult;
|
|
1632
1632
|
try {
|
|
1633
1633
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1764,7 +1764,7 @@ var Object$1 = class Object$1 {
|
|
|
1764
1764
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1765
1765
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1766
1766
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1767
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1767
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1768
1768
|
let fetchResult;
|
|
1769
1769
|
try {
|
|
1770
1770
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1901,7 +1901,7 @@ var Object$1 = class Object$1 {
|
|
|
1901
1901
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1902
1902
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1903
1903
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1904
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1904
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1905
1905
|
let fetchResult;
|
|
1906
1906
|
try {
|
|
1907
1907
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2045,7 +2045,7 @@ var Object$1 = class Object$1 {
|
|
|
2045
2045
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2046
2046
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2047
2047
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2048
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2048
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2049
2049
|
let fetchResult;
|
|
2050
2050
|
try {
|
|
2051
2051
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2189,7 +2189,7 @@ var Object$1 = class Object$1 {
|
|
|
2189
2189
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2190
2190
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2191
2191
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2192
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2192
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2193
2193
|
let fetchResult;
|
|
2194
2194
|
try {
|
|
2195
2195
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2338,7 +2338,7 @@ var Object$1 = class Object$1 {
|
|
|
2338
2338
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2339
2339
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2340
2340
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2341
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2341
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2342
2342
|
let fetchResult;
|
|
2343
2343
|
try {
|
|
2344
2344
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2437,7 +2437,7 @@ var Object$1 = class Object$1 {
|
|
|
2437
2437
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2438
2438
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2439
2439
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2440
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2440
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2441
2441
|
let fetchResult;
|
|
2442
2442
|
try {
|
|
2443
2443
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2542,7 +2542,7 @@ var Object$1 = class Object$1 {
|
|
|
2542
2542
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2543
2543
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2544
2544
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2545
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2545
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2546
2546
|
let fetchResult;
|
|
2547
2547
|
try {
|
|
2548
2548
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2647,7 +2647,7 @@ var Object$1 = class Object$1 {
|
|
|
2647
2647
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2648
2648
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2649
2649
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2650
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2650
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2651
2651
|
let fetchResult;
|
|
2652
2652
|
try {
|
|
2653
2653
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2770,7 +2770,7 @@ var Object$1 = class Object$1 {
|
|
|
2770
2770
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2771
2771
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2772
2772
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2773
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2773
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2774
2774
|
let fetchResult;
|
|
2775
2775
|
try {
|
|
2776
2776
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2902,7 +2902,7 @@ var Object$1 = class Object$1 {
|
|
|
2902
2902
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2903
2903
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2904
2904
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2905
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2905
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2906
2906
|
let fetchResult;
|
|
2907
2907
|
try {
|
|
2908
2908
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3037,7 +3037,7 @@ var Object$1 = class Object$1 {
|
|
|
3037
3037
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3038
3038
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3039
3039
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3040
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
3040
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3041
3041
|
let fetchResult;
|
|
3042
3042
|
try {
|
|
3043
3043
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3172,7 +3172,7 @@ var Object$1 = class Object$1 {
|
|
|
3172
3172
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3173
3173
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3174
3174
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3175
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
3175
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3176
3176
|
let fetchResult;
|
|
3177
3177
|
try {
|
|
3178
3178
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3307,7 +3307,7 @@ var Object$1 = class Object$1 {
|
|
|
3307
3307
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3308
3308
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3309
3309
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3310
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
3310
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3311
3311
|
let fetchResult;
|
|
3312
3312
|
try {
|
|
3313
3313
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3479,7 +3479,7 @@ var Object$1 = class Object$1 {
|
|
|
3479
3479
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3480
3480
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3481
3481
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3482
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
3482
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3483
3483
|
let fetchResult;
|
|
3484
3484
|
try {
|
|
3485
3485
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4239,7 +4239,7 @@ var Object$1 = class Object$1 {
|
|
|
4239
4239
|
* @throws {TypeError} If the given `json` is invalid.
|
|
4240
4240
|
*/
|
|
4241
4241
|
static async fromJsonLd(json, options = {}) {
|
|
4242
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
4242
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
4243
4243
|
try {
|
|
4244
4244
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
4245
4245
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5377,7 +5377,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
5377
5377
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5378
5378
|
*/
|
|
5379
5379
|
static async fromJsonLd(json, options = {}) {
|
|
5380
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
5380
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5381
5381
|
try {
|
|
5382
5382
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
5383
5383
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5610,7 +5610,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
5610
5610
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5611
5611
|
*/
|
|
5612
5612
|
static async fromJsonLd(json, options = {}) {
|
|
5613
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
5613
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5614
5614
|
try {
|
|
5615
5615
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
5616
5616
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5821,7 +5821,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
5821
5821
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
5822
5822
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
5823
5823
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
5824
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
5824
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5825
5825
|
let fetchResult;
|
|
5826
5826
|
try {
|
|
5827
5827
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6000,7 +6000,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6000
6000
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6001
6001
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6002
6002
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6003
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
6003
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6004
6004
|
let fetchResult;
|
|
6005
6005
|
try {
|
|
6006
6006
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6137,7 +6137,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6137
6137
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6138
6138
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6139
6139
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6140
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
6140
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6141
6141
|
let fetchResult;
|
|
6142
6142
|
try {
|
|
6143
6143
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6280,7 +6280,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6280
6280
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6281
6281
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6282
6282
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6283
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
6283
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6284
6284
|
let fetchResult;
|
|
6285
6285
|
try {
|
|
6286
6286
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6417,7 +6417,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6417
6417
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6418
6418
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6419
6419
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6420
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
6420
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6421
6421
|
let fetchResult;
|
|
6422
6422
|
try {
|
|
6423
6423
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6556,7 +6556,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6556
6556
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6557
6557
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6558
6558
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6559
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
6559
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6560
6560
|
let fetchResult;
|
|
6561
6561
|
try {
|
|
6562
6562
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6777,7 +6777,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6777
6777
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6778
6778
|
*/
|
|
6779
6779
|
static async fromJsonLd(json, options = {}) {
|
|
6780
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
6780
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6781
6781
|
try {
|
|
6782
6782
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
6783
6783
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7061,7 +7061,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
7061
7061
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7062
7062
|
*/
|
|
7063
7063
|
static async fromJsonLd(json, options = {}) {
|
|
7064
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
7064
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7065
7065
|
try {
|
|
7066
7066
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
7067
7067
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7303,7 +7303,7 @@ var PropertyValue = class {
|
|
|
7303
7303
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7304
7304
|
*/
|
|
7305
7305
|
static async fromJsonLd(json, options = {}) {
|
|
7306
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
7306
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7307
7307
|
try {
|
|
7308
7308
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
7309
7309
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7533,7 +7533,7 @@ var DidService = class {
|
|
|
7533
7533
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7534
7534
|
*/
|
|
7535
7535
|
static async fromJsonLd(json, options = {}) {
|
|
7536
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
7536
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7537
7537
|
try {
|
|
7538
7538
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
7539
7539
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7683,7 +7683,7 @@ var Export = class Export extends DidService {
|
|
|
7683
7683
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7684
7684
|
*/
|
|
7685
7685
|
static async fromJsonLd(json, options = {}) {
|
|
7686
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
7686
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7687
7687
|
try {
|
|
7688
7688
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
7689
7689
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7846,7 +7846,7 @@ var DataIntegrityProof = class {
|
|
|
7846
7846
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7847
7847
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7848
7848
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7849
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
7849
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7850
7850
|
let fetchResult;
|
|
7851
7851
|
try {
|
|
7852
7852
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8043,7 +8043,7 @@ var DataIntegrityProof = class {
|
|
|
8043
8043
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8044
8044
|
*/
|
|
8045
8045
|
static async fromJsonLd(json, options = {}) {
|
|
8046
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
8046
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8047
8047
|
try {
|
|
8048
8048
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
8049
8049
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8244,7 +8244,7 @@ var CryptographicKey = class {
|
|
|
8244
8244
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8245
8245
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8246
8246
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8247
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
8247
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8248
8248
|
let fetchResult;
|
|
8249
8249
|
try {
|
|
8250
8250
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8480,7 +8480,7 @@ var CryptographicKey = class {
|
|
|
8480
8480
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8481
8481
|
*/
|
|
8482
8482
|
static async fromJsonLd(json, options = {}) {
|
|
8483
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
8483
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8484
8484
|
try {
|
|
8485
8485
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
8486
8486
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8650,7 +8650,7 @@ var Multikey = class {
|
|
|
8650
8650
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8651
8651
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8652
8652
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8653
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
8653
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8654
8654
|
let fetchResult;
|
|
8655
8655
|
try {
|
|
8656
8656
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8892,7 +8892,7 @@ var Multikey = class {
|
|
|
8892
8892
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8893
8893
|
*/
|
|
8894
8894
|
static async fromJsonLd(json, options = {}) {
|
|
8895
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
8895
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8896
8896
|
try {
|
|
8897
8897
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
8898
8898
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9067,7 +9067,7 @@ var Accept = class Accept extends Activity {
|
|
|
9067
9067
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9068
9068
|
*/
|
|
9069
9069
|
static async fromJsonLd(json, options = {}) {
|
|
9070
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
9070
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9071
9071
|
try {
|
|
9072
9072
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
9073
9073
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9214,7 +9214,7 @@ var Add = class Add extends Activity {
|
|
|
9214
9214
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9215
9215
|
*/
|
|
9216
9216
|
static async fromJsonLd(json, options = {}) {
|
|
9217
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
9217
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9218
9218
|
try {
|
|
9219
9219
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
9220
9220
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9378,7 +9378,7 @@ var Announce = class Announce extends Activity {
|
|
|
9378
9378
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9379
9379
|
*/
|
|
9380
9380
|
static async fromJsonLd(json, options = {}) {
|
|
9381
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
9381
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9382
9382
|
try {
|
|
9383
9383
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
9384
9384
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9670,7 +9670,7 @@ var Application = class Application extends Object$1 {
|
|
|
9670
9670
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9671
9671
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9672
9672
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9673
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
9673
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9674
9674
|
let fetchResult;
|
|
9675
9675
|
try {
|
|
9676
9676
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9803,7 +9803,7 @@ var Application = class Application extends Object$1 {
|
|
|
9803
9803
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9804
9804
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9805
9805
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9806
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
9806
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9807
9807
|
let fetchResult;
|
|
9808
9808
|
try {
|
|
9809
9809
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9954,7 +9954,7 @@ var Application = class Application extends Object$1 {
|
|
|
9954
9954
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9955
9955
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9956
9956
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9957
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
9957
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9958
9958
|
let fetchResult;
|
|
9959
9959
|
try {
|
|
9960
9960
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10073,7 +10073,7 @@ var Application = class Application extends Object$1 {
|
|
|
10073
10073
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10074
10074
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10075
10075
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10076
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10076
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10077
10077
|
let fetchResult;
|
|
10078
10078
|
try {
|
|
10079
10079
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10189,7 +10189,7 @@ var Application = class Application extends Object$1 {
|
|
|
10189
10189
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10190
10190
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10191
10191
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10192
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10192
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10193
10193
|
let fetchResult;
|
|
10194
10194
|
try {
|
|
10195
10195
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10291,7 +10291,7 @@ var Application = class Application extends Object$1 {
|
|
|
10291
10291
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10292
10292
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10293
10293
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10294
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10294
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10295
10295
|
let fetchResult;
|
|
10296
10296
|
try {
|
|
10297
10297
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10396,7 +10396,7 @@ var Application = class Application extends Object$1 {
|
|
|
10396
10396
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10397
10397
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10398
10398
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10399
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10399
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10400
10400
|
let fetchResult;
|
|
10401
10401
|
try {
|
|
10402
10402
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10499,7 +10499,7 @@ var Application = class Application extends Object$1 {
|
|
|
10499
10499
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10500
10500
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10501
10501
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10502
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10502
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10503
10503
|
let fetchResult;
|
|
10504
10504
|
try {
|
|
10505
10505
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10600,7 +10600,7 @@ var Application = class Application extends Object$1 {
|
|
|
10600
10600
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10601
10601
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10602
10602
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10603
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10603
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10604
10604
|
let fetchResult;
|
|
10605
10605
|
try {
|
|
10606
10606
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10701,7 +10701,7 @@ var Application = class Application extends Object$1 {
|
|
|
10701
10701
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10702
10702
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10703
10703
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10704
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10704
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10705
10705
|
let fetchResult;
|
|
10706
10706
|
try {
|
|
10707
10707
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10844,7 +10844,7 @@ var Application = class Application extends Object$1 {
|
|
|
10844
10844
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10845
10845
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10846
10846
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10847
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10847
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10848
10848
|
let fetchResult;
|
|
10849
10849
|
try {
|
|
10850
10850
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10984,7 +10984,7 @@ var Application = class Application extends Object$1 {
|
|
|
10984
10984
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10985
10985
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10986
10986
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10987
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10987
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10988
10988
|
let fetchResult;
|
|
10989
10989
|
try {
|
|
10990
10990
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11165,7 +11165,7 @@ var Application = class Application extends Object$1 {
|
|
|
11165
11165
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11166
11166
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11167
11167
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11168
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
11168
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11169
11169
|
let fetchResult;
|
|
11170
11170
|
try {
|
|
11171
11171
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11819,7 +11819,7 @@ var Application = class Application extends Object$1 {
|
|
|
11819
11819
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11820
11820
|
*/
|
|
11821
11821
|
static async fromJsonLd(json, options = {}) {
|
|
11822
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
11822
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11823
11823
|
try {
|
|
11824
11824
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
11825
11825
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12296,7 +12296,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
12296
12296
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12297
12297
|
*/
|
|
12298
12298
|
static async fromJsonLd(json, options = {}) {
|
|
12299
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
12299
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12300
12300
|
try {
|
|
12301
12301
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
12302
12302
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12444,7 +12444,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
12444
12444
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12445
12445
|
*/
|
|
12446
12446
|
static async fromJsonLd(json, options = {}) {
|
|
12447
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
12447
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12448
12448
|
try {
|
|
12449
12449
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
12450
12450
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12675,7 +12675,7 @@ var Article = class Article extends Object$1 {
|
|
|
12675
12675
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12676
12676
|
*/
|
|
12677
12677
|
static async fromJsonLd(json, options = {}) {
|
|
12678
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
12678
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12679
12679
|
try {
|
|
12680
12680
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
12681
12681
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12900,7 +12900,7 @@ var Document = class Document extends Object$1 {
|
|
|
12900
12900
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12901
12901
|
*/
|
|
12902
12902
|
static async fromJsonLd(json, options = {}) {
|
|
12903
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
12903
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12904
12904
|
try {
|
|
12905
12905
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
12906
12906
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13079,7 +13079,7 @@ var Audio = class Audio extends Document {
|
|
|
13079
13079
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13080
13080
|
*/
|
|
13081
13081
|
static async fromJsonLd(json, options = {}) {
|
|
13082
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
13082
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13083
13083
|
try {
|
|
13084
13084
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
13085
13085
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13223,7 +13223,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
13223
13223
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13224
13224
|
*/
|
|
13225
13225
|
static async fromJsonLd(json, options = {}) {
|
|
13226
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
13226
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13227
13227
|
try {
|
|
13228
13228
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
13229
13229
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13370,7 +13370,7 @@ var Block = class Block extends Ignore {
|
|
|
13370
13370
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13371
13371
|
*/
|
|
13372
13372
|
static async fromJsonLd(json, options = {}) {
|
|
13373
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
13373
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13374
13374
|
try {
|
|
13375
13375
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
13376
13376
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13509,7 +13509,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13509
13509
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13510
13510
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13511
13511
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13512
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
13512
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13513
13513
|
let fetchResult;
|
|
13514
13514
|
try {
|
|
13515
13515
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13608,7 +13608,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13608
13608
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13609
13609
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13610
13610
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13611
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
13611
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13612
13612
|
let fetchResult;
|
|
13613
13613
|
try {
|
|
13614
13614
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13707,7 +13707,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13707
13707
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13708
13708
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13709
13709
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13710
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
13710
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13711
13711
|
let fetchResult;
|
|
13712
13712
|
try {
|
|
13713
13713
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13806,7 +13806,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13806
13806
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13807
13807
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13808
13808
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13809
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
13809
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13810
13810
|
let fetchResult;
|
|
13811
13811
|
try {
|
|
13812
13812
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14096,7 +14096,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
14096
14096
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14097
14097
|
*/
|
|
14098
14098
|
static async fromJsonLd(json, options = {}) {
|
|
14099
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
14099
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14100
14100
|
try {
|
|
14101
14101
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
14102
14102
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14354,7 +14354,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14354
14354
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14355
14355
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14356
14356
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14357
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
14357
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14358
14358
|
let fetchResult;
|
|
14359
14359
|
try {
|
|
14360
14360
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14453,7 +14453,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14453
14453
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14454
14454
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14455
14455
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14456
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
14456
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14457
14457
|
let fetchResult;
|
|
14458
14458
|
try {
|
|
14459
14459
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14551,7 +14551,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14551
14551
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14552
14552
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14553
14553
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14554
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
14554
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14555
14555
|
let fetchResult;
|
|
14556
14556
|
try {
|
|
14557
14557
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14793,7 +14793,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14793
14793
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14794
14794
|
*/
|
|
14795
14795
|
static async fromJsonLd(json, options = {}) {
|
|
14796
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
14796
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14797
14797
|
try {
|
|
14798
14798
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
14799
14799
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15006,7 +15006,7 @@ var Create = class Create extends Activity {
|
|
|
15006
15006
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15007
15007
|
*/
|
|
15008
15008
|
static async fromJsonLd(json, options = {}) {
|
|
15009
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
15009
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15010
15010
|
try {
|
|
15011
15011
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
15012
15012
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15166,7 +15166,7 @@ var Delete = class Delete extends Activity {
|
|
|
15166
15166
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15167
15167
|
*/
|
|
15168
15168
|
static async fromJsonLd(json, options = {}) {
|
|
15169
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
15169
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15170
15170
|
try {
|
|
15171
15171
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
15172
15172
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15313,7 +15313,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
15313
15313
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15314
15314
|
*/
|
|
15315
15315
|
static async fromJsonLd(json, options = {}) {
|
|
15316
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
15316
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15317
15317
|
try {
|
|
15318
15318
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
15319
15319
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15656,7 +15656,7 @@ var Endpoints = class {
|
|
|
15656
15656
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15657
15657
|
*/
|
|
15658
15658
|
static async fromJsonLd(json, options = {}) {
|
|
15659
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
15659
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15660
15660
|
try {
|
|
15661
15661
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
15662
15662
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15878,7 +15878,7 @@ var Event = class Event extends Object$1 {
|
|
|
15878
15878
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15879
15879
|
*/
|
|
15880
15880
|
static async fromJsonLd(json, options = {}) {
|
|
15881
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
15881
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15882
15882
|
try {
|
|
15883
15883
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
15884
15884
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16023,7 +16023,7 @@ var Flag = class Flag extends Activity {
|
|
|
16023
16023
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16024
16024
|
*/
|
|
16025
16025
|
static async fromJsonLd(json, options = {}) {
|
|
16026
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
16026
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16027
16027
|
try {
|
|
16028
16028
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
16029
16029
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16172,7 +16172,7 @@ var Follow = class Follow extends Activity {
|
|
|
16172
16172
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16173
16173
|
*/
|
|
16174
16174
|
static async fromJsonLd(json, options = {}) {
|
|
16175
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
16175
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16176
16176
|
try {
|
|
16177
16177
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
16178
16178
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16464,7 +16464,7 @@ var Group = class Group extends Object$1 {
|
|
|
16464
16464
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16465
16465
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16466
16466
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16467
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16467
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16468
16468
|
let fetchResult;
|
|
16469
16469
|
try {
|
|
16470
16470
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16597,7 +16597,7 @@ var Group = class Group extends Object$1 {
|
|
|
16597
16597
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16598
16598
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16599
16599
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16600
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16600
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16601
16601
|
let fetchResult;
|
|
16602
16602
|
try {
|
|
16603
16603
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16748,7 +16748,7 @@ var Group = class Group extends Object$1 {
|
|
|
16748
16748
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16749
16749
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16750
16750
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16751
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16751
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16752
16752
|
let fetchResult;
|
|
16753
16753
|
try {
|
|
16754
16754
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16867,7 +16867,7 @@ var Group = class Group extends Object$1 {
|
|
|
16867
16867
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16868
16868
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16869
16869
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16870
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16870
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16871
16871
|
let fetchResult;
|
|
16872
16872
|
try {
|
|
16873
16873
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16983,7 +16983,7 @@ var Group = class Group extends Object$1 {
|
|
|
16983
16983
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16984
16984
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16985
16985
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16986
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16986
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16987
16987
|
let fetchResult;
|
|
16988
16988
|
try {
|
|
16989
16989
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17085,7 +17085,7 @@ var Group = class Group extends Object$1 {
|
|
|
17085
17085
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17086
17086
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17087
17087
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17088
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17088
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17089
17089
|
let fetchResult;
|
|
17090
17090
|
try {
|
|
17091
17091
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17190,7 +17190,7 @@ var Group = class Group extends Object$1 {
|
|
|
17190
17190
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17191
17191
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17192
17192
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17193
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17193
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17194
17194
|
let fetchResult;
|
|
17195
17195
|
try {
|
|
17196
17196
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17293,7 +17293,7 @@ var Group = class Group extends Object$1 {
|
|
|
17293
17293
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17294
17294
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17295
17295
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17296
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17296
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17297
17297
|
let fetchResult;
|
|
17298
17298
|
try {
|
|
17299
17299
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17394,7 +17394,7 @@ var Group = class Group extends Object$1 {
|
|
|
17394
17394
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17395
17395
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17396
17396
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17397
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17397
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17398
17398
|
let fetchResult;
|
|
17399
17399
|
try {
|
|
17400
17400
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17495,7 +17495,7 @@ var Group = class Group extends Object$1 {
|
|
|
17495
17495
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17496
17496
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17497
17497
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17498
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17498
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17499
17499
|
let fetchResult;
|
|
17500
17500
|
try {
|
|
17501
17501
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17638,7 +17638,7 @@ var Group = class Group extends Object$1 {
|
|
|
17638
17638
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17639
17639
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17640
17640
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17641
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17641
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17642
17642
|
let fetchResult;
|
|
17643
17643
|
try {
|
|
17644
17644
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17778,7 +17778,7 @@ var Group = class Group extends Object$1 {
|
|
|
17778
17778
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17779
17779
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17780
17780
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17781
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17781
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17782
17782
|
let fetchResult;
|
|
17783
17783
|
try {
|
|
17784
17784
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17959,7 +17959,7 @@ var Group = class Group extends Object$1 {
|
|
|
17959
17959
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17960
17960
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17961
17961
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17962
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17962
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17963
17963
|
let fetchResult;
|
|
17964
17964
|
try {
|
|
17965
17965
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18613,7 +18613,7 @@ var Group = class Group extends Object$1 {
|
|
|
18613
18613
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18614
18614
|
*/
|
|
18615
18615
|
static async fromJsonLd(json, options = {}) {
|
|
18616
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
18616
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18617
18617
|
try {
|
|
18618
18618
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
18619
18619
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19222,7 +19222,7 @@ var Link = class Link {
|
|
|
19222
19222
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19223
19223
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19224
19224
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19225
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
19225
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19226
19226
|
let fetchResult;
|
|
19227
19227
|
try {
|
|
19228
19228
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19494,7 +19494,7 @@ var Link = class Link {
|
|
|
19494
19494
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19495
19495
|
*/
|
|
19496
19496
|
static async fromJsonLd(json, options = {}) {
|
|
19497
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
19497
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19498
19498
|
try {
|
|
19499
19499
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
19500
19500
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19811,7 +19811,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
19811
19811
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19812
19812
|
*/
|
|
19813
19813
|
static async fromJsonLd(json, options = {}) {
|
|
19814
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
19814
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19815
19815
|
try {
|
|
19816
19816
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
19817
19817
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19961,7 +19961,7 @@ var Image = class Image extends Document {
|
|
|
19961
19961
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19962
19962
|
*/
|
|
19963
19963
|
static async fromJsonLd(json, options = {}) {
|
|
19964
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
19964
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19965
19965
|
try {
|
|
19966
19966
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
19967
19967
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20106,7 +20106,7 @@ var Offer = class Offer extends Activity {
|
|
|
20106
20106
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20107
20107
|
*/
|
|
20108
20108
|
static async fromJsonLd(json, options = {}) {
|
|
20109
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20109
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20110
20110
|
try {
|
|
20111
20111
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
20112
20112
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20251,7 +20251,7 @@ var Invite = class Invite extends Offer {
|
|
|
20251
20251
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20252
20252
|
*/
|
|
20253
20253
|
static async fromJsonLd(json, options = {}) {
|
|
20254
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20254
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20255
20255
|
try {
|
|
20256
20256
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
20257
20257
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20395,7 +20395,7 @@ var Join = class Join extends Activity {
|
|
|
20395
20395
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20396
20396
|
*/
|
|
20397
20397
|
static async fromJsonLd(json, options = {}) {
|
|
20398
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20398
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20399
20399
|
try {
|
|
20400
20400
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
20401
20401
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20539,7 +20539,7 @@ var Leave = class Leave extends Activity {
|
|
|
20539
20539
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20540
20540
|
*/
|
|
20541
20541
|
static async fromJsonLd(json, options = {}) {
|
|
20542
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20542
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20543
20543
|
try {
|
|
20544
20544
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
20545
20545
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20687,7 +20687,7 @@ var Like = class Like extends Activity {
|
|
|
20687
20687
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20688
20688
|
*/
|
|
20689
20689
|
static async fromJsonLd(json, options = {}) {
|
|
20690
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20690
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20691
20691
|
try {
|
|
20692
20692
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
20693
20693
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20830,7 +20830,7 @@ var Listen = class Listen extends Activity {
|
|
|
20830
20830
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20831
20831
|
*/
|
|
20832
20832
|
static async fromJsonLd(json, options = {}) {
|
|
20833
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20833
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20834
20834
|
try {
|
|
20835
20835
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
20836
20836
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20977,7 +20977,7 @@ var Mention = class Mention extends Link {
|
|
|
20977
20977
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20978
20978
|
*/
|
|
20979
20979
|
static async fromJsonLd(json, options = {}) {
|
|
20980
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20980
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20981
20981
|
try {
|
|
20982
20982
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
20983
20983
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21122,7 +21122,7 @@ var Move = class Move extends Activity {
|
|
|
21122
21122
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21123
21123
|
*/
|
|
21124
21124
|
static async fromJsonLd(json, options = {}) {
|
|
21125
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
21125
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21126
21126
|
try {
|
|
21127
21127
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
21128
21128
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21354,7 +21354,7 @@ var Note = class Note extends Object$1 {
|
|
|
21354
21354
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21355
21355
|
*/
|
|
21356
21356
|
static async fromJsonLd(json, options = {}) {
|
|
21357
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
21357
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21358
21358
|
try {
|
|
21359
21359
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
21360
21360
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21472,7 +21472,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
21472
21472
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21473
21473
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21474
21474
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21475
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
21475
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21476
21476
|
let fetchResult;
|
|
21477
21477
|
try {
|
|
21478
21478
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21700,7 +21700,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
21700
21700
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21701
21701
|
*/
|
|
21702
21702
|
static async fromJsonLd(json, options = {}) {
|
|
21703
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
21703
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21704
21704
|
try {
|
|
21705
21705
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
21706
21706
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21889,7 +21889,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
21889
21889
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21890
21890
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21891
21891
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21892
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
21892
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21893
21893
|
let fetchResult;
|
|
21894
21894
|
try {
|
|
21895
21895
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22140,7 +22140,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
22140
22140
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22141
22141
|
*/
|
|
22142
22142
|
static async fromJsonLd(json, options = {}) {
|
|
22143
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
22143
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22144
22144
|
try {
|
|
22145
22145
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
22146
22146
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22523,7 +22523,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22523
22523
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22524
22524
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22525
22525
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22526
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
22526
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22527
22527
|
let fetchResult;
|
|
22528
22528
|
try {
|
|
22529
22529
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22656,7 +22656,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22656
22656
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22657
22657
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22658
22658
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22659
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
22659
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22660
22660
|
let fetchResult;
|
|
22661
22661
|
try {
|
|
22662
22662
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22807,7 +22807,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22807
22807
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22808
22808
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22809
22809
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22810
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
22810
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22811
22811
|
let fetchResult;
|
|
22812
22812
|
try {
|
|
22813
22813
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22926,7 +22926,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22926
22926
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22927
22927
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22928
22928
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22929
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
22929
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22930
22930
|
let fetchResult;
|
|
22931
22931
|
try {
|
|
22932
22932
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23042,7 +23042,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23042
23042
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23043
23043
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23044
23044
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23045
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23045
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23046
23046
|
let fetchResult;
|
|
23047
23047
|
try {
|
|
23048
23048
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23144,7 +23144,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23144
23144
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23145
23145
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23146
23146
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23147
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23147
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23148
23148
|
let fetchResult;
|
|
23149
23149
|
try {
|
|
23150
23150
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23249,7 +23249,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23249
23249
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23250
23250
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23251
23251
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23252
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23252
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23253
23253
|
let fetchResult;
|
|
23254
23254
|
try {
|
|
23255
23255
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23352,7 +23352,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23352
23352
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23353
23353
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23354
23354
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23355
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23355
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23356
23356
|
let fetchResult;
|
|
23357
23357
|
try {
|
|
23358
23358
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23453,7 +23453,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23453
23453
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23454
23454
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23455
23455
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23456
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23456
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23457
23457
|
let fetchResult;
|
|
23458
23458
|
try {
|
|
23459
23459
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23554,7 +23554,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23554
23554
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23555
23555
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23556
23556
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23557
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23557
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23558
23558
|
let fetchResult;
|
|
23559
23559
|
try {
|
|
23560
23560
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23697,7 +23697,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23697
23697
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23698
23698
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23699
23699
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23700
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23700
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23701
23701
|
let fetchResult;
|
|
23702
23702
|
try {
|
|
23703
23703
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23837,7 +23837,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23837
23837
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23838
23838
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23839
23839
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23840
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23840
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23841
23841
|
let fetchResult;
|
|
23842
23842
|
try {
|
|
23843
23843
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24018,7 +24018,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
24018
24018
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24019
24019
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24020
24020
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24021
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
24021
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24022
24022
|
let fetchResult;
|
|
24023
24023
|
try {
|
|
24024
24024
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24672,7 +24672,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
24672
24672
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24673
24673
|
*/
|
|
24674
24674
|
static async fromJsonLd(json, options = {}) {
|
|
24675
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
24675
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24676
24676
|
try {
|
|
24677
24677
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
24678
24678
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25154,7 +25154,7 @@ var Page = class Page extends Document {
|
|
|
25154
25154
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25155
25155
|
*/
|
|
25156
25156
|
static async fromJsonLd(json, options = {}) {
|
|
25157
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
25157
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25158
25158
|
try {
|
|
25159
25159
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
25160
25160
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25446,7 +25446,7 @@ var Person = class Person extends Object$1 {
|
|
|
25446
25446
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25447
25447
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25448
25448
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25449
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25449
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25450
25450
|
let fetchResult;
|
|
25451
25451
|
try {
|
|
25452
25452
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25579,7 +25579,7 @@ var Person = class Person extends Object$1 {
|
|
|
25579
25579
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25580
25580
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25581
25581
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25582
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25582
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25583
25583
|
let fetchResult;
|
|
25584
25584
|
try {
|
|
25585
25585
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25730,7 +25730,7 @@ var Person = class Person extends Object$1 {
|
|
|
25730
25730
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25731
25731
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25732
25732
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25733
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25733
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25734
25734
|
let fetchResult;
|
|
25735
25735
|
try {
|
|
25736
25736
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25849,7 +25849,7 @@ var Person = class Person extends Object$1 {
|
|
|
25849
25849
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25850
25850
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25851
25851
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25852
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25852
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25853
25853
|
let fetchResult;
|
|
25854
25854
|
try {
|
|
25855
25855
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25965,7 +25965,7 @@ var Person = class Person extends Object$1 {
|
|
|
25965
25965
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25966
25966
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25967
25967
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25968
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25968
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25969
25969
|
let fetchResult;
|
|
25970
25970
|
try {
|
|
25971
25971
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26067,7 +26067,7 @@ var Person = class Person extends Object$1 {
|
|
|
26067
26067
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26068
26068
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26069
26069
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26070
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26070
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26071
26071
|
let fetchResult;
|
|
26072
26072
|
try {
|
|
26073
26073
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26172,7 +26172,7 @@ var Person = class Person extends Object$1 {
|
|
|
26172
26172
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26173
26173
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26174
26174
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26175
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26175
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26176
26176
|
let fetchResult;
|
|
26177
26177
|
try {
|
|
26178
26178
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26275,7 +26275,7 @@ var Person = class Person extends Object$1 {
|
|
|
26275
26275
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26276
26276
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26277
26277
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26278
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26278
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26279
26279
|
let fetchResult;
|
|
26280
26280
|
try {
|
|
26281
26281
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26376,7 +26376,7 @@ var Person = class Person extends Object$1 {
|
|
|
26376
26376
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26377
26377
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26378
26378
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26379
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26379
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26380
26380
|
let fetchResult;
|
|
26381
26381
|
try {
|
|
26382
26382
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26477,7 +26477,7 @@ var Person = class Person extends Object$1 {
|
|
|
26477
26477
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26478
26478
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26479
26479
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26480
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26480
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26481
26481
|
let fetchResult;
|
|
26482
26482
|
try {
|
|
26483
26483
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26620,7 +26620,7 @@ var Person = class Person extends Object$1 {
|
|
|
26620
26620
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26621
26621
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26622
26622
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26623
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26623
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26624
26624
|
let fetchResult;
|
|
26625
26625
|
try {
|
|
26626
26626
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26760,7 +26760,7 @@ var Person = class Person extends Object$1 {
|
|
|
26760
26760
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26761
26761
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26762
26762
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26763
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26763
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26764
26764
|
let fetchResult;
|
|
26765
26765
|
try {
|
|
26766
26766
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26941,7 +26941,7 @@ var Person = class Person extends Object$1 {
|
|
|
26941
26941
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26942
26942
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26943
26943
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26944
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26944
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26945
26945
|
let fetchResult;
|
|
26946
26946
|
try {
|
|
26947
26947
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27595,7 +27595,7 @@ var Person = class Person extends Object$1 {
|
|
|
27595
27595
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27596
27596
|
*/
|
|
27597
27597
|
static async fromJsonLd(json, options = {}) {
|
|
27598
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
27598
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27599
27599
|
try {
|
|
27600
27600
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
27601
27601
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28254,7 +28254,7 @@ var Place = class Place extends Object$1 {
|
|
|
28254
28254
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28255
28255
|
*/
|
|
28256
28256
|
static async fromJsonLd(json, options = {}) {
|
|
28257
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
28257
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28258
28258
|
try {
|
|
28259
28259
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
28260
28260
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28435,7 +28435,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
28435
28435
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28436
28436
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28437
28437
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28438
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
28438
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28439
28439
|
let fetchResult;
|
|
28440
28440
|
try {
|
|
28441
28441
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28606,7 +28606,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
28606
28606
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28607
28607
|
*/
|
|
28608
28608
|
static async fromJsonLd(json, options = {}) {
|
|
28609
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
28609
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28610
28610
|
try {
|
|
28611
28611
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
28612
28612
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28756,7 +28756,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
28756
28756
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28757
28757
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28758
28758
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28759
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
28759
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28760
28760
|
let fetchResult;
|
|
28761
28761
|
try {
|
|
28762
28762
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28859,7 +28859,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
28859
28859
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28860
28860
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28861
28861
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28862
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
28862
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28863
28863
|
let fetchResult;
|
|
28864
28864
|
try {
|
|
28865
28865
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29103,7 +29103,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
29103
29103
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29104
29104
|
*/
|
|
29105
29105
|
static async fromJsonLd(json, options = {}) {
|
|
29106
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
29106
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29107
29107
|
try {
|
|
29108
29108
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
29109
29109
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29319,7 +29319,7 @@ var Read = class Read extends Activity {
|
|
|
29319
29319
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29320
29320
|
*/
|
|
29321
29321
|
static async fromJsonLd(json, options = {}) {
|
|
29322
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
29322
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29323
29323
|
try {
|
|
29324
29324
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
29325
29325
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29463,7 +29463,7 @@ var Reject = class Reject extends Activity {
|
|
|
29463
29463
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29464
29464
|
*/
|
|
29465
29465
|
static async fromJsonLd(json, options = {}) {
|
|
29466
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
29466
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29467
29467
|
try {
|
|
29468
29468
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
29469
29469
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29604,7 +29604,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
29604
29604
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29605
29605
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29606
29606
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29607
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
29607
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29608
29608
|
let fetchResult;
|
|
29609
29609
|
try {
|
|
29610
29610
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29705,7 +29705,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
29705
29705
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29706
29706
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29707
29707
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29708
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
29708
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29709
29709
|
let fetchResult;
|
|
29710
29710
|
try {
|
|
29711
29711
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29838,7 +29838,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
29838
29838
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29839
29839
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29840
29840
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29841
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
29841
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29842
29842
|
let fetchResult;
|
|
29843
29843
|
try {
|
|
29844
29844
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30079,7 +30079,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
30079
30079
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30080
30080
|
*/
|
|
30081
30081
|
static async fromJsonLd(json, options = {}) {
|
|
30082
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
30082
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30083
30083
|
try {
|
|
30084
30084
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
30085
30085
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30274,7 +30274,7 @@ var Remove = class Remove extends Activity {
|
|
|
30274
30274
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30275
30275
|
*/
|
|
30276
30276
|
static async fromJsonLd(json, options = {}) {
|
|
30277
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
30277
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30278
30278
|
try {
|
|
30279
30279
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
30280
30280
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30566,7 +30566,7 @@ var Service = class Service extends Object$1 {
|
|
|
30566
30566
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30567
30567
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30568
30568
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30569
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
30569
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30570
30570
|
let fetchResult;
|
|
30571
30571
|
try {
|
|
30572
30572
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30699,7 +30699,7 @@ var Service = class Service extends Object$1 {
|
|
|
30699
30699
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30700
30700
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30701
30701
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30702
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
30702
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30703
30703
|
let fetchResult;
|
|
30704
30704
|
try {
|
|
30705
30705
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30850,7 +30850,7 @@ var Service = class Service extends Object$1 {
|
|
|
30850
30850
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30851
30851
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30852
30852
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30853
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
30853
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30854
30854
|
let fetchResult;
|
|
30855
30855
|
try {
|
|
30856
30856
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30969,7 +30969,7 @@ var Service = class Service extends Object$1 {
|
|
|
30969
30969
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30970
30970
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30971
30971
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30972
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
30972
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30973
30973
|
let fetchResult;
|
|
30974
30974
|
try {
|
|
30975
30975
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31085,7 +31085,7 @@ var Service = class Service extends Object$1 {
|
|
|
31085
31085
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31086
31086
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31087
31087
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31088
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31088
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31089
31089
|
let fetchResult;
|
|
31090
31090
|
try {
|
|
31091
31091
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31187,7 +31187,7 @@ var Service = class Service extends Object$1 {
|
|
|
31187
31187
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31188
31188
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31189
31189
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31190
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31190
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31191
31191
|
let fetchResult;
|
|
31192
31192
|
try {
|
|
31193
31193
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31292,7 +31292,7 @@ var Service = class Service extends Object$1 {
|
|
|
31292
31292
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31293
31293
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31294
31294
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31295
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31295
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31296
31296
|
let fetchResult;
|
|
31297
31297
|
try {
|
|
31298
31298
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31395,7 +31395,7 @@ var Service = class Service extends Object$1 {
|
|
|
31395
31395
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31396
31396
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31397
31397
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31398
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31398
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31399
31399
|
let fetchResult;
|
|
31400
31400
|
try {
|
|
31401
31401
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31496,7 +31496,7 @@ var Service = class Service extends Object$1 {
|
|
|
31496
31496
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31497
31497
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31498
31498
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31499
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31499
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31500
31500
|
let fetchResult;
|
|
31501
31501
|
try {
|
|
31502
31502
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31597,7 +31597,7 @@ var Service = class Service extends Object$1 {
|
|
|
31597
31597
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31598
31598
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31599
31599
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31600
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31600
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31601
31601
|
let fetchResult;
|
|
31602
31602
|
try {
|
|
31603
31603
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31740,7 +31740,7 @@ var Service = class Service extends Object$1 {
|
|
|
31740
31740
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31741
31741
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31742
31742
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31743
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31743
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31744
31744
|
let fetchResult;
|
|
31745
31745
|
try {
|
|
31746
31746
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31880,7 +31880,7 @@ var Service = class Service extends Object$1 {
|
|
|
31880
31880
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31881
31881
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31882
31882
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31883
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31883
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31884
31884
|
let fetchResult;
|
|
31885
31885
|
try {
|
|
31886
31886
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32061,7 +32061,7 @@ var Service = class Service extends Object$1 {
|
|
|
32061
32061
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32062
32062
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32063
32063
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32064
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
32064
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32065
32065
|
let fetchResult;
|
|
32066
32066
|
try {
|
|
32067
32067
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32715,7 +32715,7 @@ var Service = class Service extends Object$1 {
|
|
|
32715
32715
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32716
32716
|
*/
|
|
32717
32717
|
static async fromJsonLd(json, options = {}) {
|
|
32718
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
32718
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32719
32719
|
try {
|
|
32720
32720
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
32721
32721
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33289,7 +33289,7 @@ var Source = class {
|
|
|
33289
33289
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33290
33290
|
*/
|
|
33291
33291
|
static async fromJsonLd(json, options = {}) {
|
|
33292
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33292
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33293
33293
|
try {
|
|
33294
33294
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
33295
33295
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33460,7 +33460,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
33460
33460
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33461
33461
|
*/
|
|
33462
33462
|
static async fromJsonLd(json, options = {}) {
|
|
33463
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33463
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33464
33464
|
try {
|
|
33465
33465
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
33466
33466
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33604,7 +33604,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
33604
33604
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33605
33605
|
*/
|
|
33606
33606
|
static async fromJsonLd(json, options = {}) {
|
|
33607
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33607
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33608
33608
|
try {
|
|
33609
33609
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
33610
33610
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33787,7 +33787,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
33787
33787
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33788
33788
|
*/
|
|
33789
33789
|
static async fromJsonLd(json, options = {}) {
|
|
33790
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33790
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33791
33791
|
try {
|
|
33792
33792
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
33793
33793
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33946,7 +33946,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
33946
33946
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33947
33947
|
*/
|
|
33948
33948
|
static async fromJsonLd(json, options = {}) {
|
|
33949
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33949
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33950
33950
|
try {
|
|
33951
33951
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
33952
33952
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34104,7 +34104,7 @@ var Undo = class Undo extends Activity {
|
|
|
34104
34104
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34105
34105
|
*/
|
|
34106
34106
|
static async fromJsonLd(json, options = {}) {
|
|
34107
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
34107
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34108
34108
|
try {
|
|
34109
34109
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
34110
34110
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34300,7 +34300,7 @@ var Update = class Update extends Activity {
|
|
|
34300
34300
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34301
34301
|
*/
|
|
34302
34302
|
static async fromJsonLd(json, options = {}) {
|
|
34303
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
34303
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34304
34304
|
try {
|
|
34305
34305
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
34306
34306
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34450,7 +34450,7 @@ var Video = class Video extends Document {
|
|
|
34450
34450
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34451
34451
|
*/
|
|
34452
34452
|
static async fromJsonLd(json, options = {}) {
|
|
34453
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
34453
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34454
34454
|
try {
|
|
34455
34455
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
34456
34456
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34593,7 +34593,7 @@ var View = class View extends Activity {
|
|
|
34593
34593
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34594
34594
|
*/
|
|
34595
34595
|
static async fromJsonLd(json, options = {}) {
|
|
34596
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
34596
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34597
34597
|
try {
|
|
34598
34598
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
34599
34599
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|