@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
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
6
|
import { n as __export } from "./chunk-DvTpRkcT.js";
|
|
7
|
-
import { i as getDocumentLoader } from "./docloader-
|
|
7
|
+
import { i as getDocumentLoader } from "./docloader-I3SkMpZK.js";
|
|
8
8
|
import { n as encode, t as decode } from "./multibase-DBcKTV2a.js";
|
|
9
9
|
import { t as LanguageString } from "./langstr-pFHBDU4y.js";
|
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
|
@@ -55,7 +55,7 @@ async function importSpki(pem) {
|
|
|
55
55
|
* @since 0.5.0
|
|
56
56
|
*/
|
|
57
57
|
async function exportSpki(key) {
|
|
58
|
-
const { validateCryptoKey } = await import("./key-
|
|
58
|
+
const { validateCryptoKey } = await import("./key-CdNa4Um6.js");
|
|
59
59
|
validateCryptoKey(key);
|
|
60
60
|
let pem = encodeBase64(await crypto.subtle.exportKey("spki", key));
|
|
61
61
|
pem = (pem.match(/.{1,64}/g) || []).join("\n");
|
|
@@ -646,7 +646,7 @@ var Object$1 = class Object$1 {
|
|
|
646
646
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
647
647
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
648
648
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
649
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
649
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
650
650
|
let fetchResult;
|
|
651
651
|
try {
|
|
652
652
|
fetchResult = await documentLoader(url.href);
|
|
@@ -771,7 +771,7 @@ var Object$1 = class Object$1 {
|
|
|
771
771
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
772
772
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
773
773
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
774
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
774
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
775
775
|
let fetchResult;
|
|
776
776
|
try {
|
|
777
777
|
fetchResult = await documentLoader(url.href);
|
|
@@ -950,7 +950,7 @@ var Object$1 = class Object$1 {
|
|
|
950
950
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
951
951
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
952
952
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
953
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
953
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
954
954
|
let fetchResult;
|
|
955
955
|
try {
|
|
956
956
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1105,7 +1105,7 @@ var Object$1 = class Object$1 {
|
|
|
1105
1105
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1106
1106
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1107
1107
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1108
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1108
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1109
1109
|
let fetchResult;
|
|
1110
1110
|
try {
|
|
1111
1111
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1247,7 +1247,7 @@ var Object$1 = class Object$1 {
|
|
|
1247
1247
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1248
1248
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1249
1249
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1250
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1250
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1251
1251
|
let fetchResult;
|
|
1252
1252
|
try {
|
|
1253
1253
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1357,7 +1357,7 @@ var Object$1 = class Object$1 {
|
|
|
1357
1357
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1358
1358
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1359
1359
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1360
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1360
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1361
1361
|
let fetchResult;
|
|
1362
1362
|
try {
|
|
1363
1363
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1494,7 +1494,7 @@ var Object$1 = class Object$1 {
|
|
|
1494
1494
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1495
1495
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1496
1496
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1497
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1497
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1498
1498
|
let fetchResult;
|
|
1499
1499
|
try {
|
|
1500
1500
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1631,7 +1631,7 @@ var Object$1 = class Object$1 {
|
|
|
1631
1631
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1632
1632
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1633
1633
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1634
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1634
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1635
1635
|
let fetchResult;
|
|
1636
1636
|
try {
|
|
1637
1637
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1775,7 +1775,7 @@ var Object$1 = class Object$1 {
|
|
|
1775
1775
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1776
1776
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1777
1777
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1778
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1778
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1779
1779
|
let fetchResult;
|
|
1780
1780
|
try {
|
|
1781
1781
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1919,7 +1919,7 @@ var Object$1 = class Object$1 {
|
|
|
1919
1919
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1920
1920
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1921
1921
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1922
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1922
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1923
1923
|
let fetchResult;
|
|
1924
1924
|
try {
|
|
1925
1925
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2068,7 +2068,7 @@ var Object$1 = class Object$1 {
|
|
|
2068
2068
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2069
2069
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2070
2070
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2071
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2071
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2072
2072
|
let fetchResult;
|
|
2073
2073
|
try {
|
|
2074
2074
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2167,7 +2167,7 @@ var Object$1 = class Object$1 {
|
|
|
2167
2167
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2168
2168
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2169
2169
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2170
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2170
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2171
2171
|
let fetchResult;
|
|
2172
2172
|
try {
|
|
2173
2173
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2272,7 +2272,7 @@ var Object$1 = class Object$1 {
|
|
|
2272
2272
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2273
2273
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2274
2274
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2275
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2275
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2276
2276
|
let fetchResult;
|
|
2277
2277
|
try {
|
|
2278
2278
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2377,7 +2377,7 @@ var Object$1 = class Object$1 {
|
|
|
2377
2377
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2378
2378
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2379
2379
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2380
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2380
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2381
2381
|
let fetchResult;
|
|
2382
2382
|
try {
|
|
2383
2383
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2500,7 +2500,7 @@ var Object$1 = class Object$1 {
|
|
|
2500
2500
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2501
2501
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2502
2502
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2503
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2503
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2504
2504
|
let fetchResult;
|
|
2505
2505
|
try {
|
|
2506
2506
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2632,7 +2632,7 @@ var Object$1 = class Object$1 {
|
|
|
2632
2632
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2633
2633
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2634
2634
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2635
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2635
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2636
2636
|
let fetchResult;
|
|
2637
2637
|
try {
|
|
2638
2638
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2767,7 +2767,7 @@ var Object$1 = class Object$1 {
|
|
|
2767
2767
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2768
2768
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2769
2769
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2770
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2770
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2771
2771
|
let fetchResult;
|
|
2772
2772
|
try {
|
|
2773
2773
|
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);
|
|
@@ -3209,7 +3209,7 @@ var Object$1 = class Object$1 {
|
|
|
3209
3209
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3210
3210
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3211
3211
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3212
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
3212
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3213
3213
|
let fetchResult;
|
|
3214
3214
|
try {
|
|
3215
3215
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3969,7 +3969,7 @@ var Object$1 = class Object$1 {
|
|
|
3969
3969
|
* @throws {TypeError} If the given `json` is invalid.
|
|
3970
3970
|
*/
|
|
3971
3971
|
static async fromJsonLd(json, options = {}) {
|
|
3972
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
3972
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
3973
3973
|
try {
|
|
3974
3974
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
3975
3975
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5107,7 +5107,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
5107
5107
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5108
5108
|
*/
|
|
5109
5109
|
static async fromJsonLd(json, options = {}) {
|
|
5110
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
5110
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5111
5111
|
try {
|
|
5112
5112
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
5113
5113
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5340,7 +5340,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
5340
5340
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5341
5341
|
*/
|
|
5342
5342
|
static async fromJsonLd(json, options = {}) {
|
|
5343
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
5343
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5344
5344
|
try {
|
|
5345
5345
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
5346
5346
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5551,7 +5551,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
5551
5551
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
5552
5552
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
5553
5553
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
5554
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
5554
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5555
5555
|
let fetchResult;
|
|
5556
5556
|
try {
|
|
5557
5557
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5730,7 +5730,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
5730
5730
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
5731
5731
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
5732
5732
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
5733
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
5733
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5734
5734
|
let fetchResult;
|
|
5735
5735
|
try {
|
|
5736
5736
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5867,7 +5867,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
5867
5867
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
5868
5868
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
5869
5869
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
5870
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
5870
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5871
5871
|
let fetchResult;
|
|
5872
5872
|
try {
|
|
5873
5873
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6010,7 +6010,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6010
6010
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6011
6011
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6012
6012
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6013
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
6013
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6014
6014
|
let fetchResult;
|
|
6015
6015
|
try {
|
|
6016
6016
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6147,7 +6147,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6147
6147
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6148
6148
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6149
6149
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6150
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
6150
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6151
6151
|
let fetchResult;
|
|
6152
6152
|
try {
|
|
6153
6153
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6286,7 +6286,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6286
6286
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6287
6287
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6288
6288
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6289
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
6289
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6290
6290
|
let fetchResult;
|
|
6291
6291
|
try {
|
|
6292
6292
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6507,7 +6507,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6507
6507
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6508
6508
|
*/
|
|
6509
6509
|
static async fromJsonLd(json, options = {}) {
|
|
6510
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
6510
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6511
6511
|
try {
|
|
6512
6512
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
6513
6513
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6791,7 +6791,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
6791
6791
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6792
6792
|
*/
|
|
6793
6793
|
static async fromJsonLd(json, options = {}) {
|
|
6794
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
6794
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6795
6795
|
try {
|
|
6796
6796
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
6797
6797
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7033,7 +7033,7 @@ var PropertyValue = class {
|
|
|
7033
7033
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7034
7034
|
*/
|
|
7035
7035
|
static async fromJsonLd(json, options = {}) {
|
|
7036
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
7036
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7037
7037
|
try {
|
|
7038
7038
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
7039
7039
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7263,7 +7263,7 @@ var DidService = class {
|
|
|
7263
7263
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7264
7264
|
*/
|
|
7265
7265
|
static async fromJsonLd(json, options = {}) {
|
|
7266
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
7266
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7267
7267
|
try {
|
|
7268
7268
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
7269
7269
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7413,7 +7413,7 @@ var Export = class Export extends DidService {
|
|
|
7413
7413
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7414
7414
|
*/
|
|
7415
7415
|
static async fromJsonLd(json, options = {}) {
|
|
7416
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
7416
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7417
7417
|
try {
|
|
7418
7418
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
7419
7419
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7576,7 +7576,7 @@ var DataIntegrityProof = class {
|
|
|
7576
7576
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7577
7577
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7578
7578
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7579
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
7579
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7580
7580
|
let fetchResult;
|
|
7581
7581
|
try {
|
|
7582
7582
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7773,7 +7773,7 @@ var DataIntegrityProof = class {
|
|
|
7773
7773
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7774
7774
|
*/
|
|
7775
7775
|
static async fromJsonLd(json, options = {}) {
|
|
7776
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
7776
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7777
7777
|
try {
|
|
7778
7778
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
7779
7779
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7974,7 +7974,7 @@ var CryptographicKey = class {
|
|
|
7974
7974
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7975
7975
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7976
7976
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7977
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
7977
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7978
7978
|
let fetchResult;
|
|
7979
7979
|
try {
|
|
7980
7980
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8210,7 +8210,7 @@ var CryptographicKey = class {
|
|
|
8210
8210
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8211
8211
|
*/
|
|
8212
8212
|
static async fromJsonLd(json, options = {}) {
|
|
8213
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
8213
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8214
8214
|
try {
|
|
8215
8215
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
8216
8216
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8380,7 +8380,7 @@ var Multikey = class {
|
|
|
8380
8380
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8381
8381
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8382
8382
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8383
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
8383
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8384
8384
|
let fetchResult;
|
|
8385
8385
|
try {
|
|
8386
8386
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8622,7 +8622,7 @@ var Multikey = class {
|
|
|
8622
8622
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8623
8623
|
*/
|
|
8624
8624
|
static async fromJsonLd(json, options = {}) {
|
|
8625
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
8625
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8626
8626
|
try {
|
|
8627
8627
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
8628
8628
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8797,7 +8797,7 @@ var Accept = class Accept extends Activity {
|
|
|
8797
8797
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8798
8798
|
*/
|
|
8799
8799
|
static async fromJsonLd(json, options = {}) {
|
|
8800
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
8800
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8801
8801
|
try {
|
|
8802
8802
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
8803
8803
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8944,7 +8944,7 @@ var Add = class Add extends Activity {
|
|
|
8944
8944
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8945
8945
|
*/
|
|
8946
8946
|
static async fromJsonLd(json, options = {}) {
|
|
8947
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
8947
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8948
8948
|
try {
|
|
8949
8949
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
8950
8950
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9108,7 +9108,7 @@ var Announce = class Announce extends Activity {
|
|
|
9108
9108
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9109
9109
|
*/
|
|
9110
9110
|
static async fromJsonLd(json, options = {}) {
|
|
9111
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
9111
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9112
9112
|
try {
|
|
9113
9113
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
9114
9114
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9400,7 +9400,7 @@ var Application = class Application extends Object$1 {
|
|
|
9400
9400
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9401
9401
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9402
9402
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9403
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
9403
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9404
9404
|
let fetchResult;
|
|
9405
9405
|
try {
|
|
9406
9406
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9533,7 +9533,7 @@ var Application = class Application extends Object$1 {
|
|
|
9533
9533
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9534
9534
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9535
9535
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9536
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
9536
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9537
9537
|
let fetchResult;
|
|
9538
9538
|
try {
|
|
9539
9539
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9684,7 +9684,7 @@ var Application = class Application extends Object$1 {
|
|
|
9684
9684
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9685
9685
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9686
9686
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9687
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
9687
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9688
9688
|
let fetchResult;
|
|
9689
9689
|
try {
|
|
9690
9690
|
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);
|
|
@@ -9919,7 +9919,7 @@ var Application = class Application extends Object$1 {
|
|
|
9919
9919
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9920
9920
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9921
9921
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9922
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
9922
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9923
9923
|
let fetchResult;
|
|
9924
9924
|
try {
|
|
9925
9925
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10021,7 +10021,7 @@ var Application = class Application extends Object$1 {
|
|
|
10021
10021
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10022
10022
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10023
10023
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10024
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10024
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10025
10025
|
let fetchResult;
|
|
10026
10026
|
try {
|
|
10027
10027
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10126,7 +10126,7 @@ var Application = class Application extends Object$1 {
|
|
|
10126
10126
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10127
10127
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10128
10128
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10129
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10129
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10130
10130
|
let fetchResult;
|
|
10131
10131
|
try {
|
|
10132
10132
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10229,7 +10229,7 @@ var Application = class Application extends Object$1 {
|
|
|
10229
10229
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10230
10230
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10231
10231
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10232
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10232
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10233
10233
|
let fetchResult;
|
|
10234
10234
|
try {
|
|
10235
10235
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10330,7 +10330,7 @@ var Application = class Application extends Object$1 {
|
|
|
10330
10330
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10331
10331
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10332
10332
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10333
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10333
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10334
10334
|
let fetchResult;
|
|
10335
10335
|
try {
|
|
10336
10336
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10431,7 +10431,7 @@ var Application = class Application extends Object$1 {
|
|
|
10431
10431
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10432
10432
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10433
10433
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10434
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10434
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10435
10435
|
let fetchResult;
|
|
10436
10436
|
try {
|
|
10437
10437
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10574,7 +10574,7 @@ var Application = class Application extends Object$1 {
|
|
|
10574
10574
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10575
10575
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10576
10576
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10577
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10577
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10578
10578
|
let fetchResult;
|
|
10579
10579
|
try {
|
|
10580
10580
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10714,7 +10714,7 @@ var Application = class Application extends Object$1 {
|
|
|
10714
10714
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10715
10715
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10716
10716
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10717
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10717
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10718
10718
|
let fetchResult;
|
|
10719
10719
|
try {
|
|
10720
10720
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10895,7 +10895,7 @@ var Application = class Application extends Object$1 {
|
|
|
10895
10895
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10896
10896
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10897
10897
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10898
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10898
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10899
10899
|
let fetchResult;
|
|
10900
10900
|
try {
|
|
10901
10901
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11549,7 +11549,7 @@ var Application = class Application extends Object$1 {
|
|
|
11549
11549
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11550
11550
|
*/
|
|
11551
11551
|
static async fromJsonLd(json, options = {}) {
|
|
11552
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
11552
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11553
11553
|
try {
|
|
11554
11554
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
11555
11555
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12026,7 +12026,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
12026
12026
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12027
12027
|
*/
|
|
12028
12028
|
static async fromJsonLd(json, options = {}) {
|
|
12029
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
12029
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12030
12030
|
try {
|
|
12031
12031
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
12032
12032
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12174,7 +12174,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
12174
12174
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12175
12175
|
*/
|
|
12176
12176
|
static async fromJsonLd(json, options = {}) {
|
|
12177
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
12177
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12178
12178
|
try {
|
|
12179
12179
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
12180
12180
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12405,7 +12405,7 @@ var Article = class Article extends Object$1 {
|
|
|
12405
12405
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12406
12406
|
*/
|
|
12407
12407
|
static async fromJsonLd(json, options = {}) {
|
|
12408
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
12408
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12409
12409
|
try {
|
|
12410
12410
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
12411
12411
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12630,7 +12630,7 @@ var Document = class Document extends Object$1 {
|
|
|
12630
12630
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12631
12631
|
*/
|
|
12632
12632
|
static async fromJsonLd(json, options = {}) {
|
|
12633
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
12633
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12634
12634
|
try {
|
|
12635
12635
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
12636
12636
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12809,7 +12809,7 @@ var Audio = class Audio extends Document {
|
|
|
12809
12809
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12810
12810
|
*/
|
|
12811
12811
|
static async fromJsonLd(json, options = {}) {
|
|
12812
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
12812
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12813
12813
|
try {
|
|
12814
12814
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
12815
12815
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12953,7 +12953,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
12953
12953
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12954
12954
|
*/
|
|
12955
12955
|
static async fromJsonLd(json, options = {}) {
|
|
12956
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
12956
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12957
12957
|
try {
|
|
12958
12958
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
12959
12959
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13100,7 +13100,7 @@ var Block = class Block extends Ignore {
|
|
|
13100
13100
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13101
13101
|
*/
|
|
13102
13102
|
static async fromJsonLd(json, options = {}) {
|
|
13103
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
13103
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13104
13104
|
try {
|
|
13105
13105
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
13106
13106
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13239,7 +13239,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13239
13239
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13240
13240
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13241
13241
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13242
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
13242
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13243
13243
|
let fetchResult;
|
|
13244
13244
|
try {
|
|
13245
13245
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13338,7 +13338,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13338
13338
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13339
13339
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13340
13340
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13341
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
13341
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13342
13342
|
let fetchResult;
|
|
13343
13343
|
try {
|
|
13344
13344
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13437,7 +13437,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13437
13437
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13438
13438
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13439
13439
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13440
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
13440
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13441
13441
|
let fetchResult;
|
|
13442
13442
|
try {
|
|
13443
13443
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13536,7 +13536,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13536
13536
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13537
13537
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13538
13538
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13539
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
13539
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13540
13540
|
let fetchResult;
|
|
13541
13541
|
try {
|
|
13542
13542
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13826,7 +13826,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13826
13826
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13827
13827
|
*/
|
|
13828
13828
|
static async fromJsonLd(json, options = {}) {
|
|
13829
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
13829
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13830
13830
|
try {
|
|
13831
13831
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
13832
13832
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14084,7 +14084,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14084
14084
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14085
14085
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14086
14086
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14087
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
14087
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14088
14088
|
let fetchResult;
|
|
14089
14089
|
try {
|
|
14090
14090
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14183,7 +14183,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14183
14183
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14184
14184
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14185
14185
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14186
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
14186
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14187
14187
|
let fetchResult;
|
|
14188
14188
|
try {
|
|
14189
14189
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14281,7 +14281,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14281
14281
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14282
14282
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14283
14283
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14284
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
14284
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14285
14285
|
let fetchResult;
|
|
14286
14286
|
try {
|
|
14287
14287
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14523,7 +14523,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14523
14523
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14524
14524
|
*/
|
|
14525
14525
|
static async fromJsonLd(json, options = {}) {
|
|
14526
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
14526
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14527
14527
|
try {
|
|
14528
14528
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
14529
14529
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14736,7 +14736,7 @@ var Create = class Create extends Activity {
|
|
|
14736
14736
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14737
14737
|
*/
|
|
14738
14738
|
static async fromJsonLd(json, options = {}) {
|
|
14739
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
14739
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14740
14740
|
try {
|
|
14741
14741
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
14742
14742
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14896,7 +14896,7 @@ var Delete = class Delete extends Activity {
|
|
|
14896
14896
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14897
14897
|
*/
|
|
14898
14898
|
static async fromJsonLd(json, options = {}) {
|
|
14899
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
14899
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14900
14900
|
try {
|
|
14901
14901
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
14902
14902
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15043,7 +15043,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
15043
15043
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15044
15044
|
*/
|
|
15045
15045
|
static async fromJsonLd(json, options = {}) {
|
|
15046
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
15046
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15047
15047
|
try {
|
|
15048
15048
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
15049
15049
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15386,7 +15386,7 @@ var Endpoints = class {
|
|
|
15386
15386
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15387
15387
|
*/
|
|
15388
15388
|
static async fromJsonLd(json, options = {}) {
|
|
15389
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
15389
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15390
15390
|
try {
|
|
15391
15391
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
15392
15392
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15608,7 +15608,7 @@ var Event = class Event extends Object$1 {
|
|
|
15608
15608
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15609
15609
|
*/
|
|
15610
15610
|
static async fromJsonLd(json, options = {}) {
|
|
15611
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
15611
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15612
15612
|
try {
|
|
15613
15613
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
15614
15614
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15753,7 +15753,7 @@ var Flag = class Flag extends Activity {
|
|
|
15753
15753
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15754
15754
|
*/
|
|
15755
15755
|
static async fromJsonLd(json, options = {}) {
|
|
15756
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
15756
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15757
15757
|
try {
|
|
15758
15758
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
15759
15759
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15902,7 +15902,7 @@ var Follow = class Follow extends Activity {
|
|
|
15902
15902
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15903
15903
|
*/
|
|
15904
15904
|
static async fromJsonLd(json, options = {}) {
|
|
15905
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
15905
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15906
15906
|
try {
|
|
15907
15907
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
15908
15908
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16194,7 +16194,7 @@ var Group = class Group extends Object$1 {
|
|
|
16194
16194
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16195
16195
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16196
16196
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16197
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16197
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16198
16198
|
let fetchResult;
|
|
16199
16199
|
try {
|
|
16200
16200
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16327,7 +16327,7 @@ var Group = class Group extends Object$1 {
|
|
|
16327
16327
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16328
16328
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16329
16329
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16330
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16330
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16331
16331
|
let fetchResult;
|
|
16332
16332
|
try {
|
|
16333
16333
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16478,7 +16478,7 @@ var Group = class Group extends Object$1 {
|
|
|
16478
16478
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16479
16479
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16480
16480
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16481
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16481
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16482
16482
|
let fetchResult;
|
|
16483
16483
|
try {
|
|
16484
16484
|
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);
|
|
@@ -16713,7 +16713,7 @@ var Group = class Group extends Object$1 {
|
|
|
16713
16713
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16714
16714
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16715
16715
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16716
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16716
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16717
16717
|
let fetchResult;
|
|
16718
16718
|
try {
|
|
16719
16719
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16815,7 +16815,7 @@ var Group = class Group extends Object$1 {
|
|
|
16815
16815
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16816
16816
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16817
16817
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16818
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16818
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16819
16819
|
let fetchResult;
|
|
16820
16820
|
try {
|
|
16821
16821
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16920,7 +16920,7 @@ var Group = class Group extends Object$1 {
|
|
|
16920
16920
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16921
16921
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16922
16922
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16923
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16923
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16924
16924
|
let fetchResult;
|
|
16925
16925
|
try {
|
|
16926
16926
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17023,7 +17023,7 @@ var Group = class Group extends Object$1 {
|
|
|
17023
17023
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17024
17024
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17025
17025
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17026
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17026
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17027
17027
|
let fetchResult;
|
|
17028
17028
|
try {
|
|
17029
17029
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17124,7 +17124,7 @@ var Group = class Group extends Object$1 {
|
|
|
17124
17124
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17125
17125
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17126
17126
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17127
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17127
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17128
17128
|
let fetchResult;
|
|
17129
17129
|
try {
|
|
17130
17130
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17225,7 +17225,7 @@ var Group = class Group extends Object$1 {
|
|
|
17225
17225
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17226
17226
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17227
17227
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17228
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17228
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17229
17229
|
let fetchResult;
|
|
17230
17230
|
try {
|
|
17231
17231
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17368,7 +17368,7 @@ var Group = class Group extends Object$1 {
|
|
|
17368
17368
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17369
17369
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17370
17370
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17371
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17371
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17372
17372
|
let fetchResult;
|
|
17373
17373
|
try {
|
|
17374
17374
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17508,7 +17508,7 @@ var Group = class Group extends Object$1 {
|
|
|
17508
17508
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17509
17509
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17510
17510
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17511
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17511
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17512
17512
|
let fetchResult;
|
|
17513
17513
|
try {
|
|
17514
17514
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17689,7 +17689,7 @@ var Group = class Group extends Object$1 {
|
|
|
17689
17689
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17690
17690
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17691
17691
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17692
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17692
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17693
17693
|
let fetchResult;
|
|
17694
17694
|
try {
|
|
17695
17695
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18343,7 +18343,7 @@ var Group = class Group extends Object$1 {
|
|
|
18343
18343
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18344
18344
|
*/
|
|
18345
18345
|
static async fromJsonLd(json, options = {}) {
|
|
18346
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
18346
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18347
18347
|
try {
|
|
18348
18348
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
18349
18349
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18952,7 +18952,7 @@ var Link = class Link {
|
|
|
18952
18952
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18953
18953
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18954
18954
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18955
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
18955
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18956
18956
|
let fetchResult;
|
|
18957
18957
|
try {
|
|
18958
18958
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19224,7 +19224,7 @@ var Link = class Link {
|
|
|
19224
19224
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19225
19225
|
*/
|
|
19226
19226
|
static async fromJsonLd(json, options = {}) {
|
|
19227
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
19227
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19228
19228
|
try {
|
|
19229
19229
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
19230
19230
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19541,7 +19541,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
19541
19541
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19542
19542
|
*/
|
|
19543
19543
|
static async fromJsonLd(json, options = {}) {
|
|
19544
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
19544
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19545
19545
|
try {
|
|
19546
19546
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
19547
19547
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19691,7 +19691,7 @@ var Image = class Image extends Document {
|
|
|
19691
19691
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19692
19692
|
*/
|
|
19693
19693
|
static async fromJsonLd(json, options = {}) {
|
|
19694
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
19694
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19695
19695
|
try {
|
|
19696
19696
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
19697
19697
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19836,7 +19836,7 @@ var Offer = class Offer extends Activity {
|
|
|
19836
19836
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19837
19837
|
*/
|
|
19838
19838
|
static async fromJsonLd(json, options = {}) {
|
|
19839
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
19839
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19840
19840
|
try {
|
|
19841
19841
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
19842
19842
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19981,7 +19981,7 @@ var Invite = class Invite extends Offer {
|
|
|
19981
19981
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19982
19982
|
*/
|
|
19983
19983
|
static async fromJsonLd(json, options = {}) {
|
|
19984
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
19984
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19985
19985
|
try {
|
|
19986
19986
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
19987
19987
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20125,7 +20125,7 @@ var Join = class Join extends Activity {
|
|
|
20125
20125
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20126
20126
|
*/
|
|
20127
20127
|
static async fromJsonLd(json, options = {}) {
|
|
20128
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20128
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20129
20129
|
try {
|
|
20130
20130
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
20131
20131
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20269,7 +20269,7 @@ var Leave = class Leave extends Activity {
|
|
|
20269
20269
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20270
20270
|
*/
|
|
20271
20271
|
static async fromJsonLd(json, options = {}) {
|
|
20272
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20272
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20273
20273
|
try {
|
|
20274
20274
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
20275
20275
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20417,7 +20417,7 @@ var Like = class Like extends Activity {
|
|
|
20417
20417
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20418
20418
|
*/
|
|
20419
20419
|
static async fromJsonLd(json, options = {}) {
|
|
20420
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20420
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20421
20421
|
try {
|
|
20422
20422
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
20423
20423
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20560,7 +20560,7 @@ var Listen = class Listen extends Activity {
|
|
|
20560
20560
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20561
20561
|
*/
|
|
20562
20562
|
static async fromJsonLd(json, options = {}) {
|
|
20563
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20563
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20564
20564
|
try {
|
|
20565
20565
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
20566
20566
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20707,7 +20707,7 @@ var Mention = class Mention extends Link {
|
|
|
20707
20707
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20708
20708
|
*/
|
|
20709
20709
|
static async fromJsonLd(json, options = {}) {
|
|
20710
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20710
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20711
20711
|
try {
|
|
20712
20712
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
20713
20713
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20852,7 +20852,7 @@ var Move = class Move extends Activity {
|
|
|
20852
20852
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20853
20853
|
*/
|
|
20854
20854
|
static async fromJsonLd(json, options = {}) {
|
|
20855
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20855
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20856
20856
|
try {
|
|
20857
20857
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
20858
20858
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21084,7 +21084,7 @@ var Note = class Note extends Object$1 {
|
|
|
21084
21084
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21085
21085
|
*/
|
|
21086
21086
|
static async fromJsonLd(json, options = {}) {
|
|
21087
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
21087
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21088
21088
|
try {
|
|
21089
21089
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
21090
21090
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21202,7 +21202,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
21202
21202
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21203
21203
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21204
21204
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21205
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
21205
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21206
21206
|
let fetchResult;
|
|
21207
21207
|
try {
|
|
21208
21208
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21430,7 +21430,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
21430
21430
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21431
21431
|
*/
|
|
21432
21432
|
static async fromJsonLd(json, options = {}) {
|
|
21433
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
21433
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21434
21434
|
try {
|
|
21435
21435
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
21436
21436
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21619,7 +21619,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
21619
21619
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21620
21620
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21621
21621
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21622
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
21622
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21623
21623
|
let fetchResult;
|
|
21624
21624
|
try {
|
|
21625
21625
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21870,7 +21870,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
21870
21870
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21871
21871
|
*/
|
|
21872
21872
|
static async fromJsonLd(json, options = {}) {
|
|
21873
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
21873
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21874
21874
|
try {
|
|
21875
21875
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
21876
21876
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22253,7 +22253,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22253
22253
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22254
22254
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22255
22255
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22256
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
22256
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22257
22257
|
let fetchResult;
|
|
22258
22258
|
try {
|
|
22259
22259
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22386,7 +22386,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22386
22386
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22387
22387
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22388
22388
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22389
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
22389
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22390
22390
|
let fetchResult;
|
|
22391
22391
|
try {
|
|
22392
22392
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22537,7 +22537,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22537
22537
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22538
22538
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22539
22539
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22540
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
22540
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22541
22541
|
let fetchResult;
|
|
22542
22542
|
try {
|
|
22543
22543
|
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);
|
|
@@ -22772,7 +22772,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22772
22772
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22773
22773
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22774
22774
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22775
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
22775
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22776
22776
|
let fetchResult;
|
|
22777
22777
|
try {
|
|
22778
22778
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22874,7 +22874,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22874
22874
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22875
22875
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22876
22876
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22877
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
22877
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22878
22878
|
let fetchResult;
|
|
22879
22879
|
try {
|
|
22880
22880
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22979,7 +22979,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22979
22979
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22980
22980
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22981
22981
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22982
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
22982
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22983
22983
|
let fetchResult;
|
|
22984
22984
|
try {
|
|
22985
22985
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23082,7 +23082,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23082
23082
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23083
23083
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23084
23084
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23085
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23085
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23086
23086
|
let fetchResult;
|
|
23087
23087
|
try {
|
|
23088
23088
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23183,7 +23183,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23183
23183
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23184
23184
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23185
23185
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23186
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23186
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23187
23187
|
let fetchResult;
|
|
23188
23188
|
try {
|
|
23189
23189
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23284,7 +23284,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23284
23284
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23285
23285
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23286
23286
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23287
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23287
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23288
23288
|
let fetchResult;
|
|
23289
23289
|
try {
|
|
23290
23290
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23427,7 +23427,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23427
23427
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23428
23428
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23429
23429
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23430
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23430
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23431
23431
|
let fetchResult;
|
|
23432
23432
|
try {
|
|
23433
23433
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23567,7 +23567,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23567
23567
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23568
23568
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23569
23569
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23570
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23570
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23571
23571
|
let fetchResult;
|
|
23572
23572
|
try {
|
|
23573
23573
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23748,7 +23748,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23748
23748
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23749
23749
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23750
23750
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23751
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23751
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23752
23752
|
let fetchResult;
|
|
23753
23753
|
try {
|
|
23754
23754
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24402,7 +24402,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
24402
24402
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24403
24403
|
*/
|
|
24404
24404
|
static async fromJsonLd(json, options = {}) {
|
|
24405
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
24405
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24406
24406
|
try {
|
|
24407
24407
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
24408
24408
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24884,7 +24884,7 @@ var Page = class Page extends Document {
|
|
|
24884
24884
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24885
24885
|
*/
|
|
24886
24886
|
static async fromJsonLd(json, options = {}) {
|
|
24887
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
24887
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24888
24888
|
try {
|
|
24889
24889
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
24890
24890
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25176,7 +25176,7 @@ var Person = class Person extends Object$1 {
|
|
|
25176
25176
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25177
25177
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25178
25178
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25179
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25179
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25180
25180
|
let fetchResult;
|
|
25181
25181
|
try {
|
|
25182
25182
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25309,7 +25309,7 @@ var Person = class Person extends Object$1 {
|
|
|
25309
25309
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25310
25310
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25311
25311
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25312
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25312
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25313
25313
|
let fetchResult;
|
|
25314
25314
|
try {
|
|
25315
25315
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25460,7 +25460,7 @@ var Person = class Person extends Object$1 {
|
|
|
25460
25460
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25461
25461
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25462
25462
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25463
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25463
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25464
25464
|
let fetchResult;
|
|
25465
25465
|
try {
|
|
25466
25466
|
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);
|
|
@@ -25695,7 +25695,7 @@ var Person = class Person extends Object$1 {
|
|
|
25695
25695
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25696
25696
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25697
25697
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25698
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25698
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25699
25699
|
let fetchResult;
|
|
25700
25700
|
try {
|
|
25701
25701
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25797,7 +25797,7 @@ var Person = class Person extends Object$1 {
|
|
|
25797
25797
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25798
25798
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25799
25799
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25800
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25800
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25801
25801
|
let fetchResult;
|
|
25802
25802
|
try {
|
|
25803
25803
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25902,7 +25902,7 @@ var Person = class Person extends Object$1 {
|
|
|
25902
25902
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25903
25903
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25904
25904
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25905
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25905
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25906
25906
|
let fetchResult;
|
|
25907
25907
|
try {
|
|
25908
25908
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26005,7 +26005,7 @@ var Person = class Person extends Object$1 {
|
|
|
26005
26005
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26006
26006
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26007
26007
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26008
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26008
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26009
26009
|
let fetchResult;
|
|
26010
26010
|
try {
|
|
26011
26011
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26106,7 +26106,7 @@ var Person = class Person extends Object$1 {
|
|
|
26106
26106
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26107
26107
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26108
26108
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26109
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26109
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26110
26110
|
let fetchResult;
|
|
26111
26111
|
try {
|
|
26112
26112
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26207,7 +26207,7 @@ var Person = class Person extends Object$1 {
|
|
|
26207
26207
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26208
26208
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26209
26209
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26210
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26210
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26211
26211
|
let fetchResult;
|
|
26212
26212
|
try {
|
|
26213
26213
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26350,7 +26350,7 @@ var Person = class Person extends Object$1 {
|
|
|
26350
26350
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26351
26351
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26352
26352
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26353
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26353
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26354
26354
|
let fetchResult;
|
|
26355
26355
|
try {
|
|
26356
26356
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26490,7 +26490,7 @@ var Person = class Person extends Object$1 {
|
|
|
26490
26490
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26491
26491
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26492
26492
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26493
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26493
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26494
26494
|
let fetchResult;
|
|
26495
26495
|
try {
|
|
26496
26496
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26671,7 +26671,7 @@ var Person = class Person extends Object$1 {
|
|
|
26671
26671
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26672
26672
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26673
26673
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26674
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26674
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26675
26675
|
let fetchResult;
|
|
26676
26676
|
try {
|
|
26677
26677
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27325,7 +27325,7 @@ var Person = class Person extends Object$1 {
|
|
|
27325
27325
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27326
27326
|
*/
|
|
27327
27327
|
static async fromJsonLd(json, options = {}) {
|
|
27328
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
27328
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27329
27329
|
try {
|
|
27330
27330
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
27331
27331
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27984,7 +27984,7 @@ var Place = class Place extends Object$1 {
|
|
|
27984
27984
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27985
27985
|
*/
|
|
27986
27986
|
static async fromJsonLd(json, options = {}) {
|
|
27987
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
27987
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27988
27988
|
try {
|
|
27989
27989
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
27990
27990
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28165,7 +28165,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
28165
28165
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28166
28166
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28167
28167
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28168
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
28168
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28169
28169
|
let fetchResult;
|
|
28170
28170
|
try {
|
|
28171
28171
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28336,7 +28336,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
28336
28336
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28337
28337
|
*/
|
|
28338
28338
|
static async fromJsonLd(json, options = {}) {
|
|
28339
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
28339
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28340
28340
|
try {
|
|
28341
28341
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
28342
28342
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28486,7 +28486,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
28486
28486
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28487
28487
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28488
28488
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28489
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
28489
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28490
28490
|
let fetchResult;
|
|
28491
28491
|
try {
|
|
28492
28492
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28589,7 +28589,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
28589
28589
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28590
28590
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28591
28591
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28592
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
28592
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28593
28593
|
let fetchResult;
|
|
28594
28594
|
try {
|
|
28595
28595
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28833,7 +28833,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
28833
28833
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28834
28834
|
*/
|
|
28835
28835
|
static async fromJsonLd(json, options = {}) {
|
|
28836
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
28836
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28837
28837
|
try {
|
|
28838
28838
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
28839
28839
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29049,7 +29049,7 @@ var Read = class Read extends Activity {
|
|
|
29049
29049
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29050
29050
|
*/
|
|
29051
29051
|
static async fromJsonLd(json, options = {}) {
|
|
29052
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
29052
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29053
29053
|
try {
|
|
29054
29054
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
29055
29055
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29193,7 +29193,7 @@ var Reject = class Reject extends Activity {
|
|
|
29193
29193
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29194
29194
|
*/
|
|
29195
29195
|
static async fromJsonLd(json, options = {}) {
|
|
29196
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
29196
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29197
29197
|
try {
|
|
29198
29198
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
29199
29199
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29334,7 +29334,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
29334
29334
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29335
29335
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29336
29336
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29337
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
29337
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29338
29338
|
let fetchResult;
|
|
29339
29339
|
try {
|
|
29340
29340
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29435,7 +29435,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
29435
29435
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29436
29436
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29437
29437
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29438
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
29438
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29439
29439
|
let fetchResult;
|
|
29440
29440
|
try {
|
|
29441
29441
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29568,7 +29568,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
29568
29568
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29569
29569
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29570
29570
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29571
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
29571
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29572
29572
|
let fetchResult;
|
|
29573
29573
|
try {
|
|
29574
29574
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29809,7 +29809,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
29809
29809
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29810
29810
|
*/
|
|
29811
29811
|
static async fromJsonLd(json, options = {}) {
|
|
29812
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
29812
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29813
29813
|
try {
|
|
29814
29814
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
29815
29815
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30004,7 +30004,7 @@ var Remove = class Remove extends Activity {
|
|
|
30004
30004
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30005
30005
|
*/
|
|
30006
30006
|
static async fromJsonLd(json, options = {}) {
|
|
30007
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
30007
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30008
30008
|
try {
|
|
30009
30009
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
30010
30010
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30296,7 +30296,7 @@ var Service = class Service extends Object$1 {
|
|
|
30296
30296
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30297
30297
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30298
30298
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30299
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
30299
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30300
30300
|
let fetchResult;
|
|
30301
30301
|
try {
|
|
30302
30302
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30429,7 +30429,7 @@ var Service = class Service extends Object$1 {
|
|
|
30429
30429
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30430
30430
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30431
30431
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30432
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
30432
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30433
30433
|
let fetchResult;
|
|
30434
30434
|
try {
|
|
30435
30435
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30580,7 +30580,7 @@ var Service = class Service extends Object$1 {
|
|
|
30580
30580
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30581
30581
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30582
30582
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30583
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
30583
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30584
30584
|
let fetchResult;
|
|
30585
30585
|
try {
|
|
30586
30586
|
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);
|
|
@@ -30815,7 +30815,7 @@ var Service = class Service extends Object$1 {
|
|
|
30815
30815
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30816
30816
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30817
30817
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30818
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
30818
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30819
30819
|
let fetchResult;
|
|
30820
30820
|
try {
|
|
30821
30821
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30917,7 +30917,7 @@ var Service = class Service extends Object$1 {
|
|
|
30917
30917
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30918
30918
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30919
30919
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30920
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
30920
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30921
30921
|
let fetchResult;
|
|
30922
30922
|
try {
|
|
30923
30923
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31022,7 +31022,7 @@ var Service = class Service extends Object$1 {
|
|
|
31022
31022
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31023
31023
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31024
31024
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31025
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31025
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31026
31026
|
let fetchResult;
|
|
31027
31027
|
try {
|
|
31028
31028
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31125,7 +31125,7 @@ var Service = class Service extends Object$1 {
|
|
|
31125
31125
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31126
31126
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31127
31127
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31128
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31128
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31129
31129
|
let fetchResult;
|
|
31130
31130
|
try {
|
|
31131
31131
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31226,7 +31226,7 @@ var Service = class Service extends Object$1 {
|
|
|
31226
31226
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31227
31227
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31228
31228
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31229
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31229
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31230
31230
|
let fetchResult;
|
|
31231
31231
|
try {
|
|
31232
31232
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31327,7 +31327,7 @@ var Service = class Service extends Object$1 {
|
|
|
31327
31327
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31328
31328
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31329
31329
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31330
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31330
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31331
31331
|
let fetchResult;
|
|
31332
31332
|
try {
|
|
31333
31333
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31470,7 +31470,7 @@ var Service = class Service extends Object$1 {
|
|
|
31470
31470
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31471
31471
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31472
31472
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31473
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31473
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31474
31474
|
let fetchResult;
|
|
31475
31475
|
try {
|
|
31476
31476
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31610,7 +31610,7 @@ var Service = class Service extends Object$1 {
|
|
|
31610
31610
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31611
31611
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31612
31612
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31613
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31613
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31614
31614
|
let fetchResult;
|
|
31615
31615
|
try {
|
|
31616
31616
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31791,7 +31791,7 @@ var Service = class Service extends Object$1 {
|
|
|
31791
31791
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31792
31792
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31793
31793
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31794
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31794
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31795
31795
|
let fetchResult;
|
|
31796
31796
|
try {
|
|
31797
31797
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32445,7 +32445,7 @@ var Service = class Service extends Object$1 {
|
|
|
32445
32445
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32446
32446
|
*/
|
|
32447
32447
|
static async fromJsonLd(json, options = {}) {
|
|
32448
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
32448
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32449
32449
|
try {
|
|
32450
32450
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
32451
32451
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33019,7 +33019,7 @@ var Source = class {
|
|
|
33019
33019
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33020
33020
|
*/
|
|
33021
33021
|
static async fromJsonLd(json, options = {}) {
|
|
33022
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33022
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33023
33023
|
try {
|
|
33024
33024
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
33025
33025
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33190,7 +33190,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
33190
33190
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33191
33191
|
*/
|
|
33192
33192
|
static async fromJsonLd(json, options = {}) {
|
|
33193
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33193
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33194
33194
|
try {
|
|
33195
33195
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
33196
33196
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33334,7 +33334,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
33334
33334
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33335
33335
|
*/
|
|
33336
33336
|
static async fromJsonLd(json, options = {}) {
|
|
33337
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33337
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33338
33338
|
try {
|
|
33339
33339
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
33340
33340
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33517,7 +33517,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
33517
33517
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33518
33518
|
*/
|
|
33519
33519
|
static async fromJsonLd(json, options = {}) {
|
|
33520
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33520
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33521
33521
|
try {
|
|
33522
33522
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
33523
33523
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33676,7 +33676,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
33676
33676
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33677
33677
|
*/
|
|
33678
33678
|
static async fromJsonLd(json, options = {}) {
|
|
33679
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33679
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33680
33680
|
try {
|
|
33681
33681
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
33682
33682
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33834,7 +33834,7 @@ var Undo = class Undo extends Activity {
|
|
|
33834
33834
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33835
33835
|
*/
|
|
33836
33836
|
static async fromJsonLd(json, options = {}) {
|
|
33837
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33837
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33838
33838
|
try {
|
|
33839
33839
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
33840
33840
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34030,7 +34030,7 @@ var Update = class Update extends Activity {
|
|
|
34030
34030
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34031
34031
|
*/
|
|
34032
34032
|
static async fromJsonLd(json, options = {}) {
|
|
34033
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
34033
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34034
34034
|
try {
|
|
34035
34035
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
34036
34036
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34180,7 +34180,7 @@ var Video = class Video extends Document {
|
|
|
34180
34180
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34181
34181
|
*/
|
|
34182
34182
|
static async fromJsonLd(json, options = {}) {
|
|
34183
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
34183
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34184
34184
|
try {
|
|
34185
34185
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
34186
34186
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34323,7 +34323,7 @@ var View = class View extends Activity {
|
|
|
34323
34323
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34324
34324
|
*/
|
|
34325
34325
|
static async fromJsonLd(json, options = {}) {
|
|
34326
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
34326
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34327
34327
|
try {
|
|
34328
34328
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
34329
34329
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|