@fedify/fedify 1.6.11 → 1.6.12
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-CxnKxfwH.js → actor-7vCpWIGd.js} +189 -189
- package/dist/{actor-KrOvzFz1.js → actor-BxaCJsn8.js} +3 -3
- package/dist/{authdocloader-CsnXlm3V.js → authdocloader-CVhMTbv4.js} +3 -3
- package/dist/{authdocloader-DsULyH5D.js → authdocloader-niAJMnCQ.js} +3 -3
- package/dist/{builder-BjJSVOvs.js → builder-DboGa9iv.js} +3 -3
- package/dist/{client-BlntqhE9.js → client-De_5-2EG.js} +1 -1
- package/dist/compat/transformers.test.js +17 -17
- package/dist/{context-CiyuTkCx.js → context-KOy1fHBn.js} +2 -2
- package/dist/{docloader-BYgIBZvh.js → docloader-CPBLJsVK.js} +1 -1
- package/dist/{docloader-DOrb0fRp.js → docloader-RFcxdgI8.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.js +10 -10
- package/dist/federation/send.test.js +9 -9
- package/dist/{http-LsE7i_Zq.js → http-B__WhFrv.js} +3 -3
- package/dist/{http-Dc8RIaDE.js → http-CnSGudcE.js} +3 -3
- package/dist/{inbox-BVwejjm8.js → inbox-L4MTtAQ4.js} +2 -2
- package/dist/{key-DxKqQgGm.js → key-BG_CTepE.js} +4 -4
- package/dist/{key-Bg_PKGpe.js → key-BQg3A7eo.js} +2 -2
- package/dist/{key-BP-Oky5H.js → key-CeY-eted.js} +5 -5
- package/dist/{key-BTcmhZp7.js → key-Dlbuqhbr.js} +3 -3
- package/dist/{keycache-BnCTs9sG.js → keycache-BEb0DSk7.js} +1 -1
- package/dist/{keys-pbGG00jU.js → keys-CqpeF-EG.js} +1 -1
- package/dist/{ld-n_kUCeXG.js → ld-45SsuOmB.js} +3 -3
- package/dist/{lookup-1pupHJbK.js → lookup-CWdbkwKD.js} +3 -3
- package/dist/{lookup-DrAS097Q.js → lookup-CdHTw-tQ.js} +1 -1
- package/dist/{lookup-Cutk-FXA.js → lookup-HY083HcK.js} +1 -1
- package/dist/middleware-BP-XbRGC.js +17 -0
- package/dist/{middleware-kjrPMCqA.js → middleware-Cg-eSyqX.js} +10 -10
- package/dist/{middleware-CMTirIyg.js → middleware-D2HU0DhQ.js} +15 -15
- package/dist/middleware-JoLpCiMC.js +33 -0
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.js +2 -2
- package/dist/nodeinfo/handler.test.js +18 -18
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/{owner-c-Zzpacz.js → owner-BYxqeMiw.js} +3 -3
- package/dist/{proof-CTOU2zFF.js → proof-BjHA4H_1.js} +3 -3
- package/dist/{proof-BTx3Maj-.js → proof-DVYup76O.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.js +6 -6
- package/dist/{send-SniNSIKd.js → send-BQA1p7vs.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.js +6 -6
- package/dist/sig/owner.test.js +8 -8
- package/dist/sig/proof.test.js +7 -7
- package/dist/{types-DG1qZLU9.js → types-D7_MRRa4.js} +1 -1
- package/dist/vocab/actor.test.js +4 -4
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +2 -2
- package/dist/vocab/vocab.test.js +28 -5
- package/dist/{vocab-lzEJg2bH.js → vocab-DVEzP_bQ.js} +188 -188
- package/dist/{vocab-oKloyO0F.js → vocab-aaGb1Tji.js} +3 -3
- package/dist/webfinger/handler.test.js +18 -18
- package/dist/webfinger/lookup.test.js +2 -2
- package/dist/webfinger/mod.js +2 -2
- package/package.json +1 -1
- package/dist/middleware-CDYmpOKW.js +0 -33
- package/dist/middleware-CXZvlTVn.js +0 -17
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { deno_default, getDocumentLoader } from "./docloader-
|
|
6
|
-
import { lookupWebFinger } from "./lookup-
|
|
5
|
+
import { deno_default, getDocumentLoader } from "./docloader-RFcxdgI8.js";
|
|
6
|
+
import { lookupWebFinger } from "./lookup-CdHTw-tQ.js";
|
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
|
8
8
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
9
9
|
import jsonld from "jsonld";
|
|
@@ -368,7 +368,7 @@ async function importSpki(pem) {
|
|
|
368
368
|
* @since 0.5.0
|
|
369
369
|
*/
|
|
370
370
|
async function exportSpki(key) {
|
|
371
|
-
const { validateCryptoKey } = await import("./key-
|
|
371
|
+
const { validateCryptoKey } = await import("./key-BG_CTepE.js");
|
|
372
372
|
validateCryptoKey(key);
|
|
373
373
|
const spki = await crypto.subtle.exportKey("spki", key);
|
|
374
374
|
let pem = encodeBase64(spki);
|
|
@@ -920,7 +920,7 @@ var Object$1 = class Object$1 {
|
|
|
920
920
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
921
921
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
922
922
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
923
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
923
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
924
924
|
let fetchResult;
|
|
925
925
|
try {
|
|
926
926
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1045,7 +1045,7 @@ var Object$1 = class Object$1 {
|
|
|
1045
1045
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1046
1046
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1047
1047
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1048
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
1048
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1049
1049
|
let fetchResult;
|
|
1050
1050
|
try {
|
|
1051
1051
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1224,7 +1224,7 @@ var Object$1 = class Object$1 {
|
|
|
1224
1224
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1225
1225
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1226
1226
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1227
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
1227
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1228
1228
|
let fetchResult;
|
|
1229
1229
|
try {
|
|
1230
1230
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1379,7 +1379,7 @@ var Object$1 = class Object$1 {
|
|
|
1379
1379
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1380
1380
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1381
1381
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1382
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
1382
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1383
1383
|
let fetchResult;
|
|
1384
1384
|
try {
|
|
1385
1385
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1521,7 +1521,7 @@ var Object$1 = class Object$1 {
|
|
|
1521
1521
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1522
1522
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1523
1523
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1524
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
1524
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1525
1525
|
let fetchResult;
|
|
1526
1526
|
try {
|
|
1527
1527
|
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.6.
|
|
1634
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1635
1635
|
let fetchResult;
|
|
1636
1636
|
try {
|
|
1637
1637
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1768,7 +1768,7 @@ var Object$1 = class Object$1 {
|
|
|
1768
1768
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1769
1769
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1770
1770
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1771
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
1771
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1772
1772
|
let fetchResult;
|
|
1773
1773
|
try {
|
|
1774
1774
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1905,7 +1905,7 @@ var Object$1 = class Object$1 {
|
|
|
1905
1905
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1906
1906
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1907
1907
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1908
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
1908
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1909
1909
|
let fetchResult;
|
|
1910
1910
|
try {
|
|
1911
1911
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2049,7 +2049,7 @@ var Object$1 = class Object$1 {
|
|
|
2049
2049
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2050
2050
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2051
2051
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2052
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
2052
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2053
2053
|
let fetchResult;
|
|
2054
2054
|
try {
|
|
2055
2055
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2193,7 +2193,7 @@ var Object$1 = class Object$1 {
|
|
|
2193
2193
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2194
2194
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2195
2195
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2196
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
2196
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2197
2197
|
let fetchResult;
|
|
2198
2198
|
try {
|
|
2199
2199
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2342,7 +2342,7 @@ var Object$1 = class Object$1 {
|
|
|
2342
2342
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2343
2343
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2344
2344
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2345
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
2345
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2346
2346
|
let fetchResult;
|
|
2347
2347
|
try {
|
|
2348
2348
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2441,7 +2441,7 @@ var Object$1 = class Object$1 {
|
|
|
2441
2441
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2442
2442
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2443
2443
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2444
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
2444
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2445
2445
|
let fetchResult;
|
|
2446
2446
|
try {
|
|
2447
2447
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2546,7 +2546,7 @@ var Object$1 = class Object$1 {
|
|
|
2546
2546
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2547
2547
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2548
2548
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2549
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
2549
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2550
2550
|
let fetchResult;
|
|
2551
2551
|
try {
|
|
2552
2552
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2651,7 +2651,7 @@ var Object$1 = class Object$1 {
|
|
|
2651
2651
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2652
2652
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2653
2653
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2654
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
2654
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2655
2655
|
let fetchResult;
|
|
2656
2656
|
try {
|
|
2657
2657
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2774,7 +2774,7 @@ var Object$1 = class Object$1 {
|
|
|
2774
2774
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2775
2775
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2776
2776
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2777
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
2777
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2778
2778
|
let fetchResult;
|
|
2779
2779
|
try {
|
|
2780
2780
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2906,7 +2906,7 @@ var Object$1 = class Object$1 {
|
|
|
2906
2906
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2907
2907
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2908
2908
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2909
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
2909
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2910
2910
|
let fetchResult;
|
|
2911
2911
|
try {
|
|
2912
2912
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3041,7 +3041,7 @@ var Object$1 = class Object$1 {
|
|
|
3041
3041
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3042
3042
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3043
3043
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3044
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
3044
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3045
3045
|
let fetchResult;
|
|
3046
3046
|
try {
|
|
3047
3047
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3176,7 +3176,7 @@ var Object$1 = class Object$1 {
|
|
|
3176
3176
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3177
3177
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3178
3178
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3179
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
3179
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3180
3180
|
let fetchResult;
|
|
3181
3181
|
try {
|
|
3182
3182
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3311,7 +3311,7 @@ var Object$1 = class Object$1 {
|
|
|
3311
3311
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3312
3312
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3313
3313
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3314
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
3314
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3315
3315
|
let fetchResult;
|
|
3316
3316
|
try {
|
|
3317
3317
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3483,7 +3483,7 @@ var Object$1 = class Object$1 {
|
|
|
3483
3483
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3484
3484
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3485
3485
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3486
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
3486
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3487
3487
|
let fetchResult;
|
|
3488
3488
|
try {
|
|
3489
3489
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4243,7 +4243,7 @@ var Object$1 = class Object$1 {
|
|
|
4243
4243
|
* @throws {TypeError} If the given `json` is invalid.
|
|
4244
4244
|
*/
|
|
4245
4245
|
static async fromJsonLd(json, options = {}) {
|
|
4246
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
4246
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
4247
4247
|
try {
|
|
4248
4248
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
4249
4249
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -4993,7 +4993,7 @@ var Object$1 = class Object$1 {
|
|
|
4993
4993
|
let _2oPEH9MQ3aj8JVwyYuWkqoVwV865_url__array = values["https://www.w3.org/ns/activitystreams#url"];
|
|
4994
4994
|
for (const v of _2oPEH9MQ3aj8JVwyYuWkqoVwV865_url__array == null ? [] : _2oPEH9MQ3aj8JVwyYuWkqoVwV865_url__array.length === 1 && "@list" in _2oPEH9MQ3aj8JVwyYuWkqoVwV865_url__array[0] ? _2oPEH9MQ3aj8JVwyYuWkqoVwV865_url__array[0]["@list"] : _2oPEH9MQ3aj8JVwyYuWkqoVwV865_url__array) {
|
|
4995
4995
|
if (v == null) continue;
|
|
4996
|
-
const decoded = typeof v === "object" && "@id" in v && typeof v["@id"] === "string" && v["@id"] !== "" && v["@id"] !== "/" ? v["@id"].startsWith("at://
|
|
4996
|
+
const decoded = typeof v === "object" && "@id" in v && typeof v["@id"] === "string" && v["@id"] !== "" && v["@id"] !== "/" ? v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]) : typeof v === "object" && "@type" in v && Array.isArray(v["@type"]) && [
|
|
4997
4997
|
"https://www.w3.org/ns/activitystreams#Link",
|
|
4998
4998
|
"https://www.w3.org/ns/activitystreams#Hashtag",
|
|
4999
4999
|
"https://www.w3.org/ns/activitystreams#Mention"
|
|
@@ -5383,7 +5383,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
5383
5383
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5384
5384
|
*/
|
|
5385
5385
|
static async fromJsonLd(json, options = {}) {
|
|
5386
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
5386
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5387
5387
|
try {
|
|
5388
5388
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
5389
5389
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5618,7 +5618,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
5618
5618
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5619
5619
|
*/
|
|
5620
5620
|
static async fromJsonLd(json, options = {}) {
|
|
5621
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
5621
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5622
5622
|
try {
|
|
5623
5623
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
5624
5624
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5831,7 +5831,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
5831
5831
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
5832
5832
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
5833
5833
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
5834
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
5834
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5835
5835
|
let fetchResult;
|
|
5836
5836
|
try {
|
|
5837
5837
|
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.6.
|
|
6013
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").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.6.
|
|
6150
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6151
6151
|
let fetchResult;
|
|
6152
6152
|
try {
|
|
6153
6153
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6290,7 +6290,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6290
6290
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6291
6291
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6292
6292
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6293
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
6293
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6294
6294
|
let fetchResult;
|
|
6295
6295
|
try {
|
|
6296
6296
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6427,7 +6427,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6427
6427
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6428
6428
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6429
6429
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6430
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
6430
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6431
6431
|
let fetchResult;
|
|
6432
6432
|
try {
|
|
6433
6433
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6566,7 +6566,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6566
6566
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6567
6567
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6568
6568
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6569
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
6569
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6570
6570
|
let fetchResult;
|
|
6571
6571
|
try {
|
|
6572
6572
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6787,7 +6787,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6787
6787
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6788
6788
|
*/
|
|
6789
6789
|
static async fromJsonLd(json, options = {}) {
|
|
6790
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
6790
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6791
6791
|
try {
|
|
6792
6792
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
6793
6793
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7073,7 +7073,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
7073
7073
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7074
7074
|
*/
|
|
7075
7075
|
static async fromJsonLd(json, options = {}) {
|
|
7076
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
7076
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7077
7077
|
try {
|
|
7078
7078
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
7079
7079
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7317,7 +7317,7 @@ var PropertyValue = class {
|
|
|
7317
7317
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7318
7318
|
*/
|
|
7319
7319
|
static async fromJsonLd(json, options = {}) {
|
|
7320
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
7320
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7321
7321
|
try {
|
|
7322
7322
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
7323
7323
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7549,7 +7549,7 @@ var DidService = class {
|
|
|
7549
7549
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7550
7550
|
*/
|
|
7551
7551
|
static async fromJsonLd(json, options = {}) {
|
|
7552
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
7552
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7553
7553
|
try {
|
|
7554
7554
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
7555
7555
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7590,7 +7590,7 @@ var DidService = class {
|
|
|
7590
7590
|
let _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint__array = values["https://www.w3.org/ns/did#serviceEndpoint"];
|
|
7591
7591
|
for (const v of _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint__array == null ? [] : _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint__array.length === 1 && "@list" in _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint__array[0] ? _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint__array[0]["@list"] : _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint__array) {
|
|
7592
7592
|
if (v == null) continue;
|
|
7593
|
-
_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint.push(v["@id"].startsWith("at://
|
|
7593
|
+
_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
|
|
7594
7594
|
}
|
|
7595
7595
|
instance.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint;
|
|
7596
7596
|
if (!("_fromSubclass" in options) || !options._fromSubclass) try {
|
|
@@ -7701,7 +7701,7 @@ var Export = class Export extends DidService {
|
|
|
7701
7701
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7702
7702
|
*/
|
|
7703
7703
|
static async fromJsonLd(json, options = {}) {
|
|
7704
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
7704
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7705
7705
|
try {
|
|
7706
7706
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
7707
7707
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7866,7 +7866,7 @@ var DataIntegrityProof = class {
|
|
|
7866
7866
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7867
7867
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7868
7868
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7869
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
7869
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7870
7870
|
let fetchResult;
|
|
7871
7871
|
try {
|
|
7872
7872
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8063,7 +8063,7 @@ var DataIntegrityProof = class {
|
|
|
8063
8063
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8064
8064
|
*/
|
|
8065
8065
|
static async fromJsonLd(json, options = {}) {
|
|
8066
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
8066
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8067
8067
|
try {
|
|
8068
8068
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
8069
8069
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8266,7 +8266,7 @@ var CryptographicKey = class {
|
|
|
8266
8266
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8267
8267
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8268
8268
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8269
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
8269
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8270
8270
|
let fetchResult;
|
|
8271
8271
|
try {
|
|
8272
8272
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8502,7 +8502,7 @@ var CryptographicKey = class {
|
|
|
8502
8502
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8503
8503
|
*/
|
|
8504
8504
|
static async fromJsonLd(json, options = {}) {
|
|
8505
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
8505
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8506
8506
|
try {
|
|
8507
8507
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
8508
8508
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8674,7 +8674,7 @@ var Multikey = class {
|
|
|
8674
8674
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8675
8675
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8676
8676
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8677
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
8677
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8678
8678
|
let fetchResult;
|
|
8679
8679
|
try {
|
|
8680
8680
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8916,7 +8916,7 @@ var Multikey = class {
|
|
|
8916
8916
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8917
8917
|
*/
|
|
8918
8918
|
static async fromJsonLd(json, options = {}) {
|
|
8919
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
8919
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8920
8920
|
try {
|
|
8921
8921
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
8922
8922
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9093,7 +9093,7 @@ var Accept = class Accept extends Activity {
|
|
|
9093
9093
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9094
9094
|
*/
|
|
9095
9095
|
static async fromJsonLd(json, options = {}) {
|
|
9096
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
9096
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9097
9097
|
try {
|
|
9098
9098
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
9099
9099
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9242,7 +9242,7 @@ var Add = class Add extends Activity {
|
|
|
9242
9242
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9243
9243
|
*/
|
|
9244
9244
|
static async fromJsonLd(json, options = {}) {
|
|
9245
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
9245
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9246
9246
|
try {
|
|
9247
9247
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
9248
9248
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9408,7 +9408,7 @@ var Announce = class Announce extends Activity {
|
|
|
9408
9408
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9409
9409
|
*/
|
|
9410
9410
|
static async fromJsonLd(json, options = {}) {
|
|
9411
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
9411
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9412
9412
|
try {
|
|
9413
9413
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
9414
9414
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9702,7 +9702,7 @@ var Application = class Application extends Object$1 {
|
|
|
9702
9702
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9703
9703
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9704
9704
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9705
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
9705
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9706
9706
|
let fetchResult;
|
|
9707
9707
|
try {
|
|
9708
9708
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9835,7 +9835,7 @@ var Application = class Application extends Object$1 {
|
|
|
9835
9835
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9836
9836
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9837
9837
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9838
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
9838
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9839
9839
|
let fetchResult;
|
|
9840
9840
|
try {
|
|
9841
9841
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9986,7 +9986,7 @@ var Application = class Application extends Object$1 {
|
|
|
9986
9986
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9987
9987
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9988
9988
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9989
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
9989
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9990
9990
|
let fetchResult;
|
|
9991
9991
|
try {
|
|
9992
9992
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10105,7 +10105,7 @@ var Application = class Application extends Object$1 {
|
|
|
10105
10105
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10106
10106
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10107
10107
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10108
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
10108
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10109
10109
|
let fetchResult;
|
|
10110
10110
|
try {
|
|
10111
10111
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10221,7 +10221,7 @@ var Application = class Application extends Object$1 {
|
|
|
10221
10221
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10222
10222
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10223
10223
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10224
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
10224
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10225
10225
|
let fetchResult;
|
|
10226
10226
|
try {
|
|
10227
10227
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10323,7 +10323,7 @@ var Application = class Application extends Object$1 {
|
|
|
10323
10323
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10324
10324
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10325
10325
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10326
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
10326
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10327
10327
|
let fetchResult;
|
|
10328
10328
|
try {
|
|
10329
10329
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10428,7 +10428,7 @@ var Application = class Application extends Object$1 {
|
|
|
10428
10428
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10429
10429
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10430
10430
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10431
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
10431
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10432
10432
|
let fetchResult;
|
|
10433
10433
|
try {
|
|
10434
10434
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10531,7 +10531,7 @@ var Application = class Application extends Object$1 {
|
|
|
10531
10531
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10532
10532
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10533
10533
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10534
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
10534
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10535
10535
|
let fetchResult;
|
|
10536
10536
|
try {
|
|
10537
10537
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10632,7 +10632,7 @@ var Application = class Application extends Object$1 {
|
|
|
10632
10632
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10633
10633
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10634
10634
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10635
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
10635
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10636
10636
|
let fetchResult;
|
|
10637
10637
|
try {
|
|
10638
10638
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10733,7 +10733,7 @@ var Application = class Application extends Object$1 {
|
|
|
10733
10733
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10734
10734
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10735
10735
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10736
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
10736
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10737
10737
|
let fetchResult;
|
|
10738
10738
|
try {
|
|
10739
10739
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10876,7 +10876,7 @@ var Application = class Application extends Object$1 {
|
|
|
10876
10876
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10877
10877
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10878
10878
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10879
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
10879
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10880
10880
|
let fetchResult;
|
|
10881
10881
|
try {
|
|
10882
10882
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11016,7 +11016,7 @@ var Application = class Application extends Object$1 {
|
|
|
11016
11016
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11017
11017
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11018
11018
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11019
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
11019
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11020
11020
|
let fetchResult;
|
|
11021
11021
|
try {
|
|
11022
11022
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11197,7 +11197,7 @@ var Application = class Application extends Object$1 {
|
|
|
11197
11197
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11198
11198
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11199
11199
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11200
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
11200
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11201
11201
|
let fetchResult;
|
|
11202
11202
|
try {
|
|
11203
11203
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11851,7 +11851,7 @@ var Application = class Application extends Object$1 {
|
|
|
11851
11851
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11852
11852
|
*/
|
|
11853
11853
|
static async fromJsonLd(json, options = {}) {
|
|
11854
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
11854
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11855
11855
|
try {
|
|
11856
11856
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
11857
11857
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12330,7 +12330,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
12330
12330
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12331
12331
|
*/
|
|
12332
12332
|
static async fromJsonLd(json, options = {}) {
|
|
12333
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
12333
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12334
12334
|
try {
|
|
12335
12335
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
12336
12336
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12480,7 +12480,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
12480
12480
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12481
12481
|
*/
|
|
12482
12482
|
static async fromJsonLd(json, options = {}) {
|
|
12483
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
12483
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12484
12484
|
try {
|
|
12485
12485
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
12486
12486
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12713,7 +12713,7 @@ var Article = class Article extends Object$1 {
|
|
|
12713
12713
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12714
12714
|
*/
|
|
12715
12715
|
static async fromJsonLd(json, options = {}) {
|
|
12716
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
12716
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12717
12717
|
try {
|
|
12718
12718
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
12719
12719
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12940,7 +12940,7 @@ var Document = class Document extends Object$1 {
|
|
|
12940
12940
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12941
12941
|
*/
|
|
12942
12942
|
static async fromJsonLd(json, options = {}) {
|
|
12943
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
12943
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12944
12944
|
try {
|
|
12945
12945
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
12946
12946
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13121,7 +13121,7 @@ var Audio = class Audio extends Document {
|
|
|
13121
13121
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13122
13122
|
*/
|
|
13123
13123
|
static async fromJsonLd(json, options = {}) {
|
|
13124
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
13124
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13125
13125
|
try {
|
|
13126
13126
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
13127
13127
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13267,7 +13267,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
13267
13267
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13268
13268
|
*/
|
|
13269
13269
|
static async fromJsonLd(json, options = {}) {
|
|
13270
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
13270
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13271
13271
|
try {
|
|
13272
13272
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
13273
13273
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13416,7 +13416,7 @@ var Block = class Block extends Ignore {
|
|
|
13416
13416
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13417
13417
|
*/
|
|
13418
13418
|
static async fromJsonLd(json, options = {}) {
|
|
13419
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
13419
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13420
13420
|
try {
|
|
13421
13421
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
13422
13422
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13557,7 +13557,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13557
13557
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13558
13558
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13559
13559
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13560
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
13560
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13561
13561
|
let fetchResult;
|
|
13562
13562
|
try {
|
|
13563
13563
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13656,7 +13656,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13656
13656
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13657
13657
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13658
13658
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13659
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
13659
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13660
13660
|
let fetchResult;
|
|
13661
13661
|
try {
|
|
13662
13662
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13755,7 +13755,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13755
13755
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13756
13756
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13757
13757
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13758
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
13758
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13759
13759
|
let fetchResult;
|
|
13760
13760
|
try {
|
|
13761
13761
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13854,7 +13854,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13854
13854
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13855
13855
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13856
13856
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13857
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
13857
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13858
13858
|
let fetchResult;
|
|
13859
13859
|
try {
|
|
13860
13860
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14144,7 +14144,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
14144
14144
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14145
14145
|
*/
|
|
14146
14146
|
static async fromJsonLd(json, options = {}) {
|
|
14147
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
14147
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14148
14148
|
try {
|
|
14149
14149
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
14150
14150
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14404,7 +14404,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14404
14404
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14405
14405
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14406
14406
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14407
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
14407
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14408
14408
|
let fetchResult;
|
|
14409
14409
|
try {
|
|
14410
14410
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14503,7 +14503,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14503
14503
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14504
14504
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14505
14505
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14506
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
14506
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14507
14507
|
let fetchResult;
|
|
14508
14508
|
try {
|
|
14509
14509
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14601,7 +14601,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14601
14601
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14602
14602
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14603
14603
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14604
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
14604
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14605
14605
|
let fetchResult;
|
|
14606
14606
|
try {
|
|
14607
14607
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14843,7 +14843,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14843
14843
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14844
14844
|
*/
|
|
14845
14845
|
static async fromJsonLd(json, options = {}) {
|
|
14846
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
14846
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14847
14847
|
try {
|
|
14848
14848
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
14849
14849
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15058,7 +15058,7 @@ var Create = class Create extends Activity {
|
|
|
15058
15058
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15059
15059
|
*/
|
|
15060
15060
|
static async fromJsonLd(json, options = {}) {
|
|
15061
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
15061
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15062
15062
|
try {
|
|
15063
15063
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
15064
15064
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15220,7 +15220,7 @@ var Delete = class Delete extends Activity {
|
|
|
15220
15220
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15221
15221
|
*/
|
|
15222
15222
|
static async fromJsonLd(json, options = {}) {
|
|
15223
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
15223
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15224
15224
|
try {
|
|
15225
15225
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
15226
15226
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15369,7 +15369,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
15369
15369
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15370
15370
|
*/
|
|
15371
15371
|
static async fromJsonLd(json, options = {}) {
|
|
15372
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
15372
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15373
15373
|
try {
|
|
15374
15374
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
15375
15375
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15714,7 +15714,7 @@ var Endpoints = class {
|
|
|
15714
15714
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15715
15715
|
*/
|
|
15716
15716
|
static async fromJsonLd(json, options = {}) {
|
|
15717
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
15717
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15718
15718
|
try {
|
|
15719
15719
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
15720
15720
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15754,42 +15754,42 @@ var Endpoints = class {
|
|
|
15754
15754
|
let _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl__array = values["https://www.w3.org/ns/activitystreams#proxyUrl"];
|
|
15755
15755
|
for (const v of _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl__array == null ? [] : _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl__array.length === 1 && "@list" in _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl__array[0] ? _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl__array[0]["@list"] : _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl__array) {
|
|
15756
15756
|
if (v == null) continue;
|
|
15757
|
-
_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl.push(v["@id"].startsWith("at://
|
|
15757
|
+
_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
|
|
15758
15758
|
}
|
|
15759
15759
|
instance.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl;
|
|
15760
15760
|
const _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = [];
|
|
15761
15761
|
let _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint__array = values["https://www.w3.org/ns/activitystreams#oauthAuthorizationEndpoint"];
|
|
15762
15762
|
for (const v of _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint__array == null ? [] : _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint__array.length === 1 && "@list" in _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint__array[0] ? _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint__array[0]["@list"] : _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint__array) {
|
|
15763
15763
|
if (v == null) continue;
|
|
15764
|
-
_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint.push(v["@id"].startsWith("at://
|
|
15764
|
+
_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
|
|
15765
15765
|
}
|
|
15766
15766
|
instance.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint;
|
|
15767
15767
|
const _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = [];
|
|
15768
15768
|
let _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint__array = values["https://www.w3.org/ns/activitystreams#oauthTokenEndpoint"];
|
|
15769
15769
|
for (const v of _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint__array == null ? [] : _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint__array.length === 1 && "@list" in _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint__array[0] ? _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint__array[0]["@list"] : _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint__array) {
|
|
15770
15770
|
if (v == null) continue;
|
|
15771
|
-
_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint.push(v["@id"].startsWith("at://
|
|
15771
|
+
_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
|
|
15772
15772
|
}
|
|
15773
15773
|
instance.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint;
|
|
15774
15774
|
const _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = [];
|
|
15775
15775
|
let _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey__array = values["https://www.w3.org/ns/activitystreams#provideClientKey"];
|
|
15776
15776
|
for (const v of _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey__array == null ? [] : _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey__array.length === 1 && "@list" in _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey__array[0] ? _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey__array[0]["@list"] : _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey__array) {
|
|
15777
15777
|
if (v == null) continue;
|
|
15778
|
-
_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey.push(v["@id"].startsWith("at://
|
|
15778
|
+
_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
|
|
15779
15779
|
}
|
|
15780
15780
|
instance.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey;
|
|
15781
15781
|
const _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = [];
|
|
15782
15782
|
let _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey__array = values["https://www.w3.org/ns/activitystreams#signClientKey"];
|
|
15783
15783
|
for (const v of _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey__array == null ? [] : _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey__array.length === 1 && "@list" in _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey__array[0] ? _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey__array[0]["@list"] : _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey__array) {
|
|
15784
15784
|
if (v == null) continue;
|
|
15785
|
-
_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey.push(v["@id"].startsWith("at://
|
|
15785
|
+
_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
|
|
15786
15786
|
}
|
|
15787
15787
|
instance.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey;
|
|
15788
15788
|
const _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = [];
|
|
15789
15789
|
let _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox__array = values["https://www.w3.org/ns/activitystreams#sharedInbox"];
|
|
15790
15790
|
for (const v of _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox__array == null ? [] : _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox__array.length === 1 && "@list" in _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox__array[0] ? _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox__array[0]["@list"] : _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox__array) {
|
|
15791
15791
|
if (v == null) continue;
|
|
15792
|
-
_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox.push(v["@id"].startsWith("at://
|
|
15792
|
+
_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
|
|
15793
15793
|
}
|
|
15794
15794
|
instance.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox;
|
|
15795
15795
|
if (!("_fromSubclass" in options) || !options._fromSubclass) try {
|
|
@@ -15938,7 +15938,7 @@ var Event = class Event extends Object$1 {
|
|
|
15938
15938
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15939
15939
|
*/
|
|
15940
15940
|
static async fromJsonLd(json, options = {}) {
|
|
15941
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
15941
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15942
15942
|
try {
|
|
15943
15943
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
15944
15944
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16085,7 +16085,7 @@ var Flag = class Flag extends Activity {
|
|
|
16085
16085
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16086
16086
|
*/
|
|
16087
16087
|
static async fromJsonLd(json, options = {}) {
|
|
16088
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
16088
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16089
16089
|
try {
|
|
16090
16090
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
16091
16091
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16236,7 +16236,7 @@ var Follow = class Follow extends Activity {
|
|
|
16236
16236
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16237
16237
|
*/
|
|
16238
16238
|
static async fromJsonLd(json, options = {}) {
|
|
16239
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
16239
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16240
16240
|
try {
|
|
16241
16241
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
16242
16242
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16530,7 +16530,7 @@ var Group = class Group extends Object$1 {
|
|
|
16530
16530
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16531
16531
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16532
16532
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16533
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
16533
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16534
16534
|
let fetchResult;
|
|
16535
16535
|
try {
|
|
16536
16536
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16663,7 +16663,7 @@ var Group = class Group extends Object$1 {
|
|
|
16663
16663
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16664
16664
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16665
16665
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16666
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
16666
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16667
16667
|
let fetchResult;
|
|
16668
16668
|
try {
|
|
16669
16669
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16814,7 +16814,7 @@ var Group = class Group extends Object$1 {
|
|
|
16814
16814
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16815
16815
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16816
16816
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16817
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
16817
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16818
16818
|
let fetchResult;
|
|
16819
16819
|
try {
|
|
16820
16820
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16933,7 +16933,7 @@ var Group = class Group extends Object$1 {
|
|
|
16933
16933
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16934
16934
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16935
16935
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16936
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
16936
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16937
16937
|
let fetchResult;
|
|
16938
16938
|
try {
|
|
16939
16939
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17049,7 +17049,7 @@ var Group = class Group extends Object$1 {
|
|
|
17049
17049
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17050
17050
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17051
17051
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17052
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
17052
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17053
17053
|
let fetchResult;
|
|
17054
17054
|
try {
|
|
17055
17055
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17151,7 +17151,7 @@ var Group = class Group extends Object$1 {
|
|
|
17151
17151
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17152
17152
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17153
17153
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17154
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
17154
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17155
17155
|
let fetchResult;
|
|
17156
17156
|
try {
|
|
17157
17157
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17256,7 +17256,7 @@ var Group = class Group extends Object$1 {
|
|
|
17256
17256
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17257
17257
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17258
17258
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17259
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
17259
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17260
17260
|
let fetchResult;
|
|
17261
17261
|
try {
|
|
17262
17262
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17359,7 +17359,7 @@ var Group = class Group extends Object$1 {
|
|
|
17359
17359
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17360
17360
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17361
17361
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17362
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
17362
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17363
17363
|
let fetchResult;
|
|
17364
17364
|
try {
|
|
17365
17365
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17460,7 +17460,7 @@ var Group = class Group extends Object$1 {
|
|
|
17460
17460
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17461
17461
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17462
17462
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17463
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
17463
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17464
17464
|
let fetchResult;
|
|
17465
17465
|
try {
|
|
17466
17466
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17561,7 +17561,7 @@ var Group = class Group extends Object$1 {
|
|
|
17561
17561
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17562
17562
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17563
17563
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17564
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
17564
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17565
17565
|
let fetchResult;
|
|
17566
17566
|
try {
|
|
17567
17567
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17704,7 +17704,7 @@ var Group = class Group extends Object$1 {
|
|
|
17704
17704
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17705
17705
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17706
17706
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17707
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
17707
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17708
17708
|
let fetchResult;
|
|
17709
17709
|
try {
|
|
17710
17710
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17844,7 +17844,7 @@ var Group = class Group extends Object$1 {
|
|
|
17844
17844
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17845
17845
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17846
17846
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17847
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
17847
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17848
17848
|
let fetchResult;
|
|
17849
17849
|
try {
|
|
17850
17850
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18025,7 +18025,7 @@ var Group = class Group extends Object$1 {
|
|
|
18025
18025
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18026
18026
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18027
18027
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18028
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
18028
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18029
18029
|
let fetchResult;
|
|
18030
18030
|
try {
|
|
18031
18031
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18679,7 +18679,7 @@ var Group = class Group extends Object$1 {
|
|
|
18679
18679
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18680
18680
|
*/
|
|
18681
18681
|
static async fromJsonLd(json, options = {}) {
|
|
18682
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
18682
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18683
18683
|
try {
|
|
18684
18684
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
18685
18685
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19290,7 +19290,7 @@ var Link = class Link {
|
|
|
19290
19290
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19291
19291
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19292
19292
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19293
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
19293
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19294
19294
|
let fetchResult;
|
|
19295
19295
|
try {
|
|
19296
19296
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19562,7 +19562,7 @@ var Link = class Link {
|
|
|
19562
19562
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19563
19563
|
*/
|
|
19564
19564
|
static async fromJsonLd(json, options = {}) {
|
|
19565
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
19565
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19566
19566
|
try {
|
|
19567
19567
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
19568
19568
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19604,7 +19604,7 @@ var Link = class Link {
|
|
|
19604
19604
|
let _pVjLsybKQdmkjuU7MHjiVmNnuj7_href__array = values["https://www.w3.org/ns/activitystreams#href"];
|
|
19605
19605
|
for (const v of _pVjLsybKQdmkjuU7MHjiVmNnuj7_href__array == null ? [] : _pVjLsybKQdmkjuU7MHjiVmNnuj7_href__array.length === 1 && "@list" in _pVjLsybKQdmkjuU7MHjiVmNnuj7_href__array[0] ? _pVjLsybKQdmkjuU7MHjiVmNnuj7_href__array[0]["@list"] : _pVjLsybKQdmkjuU7MHjiVmNnuj7_href__array) {
|
|
19606
19606
|
if (v == null) continue;
|
|
19607
|
-
_pVjLsybKQdmkjuU7MHjiVmNnuj7_href.push(v["@id"].startsWith("at://
|
|
19607
|
+
_pVjLsybKQdmkjuU7MHjiVmNnuj7_href.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
|
|
19608
19608
|
}
|
|
19609
19609
|
instance.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = _pVjLsybKQdmkjuU7MHjiVmNnuj7_href;
|
|
19610
19610
|
const _2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = [];
|
|
@@ -19881,7 +19881,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
19881
19881
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19882
19882
|
*/
|
|
19883
19883
|
static async fromJsonLd(json, options = {}) {
|
|
19884
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
19884
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19885
19885
|
try {
|
|
19886
19886
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
19887
19887
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20033,7 +20033,7 @@ var Image = class Image extends Document {
|
|
|
20033
20033
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20034
20034
|
*/
|
|
20035
20035
|
static async fromJsonLd(json, options = {}) {
|
|
20036
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
20036
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20037
20037
|
try {
|
|
20038
20038
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
20039
20039
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20180,7 +20180,7 @@ var Offer = class Offer extends Activity {
|
|
|
20180
20180
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20181
20181
|
*/
|
|
20182
20182
|
static async fromJsonLd(json, options = {}) {
|
|
20183
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
20183
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20184
20184
|
try {
|
|
20185
20185
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
20186
20186
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20327,7 +20327,7 @@ var Invite = class Invite extends Offer {
|
|
|
20327
20327
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20328
20328
|
*/
|
|
20329
20329
|
static async fromJsonLd(json, options = {}) {
|
|
20330
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
20330
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20331
20331
|
try {
|
|
20332
20332
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
20333
20333
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20473,7 +20473,7 @@ var Join = class Join extends Activity {
|
|
|
20473
20473
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20474
20474
|
*/
|
|
20475
20475
|
static async fromJsonLd(json, options = {}) {
|
|
20476
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
20476
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20477
20477
|
try {
|
|
20478
20478
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
20479
20479
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20619,7 +20619,7 @@ var Leave = class Leave extends Activity {
|
|
|
20619
20619
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20620
20620
|
*/
|
|
20621
20621
|
static async fromJsonLd(json, options = {}) {
|
|
20622
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
20622
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20623
20623
|
try {
|
|
20624
20624
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
20625
20625
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20769,7 +20769,7 @@ var Like = class Like extends Activity {
|
|
|
20769
20769
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20770
20770
|
*/
|
|
20771
20771
|
static async fromJsonLd(json, options = {}) {
|
|
20772
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
20772
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20773
20773
|
try {
|
|
20774
20774
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
20775
20775
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20914,7 +20914,7 @@ var Listen = class Listen extends Activity {
|
|
|
20914
20914
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20915
20915
|
*/
|
|
20916
20916
|
static async fromJsonLd(json, options = {}) {
|
|
20917
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
20917
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20918
20918
|
try {
|
|
20919
20919
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
20920
20920
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21063,7 +21063,7 @@ var Mention = class Mention extends Link {
|
|
|
21063
21063
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21064
21064
|
*/
|
|
21065
21065
|
static async fromJsonLd(json, options = {}) {
|
|
21066
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
21066
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21067
21067
|
try {
|
|
21068
21068
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
21069
21069
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21210,7 +21210,7 @@ var Move = class Move extends Activity {
|
|
|
21210
21210
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21211
21211
|
*/
|
|
21212
21212
|
static async fromJsonLd(json, options = {}) {
|
|
21213
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
21213
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21214
21214
|
try {
|
|
21215
21215
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
21216
21216
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21444,7 +21444,7 @@ var Note = class Note extends Object$1 {
|
|
|
21444
21444
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21445
21445
|
*/
|
|
21446
21446
|
static async fromJsonLd(json, options = {}) {
|
|
21447
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
21447
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21448
21448
|
try {
|
|
21449
21449
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
21450
21450
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21564,7 +21564,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
21564
21564
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21565
21565
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21566
21566
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21567
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
21567
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21568
21568
|
let fetchResult;
|
|
21569
21569
|
try {
|
|
21570
21570
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21792,7 +21792,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
21792
21792
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21793
21793
|
*/
|
|
21794
21794
|
static async fromJsonLd(json, options = {}) {
|
|
21795
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
21795
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21796
21796
|
try {
|
|
21797
21797
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
21798
21798
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21983,7 +21983,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
21983
21983
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21984
21984
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21985
21985
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21986
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
21986
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21987
21987
|
let fetchResult;
|
|
21988
21988
|
try {
|
|
21989
21989
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22234,7 +22234,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
22234
22234
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22235
22235
|
*/
|
|
22236
22236
|
static async fromJsonLd(json, options = {}) {
|
|
22237
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
22237
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22238
22238
|
try {
|
|
22239
22239
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
22240
22240
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22619,7 +22619,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22619
22619
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22620
22620
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22621
22621
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22622
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
22622
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22623
22623
|
let fetchResult;
|
|
22624
22624
|
try {
|
|
22625
22625
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22752,7 +22752,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22752
22752
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22753
22753
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22754
22754
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22755
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
22755
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22756
22756
|
let fetchResult;
|
|
22757
22757
|
try {
|
|
22758
22758
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22903,7 +22903,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22903
22903
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22904
22904
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22905
22905
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22906
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
22906
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22907
22907
|
let fetchResult;
|
|
22908
22908
|
try {
|
|
22909
22909
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23022,7 +23022,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23022
23022
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23023
23023
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23024
23024
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23025
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
23025
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23026
23026
|
let fetchResult;
|
|
23027
23027
|
try {
|
|
23028
23028
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23138,7 +23138,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23138
23138
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23139
23139
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23140
23140
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23141
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
23141
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23142
23142
|
let fetchResult;
|
|
23143
23143
|
try {
|
|
23144
23144
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23240,7 +23240,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23240
23240
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23241
23241
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23242
23242
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23243
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
23243
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23244
23244
|
let fetchResult;
|
|
23245
23245
|
try {
|
|
23246
23246
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23345,7 +23345,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23345
23345
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23346
23346
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23347
23347
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23348
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
23348
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23349
23349
|
let fetchResult;
|
|
23350
23350
|
try {
|
|
23351
23351
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23448,7 +23448,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23448
23448
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23449
23449
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23450
23450
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23451
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
23451
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23452
23452
|
let fetchResult;
|
|
23453
23453
|
try {
|
|
23454
23454
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23549,7 +23549,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23549
23549
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23550
23550
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23551
23551
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23552
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
23552
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23553
23553
|
let fetchResult;
|
|
23554
23554
|
try {
|
|
23555
23555
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23650,7 +23650,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23650
23650
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23651
23651
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23652
23652
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23653
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
23653
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23654
23654
|
let fetchResult;
|
|
23655
23655
|
try {
|
|
23656
23656
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23793,7 +23793,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23793
23793
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23794
23794
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23795
23795
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23796
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
23796
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23797
23797
|
let fetchResult;
|
|
23798
23798
|
try {
|
|
23799
23799
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23933,7 +23933,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23933
23933
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23934
23934
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23935
23935
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23936
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
23936
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23937
23937
|
let fetchResult;
|
|
23938
23938
|
try {
|
|
23939
23939
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24114,7 +24114,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
24114
24114
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24115
24115
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24116
24116
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24117
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
24117
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24118
24118
|
let fetchResult;
|
|
24119
24119
|
try {
|
|
24120
24120
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24768,7 +24768,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
24768
24768
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24769
24769
|
*/
|
|
24770
24770
|
static async fromJsonLd(json, options = {}) {
|
|
24771
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
24771
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24772
24772
|
try {
|
|
24773
24773
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
24774
24774
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25252,7 +25252,7 @@ var Page = class Page extends Document {
|
|
|
25252
25252
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25253
25253
|
*/
|
|
25254
25254
|
static async fromJsonLd(json, options = {}) {
|
|
25255
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
25255
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25256
25256
|
try {
|
|
25257
25257
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
25258
25258
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25546,7 +25546,7 @@ var Person = class Person extends Object$1 {
|
|
|
25546
25546
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25547
25547
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25548
25548
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25549
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
25549
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25550
25550
|
let fetchResult;
|
|
25551
25551
|
try {
|
|
25552
25552
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25679,7 +25679,7 @@ var Person = class Person extends Object$1 {
|
|
|
25679
25679
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25680
25680
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25681
25681
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25682
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
25682
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25683
25683
|
let fetchResult;
|
|
25684
25684
|
try {
|
|
25685
25685
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25830,7 +25830,7 @@ var Person = class Person extends Object$1 {
|
|
|
25830
25830
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25831
25831
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25832
25832
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25833
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
25833
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25834
25834
|
let fetchResult;
|
|
25835
25835
|
try {
|
|
25836
25836
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25949,7 +25949,7 @@ var Person = class Person extends Object$1 {
|
|
|
25949
25949
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25950
25950
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25951
25951
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25952
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
25952
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25953
25953
|
let fetchResult;
|
|
25954
25954
|
try {
|
|
25955
25955
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26065,7 +26065,7 @@ var Person = class Person extends Object$1 {
|
|
|
26065
26065
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26066
26066
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26067
26067
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26068
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
26068
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26069
26069
|
let fetchResult;
|
|
26070
26070
|
try {
|
|
26071
26071
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26167,7 +26167,7 @@ var Person = class Person extends Object$1 {
|
|
|
26167
26167
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26168
26168
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26169
26169
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26170
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
26170
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26171
26171
|
let fetchResult;
|
|
26172
26172
|
try {
|
|
26173
26173
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26272,7 +26272,7 @@ var Person = class Person extends Object$1 {
|
|
|
26272
26272
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26273
26273
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26274
26274
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26275
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
26275
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26276
26276
|
let fetchResult;
|
|
26277
26277
|
try {
|
|
26278
26278
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26375,7 +26375,7 @@ var Person = class Person extends Object$1 {
|
|
|
26375
26375
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26376
26376
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26377
26377
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26378
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
26378
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26379
26379
|
let fetchResult;
|
|
26380
26380
|
try {
|
|
26381
26381
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26476,7 +26476,7 @@ var Person = class Person extends Object$1 {
|
|
|
26476
26476
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26477
26477
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26478
26478
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26479
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
26479
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26480
26480
|
let fetchResult;
|
|
26481
26481
|
try {
|
|
26482
26482
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26577,7 +26577,7 @@ var Person = class Person extends Object$1 {
|
|
|
26577
26577
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26578
26578
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26579
26579
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26580
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
26580
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26581
26581
|
let fetchResult;
|
|
26582
26582
|
try {
|
|
26583
26583
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26720,7 +26720,7 @@ var Person = class Person extends Object$1 {
|
|
|
26720
26720
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26721
26721
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26722
26722
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26723
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
26723
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26724
26724
|
let fetchResult;
|
|
26725
26725
|
try {
|
|
26726
26726
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26860,7 +26860,7 @@ var Person = class Person extends Object$1 {
|
|
|
26860
26860
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26861
26861
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26862
26862
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26863
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
26863
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26864
26864
|
let fetchResult;
|
|
26865
26865
|
try {
|
|
26866
26866
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27041,7 +27041,7 @@ var Person = class Person extends Object$1 {
|
|
|
27041
27041
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27042
27042
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27043
27043
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27044
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
27044
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27045
27045
|
let fetchResult;
|
|
27046
27046
|
try {
|
|
27047
27047
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27695,7 +27695,7 @@ var Person = class Person extends Object$1 {
|
|
|
27695
27695
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27696
27696
|
*/
|
|
27697
27697
|
static async fromJsonLd(json, options = {}) {
|
|
27698
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
27698
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27699
27699
|
try {
|
|
27700
27700
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
27701
27701
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28356,7 +28356,7 @@ var Place = class Place extends Object$1 {
|
|
|
28356
28356
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28357
28357
|
*/
|
|
28358
28358
|
static async fromJsonLd(json, options = {}) {
|
|
28359
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
28359
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28360
28360
|
try {
|
|
28361
28361
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
28362
28362
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28436,7 +28436,7 @@ var Place = class Place extends Object$1 {
|
|
|
28436
28436
|
let _oKrwxU4V8wiKhMW1QEYQibcJh8c_units__array = values["https://www.w3.org/ns/activitystreams#units"];
|
|
28437
28437
|
for (const v of _oKrwxU4V8wiKhMW1QEYQibcJh8c_units__array == null ? [] : _oKrwxU4V8wiKhMW1QEYQibcJh8c_units__array.length === 1 && "@list" in _oKrwxU4V8wiKhMW1QEYQibcJh8c_units__array[0] ? _oKrwxU4V8wiKhMW1QEYQibcJh8c_units__array[0]["@list"] : _oKrwxU4V8wiKhMW1QEYQibcJh8c_units__array) {
|
|
28438
28438
|
if (v == null) continue;
|
|
28439
|
-
const decoded = typeof v === "object" && "@value" in v && (v["@value"] == "cm" || v["@value"] == "feet" || v["@value"] == "inches" || v["@value"] == "km" || v["@value"] == "m" || v["@value"] == "miles") ? v["@value"] : typeof v === "object" && "@id" in v && typeof v["@id"] === "string" && v["@id"] !== "" && v["@id"] !== "/" ? v["@id"].startsWith("at://
|
|
28439
|
+
const decoded = typeof v === "object" && "@value" in v && (v["@value"] == "cm" || v["@value"] == "feet" || v["@value"] == "inches" || v["@value"] == "km" || v["@value"] == "m" || v["@value"] == "miles") ? v["@value"] : typeof v === "object" && "@id" in v && typeof v["@id"] === "string" && v["@id"] !== "" && v["@id"] !== "/" ? v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]) : void 0;
|
|
28440
28440
|
if (typeof decoded === "undefined") continue;
|
|
28441
28441
|
_oKrwxU4V8wiKhMW1QEYQibcJh8c_units.push(decoded);
|
|
28442
28442
|
}
|
|
@@ -28539,7 +28539,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
28539
28539
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28540
28540
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28541
28541
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28542
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
28542
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28543
28543
|
let fetchResult;
|
|
28544
28544
|
try {
|
|
28545
28545
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28710,7 +28710,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
28710
28710
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28711
28711
|
*/
|
|
28712
28712
|
static async fromJsonLd(json, options = {}) {
|
|
28713
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
28713
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28714
28714
|
try {
|
|
28715
28715
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
28716
28716
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28862,7 +28862,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
28862
28862
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28863
28863
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28864
28864
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28865
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
28865
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28866
28866
|
let fetchResult;
|
|
28867
28867
|
try {
|
|
28868
28868
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28965,7 +28965,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
28965
28965
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28966
28966
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28967
28967
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28968
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
28968
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28969
28969
|
let fetchResult;
|
|
28970
28970
|
try {
|
|
28971
28971
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29209,7 +29209,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
29209
29209
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29210
29210
|
*/
|
|
29211
29211
|
static async fromJsonLd(json, options = {}) {
|
|
29212
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
29212
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29213
29213
|
try {
|
|
29214
29214
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
29215
29215
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29427,7 +29427,7 @@ var Read = class Read extends Activity {
|
|
|
29427
29427
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29428
29428
|
*/
|
|
29429
29429
|
static async fromJsonLd(json, options = {}) {
|
|
29430
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
29430
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29431
29431
|
try {
|
|
29432
29432
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
29433
29433
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29573,7 +29573,7 @@ var Reject = class Reject extends Activity {
|
|
|
29573
29573
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29574
29574
|
*/
|
|
29575
29575
|
static async fromJsonLd(json, options = {}) {
|
|
29576
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
29576
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29577
29577
|
try {
|
|
29578
29578
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
29579
29579
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29716,7 +29716,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
29716
29716
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29717
29717
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29718
29718
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29719
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
29719
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29720
29720
|
let fetchResult;
|
|
29721
29721
|
try {
|
|
29722
29722
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29817,7 +29817,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
29817
29817
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29818
29818
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29819
29819
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29820
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
29820
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29821
29821
|
let fetchResult;
|
|
29822
29822
|
try {
|
|
29823
29823
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29950,7 +29950,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
29950
29950
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29951
29951
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29952
29952
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29953
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
29953
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29954
29954
|
let fetchResult;
|
|
29955
29955
|
try {
|
|
29956
29956
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30191,7 +30191,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
30191
30191
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30192
30192
|
*/
|
|
30193
30193
|
static async fromJsonLd(json, options = {}) {
|
|
30194
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
30194
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30195
30195
|
try {
|
|
30196
30196
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
30197
30197
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30388,7 +30388,7 @@ var Remove = class Remove extends Activity {
|
|
|
30388
30388
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30389
30389
|
*/
|
|
30390
30390
|
static async fromJsonLd(json, options = {}) {
|
|
30391
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
30391
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30392
30392
|
try {
|
|
30393
30393
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
30394
30394
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30682,7 +30682,7 @@ var Service = class Service extends Object$1 {
|
|
|
30682
30682
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30683
30683
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30684
30684
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30685
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
30685
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30686
30686
|
let fetchResult;
|
|
30687
30687
|
try {
|
|
30688
30688
|
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.6.
|
|
30818
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30819
30819
|
let fetchResult;
|
|
30820
30820
|
try {
|
|
30821
30821
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30966,7 +30966,7 @@ var Service = class Service extends Object$1 {
|
|
|
30966
30966
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30967
30967
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30968
30968
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30969
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
30969
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30970
30970
|
let fetchResult;
|
|
30971
30971
|
try {
|
|
30972
30972
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31085,7 +31085,7 @@ var Service = class Service extends Object$1 {
|
|
|
31085
31085
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31086
31086
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31087
31087
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31088
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
31088
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31089
31089
|
let fetchResult;
|
|
31090
31090
|
try {
|
|
31091
31091
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31201,7 +31201,7 @@ var Service = class Service extends Object$1 {
|
|
|
31201
31201
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31202
31202
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31203
31203
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31204
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
31204
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31205
31205
|
let fetchResult;
|
|
31206
31206
|
try {
|
|
31207
31207
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31303,7 +31303,7 @@ var Service = class Service extends Object$1 {
|
|
|
31303
31303
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31304
31304
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31305
31305
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31306
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
31306
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31307
31307
|
let fetchResult;
|
|
31308
31308
|
try {
|
|
31309
31309
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31408,7 +31408,7 @@ var Service = class Service extends Object$1 {
|
|
|
31408
31408
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31409
31409
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31410
31410
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31411
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
31411
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31412
31412
|
let fetchResult;
|
|
31413
31413
|
try {
|
|
31414
31414
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31511,7 +31511,7 @@ var Service = class Service extends Object$1 {
|
|
|
31511
31511
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31512
31512
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31513
31513
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31514
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
31514
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31515
31515
|
let fetchResult;
|
|
31516
31516
|
try {
|
|
31517
31517
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31612,7 +31612,7 @@ var Service = class Service extends Object$1 {
|
|
|
31612
31612
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31613
31613
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31614
31614
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31615
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
31615
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31616
31616
|
let fetchResult;
|
|
31617
31617
|
try {
|
|
31618
31618
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31713,7 +31713,7 @@ var Service = class Service extends Object$1 {
|
|
|
31713
31713
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31714
31714
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31715
31715
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31716
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
31716
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31717
31717
|
let fetchResult;
|
|
31718
31718
|
try {
|
|
31719
31719
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31856,7 +31856,7 @@ var Service = class Service extends Object$1 {
|
|
|
31856
31856
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31857
31857
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31858
31858
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31859
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
31859
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31860
31860
|
let fetchResult;
|
|
31861
31861
|
try {
|
|
31862
31862
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31996,7 +31996,7 @@ var Service = class Service extends Object$1 {
|
|
|
31996
31996
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31997
31997
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31998
31998
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31999
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
31999
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32000
32000
|
let fetchResult;
|
|
32001
32001
|
try {
|
|
32002
32002
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32177,7 +32177,7 @@ var Service = class Service extends Object$1 {
|
|
|
32177
32177
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32178
32178
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32179
32179
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32180
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.6.
|
|
32180
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32181
32181
|
let fetchResult;
|
|
32182
32182
|
try {
|
|
32183
32183
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32831,7 +32831,7 @@ var Service = class Service extends Object$1 {
|
|
|
32831
32831
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32832
32832
|
*/
|
|
32833
32833
|
static async fromJsonLd(json, options = {}) {
|
|
32834
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
32834
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32835
32835
|
try {
|
|
32836
32836
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
32837
32837
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33407,7 +33407,7 @@ var Source = class {
|
|
|
33407
33407
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33408
33408
|
*/
|
|
33409
33409
|
static async fromJsonLd(json, options = {}) {
|
|
33410
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
33410
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33411
33411
|
try {
|
|
33412
33412
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
33413
33413
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33580,7 +33580,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
33580
33580
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33581
33581
|
*/
|
|
33582
33582
|
static async fromJsonLd(json, options = {}) {
|
|
33583
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
33583
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33584
33584
|
try {
|
|
33585
33585
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
33586
33586
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33726,7 +33726,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
33726
33726
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33727
33727
|
*/
|
|
33728
33728
|
static async fromJsonLd(json, options = {}) {
|
|
33729
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
33729
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33730
33730
|
try {
|
|
33731
33731
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
33732
33732
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33911,7 +33911,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
33911
33911
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33912
33912
|
*/
|
|
33913
33913
|
static async fromJsonLd(json, options = {}) {
|
|
33914
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
33914
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33915
33915
|
try {
|
|
33916
33916
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
33917
33917
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34072,7 +34072,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
34072
34072
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34073
34073
|
*/
|
|
34074
34074
|
static async fromJsonLd(json, options = {}) {
|
|
34075
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
34075
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34076
34076
|
try {
|
|
34077
34077
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
34078
34078
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34232,7 +34232,7 @@ var Undo = class Undo extends Activity {
|
|
|
34232
34232
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34233
34233
|
*/
|
|
34234
34234
|
static async fromJsonLd(json, options = {}) {
|
|
34235
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
34235
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34236
34236
|
try {
|
|
34237
34237
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
34238
34238
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34430,7 +34430,7 @@ var Update = class Update extends Activity {
|
|
|
34430
34430
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34431
34431
|
*/
|
|
34432
34432
|
static async fromJsonLd(json, options = {}) {
|
|
34433
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
34433
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34434
34434
|
try {
|
|
34435
34435
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
34436
34436
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34582,7 +34582,7 @@ var Video = class Video extends Document {
|
|
|
34582
34582
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34583
34583
|
*/
|
|
34584
34584
|
static async fromJsonLd(json, options = {}) {
|
|
34585
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
34585
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34586
34586
|
try {
|
|
34587
34587
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
34588
34588
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34727,7 +34727,7 @@ var View = class View extends Activity {
|
|
|
34727
34727
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34728
34728
|
*/
|
|
34729
34729
|
static async fromJsonLd(json, options = {}) {
|
|
34730
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.
|
|
34730
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.6.12").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34731
34731
|
try {
|
|
34732
34732
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
34733
34733
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|