@fedify/fedify 1.7.12 → 1.7.14
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-CPpvuBKU.d.ts → actor-Dx5YX74F.d.ts} +3 -3
- package/dist/{actor-GZRoTRqg.js → actor-OYVgkiZG.js} +329 -465
- package/dist/{actor-TYqJGdVq.js → actor-y7shp0CR.js} +6 -6
- package/dist/{assert-LOEeCUK5.js → assert-C-mZuSQl.js} +2 -2
- package/dist/{assert_equals-B44MxcIj.js → assert_equals-Dy0MG_Zw.js} +16 -16
- package/dist/{assert_instance_of-XtuFevV_.js → assert_instance_of-lS0Jr2iu.js} +2 -2
- package/dist/{assert_is_error-BTlryvT0.js → assert_is_error-CIYFACrT.js} +2 -2
- package/dist/{assert_not_equals-C685gKx6.js → assert_not_equals-C1azCAB0.js} +3 -6
- package/dist/{assert_rejects-DWQ4jaf9.js → assert_rejects-Bkh5lA1a.js} +3 -3
- package/dist/{assert_throws-YetpVSc-.js → assert_throws-CmpfkWEM.js} +3 -3
- package/dist/{authdocloader-hiFSyM7V.js → authdocloader-C0JcfxUs.js} +7 -9
- package/dist/{authdocloader-BopfyipD.js → authdocloader-C2krvRo1.js} +6 -8
- package/dist/{builder-mi6RdzNE.js → builder-DaECqbbT.js} +7 -7
- package/dist/{chunk-Cx8LTkjm.js → chunk-DvTpRkcT.js} +22 -15
- package/dist/{client-DuUKk4pk.js → client-dfu57WLy.js} +3 -3
- package/dist/{client-DvtwXO7t.d.ts → client-wKLuY12i.d.ts} +2 -2
- package/dist/{collection-Dfb0TPno.js → collection-XNLQhehO.js} +2 -3
- package/dist/{mod-DFncUgcE.d.ts → compat/mod-Bwqav33K.d.ts} +3 -3
- package/dist/compat/mod.js +1 -2
- package/dist/compat/transformers.test.js +34 -38
- package/dist/{context-OBWjptjU.d.ts → context-CW_8R4BH.d.ts} +11 -11
- package/dist/{context-RMU32mk4.js → context-nxDPfAiA.js} +5 -5
- package/dist/{docloader-09nVWLAZ.js → docloader-BDSHZfTJ.js} +1 -1
- package/dist/{docloader-DJxET2fN.js → docloader-BU25UQLB.js} +31 -151
- package/dist/{docloader-Q42SMRIB.d.ts → docloader-D_MGP37Q.d.ts} +2 -2
- package/dist/{docloader-bgBm1Hd1.js → docloader-sGz4vcrK.js} +32 -152
- package/dist/{esm-DO9PrujO.js → esm-BRXvTSrx.js} +36 -22
- package/dist/federation/builder.test.js +20 -26
- package/dist/federation/collection.test.js +11 -16
- package/dist/federation/handler.test.js +41 -48
- package/dist/federation/inbox.test.js +11 -11
- package/dist/federation/keycache.test.js +12 -11
- package/dist/federation/kv.test.js +8 -10
- package/dist/federation/middleware.test.js +105 -134
- package/dist/federation/mod-DvlLc8Ru.d.ts +6 -0
- package/dist/federation/mod.js +206 -12
- package/dist/federation/mq.test.js +12 -17
- package/dist/federation/retry.test.js +5 -4
- package/dist/federation/router.test.js +9 -10
- package/dist/federation/send.test.js +23 -24
- package/dist/{http-D2DkwsjA.js → http-BhES0Sg9.js} +23 -30
- package/dist/{http-DMTrO3Ye.d.ts → http-DFZRNfDP.d.ts} +3 -3
- package/dist/{http-vqMAvOVs.js → http-DRePVWfE.js} +23 -30
- package/dist/{inbox-DAAZZl2k.js → inbox-Z_QlSGYN.js} +5 -5
- package/dist/key-CJuc1GE1.js +10 -0
- package/dist/{key-DmqJj57e.js → key-D2HZrCxh.js} +4 -4
- package/dist/{key-KVhaUM92.js → key-bMrDyA2T.js} +5 -5
- package/dist/key-eP5Yk7hl.js +16 -0
- package/dist/{keycache-C1pEuRyQ.js → keycache-B5Rr8Lbc.js} +2 -2
- package/dist/{keys-C4XQHW5_.js → keys-DK4k1R8e.js} +2 -2
- package/dist/{kv-DRaeSXco.d.ts → kv-CKqSUxHd.d.ts} +1 -1
- package/dist/{kv-BMY6Qf_A.js → kv-QeuZ51go.js} +1 -1
- package/dist/{langstr-DbWheeIS.js → langstr-pFHBDU4y.js} +1 -1
- package/dist/{ld-DzlJ_IpT.js → ld--auFISy7.js} +9 -12
- package/dist/{lookup-CSngxuWm.js → lookup-4uc2jh52.js} +3 -3
- package/dist/{lookup-DL62q3Xh.js → lookup-Bq8vhIG4.js} +4 -4
- package/dist/{lookup-Bf-K85bV.d.ts → lookup-CqI9jhXo.d.ts} +2 -2
- package/dist/{lookup-D0je8AqR.js → lookup-cHV4n1IB.js} +6 -6
- package/dist/middleware-72Tuh6Iw.js +17 -0
- package/dist/{middleware-3wVT6S9E.js → middleware-B7p-onxQ.js} +35 -39
- package/dist/middleware-DB3BUysJ.js +32 -0
- package/dist/{middleware-DlDXugwZ.js → middleware-QJjRfjjc.js} +38 -43
- package/dist/{mod-CCL2cvnI.d.ts → mod-BEZy4WHZ.d.ts} +4 -4
- package/dist/mod-DMn4Bxyg.d.ts +20 -0
- package/dist/{mod-CDzlVCUF.d.ts → mod-DjGYGrBd.d.ts} +3 -3
- package/dist/mod.js +17 -17
- package/dist/{mq-DYKDDJmp.d.ts → mq-Cgfbl44M.d.ts} +1 -1
- package/dist/{multibase-CnLHszip.js → multibase-DBcKTV2a.js} +1 -1
- package/dist/nodeinfo/client.test.js +19 -28
- package/dist/nodeinfo/handler.test.js +37 -44
- package/dist/nodeinfo/mod--upgPcaX.d.ts +4 -0
- package/dist/nodeinfo/mod.js +2 -3
- package/dist/nodeinfo/semver.test.js +13 -21
- package/dist/nodeinfo/types.test.js +9 -11
- package/dist/{owner-D0cOz8R5.d.ts → owner-CewLNqWO.d.ts} +4 -4
- package/dist/{owner-81ey_76X.js → owner-DkTRLQAV.js} +4 -4
- package/dist/{proof-DlI7QNdn.js → proof-D4HXHDPz.js} +14 -19
- package/dist/{proof-BlULDH4H.js → proof-DT_xxRPF.js} +11 -13
- package/dist/{retry-BiIhZWgD.js → retry-BQet39_l.js} +1 -1
- package/dist/{router-D_aVZZUc.js → router-BuDkN4RQ.js} +1 -1
- package/dist/runtime/authdocloader.test.js +22 -26
- package/dist/runtime/docloader.test.js +56 -56
- package/dist/runtime/key.test.js +31 -53
- package/dist/runtime/langstr.test.js +8 -10
- package/dist/{mod-qFMzZ3iF.d.ts → runtime/mod-BaH1vtHp.d.ts} +4 -3
- package/dist/runtime/mod.js +6 -7
- package/dist/runtime/multibase/multibase.test.js +12 -18
- package/dist/runtime/url.test.js +7 -6
- package/dist/{semver-BNrOOAs9.js → semver-D9d-VO-_.js} +7 -17
- package/dist/{send-DdxfTHo6.js → send-axIyQX2p.js} +4 -4
- package/dist/sig/http.test.js +104 -168
- package/dist/sig/key.test.js +17 -20
- package/dist/sig/ld.test.js +28 -35
- package/dist/sig/mod-BmJQTnPT.d.ts +6 -0
- package/dist/sig/mod.js +6 -7
- package/dist/sig/owner.test.js +24 -30
- package/dist/sig/proof.test.js +24 -29
- package/dist/{std__assert-o_r9vqm1.js → std__assert-BdP_WkD-.js} +7 -13
- package/dist/testing/docloader.test.js +9 -12
- package/dist/testing/mod.js +2 -1
- package/dist/{testing-DLyvtiiW.js → testing-qaAD4B0t.js} +2 -2
- package/dist/{transformers-ghwJuzGY.js → transformers-CFSWUhNi.js} +1 -1
- package/dist/{type-CFuiGLz9.js → type-DFsmi-p1.js} +1 -1
- package/dist/{types-CmVV9LT1.js → types-Bk4b1bGc.js} +8 -18
- package/dist/{types-CJHS5pXl.js → types-CB_2uuCA.js} +2 -2
- package/dist/{url-C2xuoQD1.js → url-BdNvnK9P.js} +1 -1
- package/dist/vocab/actor.test.js +76 -128
- package/dist/vocab/lookup.test.js +19 -23
- package/dist/vocab/mod-BkXGAYkx.d.ts +6 -0
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +10 -10
- package/dist/vocab/vocab.test.js +109 -105
- package/dist/{vocab-DFlq4Wa6.js → vocab-DCHRuBGF.js} +328 -464
- package/dist/{vocab-CzEfWQk2.d.ts → vocab-DoBcp8ow.d.ts} +2 -2
- package/dist/{vocab-BebR0kAy.js → vocab-sMuiKIWm.js} +5 -5
- package/dist/webfinger/handler.test.js +40 -48
- package/dist/webfinger/lookup.test.js +12 -15
- package/dist/webfinger/mod-B1UhCvlL.d.ts +4 -0
- package/dist/webfinger/mod.js +2 -3
- package/dist/x/{cfworkers.d.ts → cfworkers-BIcR64Sf.d.ts} +2 -2
- package/dist/x/cfworkers.test.js +7 -9
- package/dist/x/{hono.d.ts → hono-DmQmp8wi.d.ts} +2 -11
- package/dist/x/{sveltekit.d.ts → sveltekit-Cvh0XnN4.d.ts} +2 -11
- package/package.json +1 -1
- package/dist/compat/mod.d.ts +0 -15
- package/dist/compat-Bb5myD13.js +0 -4
- package/dist/federation/mod.d.ts +0 -15
- package/dist/federation-B0aljx0V.js +0 -203
- package/dist/key-5ssHQ67E.js +0 -16
- package/dist/key-DSJGnD10.js +0 -10
- package/dist/middleware-CxFoFBD8.js +0 -33
- package/dist/middleware-w7_U3fFi.js +0 -17
- package/dist/mod-1pDWKvUL.d.ts +0 -2
- package/dist/mod-GIh5OYxW.d.ts +0 -2
- package/dist/mod-g0xFzAP9.d.ts +0 -2
- package/dist/mod.d.ts +0 -20
- package/dist/nodeinfo/mod.d.ts +0 -7
- package/dist/nodeinfo-CyEbLjHs.js +0 -4
- package/dist/runtime/mod.d.ts +0 -8
- package/dist/runtime-BSkOVUWM.js +0 -4
- package/dist/sig/mod.d.ts +0 -10
- package/dist/sig-BXJO--F9.js +0 -4
- package/dist/vocab/mod.d.ts +0 -8
- package/dist/webfinger/mod.d.ts +0 -7
- package/dist/webfinger-C3GIyXIg.js +0 -4
- /package/dist/compat/{transformers.test.d.ts → transformers.test-DnJbd34u.d.ts} +0 -0
- /package/dist/{denokv-CvROlGYX.js → denokv-NcJeZ6rP.js} +0 -0
- /package/dist/federation/{builder.test.d.ts → builder.test-Bpt6NOZ6.d.ts} +0 -0
- /package/dist/federation/{collection.test.d.ts → collection.test-DKJ6JOZz.d.ts} +0 -0
- /package/dist/federation/{handler.test.d.ts → handler.test-BMT7uLC0.d.ts} +0 -0
- /package/dist/federation/{inbox.test.d.ts → inbox.test-Do6i02Qp.d.ts} +0 -0
- /package/dist/federation/{keycache.test.d.ts → keycache.test-BT83IPZY.d.ts} +0 -0
- /package/dist/federation/{kv.test.d.ts → kv.test-kFzzF2VN.d.ts} +0 -0
- /package/dist/federation/{middleware.test.d.ts → middleware.test-B1R4_e3-.d.ts} +0 -0
- /package/dist/federation/{mq.test.d.ts → mq.test-l79EQQOe.d.ts} +0 -0
- /package/dist/federation/{retry.test.d.ts → retry.test-BqS50VCX.d.ts} +0 -0
- /package/dist/federation/{router.test.d.ts → router.test-CYQl4po-.d.ts} +0 -0
- /package/dist/federation/{send.test.d.ts → send.test-COUnNUzv.d.ts} +0 -0
- /package/dist/nodeinfo/{client.test.d.ts → client.test-CZLe79hL.d.ts} +0 -0
- /package/dist/nodeinfo/{handler.test.d.ts → handler.test-B-EDZ_hK.d.ts} +0 -0
- /package/dist/nodeinfo/{semver.test.d.ts → semver.test-BEuuQSEM.d.ts} +0 -0
- /package/dist/nodeinfo/{types.test.d.ts → types.test-B5AT89WV.d.ts} +0 -0
- /package/dist/runtime/{authdocloader.test.d.ts → authdocloader.test-hCRKzn9v.d.ts} +0 -0
- /package/dist/runtime/{docloader.test.d.ts → docloader.test-CVd7i_5h.d.ts} +0 -0
- /package/dist/runtime/{key.test.d.ts → key.test-DBsILYSD.d.ts} +0 -0
- /package/dist/runtime/{langstr.test.d.ts → langstr.test-CiKxuuRY.d.ts} +0 -0
- /package/dist/runtime/multibase/{multibase.test.d.ts → multibase.test-Brh6gPBP.d.ts} +0 -0
- /package/dist/runtime/{url.test.d.ts → url.test-DlRqkU2j.d.ts} +0 -0
- /package/dist/sig/{http.test.d.ts → http.test-BpXNAWNI.d.ts} +0 -0
- /package/dist/sig/{key.test.d.ts → key.test-B2iLIugy.d.ts} +0 -0
- /package/dist/sig/{ld.test.d.ts → ld.test-D-cI70Gw.d.ts} +0 -0
- /package/dist/sig/{owner.test.d.ts → owner.test-B_YRjMPj.d.ts} +0 -0
- /package/dist/sig/{proof.test.d.ts → proof.test-BagEM_-4.d.ts} +0 -0
- /package/dist/testing/{docloader.test.d.ts → docloader.test-lrzf6sDZ.d.ts} +0 -0
- /package/dist/testing/{mod.d.ts → mod-3uM8ZvS7.d.ts} +0 -0
- /package/dist/vocab/{actor.test.d.ts → actor.test-ClC-iVWk.d.ts} +0 -0
- /package/dist/vocab/{lookup.test.d.ts → lookup.test-Cq1I-27w.d.ts} +0 -0
- /package/dist/vocab/{type.test.d.ts → type.test-bfFiYGcs.d.ts} +0 -0
- /package/dist/vocab/{vocab.test.d.ts → vocab.test-h-ZTisfu.d.ts} +0 -0
- /package/dist/webfinger/{handler.test.d.ts → handler.test-DiUeEDDD.d.ts} +0 -0
- /package/dist/webfinger/{lookup.test.d.ts → lookup.test-D9onm3U3.d.ts} +0 -0
- /package/dist/x/{cfworkers.test.d.ts → cfworkers.test-KXHlJ29z.d.ts} +0 -0
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import { lookupWebFinger } from "./lookup-
|
|
5
|
+
import { d as name, f as version, i as getDocumentLoader } from "./docloader-BU25UQLB.js";
|
|
6
|
+
import { t as lookupWebFinger } from "./lookup-4uc2jh52.js";
|
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
|
8
8
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
9
9
|
import jsonld from "jsonld";
|
|
@@ -48,8 +48,8 @@ function concat(arrs, length) {
|
|
|
48
48
|
var Base = class {
|
|
49
49
|
codeBuf;
|
|
50
50
|
codec;
|
|
51
|
-
constructor(name, code, factory, alphabet) {
|
|
52
|
-
this.name = name;
|
|
51
|
+
constructor(name$1, code, factory, alphabet) {
|
|
52
|
+
this.name = name$1;
|
|
53
53
|
this.code = code;
|
|
54
54
|
this.alphabet = alphabet;
|
|
55
55
|
this.codeBuf = encodeText(this.code);
|
|
@@ -368,10 +368,9 @@ 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-CJuc1GE1.js");
|
|
372
372
|
validateCryptoKey(key);
|
|
373
|
-
|
|
374
|
-
let pem = encodeBase64(spki);
|
|
373
|
+
let pem = encodeBase64(await crypto.subtle.exportKey("spki", key));
|
|
375
374
|
pem = (pem.match(/.{1,64}/g) || []).join("\n");
|
|
376
375
|
return `-----BEGIN PUBLIC KEY-----\n${pem}\n-----END PUBLIC KEY-----\n`;
|
|
377
376
|
}
|
|
@@ -383,15 +382,14 @@ async function exportSpki(key) {
|
|
|
383
382
|
* @since 1.5.0
|
|
384
383
|
*/
|
|
385
384
|
function importPkcs1(pem) {
|
|
386
|
-
|
|
385
|
+
return importSpki(createPublicKey({
|
|
387
386
|
key: pem,
|
|
388
387
|
format: "pem",
|
|
389
388
|
type: "pkcs1"
|
|
390
389
|
}).export({
|
|
391
390
|
type: "spki",
|
|
392
391
|
format: "pem"
|
|
393
|
-
});
|
|
394
|
-
return importSpki(spki);
|
|
392
|
+
}));
|
|
395
393
|
}
|
|
396
394
|
const PKCS1_HEADER = /^\s*-----BEGIN\s+RSA\s+PUBLIC\s+KEY-----\s*\n/;
|
|
397
395
|
/**
|
|
@@ -464,9 +462,7 @@ async function exportMultibaseKey(key) {
|
|
|
464
462
|
code = 4613;
|
|
465
463
|
} else throw new TypeError("Unsupported key type: " + JSON.stringify(key.algorithm));
|
|
466
464
|
const codeHex = code.toString(16);
|
|
467
|
-
const
|
|
468
|
-
const prefixed = addPrefix(codeBytes, new Uint8Array(content));
|
|
469
|
-
const encoded = encode("base58btc", prefixed);
|
|
465
|
+
const encoded = encode("base58btc", addPrefix(decodeHex(codeHex.length % 2 < 1 ? codeHex : "0" + codeHex), new Uint8Array(content)));
|
|
470
466
|
return new TextDecoder().decode(encoded);
|
|
471
467
|
}
|
|
472
468
|
|
|
@@ -920,7 +916,7 @@ var Object$1 = class Object$1 {
|
|
|
920
916
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
921
917
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
922
918
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
923
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
919
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
924
920
|
let fetchResult;
|
|
925
921
|
try {
|
|
926
922
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1045,7 +1041,7 @@ var Object$1 = class Object$1 {
|
|
|
1045
1041
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1046
1042
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1047
1043
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1048
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1044
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1049
1045
|
let fetchResult;
|
|
1050
1046
|
try {
|
|
1051
1047
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1224,7 +1220,7 @@ var Object$1 = class Object$1 {
|
|
|
1224
1220
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1225
1221
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1226
1222
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1227
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1223
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1228
1224
|
let fetchResult;
|
|
1229
1225
|
try {
|
|
1230
1226
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1379,7 +1375,7 @@ var Object$1 = class Object$1 {
|
|
|
1379
1375
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1380
1376
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1381
1377
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1382
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1378
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1383
1379
|
let fetchResult;
|
|
1384
1380
|
try {
|
|
1385
1381
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1521,7 +1517,7 @@ var Object$1 = class Object$1 {
|
|
|
1521
1517
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1522
1518
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1523
1519
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1524
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1520
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1525
1521
|
let fetchResult;
|
|
1526
1522
|
try {
|
|
1527
1523
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1631,7 +1627,7 @@ var Object$1 = class Object$1 {
|
|
|
1631
1627
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1632
1628
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1633
1629
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1634
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1630
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1635
1631
|
let fetchResult;
|
|
1636
1632
|
try {
|
|
1637
1633
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1768,7 +1764,7 @@ var Object$1 = class Object$1 {
|
|
|
1768
1764
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1769
1765
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1770
1766
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1771
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1767
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1772
1768
|
let fetchResult;
|
|
1773
1769
|
try {
|
|
1774
1770
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1905,7 +1901,7 @@ var Object$1 = class Object$1 {
|
|
|
1905
1901
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1906
1902
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1907
1903
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1908
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1904
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1909
1905
|
let fetchResult;
|
|
1910
1906
|
try {
|
|
1911
1907
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2049,7 +2045,7 @@ var Object$1 = class Object$1 {
|
|
|
2049
2045
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2050
2046
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2051
2047
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2052
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2048
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2053
2049
|
let fetchResult;
|
|
2054
2050
|
try {
|
|
2055
2051
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2193,7 +2189,7 @@ var Object$1 = class Object$1 {
|
|
|
2193
2189
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2194
2190
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2195
2191
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2196
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2192
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2197
2193
|
let fetchResult;
|
|
2198
2194
|
try {
|
|
2199
2195
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2342,7 +2338,7 @@ var Object$1 = class Object$1 {
|
|
|
2342
2338
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2343
2339
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2344
2340
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2345
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2341
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2346
2342
|
let fetchResult;
|
|
2347
2343
|
try {
|
|
2348
2344
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2441,7 +2437,7 @@ var Object$1 = class Object$1 {
|
|
|
2441
2437
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2442
2438
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2443
2439
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2444
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2440
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2445
2441
|
let fetchResult;
|
|
2446
2442
|
try {
|
|
2447
2443
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2546,7 +2542,7 @@ var Object$1 = class Object$1 {
|
|
|
2546
2542
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2547
2543
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2548
2544
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2549
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2545
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2550
2546
|
let fetchResult;
|
|
2551
2547
|
try {
|
|
2552
2548
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2651,7 +2647,7 @@ var Object$1 = class Object$1 {
|
|
|
2651
2647
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2652
2648
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2653
2649
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2654
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2650
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2655
2651
|
let fetchResult;
|
|
2656
2652
|
try {
|
|
2657
2653
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2774,7 +2770,7 @@ var Object$1 = class Object$1 {
|
|
|
2774
2770
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2775
2771
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2776
2772
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2777
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2773
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2778
2774
|
let fetchResult;
|
|
2779
2775
|
try {
|
|
2780
2776
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2906,7 +2902,7 @@ var Object$1 = class Object$1 {
|
|
|
2906
2902
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2907
2903
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2908
2904
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2909
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2905
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2910
2906
|
let fetchResult;
|
|
2911
2907
|
try {
|
|
2912
2908
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3041,7 +3037,7 @@ var Object$1 = class Object$1 {
|
|
|
3041
3037
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3042
3038
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3043
3039
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3044
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
3040
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3045
3041
|
let fetchResult;
|
|
3046
3042
|
try {
|
|
3047
3043
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3176,7 +3172,7 @@ var Object$1 = class Object$1 {
|
|
|
3176
3172
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3177
3173
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3178
3174
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3179
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
3175
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3180
3176
|
let fetchResult;
|
|
3181
3177
|
try {
|
|
3182
3178
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3311,7 +3307,7 @@ var Object$1 = class Object$1 {
|
|
|
3311
3307
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3312
3308
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3313
3309
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3314
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
3310
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3315
3311
|
let fetchResult;
|
|
3316
3312
|
try {
|
|
3317
3313
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3483,7 +3479,7 @@ var Object$1 = class Object$1 {
|
|
|
3483
3479
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3484
3480
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3485
3481
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3486
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
3482
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3487
3483
|
let fetchResult;
|
|
3488
3484
|
try {
|
|
3489
3485
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4243,7 +4239,7 @@ var Object$1 = class Object$1 {
|
|
|
4243
4239
|
* @throws {TypeError} If the given `json` is invalid.
|
|
4244
4240
|
*/
|
|
4245
4241
|
static async fromJsonLd(json, options = {}) {
|
|
4246
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
4242
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
4247
4243
|
try {
|
|
4248
4244
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
4249
4245
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -4993,7 +4989,7 @@ var Object$1 = class Object$1 {
|
|
|
4993
4989
|
let _2oPEH9MQ3aj8JVwyYuWkqoVwV865_url__array = values["https://www.w3.org/ns/activitystreams#url"];
|
|
4994
4990
|
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
4991
|
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://
|
|
4992
|
+
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
4993
|
"https://www.w3.org/ns/activitystreams#Link",
|
|
4998
4994
|
"https://www.w3.org/ns/activitystreams#Hashtag",
|
|
4999
4995
|
"https://www.w3.org/ns/activitystreams#Mention"
|
|
@@ -5277,12 +5273,10 @@ var Object$1 = class Object$1 {
|
|
|
5277
5273
|
return proxy;
|
|
5278
5274
|
}
|
|
5279
5275
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
5280
|
-
|
|
5281
|
-
return "Object " + inspect(proxy, options);
|
|
5276
|
+
return "Object " + inspect(this._getCustomInspectProxy(), options);
|
|
5282
5277
|
}
|
|
5283
5278
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
5284
|
-
|
|
5285
|
-
return "Object " + inspect(proxy, options);
|
|
5279
|
+
return "Object " + inspect(this._getCustomInspectProxy(), options);
|
|
5286
5280
|
}
|
|
5287
5281
|
};
|
|
5288
5282
|
/** Represents a custom emoji.
|
|
@@ -5383,7 +5377,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
5383
5377
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5384
5378
|
*/
|
|
5385
5379
|
static async fromJsonLd(json, options = {}) {
|
|
5386
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
5380
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5387
5381
|
try {
|
|
5388
5382
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
5389
5383
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5435,12 +5429,10 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
5435
5429
|
return super._getCustomInspectProxy();
|
|
5436
5430
|
}
|
|
5437
5431
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
5438
|
-
|
|
5439
|
-
return "Emoji " + inspect(proxy, options);
|
|
5432
|
+
return "Emoji " + inspect(this._getCustomInspectProxy(), options);
|
|
5440
5433
|
}
|
|
5441
5434
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
5442
|
-
|
|
5443
|
-
return "Emoji " + inspect(proxy, options);
|
|
5435
|
+
return "Emoji " + inspect(this._getCustomInspectProxy(), options);
|
|
5444
5436
|
}
|
|
5445
5437
|
};
|
|
5446
5438
|
/** `ChatMessage`s are the messages sent in 1-on-1 chats. They are similar to
|
|
@@ -5618,7 +5610,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
5618
5610
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5619
5611
|
*/
|
|
5620
5612
|
static async fromJsonLd(json, options = {}) {
|
|
5621
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
5613
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5622
5614
|
try {
|
|
5623
5615
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
5624
5616
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5685,12 +5677,10 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
5685
5677
|
return proxy;
|
|
5686
5678
|
}
|
|
5687
5679
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
5688
|
-
|
|
5689
|
-
return "ChatMessage " + inspect(proxy, options);
|
|
5680
|
+
return "ChatMessage " + inspect(this._getCustomInspectProxy(), options);
|
|
5690
5681
|
}
|
|
5691
5682
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
5692
|
-
|
|
5693
|
-
return "ChatMessage " + inspect(proxy, options);
|
|
5683
|
+
return "ChatMessage " + inspect(this._getCustomInspectProxy(), options);
|
|
5694
5684
|
}
|
|
5695
5685
|
};
|
|
5696
5686
|
/** An Activity is a subtype of {@link Object} that describes some form of action
|
|
@@ -5831,7 +5821,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
5831
5821
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
5832
5822
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
5833
5823
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
5834
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
5824
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5835
5825
|
let fetchResult;
|
|
5836
5826
|
try {
|
|
5837
5827
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6010,7 +6000,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6010
6000
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6011
6001
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6012
6002
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6013
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
6003
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6014
6004
|
let fetchResult;
|
|
6015
6005
|
try {
|
|
6016
6006
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6147,7 +6137,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6147
6137
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6148
6138
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6149
6139
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6150
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
6140
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6151
6141
|
let fetchResult;
|
|
6152
6142
|
try {
|
|
6153
6143
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6290,7 +6280,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6290
6280
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6291
6281
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6292
6282
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6293
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
6283
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6294
6284
|
let fetchResult;
|
|
6295
6285
|
try {
|
|
6296
6286
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6427,7 +6417,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6427
6417
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6428
6418
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6429
6419
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6430
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
6420
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6431
6421
|
let fetchResult;
|
|
6432
6422
|
try {
|
|
6433
6423
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6566,7 +6556,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6566
6556
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6567
6557
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6568
6558
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6569
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
6559
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6570
6560
|
let fetchResult;
|
|
6571
6561
|
try {
|
|
6572
6562
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6787,7 +6777,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6787
6777
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6788
6778
|
*/
|
|
6789
6779
|
static async fromJsonLd(json, options = {}) {
|
|
6790
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
6780
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6791
6781
|
try {
|
|
6792
6782
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
6793
6783
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6974,12 +6964,10 @@ var Activity = class Activity extends Object$1 {
|
|
|
6974
6964
|
return proxy;
|
|
6975
6965
|
}
|
|
6976
6966
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
6977
|
-
|
|
6978
|
-
return "Activity " + inspect(proxy, options);
|
|
6967
|
+
return "Activity " + inspect(this._getCustomInspectProxy(), options);
|
|
6979
6968
|
}
|
|
6980
6969
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
6981
|
-
|
|
6982
|
-
return "Activity " + inspect(proxy, options);
|
|
6970
|
+
return "Activity " + inspect(this._getCustomInspectProxy(), options);
|
|
6983
6971
|
}
|
|
6984
6972
|
};
|
|
6985
6973
|
/** Represents an emoji reaction. See also [FEP-c0e0](https://w3id.org/fep/c0e0).
|
|
@@ -7073,7 +7061,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
7073
7061
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7074
7062
|
*/
|
|
7075
7063
|
static async fromJsonLd(json, options = {}) {
|
|
7076
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
7064
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7077
7065
|
try {
|
|
7078
7066
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
7079
7067
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7125,12 +7113,10 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
7125
7113
|
return super._getCustomInspectProxy();
|
|
7126
7114
|
}
|
|
7127
7115
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
7128
|
-
|
|
7129
|
-
return "EmojiReact " + inspect(proxy, options);
|
|
7116
|
+
return "EmojiReact " + inspect(this._getCustomInspectProxy(), options);
|
|
7130
7117
|
}
|
|
7131
7118
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
7132
|
-
|
|
7133
|
-
return "EmojiReact " + inspect(proxy, options);
|
|
7119
|
+
return "EmojiReact " + inspect(this._getCustomInspectProxy(), options);
|
|
7134
7120
|
}
|
|
7135
7121
|
};
|
|
7136
7122
|
/** A pair of property name and value.
|
|
@@ -7317,7 +7303,7 @@ var PropertyValue = class {
|
|
|
7317
7303
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7318
7304
|
*/
|
|
7319
7305
|
static async fromJsonLd(json, options = {}) {
|
|
7320
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
7306
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7321
7307
|
try {
|
|
7322
7308
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
7323
7309
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7397,12 +7383,10 @@ var PropertyValue = class {
|
|
|
7397
7383
|
return proxy;
|
|
7398
7384
|
}
|
|
7399
7385
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
7400
|
-
|
|
7401
|
-
return "PropertyValue " + inspect(proxy, options);
|
|
7386
|
+
return "PropertyValue " + inspect(this._getCustomInspectProxy(), options);
|
|
7402
7387
|
}
|
|
7403
7388
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
7404
|
-
|
|
7405
|
-
return "PropertyValue " + inspect(proxy, options);
|
|
7389
|
+
return "PropertyValue " + inspect(this._getCustomInspectProxy(), options);
|
|
7406
7390
|
}
|
|
7407
7391
|
};
|
|
7408
7392
|
/** Means of communicating or interacting with the DID subject or associated
|
|
@@ -7549,7 +7533,7 @@ var DidService = class {
|
|
|
7549
7533
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7550
7534
|
*/
|
|
7551
7535
|
static async fromJsonLd(json, options = {}) {
|
|
7552
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
7536
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7553
7537
|
try {
|
|
7554
7538
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
7555
7539
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7590,7 +7574,7 @@ var DidService = class {
|
|
|
7590
7574
|
let _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint__array = values["https://www.w3.org/ns/did#serviceEndpoint"];
|
|
7591
7575
|
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
7576
|
if (v == null) continue;
|
|
7593
|
-
_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint.push(v["@id"].startsWith("at://
|
|
7577
|
+
_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
7578
|
}
|
|
7595
7579
|
instance.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint;
|
|
7596
7580
|
if (!("_fromSubclass" in options) || !options._fromSubclass) try {
|
|
@@ -7615,12 +7599,10 @@ var DidService = class {
|
|
|
7615
7599
|
return proxy;
|
|
7616
7600
|
}
|
|
7617
7601
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
7618
|
-
|
|
7619
|
-
return "DidService " + inspect(proxy, options);
|
|
7602
|
+
return "DidService " + inspect(this._getCustomInspectProxy(), options);
|
|
7620
7603
|
}
|
|
7621
7604
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
7622
|
-
|
|
7623
|
-
return "DidService " + inspect(proxy, options);
|
|
7605
|
+
return "DidService " + inspect(this._getCustomInspectProxy(), options);
|
|
7624
7606
|
}
|
|
7625
7607
|
};
|
|
7626
7608
|
/** "Export Actor" service.
|
|
@@ -7701,7 +7683,7 @@ var Export = class Export extends DidService {
|
|
|
7701
7683
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7702
7684
|
*/
|
|
7703
7685
|
static async fromJsonLd(json, options = {}) {
|
|
7704
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
7686
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7705
7687
|
try {
|
|
7706
7688
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
7707
7689
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7753,12 +7735,10 @@ var Export = class Export extends DidService {
|
|
|
7753
7735
|
return super._getCustomInspectProxy();
|
|
7754
7736
|
}
|
|
7755
7737
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
7756
|
-
|
|
7757
|
-
return "Export " + inspect(proxy, options);
|
|
7738
|
+
return "Export " + inspect(this._getCustomInspectProxy(), options);
|
|
7758
7739
|
}
|
|
7759
7740
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
7760
|
-
|
|
7761
|
-
return "Export " + inspect(proxy, options);
|
|
7741
|
+
return "Export " + inspect(this._getCustomInspectProxy(), options);
|
|
7762
7742
|
}
|
|
7763
7743
|
};
|
|
7764
7744
|
/** A proof that can be added to any activity or object, allowing recipients to
|
|
@@ -7866,7 +7846,7 @@ var DataIntegrityProof = class {
|
|
|
7866
7846
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7867
7847
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7868
7848
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7869
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
7849
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7870
7850
|
let fetchResult;
|
|
7871
7851
|
try {
|
|
7872
7852
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8063,7 +8043,7 @@ var DataIntegrityProof = class {
|
|
|
8063
8043
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8064
8044
|
*/
|
|
8065
8045
|
static async fromJsonLd(json, options = {}) {
|
|
8066
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
8046
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8067
8047
|
try {
|
|
8068
8048
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
8069
8049
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8179,12 +8159,10 @@ var DataIntegrityProof = class {
|
|
|
8179
8159
|
return proxy;
|
|
8180
8160
|
}
|
|
8181
8161
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
8182
|
-
|
|
8183
|
-
return "DataIntegrityProof " + inspect(proxy, options);
|
|
8162
|
+
return "DataIntegrityProof " + inspect(this._getCustomInspectProxy(), options);
|
|
8184
8163
|
}
|
|
8185
8164
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
8186
|
-
|
|
8187
|
-
return "DataIntegrityProof " + inspect(proxy, options);
|
|
8165
|
+
return "DataIntegrityProof " + inspect(this._getCustomInspectProxy(), options);
|
|
8188
8166
|
}
|
|
8189
8167
|
};
|
|
8190
8168
|
/** A key owned by an actor.
|
|
@@ -8266,7 +8244,7 @@ var CryptographicKey = class {
|
|
|
8266
8244
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8267
8245
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8268
8246
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8269
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
8247
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8270
8248
|
let fetchResult;
|
|
8271
8249
|
try {
|
|
8272
8250
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8502,7 +8480,7 @@ var CryptographicKey = class {
|
|
|
8502
8480
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8503
8481
|
*/
|
|
8504
8482
|
static async fromJsonLd(json, options = {}) {
|
|
8505
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
8483
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8506
8484
|
try {
|
|
8507
8485
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
8508
8486
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8584,12 +8562,10 @@ var CryptographicKey = class {
|
|
|
8584
8562
|
return proxy;
|
|
8585
8563
|
}
|
|
8586
8564
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
8587
|
-
|
|
8588
|
-
return "CryptographicKey " + inspect(proxy, options);
|
|
8565
|
+
return "CryptographicKey " + inspect(this._getCustomInspectProxy(), options);
|
|
8589
8566
|
}
|
|
8590
8567
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
8591
|
-
|
|
8592
|
-
return "CryptographicKey " + inspect(proxy, options);
|
|
8568
|
+
return "CryptographicKey " + inspect(this._getCustomInspectProxy(), options);
|
|
8593
8569
|
}
|
|
8594
8570
|
};
|
|
8595
8571
|
/** Represents a key owned by an actor according to [FEP-521a: Representing
|
|
@@ -8674,7 +8650,7 @@ var Multikey = class {
|
|
|
8674
8650
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8675
8651
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8676
8652
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8677
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
8653
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8678
8654
|
let fetchResult;
|
|
8679
8655
|
try {
|
|
8680
8656
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8916,7 +8892,7 @@ var Multikey = class {
|
|
|
8916
8892
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8917
8893
|
*/
|
|
8918
8894
|
static async fromJsonLd(json, options = {}) {
|
|
8919
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
8895
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8920
8896
|
try {
|
|
8921
8897
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
8922
8898
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8998,12 +8974,10 @@ var Multikey = class {
|
|
|
8998
8974
|
return proxy;
|
|
8999
8975
|
}
|
|
9000
8976
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
9001
|
-
|
|
9002
|
-
return "Multikey " + inspect(proxy, options);
|
|
8977
|
+
return "Multikey " + inspect(this._getCustomInspectProxy(), options);
|
|
9003
8978
|
}
|
|
9004
8979
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
9005
|
-
|
|
9006
|
-
return "Multikey " + inspect(proxy, options);
|
|
8980
|
+
return "Multikey " + inspect(this._getCustomInspectProxy(), options);
|
|
9007
8981
|
}
|
|
9008
8982
|
};
|
|
9009
8983
|
/** Indicates that the `actor` accepts the `object`. The `target` property can be
|
|
@@ -9093,7 +9067,7 @@ var Accept = class Accept extends Activity {
|
|
|
9093
9067
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9094
9068
|
*/
|
|
9095
9069
|
static async fromJsonLd(json, options = {}) {
|
|
9096
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
9070
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9097
9071
|
try {
|
|
9098
9072
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
9099
9073
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9146,12 +9120,10 @@ var Accept = class Accept extends Activity {
|
|
|
9146
9120
|
return super._getCustomInspectProxy();
|
|
9147
9121
|
}
|
|
9148
9122
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
9149
|
-
|
|
9150
|
-
return "Accept " + inspect(proxy, options);
|
|
9123
|
+
return "Accept " + inspect(this._getCustomInspectProxy(), options);
|
|
9151
9124
|
}
|
|
9152
9125
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
9153
|
-
|
|
9154
|
-
return "Accept " + inspect(proxy, options);
|
|
9126
|
+
return "Accept " + inspect(this._getCustomInspectProxy(), options);
|
|
9155
9127
|
}
|
|
9156
9128
|
};
|
|
9157
9129
|
/** Indicates that the `actor` has added the `object` to the `target`.
|
|
@@ -9242,7 +9214,7 @@ var Add = class Add extends Activity {
|
|
|
9242
9214
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9243
9215
|
*/
|
|
9244
9216
|
static async fromJsonLd(json, options = {}) {
|
|
9245
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
9217
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9246
9218
|
try {
|
|
9247
9219
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
9248
9220
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9294,12 +9266,10 @@ var Add = class Add extends Activity {
|
|
|
9294
9266
|
return super._getCustomInspectProxy();
|
|
9295
9267
|
}
|
|
9296
9268
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
9297
|
-
|
|
9298
|
-
return "Add " + inspect(proxy, options);
|
|
9269
|
+
return "Add " + inspect(this._getCustomInspectProxy(), options);
|
|
9299
9270
|
}
|
|
9300
9271
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
9301
|
-
|
|
9302
|
-
return "Add " + inspect(proxy, options);
|
|
9272
|
+
return "Add " + inspect(this._getCustomInspectProxy(), options);
|
|
9303
9273
|
}
|
|
9304
9274
|
};
|
|
9305
9275
|
/** Indicates that the `actor` is calling the `target`'s attention the `object`.
|
|
@@ -9408,7 +9378,7 @@ var Announce = class Announce extends Activity {
|
|
|
9408
9378
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9409
9379
|
*/
|
|
9410
9380
|
static async fromJsonLd(json, options = {}) {
|
|
9411
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
9381
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9412
9382
|
try {
|
|
9413
9383
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
9414
9384
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9460,12 +9430,10 @@ var Announce = class Announce extends Activity {
|
|
|
9460
9430
|
return super._getCustomInspectProxy();
|
|
9461
9431
|
}
|
|
9462
9432
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
9463
|
-
|
|
9464
|
-
return "Announce " + inspect(proxy, options);
|
|
9433
|
+
return "Announce " + inspect(this._getCustomInspectProxy(), options);
|
|
9465
9434
|
}
|
|
9466
9435
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
9467
|
-
|
|
9468
|
-
return "Announce " + inspect(proxy, options);
|
|
9436
|
+
return "Announce " + inspect(this._getCustomInspectProxy(), options);
|
|
9469
9437
|
}
|
|
9470
9438
|
};
|
|
9471
9439
|
/** Describes a software application.
|
|
@@ -9702,7 +9670,7 @@ var Application = class Application extends Object$1 {
|
|
|
9702
9670
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9703
9671
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9704
9672
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9705
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
9673
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9706
9674
|
let fetchResult;
|
|
9707
9675
|
try {
|
|
9708
9676
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9835,7 +9803,7 @@ var Application = class Application extends Object$1 {
|
|
|
9835
9803
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9836
9804
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9837
9805
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9838
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
9806
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9839
9807
|
let fetchResult;
|
|
9840
9808
|
try {
|
|
9841
9809
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9986,7 +9954,7 @@ var Application = class Application extends Object$1 {
|
|
|
9986
9954
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9987
9955
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9988
9956
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9989
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
9957
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9990
9958
|
let fetchResult;
|
|
9991
9959
|
try {
|
|
9992
9960
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10105,7 +10073,7 @@ var Application = class Application extends Object$1 {
|
|
|
10105
10073
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10106
10074
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10107
10075
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10108
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10076
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10109
10077
|
let fetchResult;
|
|
10110
10078
|
try {
|
|
10111
10079
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10221,7 +10189,7 @@ var Application = class Application extends Object$1 {
|
|
|
10221
10189
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10222
10190
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10223
10191
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10224
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10192
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10225
10193
|
let fetchResult;
|
|
10226
10194
|
try {
|
|
10227
10195
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10323,7 +10291,7 @@ var Application = class Application extends Object$1 {
|
|
|
10323
10291
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10324
10292
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10325
10293
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10326
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10294
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10327
10295
|
let fetchResult;
|
|
10328
10296
|
try {
|
|
10329
10297
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10428,7 +10396,7 @@ var Application = class Application extends Object$1 {
|
|
|
10428
10396
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10429
10397
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10430
10398
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10431
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10399
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10432
10400
|
let fetchResult;
|
|
10433
10401
|
try {
|
|
10434
10402
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10531,7 +10499,7 @@ var Application = class Application extends Object$1 {
|
|
|
10531
10499
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10532
10500
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10533
10501
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10534
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10502
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10535
10503
|
let fetchResult;
|
|
10536
10504
|
try {
|
|
10537
10505
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10632,7 +10600,7 @@ var Application = class Application extends Object$1 {
|
|
|
10632
10600
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10633
10601
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10634
10602
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10635
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10603
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10636
10604
|
let fetchResult;
|
|
10637
10605
|
try {
|
|
10638
10606
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10733,7 +10701,7 @@ var Application = class Application extends Object$1 {
|
|
|
10733
10701
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10734
10702
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10735
10703
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10736
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10704
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10737
10705
|
let fetchResult;
|
|
10738
10706
|
try {
|
|
10739
10707
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10876,7 +10844,7 @@ var Application = class Application extends Object$1 {
|
|
|
10876
10844
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10877
10845
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10878
10846
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10879
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10847
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10880
10848
|
let fetchResult;
|
|
10881
10849
|
try {
|
|
10882
10850
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11016,7 +10984,7 @@ var Application = class Application extends Object$1 {
|
|
|
11016
10984
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11017
10985
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11018
10986
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11019
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10987
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11020
10988
|
let fetchResult;
|
|
11021
10989
|
try {
|
|
11022
10990
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11197,7 +11165,7 @@ var Application = class Application extends Object$1 {
|
|
|
11197
11165
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11198
11166
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11199
11167
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11200
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
11168
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11201
11169
|
let fetchResult;
|
|
11202
11170
|
try {
|
|
11203
11171
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11851,7 +11819,7 @@ var Application = class Application extends Object$1 {
|
|
|
11851
11819
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11852
11820
|
*/
|
|
11853
11821
|
static async fromJsonLd(json, options = {}) {
|
|
11854
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
11822
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11855
11823
|
try {
|
|
11856
11824
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
11857
11825
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12235,12 +12203,10 @@ var Application = class Application extends Object$1 {
|
|
|
12235
12203
|
return proxy;
|
|
12236
12204
|
}
|
|
12237
12205
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
12238
|
-
|
|
12239
|
-
return "Application " + inspect(proxy, options);
|
|
12206
|
+
return "Application " + inspect(this._getCustomInspectProxy(), options);
|
|
12240
12207
|
}
|
|
12241
12208
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
12242
|
-
|
|
12243
|
-
return "Application " + inspect(proxy, options);
|
|
12209
|
+
return "Application " + inspect(this._getCustomInspectProxy(), options);
|
|
12244
12210
|
}
|
|
12245
12211
|
};
|
|
12246
12212
|
/** Instances of `IntransitiveActivity` are a subtype of {@link Activity}
|
|
@@ -12330,7 +12296,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
12330
12296
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12331
12297
|
*/
|
|
12332
12298
|
static async fromJsonLd(json, options = {}) {
|
|
12333
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
12299
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12334
12300
|
try {
|
|
12335
12301
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
12336
12302
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12385,12 +12351,10 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
12385
12351
|
return super._getCustomInspectProxy();
|
|
12386
12352
|
}
|
|
12387
12353
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
12388
|
-
|
|
12389
|
-
return "IntransitiveActivity " + inspect(proxy, options);
|
|
12354
|
+
return "IntransitiveActivity " + inspect(this._getCustomInspectProxy(), options);
|
|
12390
12355
|
}
|
|
12391
12356
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
12392
|
-
|
|
12393
|
-
return "IntransitiveActivity " + inspect(proxy, options);
|
|
12357
|
+
return "IntransitiveActivity " + inspect(this._getCustomInspectProxy(), options);
|
|
12394
12358
|
}
|
|
12395
12359
|
};
|
|
12396
12360
|
/** An `IntransitiveActivity` that indicates that the `actor` has arrived at the `location`.
|
|
@@ -12480,7 +12444,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
12480
12444
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12481
12445
|
*/
|
|
12482
12446
|
static async fromJsonLd(json, options = {}) {
|
|
12483
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
12447
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12484
12448
|
try {
|
|
12485
12449
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
12486
12450
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12532,12 +12496,10 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
12532
12496
|
return super._getCustomInspectProxy();
|
|
12533
12497
|
}
|
|
12534
12498
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
12535
|
-
|
|
12536
|
-
return "Arrive " + inspect(proxy, options);
|
|
12499
|
+
return "Arrive " + inspect(this._getCustomInspectProxy(), options);
|
|
12537
12500
|
}
|
|
12538
12501
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
12539
|
-
|
|
12540
|
-
return "Arrive " + inspect(proxy, options);
|
|
12502
|
+
return "Arrive " + inspect(this._getCustomInspectProxy(), options);
|
|
12541
12503
|
}
|
|
12542
12504
|
};
|
|
12543
12505
|
/** Represents any kind of multi-paragraph written work.
|
|
@@ -12713,7 +12675,7 @@ var Article = class Article extends Object$1 {
|
|
|
12713
12675
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12714
12676
|
*/
|
|
12715
12677
|
static async fromJsonLd(json, options = {}) {
|
|
12716
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
12678
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12717
12679
|
try {
|
|
12718
12680
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
12719
12681
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12780,12 +12742,10 @@ var Article = class Article extends Object$1 {
|
|
|
12780
12742
|
return proxy;
|
|
12781
12743
|
}
|
|
12782
12744
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
12783
|
-
|
|
12784
|
-
return "Article " + inspect(proxy, options);
|
|
12745
|
+
return "Article " + inspect(this._getCustomInspectProxy(), options);
|
|
12785
12746
|
}
|
|
12786
12747
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
12787
|
-
|
|
12788
|
-
return "Article " + inspect(proxy, options);
|
|
12748
|
+
return "Article " + inspect(this._getCustomInspectProxy(), options);
|
|
12789
12749
|
}
|
|
12790
12750
|
};
|
|
12791
12751
|
/** Represents a document of any kind.
|
|
@@ -12940,7 +12900,7 @@ var Document = class Document extends Object$1 {
|
|
|
12940
12900
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12941
12901
|
*/
|
|
12942
12902
|
static async fromJsonLd(json, options = {}) {
|
|
12943
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
12903
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12944
12904
|
try {
|
|
12945
12905
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
12946
12906
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13021,12 +12981,10 @@ var Document = class Document extends Object$1 {
|
|
|
13021
12981
|
return proxy;
|
|
13022
12982
|
}
|
|
13023
12983
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
13024
|
-
|
|
13025
|
-
return "Document " + inspect(proxy, options);
|
|
12984
|
+
return "Document " + inspect(this._getCustomInspectProxy(), options);
|
|
13026
12985
|
}
|
|
13027
12986
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
13028
|
-
|
|
13029
|
-
return "Document " + inspect(proxy, options);
|
|
12987
|
+
return "Document " + inspect(this._getCustomInspectProxy(), options);
|
|
13030
12988
|
}
|
|
13031
12989
|
};
|
|
13032
12990
|
/** Represents an audio document of any kind.
|
|
@@ -13121,7 +13079,7 @@ var Audio = class Audio extends Document {
|
|
|
13121
13079
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13122
13080
|
*/
|
|
13123
13081
|
static async fromJsonLd(json, options = {}) {
|
|
13124
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
13082
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13125
13083
|
try {
|
|
13126
13084
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
13127
13085
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13173,12 +13131,10 @@ var Audio = class Audio extends Document {
|
|
|
13173
13131
|
return super._getCustomInspectProxy();
|
|
13174
13132
|
}
|
|
13175
13133
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
13176
|
-
|
|
13177
|
-
return "Audio " + inspect(proxy, options);
|
|
13134
|
+
return "Audio " + inspect(this._getCustomInspectProxy(), options);
|
|
13178
13135
|
}
|
|
13179
13136
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
13180
|
-
|
|
13181
|
-
return "Audio " + inspect(proxy, options);
|
|
13137
|
+
return "Audio " + inspect(this._getCustomInspectProxy(), options);
|
|
13182
13138
|
}
|
|
13183
13139
|
};
|
|
13184
13140
|
/** Indicates that the `actor` is ignoring the `object`. The `target` and
|
|
@@ -13267,7 +13223,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
13267
13223
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13268
13224
|
*/
|
|
13269
13225
|
static async fromJsonLd(json, options = {}) {
|
|
13270
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
13226
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13271
13227
|
try {
|
|
13272
13228
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
13273
13229
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13320,12 +13276,10 @@ var Ignore = class Ignore extends Activity {
|
|
|
13320
13276
|
return super._getCustomInspectProxy();
|
|
13321
13277
|
}
|
|
13322
13278
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
13323
|
-
|
|
13324
|
-
return "Ignore " + inspect(proxy, options);
|
|
13279
|
+
return "Ignore " + inspect(this._getCustomInspectProxy(), options);
|
|
13325
13280
|
}
|
|
13326
13281
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
13327
|
-
|
|
13328
|
-
return "Ignore " + inspect(proxy, options);
|
|
13282
|
+
return "Ignore " + inspect(this._getCustomInspectProxy(), options);
|
|
13329
13283
|
}
|
|
13330
13284
|
};
|
|
13331
13285
|
/** Indicates that the `actor` is blocking the `object`. Blocking is a stronger
|
|
@@ -13416,7 +13370,7 @@ var Block = class Block extends Ignore {
|
|
|
13416
13370
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13417
13371
|
*/
|
|
13418
13372
|
static async fromJsonLd(json, options = {}) {
|
|
13419
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
13373
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13420
13374
|
try {
|
|
13421
13375
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
13422
13376
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13468,12 +13422,10 @@ var Block = class Block extends Ignore {
|
|
|
13468
13422
|
return super._getCustomInspectProxy();
|
|
13469
13423
|
}
|
|
13470
13424
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
13471
|
-
|
|
13472
|
-
return "Block " + inspect(proxy, options);
|
|
13425
|
+
return "Block " + inspect(this._getCustomInspectProxy(), options);
|
|
13473
13426
|
}
|
|
13474
13427
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
13475
|
-
|
|
13476
|
-
return "Block " + inspect(proxy, options);
|
|
13428
|
+
return "Block " + inspect(this._getCustomInspectProxy(), options);
|
|
13477
13429
|
}
|
|
13478
13430
|
};
|
|
13479
13431
|
/** A `Collection` is a subtype of {@link Object} that represents ordered or
|
|
@@ -13557,7 +13509,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13557
13509
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13558
13510
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13559
13511
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13560
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
13512
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13561
13513
|
let fetchResult;
|
|
13562
13514
|
try {
|
|
13563
13515
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13656,7 +13608,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13656
13608
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13657
13609
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13658
13610
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13659
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
13611
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13660
13612
|
let fetchResult;
|
|
13661
13613
|
try {
|
|
13662
13614
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13755,7 +13707,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13755
13707
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13756
13708
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13757
13709
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13758
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
13710
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13759
13711
|
let fetchResult;
|
|
13760
13712
|
try {
|
|
13761
13713
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13854,7 +13806,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13854
13806
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13855
13807
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13856
13808
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13857
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
13809
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13858
13810
|
let fetchResult;
|
|
13859
13811
|
try {
|
|
13860
13812
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14144,7 +14096,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
14144
14096
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14145
14097
|
*/
|
|
14146
14098
|
static async fromJsonLd(json, options = {}) {
|
|
14147
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
14099
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14148
14100
|
try {
|
|
14149
14101
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
14150
14102
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14338,12 +14290,10 @@ var Collection = class Collection extends Object$1 {
|
|
|
14338
14290
|
return proxy;
|
|
14339
14291
|
}
|
|
14340
14292
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
14341
|
-
|
|
14342
|
-
return "Collection " + inspect(proxy, options);
|
|
14293
|
+
return "Collection " + inspect(this._getCustomInspectProxy(), options);
|
|
14343
14294
|
}
|
|
14344
14295
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
14345
|
-
|
|
14346
|
-
return "Collection " + inspect(proxy, options);
|
|
14296
|
+
return "Collection " + inspect(this._getCustomInspectProxy(), options);
|
|
14347
14297
|
}
|
|
14348
14298
|
};
|
|
14349
14299
|
/** Used to represent distinct subsets of items from a `Collection`.
|
|
@@ -14404,7 +14354,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14404
14354
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14405
14355
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14406
14356
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14407
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
14357
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14408
14358
|
let fetchResult;
|
|
14409
14359
|
try {
|
|
14410
14360
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14503,7 +14453,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14503
14453
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14504
14454
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14505
14455
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14506
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
14456
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14507
14457
|
let fetchResult;
|
|
14508
14458
|
try {
|
|
14509
14459
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14601,7 +14551,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14601
14551
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14602
14552
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14603
14553
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14604
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
14554
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14605
14555
|
let fetchResult;
|
|
14606
14556
|
try {
|
|
14607
14557
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14843,7 +14793,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14843
14793
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14844
14794
|
*/
|
|
14845
14795
|
static async fromJsonLd(json, options = {}) {
|
|
14846
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
14796
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14847
14797
|
try {
|
|
14848
14798
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
14849
14799
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14945,12 +14895,10 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14945
14895
|
return proxy;
|
|
14946
14896
|
}
|
|
14947
14897
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
14948
|
-
|
|
14949
|
-
return "CollectionPage " + inspect(proxy, options);
|
|
14898
|
+
return "CollectionPage " + inspect(this._getCustomInspectProxy(), options);
|
|
14950
14899
|
}
|
|
14951
14900
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
14952
|
-
|
|
14953
|
-
return "CollectionPage " + inspect(proxy, options);
|
|
14901
|
+
return "CollectionPage " + inspect(this._getCustomInspectProxy(), options);
|
|
14954
14902
|
}
|
|
14955
14903
|
};
|
|
14956
14904
|
/** Indicates that the `actor` has created the `object`.
|
|
@@ -15058,7 +15006,7 @@ var Create = class Create extends Activity {
|
|
|
15058
15006
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15059
15007
|
*/
|
|
15060
15008
|
static async fromJsonLd(json, options = {}) {
|
|
15061
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
15009
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15062
15010
|
try {
|
|
15063
15011
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
15064
15012
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15110,12 +15058,10 @@ var Create = class Create extends Activity {
|
|
|
15110
15058
|
return super._getCustomInspectProxy();
|
|
15111
15059
|
}
|
|
15112
15060
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
15113
|
-
|
|
15114
|
-
return "Create " + inspect(proxy, options);
|
|
15061
|
+
return "Create " + inspect(this._getCustomInspectProxy(), options);
|
|
15115
15062
|
}
|
|
15116
15063
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
15117
|
-
|
|
15118
|
-
return "Create " + inspect(proxy, options);
|
|
15064
|
+
return "Create " + inspect(this._getCustomInspectProxy(), options);
|
|
15119
15065
|
}
|
|
15120
15066
|
};
|
|
15121
15067
|
/** Indicates that the `actor` has deleted the `object`. If specified,
|
|
@@ -15220,7 +15166,7 @@ var Delete = class Delete extends Activity {
|
|
|
15220
15166
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15221
15167
|
*/
|
|
15222
15168
|
static async fromJsonLd(json, options = {}) {
|
|
15223
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
15169
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15224
15170
|
try {
|
|
15225
15171
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
15226
15172
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15272,12 +15218,10 @@ var Delete = class Delete extends Activity {
|
|
|
15272
15218
|
return super._getCustomInspectProxy();
|
|
15273
15219
|
}
|
|
15274
15220
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
15275
|
-
|
|
15276
|
-
return "Delete " + inspect(proxy, options);
|
|
15221
|
+
return "Delete " + inspect(this._getCustomInspectProxy(), options);
|
|
15277
15222
|
}
|
|
15278
15223
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
15279
|
-
|
|
15280
|
-
return "Delete " + inspect(proxy, options);
|
|
15224
|
+
return "Delete " + inspect(this._getCustomInspectProxy(), options);
|
|
15281
15225
|
}
|
|
15282
15226
|
};
|
|
15283
15227
|
/** Indicates that the `actor` dislikes the `object`.
|
|
@@ -15369,7 +15313,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
15369
15313
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15370
15314
|
*/
|
|
15371
15315
|
static async fromJsonLd(json, options = {}) {
|
|
15372
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
15316
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15373
15317
|
try {
|
|
15374
15318
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
15375
15319
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15421,12 +15365,10 @@ var Dislike = class Dislike extends Activity {
|
|
|
15421
15365
|
return super._getCustomInspectProxy();
|
|
15422
15366
|
}
|
|
15423
15367
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
15424
|
-
|
|
15425
|
-
return "Dislike " + inspect(proxy, options);
|
|
15368
|
+
return "Dislike " + inspect(this._getCustomInspectProxy(), options);
|
|
15426
15369
|
}
|
|
15427
15370
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
15428
|
-
|
|
15429
|
-
return "Dislike " + inspect(proxy, options);
|
|
15371
|
+
return "Dislike " + inspect(this._getCustomInspectProxy(), options);
|
|
15430
15372
|
}
|
|
15431
15373
|
};
|
|
15432
15374
|
/** Contents of {@link Actor}'s `endpoints`.
|
|
@@ -15714,7 +15656,7 @@ var Endpoints = class {
|
|
|
15714
15656
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15715
15657
|
*/
|
|
15716
15658
|
static async fromJsonLd(json, options = {}) {
|
|
15717
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
15659
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15718
15660
|
try {
|
|
15719
15661
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
15720
15662
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15754,42 +15696,42 @@ var Endpoints = class {
|
|
|
15754
15696
|
let _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl__array = values["https://www.w3.org/ns/activitystreams#proxyUrl"];
|
|
15755
15697
|
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
15698
|
if (v == null) continue;
|
|
15757
|
-
_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl.push(v["@id"].startsWith("at://
|
|
15699
|
+
_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
15700
|
}
|
|
15759
15701
|
instance.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl;
|
|
15760
15702
|
const _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = [];
|
|
15761
15703
|
let _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint__array = values["https://www.w3.org/ns/activitystreams#oauthAuthorizationEndpoint"];
|
|
15762
15704
|
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
15705
|
if (v == null) continue;
|
|
15764
|
-
_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint.push(v["@id"].startsWith("at://
|
|
15706
|
+
_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
15707
|
}
|
|
15766
15708
|
instance.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint;
|
|
15767
15709
|
const _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = [];
|
|
15768
15710
|
let _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint__array = values["https://www.w3.org/ns/activitystreams#oauthTokenEndpoint"];
|
|
15769
15711
|
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
15712
|
if (v == null) continue;
|
|
15771
|
-
_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint.push(v["@id"].startsWith("at://
|
|
15713
|
+
_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
15714
|
}
|
|
15773
15715
|
instance.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint;
|
|
15774
15716
|
const _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = [];
|
|
15775
15717
|
let _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey__array = values["https://www.w3.org/ns/activitystreams#provideClientKey"];
|
|
15776
15718
|
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
15719
|
if (v == null) continue;
|
|
15778
|
-
_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey.push(v["@id"].startsWith("at://
|
|
15720
|
+
_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
15721
|
}
|
|
15780
15722
|
instance.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey;
|
|
15781
15723
|
const _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = [];
|
|
15782
15724
|
let _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey__array = values["https://www.w3.org/ns/activitystreams#signClientKey"];
|
|
15783
15725
|
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
15726
|
if (v == null) continue;
|
|
15785
|
-
_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey.push(v["@id"].startsWith("at://
|
|
15727
|
+
_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
15728
|
}
|
|
15787
15729
|
instance.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey;
|
|
15788
15730
|
const _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = [];
|
|
15789
15731
|
let _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox__array = values["https://www.w3.org/ns/activitystreams#sharedInbox"];
|
|
15790
15732
|
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
15733
|
if (v == null) continue;
|
|
15792
|
-
_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox.push(v["@id"].startsWith("at://
|
|
15734
|
+
_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
15735
|
}
|
|
15794
15736
|
instance.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox;
|
|
15795
15737
|
if (!("_fromSubclass" in options) || !options._fromSubclass) try {
|
|
@@ -15838,12 +15780,10 @@ var Endpoints = class {
|
|
|
15838
15780
|
return proxy;
|
|
15839
15781
|
}
|
|
15840
15782
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
15841
|
-
|
|
15842
|
-
return "Endpoints " + inspect(proxy, options);
|
|
15783
|
+
return "Endpoints " + inspect(this._getCustomInspectProxy(), options);
|
|
15843
15784
|
}
|
|
15844
15785
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
15845
|
-
|
|
15846
|
-
return "Endpoints " + inspect(proxy, options);
|
|
15786
|
+
return "Endpoints " + inspect(this._getCustomInspectProxy(), options);
|
|
15847
15787
|
}
|
|
15848
15788
|
};
|
|
15849
15789
|
/** Represents any kind of event.
|
|
@@ -15938,7 +15878,7 @@ var Event = class Event extends Object$1 {
|
|
|
15938
15878
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15939
15879
|
*/
|
|
15940
15880
|
static async fromJsonLd(json, options = {}) {
|
|
15941
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
15881
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15942
15882
|
try {
|
|
15943
15883
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
15944
15884
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15990,12 +15930,10 @@ var Event = class Event extends Object$1 {
|
|
|
15990
15930
|
return super._getCustomInspectProxy();
|
|
15991
15931
|
}
|
|
15992
15932
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
15993
|
-
|
|
15994
|
-
return "Event " + inspect(proxy, options);
|
|
15933
|
+
return "Event " + inspect(this._getCustomInspectProxy(), options);
|
|
15995
15934
|
}
|
|
15996
15935
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
15997
|
-
|
|
15998
|
-
return "Event " + inspect(proxy, options);
|
|
15936
|
+
return "Event " + inspect(this._getCustomInspectProxy(), options);
|
|
15999
15937
|
}
|
|
16000
15938
|
};
|
|
16001
15939
|
/** Indicates that the `actor` is "flagging" the `object`. Flagging is defined
|
|
@@ -16085,7 +16023,7 @@ var Flag = class Flag extends Activity {
|
|
|
16085
16023
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16086
16024
|
*/
|
|
16087
16025
|
static async fromJsonLd(json, options = {}) {
|
|
16088
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
16026
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16089
16027
|
try {
|
|
16090
16028
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
16091
16029
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16137,12 +16075,10 @@ var Flag = class Flag extends Activity {
|
|
|
16137
16075
|
return super._getCustomInspectProxy();
|
|
16138
16076
|
}
|
|
16139
16077
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
16140
|
-
|
|
16141
|
-
return "Flag " + inspect(proxy, options);
|
|
16078
|
+
return "Flag " + inspect(this._getCustomInspectProxy(), options);
|
|
16142
16079
|
}
|
|
16143
16080
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
16144
|
-
|
|
16145
|
-
return "Flag " + inspect(proxy, options);
|
|
16081
|
+
return "Flag " + inspect(this._getCustomInspectProxy(), options);
|
|
16146
16082
|
}
|
|
16147
16083
|
};
|
|
16148
16084
|
/** Indicates that the `actor` is "following" the `object`. Following is defined
|
|
@@ -16236,7 +16172,7 @@ var Follow = class Follow extends Activity {
|
|
|
16236
16172
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16237
16173
|
*/
|
|
16238
16174
|
static async fromJsonLd(json, options = {}) {
|
|
16239
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
16175
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16240
16176
|
try {
|
|
16241
16177
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
16242
16178
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16288,12 +16224,10 @@ var Follow = class Follow extends Activity {
|
|
|
16288
16224
|
return super._getCustomInspectProxy();
|
|
16289
16225
|
}
|
|
16290
16226
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
16291
|
-
|
|
16292
|
-
return "Follow " + inspect(proxy, options);
|
|
16227
|
+
return "Follow " + inspect(this._getCustomInspectProxy(), options);
|
|
16293
16228
|
}
|
|
16294
16229
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
16295
|
-
|
|
16296
|
-
return "Follow " + inspect(proxy, options);
|
|
16230
|
+
return "Follow " + inspect(this._getCustomInspectProxy(), options);
|
|
16297
16231
|
}
|
|
16298
16232
|
};
|
|
16299
16233
|
/** Represents a formal or informal collective of Actors.
|
|
@@ -16530,7 +16464,7 @@ var Group = class Group extends Object$1 {
|
|
|
16530
16464
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16531
16465
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16532
16466
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16533
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16467
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16534
16468
|
let fetchResult;
|
|
16535
16469
|
try {
|
|
16536
16470
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16663,7 +16597,7 @@ var Group = class Group extends Object$1 {
|
|
|
16663
16597
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16664
16598
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16665
16599
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16666
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16600
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16667
16601
|
let fetchResult;
|
|
16668
16602
|
try {
|
|
16669
16603
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16814,7 +16748,7 @@ var Group = class Group extends Object$1 {
|
|
|
16814
16748
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16815
16749
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16816
16750
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16817
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16751
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16818
16752
|
let fetchResult;
|
|
16819
16753
|
try {
|
|
16820
16754
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16933,7 +16867,7 @@ var Group = class Group extends Object$1 {
|
|
|
16933
16867
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16934
16868
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16935
16869
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16936
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16870
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16937
16871
|
let fetchResult;
|
|
16938
16872
|
try {
|
|
16939
16873
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17049,7 +16983,7 @@ var Group = class Group extends Object$1 {
|
|
|
17049
16983
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17050
16984
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17051
16985
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17052
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16986
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17053
16987
|
let fetchResult;
|
|
17054
16988
|
try {
|
|
17055
16989
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17151,7 +17085,7 @@ var Group = class Group extends Object$1 {
|
|
|
17151
17085
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17152
17086
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17153
17087
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17154
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17088
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17155
17089
|
let fetchResult;
|
|
17156
17090
|
try {
|
|
17157
17091
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17256,7 +17190,7 @@ var Group = class Group extends Object$1 {
|
|
|
17256
17190
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17257
17191
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17258
17192
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17259
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17193
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17260
17194
|
let fetchResult;
|
|
17261
17195
|
try {
|
|
17262
17196
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17359,7 +17293,7 @@ var Group = class Group extends Object$1 {
|
|
|
17359
17293
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17360
17294
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17361
17295
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17362
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17296
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17363
17297
|
let fetchResult;
|
|
17364
17298
|
try {
|
|
17365
17299
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17460,7 +17394,7 @@ var Group = class Group extends Object$1 {
|
|
|
17460
17394
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17461
17395
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17462
17396
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17463
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17397
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17464
17398
|
let fetchResult;
|
|
17465
17399
|
try {
|
|
17466
17400
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17561,7 +17495,7 @@ var Group = class Group extends Object$1 {
|
|
|
17561
17495
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17562
17496
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17563
17497
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17564
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17498
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17565
17499
|
let fetchResult;
|
|
17566
17500
|
try {
|
|
17567
17501
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17704,7 +17638,7 @@ var Group = class Group extends Object$1 {
|
|
|
17704
17638
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17705
17639
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17706
17640
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17707
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17641
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17708
17642
|
let fetchResult;
|
|
17709
17643
|
try {
|
|
17710
17644
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17844,7 +17778,7 @@ var Group = class Group extends Object$1 {
|
|
|
17844
17778
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17845
17779
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17846
17780
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17847
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17781
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17848
17782
|
let fetchResult;
|
|
17849
17783
|
try {
|
|
17850
17784
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18025,7 +17959,7 @@ var Group = class Group extends Object$1 {
|
|
|
18025
17959
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18026
17960
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18027
17961
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18028
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17962
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18029
17963
|
let fetchResult;
|
|
18030
17964
|
try {
|
|
18031
17965
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18679,7 +18613,7 @@ var Group = class Group extends Object$1 {
|
|
|
18679
18613
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18680
18614
|
*/
|
|
18681
18615
|
static async fromJsonLd(json, options = {}) {
|
|
18682
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
18616
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18683
18617
|
try {
|
|
18684
18618
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
18685
18619
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19063,12 +18997,10 @@ var Group = class Group extends Object$1 {
|
|
|
19063
18997
|
return proxy;
|
|
19064
18998
|
}
|
|
19065
18999
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
19066
|
-
|
|
19067
|
-
return "Group " + inspect(proxy, options);
|
|
19000
|
+
return "Group " + inspect(this._getCustomInspectProxy(), options);
|
|
19068
19001
|
}
|
|
19069
19002
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
19070
|
-
|
|
19071
|
-
return "Group " + inspect(proxy, options);
|
|
19003
|
+
return "Group " + inspect(this._getCustomInspectProxy(), options);
|
|
19072
19004
|
}
|
|
19073
19005
|
};
|
|
19074
19006
|
/** A Link is an indirect, qualified reference to a resource identified by a URL.
|
|
@@ -19290,7 +19222,7 @@ var Link = class Link {
|
|
|
19290
19222
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19291
19223
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19292
19224
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19293
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
19225
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19294
19226
|
let fetchResult;
|
|
19295
19227
|
try {
|
|
19296
19228
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19562,7 +19494,7 @@ var Link = class Link {
|
|
|
19562
19494
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19563
19495
|
*/
|
|
19564
19496
|
static async fromJsonLd(json, options = {}) {
|
|
19565
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
19497
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19566
19498
|
try {
|
|
19567
19499
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
19568
19500
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19604,7 +19536,7 @@ var Link = class Link {
|
|
|
19604
19536
|
let _pVjLsybKQdmkjuU7MHjiVmNnuj7_href__array = values["https://www.w3.org/ns/activitystreams#href"];
|
|
19605
19537
|
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
19538
|
if (v == null) continue;
|
|
19607
|
-
_pVjLsybKQdmkjuU7MHjiVmNnuj7_href.push(v["@id"].startsWith("at://
|
|
19539
|
+
_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
19540
|
}
|
|
19609
19541
|
instance.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = _pVjLsybKQdmkjuU7MHjiVmNnuj7_href;
|
|
19610
19542
|
const _2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = [];
|
|
@@ -19782,12 +19714,10 @@ var Link = class Link {
|
|
|
19782
19714
|
return proxy;
|
|
19783
19715
|
}
|
|
19784
19716
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
19785
|
-
|
|
19786
|
-
return "Link " + inspect(proxy, options);
|
|
19717
|
+
return "Link " + inspect(this._getCustomInspectProxy(), options);
|
|
19787
19718
|
}
|
|
19788
19719
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
19789
|
-
|
|
19790
|
-
return "Link " + inspect(proxy, options);
|
|
19720
|
+
return "Link " + inspect(this._getCustomInspectProxy(), options);
|
|
19791
19721
|
}
|
|
19792
19722
|
};
|
|
19793
19723
|
/** A specialized {@link Link} that represents an #hashtag.
|
|
@@ -19881,7 +19811,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
19881
19811
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19882
19812
|
*/
|
|
19883
19813
|
static async fromJsonLd(json, options = {}) {
|
|
19884
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
19814
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19885
19815
|
try {
|
|
19886
19816
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
19887
19817
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19933,12 +19863,10 @@ var Hashtag = class Hashtag extends Link {
|
|
|
19933
19863
|
return super._getCustomInspectProxy();
|
|
19934
19864
|
}
|
|
19935
19865
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
19936
|
-
|
|
19937
|
-
return "Hashtag " + inspect(proxy, options);
|
|
19866
|
+
return "Hashtag " + inspect(this._getCustomInspectProxy(), options);
|
|
19938
19867
|
}
|
|
19939
19868
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
19940
|
-
|
|
19941
|
-
return "Hashtag " + inspect(proxy, options);
|
|
19869
|
+
return "Hashtag " + inspect(this._getCustomInspectProxy(), options);
|
|
19942
19870
|
}
|
|
19943
19871
|
};
|
|
19944
19872
|
/** An image document of any kind.
|
|
@@ -20033,7 +19961,7 @@ var Image = class Image extends Document {
|
|
|
20033
19961
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20034
19962
|
*/
|
|
20035
19963
|
static async fromJsonLd(json, options = {}) {
|
|
20036
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
19964
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20037
19965
|
try {
|
|
20038
19966
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
20039
19967
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20085,12 +20013,10 @@ var Image = class Image extends Document {
|
|
|
20085
20013
|
return super._getCustomInspectProxy();
|
|
20086
20014
|
}
|
|
20087
20015
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
20088
|
-
|
|
20089
|
-
return "Image " + inspect(proxy, options);
|
|
20016
|
+
return "Image " + inspect(this._getCustomInspectProxy(), options);
|
|
20090
20017
|
}
|
|
20091
20018
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
20092
|
-
|
|
20093
|
-
return "Image " + inspect(proxy, options);
|
|
20019
|
+
return "Image " + inspect(this._getCustomInspectProxy(), options);
|
|
20094
20020
|
}
|
|
20095
20021
|
};
|
|
20096
20022
|
/** Indicates that the actor is offering the object.
|
|
@@ -20180,7 +20106,7 @@ var Offer = class Offer extends Activity {
|
|
|
20180
20106
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20181
20107
|
*/
|
|
20182
20108
|
static async fromJsonLd(json, options = {}) {
|
|
20183
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20109
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20184
20110
|
try {
|
|
20185
20111
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
20186
20112
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20233,12 +20159,10 @@ var Offer = class Offer extends Activity {
|
|
|
20233
20159
|
return super._getCustomInspectProxy();
|
|
20234
20160
|
}
|
|
20235
20161
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
20236
|
-
|
|
20237
|
-
return "Offer " + inspect(proxy, options);
|
|
20162
|
+
return "Offer " + inspect(this._getCustomInspectProxy(), options);
|
|
20238
20163
|
}
|
|
20239
20164
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
20240
|
-
|
|
20241
|
-
return "Offer " + inspect(proxy, options);
|
|
20165
|
+
return "Offer " + inspect(this._getCustomInspectProxy(), options);
|
|
20242
20166
|
}
|
|
20243
20167
|
};
|
|
20244
20168
|
/** A specialization of `Offer` in which the `actor` is extending an invitation
|
|
@@ -20327,7 +20251,7 @@ var Invite = class Invite extends Offer {
|
|
|
20327
20251
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20328
20252
|
*/
|
|
20329
20253
|
static async fromJsonLd(json, options = {}) {
|
|
20330
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20254
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20331
20255
|
try {
|
|
20332
20256
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
20333
20257
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20379,12 +20303,10 @@ var Invite = class Invite extends Offer {
|
|
|
20379
20303
|
return super._getCustomInspectProxy();
|
|
20380
20304
|
}
|
|
20381
20305
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
20382
|
-
|
|
20383
|
-
return "Invite " + inspect(proxy, options);
|
|
20306
|
+
return "Invite " + inspect(this._getCustomInspectProxy(), options);
|
|
20384
20307
|
}
|
|
20385
20308
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
20386
|
-
|
|
20387
|
-
return "Invite " + inspect(proxy, options);
|
|
20309
|
+
return "Invite " + inspect(this._getCustomInspectProxy(), options);
|
|
20388
20310
|
}
|
|
20389
20311
|
};
|
|
20390
20312
|
/** Indicates that the `actor` has joined the `object`.
|
|
@@ -20473,7 +20395,7 @@ var Join = class Join extends Activity {
|
|
|
20473
20395
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20474
20396
|
*/
|
|
20475
20397
|
static async fromJsonLd(json, options = {}) {
|
|
20476
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20398
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20477
20399
|
try {
|
|
20478
20400
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
20479
20401
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20525,12 +20447,10 @@ var Join = class Join extends Activity {
|
|
|
20525
20447
|
return super._getCustomInspectProxy();
|
|
20526
20448
|
}
|
|
20527
20449
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
20528
|
-
|
|
20529
|
-
return "Join " + inspect(proxy, options);
|
|
20450
|
+
return "Join " + inspect(this._getCustomInspectProxy(), options);
|
|
20530
20451
|
}
|
|
20531
20452
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
20532
|
-
|
|
20533
|
-
return "Join " + inspect(proxy, options);
|
|
20453
|
+
return "Join " + inspect(this._getCustomInspectProxy(), options);
|
|
20534
20454
|
}
|
|
20535
20455
|
};
|
|
20536
20456
|
/** Indicates that the `actor` has left the `object`.
|
|
@@ -20619,7 +20539,7 @@ var Leave = class Leave extends Activity {
|
|
|
20619
20539
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20620
20540
|
*/
|
|
20621
20541
|
static async fromJsonLd(json, options = {}) {
|
|
20622
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20542
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20623
20543
|
try {
|
|
20624
20544
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
20625
20545
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20671,12 +20591,10 @@ var Leave = class Leave extends Activity {
|
|
|
20671
20591
|
return super._getCustomInspectProxy();
|
|
20672
20592
|
}
|
|
20673
20593
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
20674
|
-
|
|
20675
|
-
return "Leave " + inspect(proxy, options);
|
|
20594
|
+
return "Leave " + inspect(this._getCustomInspectProxy(), options);
|
|
20676
20595
|
}
|
|
20677
20596
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
20678
|
-
|
|
20679
|
-
return "Leave " + inspect(proxy, options);
|
|
20597
|
+
return "Leave " + inspect(this._getCustomInspectProxy(), options);
|
|
20680
20598
|
}
|
|
20681
20599
|
};
|
|
20682
20600
|
/** Indicates that the `actor` likes, recommends or endorses the `object`.
|
|
@@ -20769,7 +20687,7 @@ var Like = class Like extends Activity {
|
|
|
20769
20687
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20770
20688
|
*/
|
|
20771
20689
|
static async fromJsonLd(json, options = {}) {
|
|
20772
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20690
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20773
20691
|
try {
|
|
20774
20692
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
20775
20693
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20821,12 +20739,10 @@ var Like = class Like extends Activity {
|
|
|
20821
20739
|
return super._getCustomInspectProxy();
|
|
20822
20740
|
}
|
|
20823
20741
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
20824
|
-
|
|
20825
|
-
return "Like " + inspect(proxy, options);
|
|
20742
|
+
return "Like " + inspect(this._getCustomInspectProxy(), options);
|
|
20826
20743
|
}
|
|
20827
20744
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
20828
|
-
|
|
20829
|
-
return "Like " + inspect(proxy, options);
|
|
20745
|
+
return "Like " + inspect(this._getCustomInspectProxy(), options);
|
|
20830
20746
|
}
|
|
20831
20747
|
};
|
|
20832
20748
|
/** Indicates that the `actor` has listened to the `object`.
|
|
@@ -20914,7 +20830,7 @@ var Listen = class Listen extends Activity {
|
|
|
20914
20830
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20915
20831
|
*/
|
|
20916
20832
|
static async fromJsonLd(json, options = {}) {
|
|
20917
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20833
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20918
20834
|
try {
|
|
20919
20835
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
20920
20836
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20966,12 +20882,10 @@ var Listen = class Listen extends Activity {
|
|
|
20966
20882
|
return super._getCustomInspectProxy();
|
|
20967
20883
|
}
|
|
20968
20884
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
20969
|
-
|
|
20970
|
-
return "Listen " + inspect(proxy, options);
|
|
20885
|
+
return "Listen " + inspect(this._getCustomInspectProxy(), options);
|
|
20971
20886
|
}
|
|
20972
20887
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
20973
|
-
|
|
20974
|
-
return "Listen " + inspect(proxy, options);
|
|
20888
|
+
return "Listen " + inspect(this._getCustomInspectProxy(), options);
|
|
20975
20889
|
}
|
|
20976
20890
|
};
|
|
20977
20891
|
/** A specialized {@link Link} that represents an @mention.
|
|
@@ -21063,7 +20977,7 @@ var Mention = class Mention extends Link {
|
|
|
21063
20977
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21064
20978
|
*/
|
|
21065
20979
|
static async fromJsonLd(json, options = {}) {
|
|
21066
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20980
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21067
20981
|
try {
|
|
21068
20982
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
21069
20983
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21115,12 +21029,10 @@ var Mention = class Mention extends Link {
|
|
|
21115
21029
|
return super._getCustomInspectProxy();
|
|
21116
21030
|
}
|
|
21117
21031
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
21118
|
-
|
|
21119
|
-
return "Mention " + inspect(proxy, options);
|
|
21032
|
+
return "Mention " + inspect(this._getCustomInspectProxy(), options);
|
|
21120
21033
|
}
|
|
21121
21034
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
21122
|
-
|
|
21123
|
-
return "Mention " + inspect(proxy, options);
|
|
21035
|
+
return "Mention " + inspect(this._getCustomInspectProxy(), options);
|
|
21124
21036
|
}
|
|
21125
21037
|
};
|
|
21126
21038
|
/** Indicates that the `actor` has moved `object` from `origin` to `target`.
|
|
@@ -21210,7 +21122,7 @@ var Move = class Move extends Activity {
|
|
|
21210
21122
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21211
21123
|
*/
|
|
21212
21124
|
static async fromJsonLd(json, options = {}) {
|
|
21213
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
21125
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21214
21126
|
try {
|
|
21215
21127
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
21216
21128
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21262,12 +21174,10 @@ var Move = class Move extends Activity {
|
|
|
21262
21174
|
return super._getCustomInspectProxy();
|
|
21263
21175
|
}
|
|
21264
21176
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
21265
|
-
|
|
21266
|
-
return "Move " + inspect(proxy, options);
|
|
21177
|
+
return "Move " + inspect(this._getCustomInspectProxy(), options);
|
|
21267
21178
|
}
|
|
21268
21179
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
21269
|
-
|
|
21270
|
-
return "Move " + inspect(proxy, options);
|
|
21180
|
+
return "Move " + inspect(this._getCustomInspectProxy(), options);
|
|
21271
21181
|
}
|
|
21272
21182
|
};
|
|
21273
21183
|
/** Represents a short written work typically less than a single paragraph in
|
|
@@ -21444,7 +21354,7 @@ var Note = class Note extends Object$1 {
|
|
|
21444
21354
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21445
21355
|
*/
|
|
21446
21356
|
static async fromJsonLd(json, options = {}) {
|
|
21447
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
21357
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21448
21358
|
try {
|
|
21449
21359
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
21450
21360
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21511,12 +21421,10 @@ var Note = class Note extends Object$1 {
|
|
|
21511
21421
|
return proxy;
|
|
21512
21422
|
}
|
|
21513
21423
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
21514
|
-
|
|
21515
|
-
return "Note " + inspect(proxy, options);
|
|
21424
|
+
return "Note " + inspect(this._getCustomInspectProxy(), options);
|
|
21516
21425
|
}
|
|
21517
21426
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
21518
|
-
|
|
21519
|
-
return "Note " + inspect(proxy, options);
|
|
21427
|
+
return "Note " + inspect(this._getCustomInspectProxy(), options);
|
|
21520
21428
|
}
|
|
21521
21429
|
};
|
|
21522
21430
|
/** A subtype of {@link Collection} in which members of the logical collection
|
|
@@ -21564,7 +21472,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
21564
21472
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21565
21473
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21566
21474
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21567
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
21475
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21568
21476
|
let fetchResult;
|
|
21569
21477
|
try {
|
|
21570
21478
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21792,7 +21700,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
21792
21700
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21793
21701
|
*/
|
|
21794
21702
|
static async fromJsonLd(json, options = {}) {
|
|
21795
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
21703
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21796
21704
|
try {
|
|
21797
21705
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
21798
21706
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21923,12 +21831,10 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
21923
21831
|
return proxy;
|
|
21924
21832
|
}
|
|
21925
21833
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
21926
|
-
|
|
21927
|
-
return "OrderedCollection " + inspect(proxy, options);
|
|
21834
|
+
return "OrderedCollection " + inspect(this._getCustomInspectProxy(), options);
|
|
21928
21835
|
}
|
|
21929
21836
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
21930
|
-
|
|
21931
|
-
return "OrderedCollection " + inspect(proxy, options);
|
|
21837
|
+
return "OrderedCollection " + inspect(this._getCustomInspectProxy(), options);
|
|
21932
21838
|
}
|
|
21933
21839
|
};
|
|
21934
21840
|
/** Used to represent ordered subsets of items from an `OrderedCollection`.
|
|
@@ -21983,7 +21889,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
21983
21889
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21984
21890
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21985
21891
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21986
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
21892
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21987
21893
|
let fetchResult;
|
|
21988
21894
|
try {
|
|
21989
21895
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22234,7 +22140,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
22234
22140
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22235
22141
|
*/
|
|
22236
22142
|
static async fromJsonLd(json, options = {}) {
|
|
22237
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
22143
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22238
22144
|
try {
|
|
22239
22145
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
22240
22146
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22377,12 +22283,10 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
22377
22283
|
return proxy;
|
|
22378
22284
|
}
|
|
22379
22285
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
22380
|
-
|
|
22381
|
-
return "OrderedCollectionPage " + inspect(proxy, options);
|
|
22286
|
+
return "OrderedCollectionPage " + inspect(this._getCustomInspectProxy(), options);
|
|
22382
22287
|
}
|
|
22383
22288
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
22384
|
-
|
|
22385
|
-
return "OrderedCollectionPage " + inspect(proxy, options);
|
|
22289
|
+
return "OrderedCollectionPage " + inspect(this._getCustomInspectProxy(), options);
|
|
22386
22290
|
}
|
|
22387
22291
|
};
|
|
22388
22292
|
/** Represents an organization.
|
|
@@ -22619,7 +22523,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22619
22523
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22620
22524
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22621
22525
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22622
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
22526
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22623
22527
|
let fetchResult;
|
|
22624
22528
|
try {
|
|
22625
22529
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22752,7 +22656,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22752
22656
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22753
22657
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22754
22658
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22755
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
22659
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22756
22660
|
let fetchResult;
|
|
22757
22661
|
try {
|
|
22758
22662
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22903,7 +22807,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22903
22807
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22904
22808
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22905
22809
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22906
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
22810
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22907
22811
|
let fetchResult;
|
|
22908
22812
|
try {
|
|
22909
22813
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23022,7 +22926,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23022
22926
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23023
22927
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23024
22928
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23025
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
22929
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23026
22930
|
let fetchResult;
|
|
23027
22931
|
try {
|
|
23028
22932
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23138,7 +23042,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23138
23042
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23139
23043
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23140
23044
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23141
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23045
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23142
23046
|
let fetchResult;
|
|
23143
23047
|
try {
|
|
23144
23048
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23240,7 +23144,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23240
23144
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23241
23145
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23242
23146
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23243
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23147
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23244
23148
|
let fetchResult;
|
|
23245
23149
|
try {
|
|
23246
23150
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23345,7 +23249,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23345
23249
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23346
23250
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23347
23251
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23348
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23252
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23349
23253
|
let fetchResult;
|
|
23350
23254
|
try {
|
|
23351
23255
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23448,7 +23352,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23448
23352
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23449
23353
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23450
23354
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23451
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23355
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23452
23356
|
let fetchResult;
|
|
23453
23357
|
try {
|
|
23454
23358
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23549,7 +23453,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23549
23453
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23550
23454
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23551
23455
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23552
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23456
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23553
23457
|
let fetchResult;
|
|
23554
23458
|
try {
|
|
23555
23459
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23650,7 +23554,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23650
23554
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23651
23555
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23652
23556
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23653
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23557
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23654
23558
|
let fetchResult;
|
|
23655
23559
|
try {
|
|
23656
23560
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23793,7 +23697,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23793
23697
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23794
23698
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23795
23699
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23796
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23700
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23797
23701
|
let fetchResult;
|
|
23798
23702
|
try {
|
|
23799
23703
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23933,7 +23837,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23933
23837
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23934
23838
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23935
23839
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23936
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23840
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23937
23841
|
let fetchResult;
|
|
23938
23842
|
try {
|
|
23939
23843
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24114,7 +24018,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
24114
24018
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24115
24019
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24116
24020
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24117
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
24021
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24118
24022
|
let fetchResult;
|
|
24119
24023
|
try {
|
|
24120
24024
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24768,7 +24672,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
24768
24672
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24769
24673
|
*/
|
|
24770
24674
|
static async fromJsonLd(json, options = {}) {
|
|
24771
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
24675
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24772
24676
|
try {
|
|
24773
24677
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
24774
24678
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25152,12 +25056,10 @@ var Organization = class Organization extends Object$1 {
|
|
|
25152
25056
|
return proxy;
|
|
25153
25057
|
}
|
|
25154
25058
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
25155
|
-
|
|
25156
|
-
return "Organization " + inspect(proxy, options);
|
|
25059
|
+
return "Organization " + inspect(this._getCustomInspectProxy(), options);
|
|
25157
25060
|
}
|
|
25158
25061
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
25159
|
-
|
|
25160
|
-
return "Organization " + inspect(proxy, options);
|
|
25062
|
+
return "Organization " + inspect(this._getCustomInspectProxy(), options);
|
|
25161
25063
|
}
|
|
25162
25064
|
};
|
|
25163
25065
|
/** Represents a Web Page.
|
|
@@ -25252,7 +25154,7 @@ var Page = class Page extends Document {
|
|
|
25252
25154
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25253
25155
|
*/
|
|
25254
25156
|
static async fromJsonLd(json, options = {}) {
|
|
25255
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
25157
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25256
25158
|
try {
|
|
25257
25159
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
25258
25160
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25304,12 +25206,10 @@ var Page = class Page extends Document {
|
|
|
25304
25206
|
return super._getCustomInspectProxy();
|
|
25305
25207
|
}
|
|
25306
25208
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
25307
|
-
|
|
25308
|
-
return "Page " + inspect(proxy, options);
|
|
25209
|
+
return "Page " + inspect(this._getCustomInspectProxy(), options);
|
|
25309
25210
|
}
|
|
25310
25211
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
25311
|
-
|
|
25312
|
-
return "Page " + inspect(proxy, options);
|
|
25212
|
+
return "Page " + inspect(this._getCustomInspectProxy(), options);
|
|
25313
25213
|
}
|
|
25314
25214
|
};
|
|
25315
25215
|
/** Represents an individual person.
|
|
@@ -25546,7 +25446,7 @@ var Person = class Person extends Object$1 {
|
|
|
25546
25446
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25547
25447
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25548
25448
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25549
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25449
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25550
25450
|
let fetchResult;
|
|
25551
25451
|
try {
|
|
25552
25452
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25679,7 +25579,7 @@ var Person = class Person extends Object$1 {
|
|
|
25679
25579
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25680
25580
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25681
25581
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25682
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25582
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25683
25583
|
let fetchResult;
|
|
25684
25584
|
try {
|
|
25685
25585
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25830,7 +25730,7 @@ var Person = class Person extends Object$1 {
|
|
|
25830
25730
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25831
25731
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25832
25732
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25833
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25733
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25834
25734
|
let fetchResult;
|
|
25835
25735
|
try {
|
|
25836
25736
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25949,7 +25849,7 @@ var Person = class Person extends Object$1 {
|
|
|
25949
25849
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25950
25850
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25951
25851
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25952
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25852
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25953
25853
|
let fetchResult;
|
|
25954
25854
|
try {
|
|
25955
25855
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26065,7 +25965,7 @@ var Person = class Person extends Object$1 {
|
|
|
26065
25965
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26066
25966
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26067
25967
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26068
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25968
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26069
25969
|
let fetchResult;
|
|
26070
25970
|
try {
|
|
26071
25971
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26167,7 +26067,7 @@ var Person = class Person extends Object$1 {
|
|
|
26167
26067
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26168
26068
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26169
26069
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26170
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26070
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26171
26071
|
let fetchResult;
|
|
26172
26072
|
try {
|
|
26173
26073
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26272,7 +26172,7 @@ var Person = class Person extends Object$1 {
|
|
|
26272
26172
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26273
26173
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26274
26174
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26275
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26175
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26276
26176
|
let fetchResult;
|
|
26277
26177
|
try {
|
|
26278
26178
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26375,7 +26275,7 @@ var Person = class Person extends Object$1 {
|
|
|
26375
26275
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26376
26276
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26377
26277
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26378
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26278
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26379
26279
|
let fetchResult;
|
|
26380
26280
|
try {
|
|
26381
26281
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26476,7 +26376,7 @@ var Person = class Person extends Object$1 {
|
|
|
26476
26376
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26477
26377
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26478
26378
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26479
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26379
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26480
26380
|
let fetchResult;
|
|
26481
26381
|
try {
|
|
26482
26382
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26577,7 +26477,7 @@ var Person = class Person extends Object$1 {
|
|
|
26577
26477
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26578
26478
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26579
26479
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26580
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26480
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26581
26481
|
let fetchResult;
|
|
26582
26482
|
try {
|
|
26583
26483
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26720,7 +26620,7 @@ var Person = class Person extends Object$1 {
|
|
|
26720
26620
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26721
26621
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26722
26622
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26723
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26623
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26724
26624
|
let fetchResult;
|
|
26725
26625
|
try {
|
|
26726
26626
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26860,7 +26760,7 @@ var Person = class Person extends Object$1 {
|
|
|
26860
26760
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26861
26761
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26862
26762
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26863
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26763
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26864
26764
|
let fetchResult;
|
|
26865
26765
|
try {
|
|
26866
26766
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27041,7 +26941,7 @@ var Person = class Person extends Object$1 {
|
|
|
27041
26941
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27042
26942
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27043
26943
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27044
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26944
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27045
26945
|
let fetchResult;
|
|
27046
26946
|
try {
|
|
27047
26947
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27695,7 +27595,7 @@ var Person = class Person extends Object$1 {
|
|
|
27695
27595
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27696
27596
|
*/
|
|
27697
27597
|
static async fromJsonLd(json, options = {}) {
|
|
27698
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
27598
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27699
27599
|
try {
|
|
27700
27600
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
27701
27601
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28079,12 +27979,10 @@ var Person = class Person extends Object$1 {
|
|
|
28079
27979
|
return proxy;
|
|
28080
27980
|
}
|
|
28081
27981
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
28082
|
-
|
|
28083
|
-
return "Person " + inspect(proxy, options);
|
|
27982
|
+
return "Person " + inspect(this._getCustomInspectProxy(), options);
|
|
28084
27983
|
}
|
|
28085
27984
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
28086
|
-
|
|
28087
|
-
return "Person " + inspect(proxy, options);
|
|
27985
|
+
return "Person " + inspect(this._getCustomInspectProxy(), options);
|
|
28088
27986
|
}
|
|
28089
27987
|
};
|
|
28090
27988
|
/** Represents a logical or physical location. See [5.3 Representing
|
|
@@ -28356,7 +28254,7 @@ var Place = class Place extends Object$1 {
|
|
|
28356
28254
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28357
28255
|
*/
|
|
28358
28256
|
static async fromJsonLd(json, options = {}) {
|
|
28359
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
28257
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28360
28258
|
try {
|
|
28361
28259
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
28362
28260
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28436,7 +28334,7 @@ var Place = class Place extends Object$1 {
|
|
|
28436
28334
|
let _oKrwxU4V8wiKhMW1QEYQibcJh8c_units__array = values["https://www.w3.org/ns/activitystreams#units"];
|
|
28437
28335
|
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
28336
|
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://
|
|
28337
|
+
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
28338
|
if (typeof decoded === "undefined") continue;
|
|
28441
28339
|
_oKrwxU4V8wiKhMW1QEYQibcJh8c_units.push(decoded);
|
|
28442
28340
|
}
|
|
@@ -28483,12 +28381,10 @@ var Place = class Place extends Object$1 {
|
|
|
28483
28381
|
return proxy;
|
|
28484
28382
|
}
|
|
28485
28383
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
28486
|
-
|
|
28487
|
-
return "Place " + inspect(proxy, options);
|
|
28384
|
+
return "Place " + inspect(this._getCustomInspectProxy(), options);
|
|
28488
28385
|
}
|
|
28489
28386
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
28490
|
-
|
|
28491
|
-
return "Place " + inspect(proxy, options);
|
|
28387
|
+
return "Place " + inspect(this._getCustomInspectProxy(), options);
|
|
28492
28388
|
}
|
|
28493
28389
|
};
|
|
28494
28390
|
/** A {@link Profile} is a content object that describes another {@link Object},
|
|
@@ -28539,7 +28435,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
28539
28435
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28540
28436
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28541
28437
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28542
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
28438
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28543
28439
|
let fetchResult;
|
|
28544
28440
|
try {
|
|
28545
28441
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28710,7 +28606,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
28710
28606
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28711
28607
|
*/
|
|
28712
28608
|
static async fromJsonLd(json, options = {}) {
|
|
28713
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
28609
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28714
28610
|
try {
|
|
28715
28611
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
28716
28612
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28779,12 +28675,10 @@ var Profile = class Profile extends Object$1 {
|
|
|
28779
28675
|
return proxy;
|
|
28780
28676
|
}
|
|
28781
28677
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
28782
|
-
|
|
28783
|
-
return "Profile " + inspect(proxy, options);
|
|
28678
|
+
return "Profile " + inspect(this._getCustomInspectProxy(), options);
|
|
28784
28679
|
}
|
|
28785
28680
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
28786
|
-
|
|
28787
|
-
return "Profile " + inspect(proxy, options);
|
|
28681
|
+
return "Profile " + inspect(this._getCustomInspectProxy(), options);
|
|
28788
28682
|
}
|
|
28789
28683
|
};
|
|
28790
28684
|
/** Represents a question being asked. Question objects are an extension of
|
|
@@ -28862,7 +28756,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
28862
28756
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28863
28757
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28864
28758
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28865
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
28759
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28866
28760
|
let fetchResult;
|
|
28867
28761
|
try {
|
|
28868
28762
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28965,7 +28859,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
28965
28859
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28966
28860
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28967
28861
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28968
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
28862
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28969
28863
|
let fetchResult;
|
|
28970
28864
|
try {
|
|
28971
28865
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29209,7 +29103,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
29209
29103
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29210
29104
|
*/
|
|
29211
29105
|
static async fromJsonLd(json, options = {}) {
|
|
29212
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
29106
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29213
29107
|
try {
|
|
29214
29108
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
29215
29109
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29334,12 +29228,10 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
29334
29228
|
return proxy;
|
|
29335
29229
|
}
|
|
29336
29230
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
29337
|
-
|
|
29338
|
-
return "Question " + inspect(proxy, options);
|
|
29231
|
+
return "Question " + inspect(this._getCustomInspectProxy(), options);
|
|
29339
29232
|
}
|
|
29340
29233
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
29341
|
-
|
|
29342
|
-
return "Question " + inspect(proxy, options);
|
|
29234
|
+
return "Question " + inspect(this._getCustomInspectProxy(), options);
|
|
29343
29235
|
}
|
|
29344
29236
|
};
|
|
29345
29237
|
/** Indicates that the `actor` has read the `object`.
|
|
@@ -29427,7 +29319,7 @@ var Read = class Read extends Activity {
|
|
|
29427
29319
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29428
29320
|
*/
|
|
29429
29321
|
static async fromJsonLd(json, options = {}) {
|
|
29430
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
29322
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29431
29323
|
try {
|
|
29432
29324
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
29433
29325
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29479,12 +29371,10 @@ var Read = class Read extends Activity {
|
|
|
29479
29371
|
return super._getCustomInspectProxy();
|
|
29480
29372
|
}
|
|
29481
29373
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
29482
|
-
|
|
29483
|
-
return "Read " + inspect(proxy, options);
|
|
29374
|
+
return "Read " + inspect(this._getCustomInspectProxy(), options);
|
|
29484
29375
|
}
|
|
29485
29376
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
29486
|
-
|
|
29487
|
-
return "Read " + inspect(proxy, options);
|
|
29377
|
+
return "Read " + inspect(this._getCustomInspectProxy(), options);
|
|
29488
29378
|
}
|
|
29489
29379
|
};
|
|
29490
29380
|
/** Indicates that the `actor` is rejecting the `object`. The `target` and
|
|
@@ -29573,7 +29463,7 @@ var Reject = class Reject extends Activity {
|
|
|
29573
29463
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29574
29464
|
*/
|
|
29575
29465
|
static async fromJsonLd(json, options = {}) {
|
|
29576
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
29466
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29577
29467
|
try {
|
|
29578
29468
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
29579
29469
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29626,12 +29516,10 @@ var Reject = class Reject extends Activity {
|
|
|
29626
29516
|
return super._getCustomInspectProxy();
|
|
29627
29517
|
}
|
|
29628
29518
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
29629
|
-
|
|
29630
|
-
return "Reject " + inspect(proxy, options);
|
|
29519
|
+
return "Reject " + inspect(this._getCustomInspectProxy(), options);
|
|
29631
29520
|
}
|
|
29632
29521
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
29633
|
-
|
|
29634
|
-
return "Reject " + inspect(proxy, options);
|
|
29522
|
+
return "Reject " + inspect(this._getCustomInspectProxy(), options);
|
|
29635
29523
|
}
|
|
29636
29524
|
};
|
|
29637
29525
|
/** Describes a relationship between two individuals.
|
|
@@ -29716,7 +29604,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
29716
29604
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29717
29605
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29718
29606
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29719
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
29607
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29720
29608
|
let fetchResult;
|
|
29721
29609
|
try {
|
|
29722
29610
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29817,7 +29705,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
29817
29705
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29818
29706
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29819
29707
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29820
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
29708
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29821
29709
|
let fetchResult;
|
|
29822
29710
|
try {
|
|
29823
29711
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29950,7 +29838,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
29950
29838
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29951
29839
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29952
29840
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29953
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
29841
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29954
29842
|
let fetchResult;
|
|
29955
29843
|
try {
|
|
29956
29844
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30191,7 +30079,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
30191
30079
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30192
30080
|
*/
|
|
30193
30081
|
static async fromJsonLd(json, options = {}) {
|
|
30194
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
30082
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30195
30083
|
try {
|
|
30196
30084
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
30197
30085
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30294,12 +30182,10 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
30294
30182
|
return proxy;
|
|
30295
30183
|
}
|
|
30296
30184
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
30297
|
-
|
|
30298
|
-
return "Relationship " + inspect(proxy, options);
|
|
30185
|
+
return "Relationship " + inspect(this._getCustomInspectProxy(), options);
|
|
30299
30186
|
}
|
|
30300
30187
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
30301
|
-
|
|
30302
|
-
return "Relationship " + inspect(proxy, options);
|
|
30188
|
+
return "Relationship " + inspect(this._getCustomInspectProxy(), options);
|
|
30303
30189
|
}
|
|
30304
30190
|
};
|
|
30305
30191
|
/** Indicates that the `actor` is removing the `object`. If specified,
|
|
@@ -30388,7 +30274,7 @@ var Remove = class Remove extends Activity {
|
|
|
30388
30274
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30389
30275
|
*/
|
|
30390
30276
|
static async fromJsonLd(json, options = {}) {
|
|
30391
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
30277
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30392
30278
|
try {
|
|
30393
30279
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
30394
30280
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30440,12 +30326,10 @@ var Remove = class Remove extends Activity {
|
|
|
30440
30326
|
return super._getCustomInspectProxy();
|
|
30441
30327
|
}
|
|
30442
30328
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
30443
|
-
|
|
30444
|
-
return "Remove " + inspect(proxy, options);
|
|
30329
|
+
return "Remove " + inspect(this._getCustomInspectProxy(), options);
|
|
30445
30330
|
}
|
|
30446
30331
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
30447
|
-
|
|
30448
|
-
return "Remove " + inspect(proxy, options);
|
|
30332
|
+
return "Remove " + inspect(this._getCustomInspectProxy(), options);
|
|
30449
30333
|
}
|
|
30450
30334
|
};
|
|
30451
30335
|
/** Represents a service of any kind.
|
|
@@ -30682,7 +30566,7 @@ var Service = class Service extends Object$1 {
|
|
|
30682
30566
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30683
30567
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30684
30568
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30685
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
30569
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30686
30570
|
let fetchResult;
|
|
30687
30571
|
try {
|
|
30688
30572
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30815,7 +30699,7 @@ var Service = class Service extends Object$1 {
|
|
|
30815
30699
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30816
30700
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30817
30701
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30818
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
30702
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30819
30703
|
let fetchResult;
|
|
30820
30704
|
try {
|
|
30821
30705
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30966,7 +30850,7 @@ var Service = class Service extends Object$1 {
|
|
|
30966
30850
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30967
30851
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30968
30852
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30969
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
30853
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30970
30854
|
let fetchResult;
|
|
30971
30855
|
try {
|
|
30972
30856
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31085,7 +30969,7 @@ var Service = class Service extends Object$1 {
|
|
|
31085
30969
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31086
30970
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31087
30971
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31088
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
30972
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31089
30973
|
let fetchResult;
|
|
31090
30974
|
try {
|
|
31091
30975
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31201,7 +31085,7 @@ var Service = class Service extends Object$1 {
|
|
|
31201
31085
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31202
31086
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31203
31087
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31204
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31088
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31205
31089
|
let fetchResult;
|
|
31206
31090
|
try {
|
|
31207
31091
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31303,7 +31187,7 @@ var Service = class Service extends Object$1 {
|
|
|
31303
31187
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31304
31188
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31305
31189
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31306
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31190
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31307
31191
|
let fetchResult;
|
|
31308
31192
|
try {
|
|
31309
31193
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31408,7 +31292,7 @@ var Service = class Service extends Object$1 {
|
|
|
31408
31292
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31409
31293
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31410
31294
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31411
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31295
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31412
31296
|
let fetchResult;
|
|
31413
31297
|
try {
|
|
31414
31298
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31511,7 +31395,7 @@ var Service = class Service extends Object$1 {
|
|
|
31511
31395
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31512
31396
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31513
31397
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31514
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31398
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31515
31399
|
let fetchResult;
|
|
31516
31400
|
try {
|
|
31517
31401
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31612,7 +31496,7 @@ var Service = class Service extends Object$1 {
|
|
|
31612
31496
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31613
31497
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31614
31498
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31615
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31499
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31616
31500
|
let fetchResult;
|
|
31617
31501
|
try {
|
|
31618
31502
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31713,7 +31597,7 @@ var Service = class Service extends Object$1 {
|
|
|
31713
31597
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31714
31598
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31715
31599
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31716
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31600
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31717
31601
|
let fetchResult;
|
|
31718
31602
|
try {
|
|
31719
31603
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31856,7 +31740,7 @@ var Service = class Service extends Object$1 {
|
|
|
31856
31740
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31857
31741
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31858
31742
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31859
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31743
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31860
31744
|
let fetchResult;
|
|
31861
31745
|
try {
|
|
31862
31746
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31996,7 +31880,7 @@ var Service = class Service extends Object$1 {
|
|
|
31996
31880
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31997
31881
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31998
31882
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31999
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31883
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32000
31884
|
let fetchResult;
|
|
32001
31885
|
try {
|
|
32002
31886
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32177,7 +32061,7 @@ var Service = class Service extends Object$1 {
|
|
|
32177
32061
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32178
32062
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32179
32063
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32180
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
32064
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32181
32065
|
let fetchResult;
|
|
32182
32066
|
try {
|
|
32183
32067
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32831,7 +32715,7 @@ var Service = class Service extends Object$1 {
|
|
|
32831
32715
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32832
32716
|
*/
|
|
32833
32717
|
static async fromJsonLd(json, options = {}) {
|
|
32834
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
32718
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32835
32719
|
try {
|
|
32836
32720
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
32837
32721
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33215,12 +33099,10 @@ var Service = class Service extends Object$1 {
|
|
|
33215
33099
|
return proxy;
|
|
33216
33100
|
}
|
|
33217
33101
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
33218
|
-
|
|
33219
|
-
return "Service " + inspect(proxy, options);
|
|
33102
|
+
return "Service " + inspect(this._getCustomInspectProxy(), options);
|
|
33220
33103
|
}
|
|
33221
33104
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
33222
|
-
|
|
33223
|
-
return "Service " + inspect(proxy, options);
|
|
33105
|
+
return "Service " + inspect(this._getCustomInspectProxy(), options);
|
|
33224
33106
|
}
|
|
33225
33107
|
};
|
|
33226
33108
|
/** Contents of {@link Object}'s `source`.
|
|
@@ -33407,7 +33289,7 @@ var Source = class {
|
|
|
33407
33289
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33408
33290
|
*/
|
|
33409
33291
|
static async fromJsonLd(json, options = {}) {
|
|
33410
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33292
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33411
33293
|
try {
|
|
33412
33294
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
33413
33295
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33486,12 +33368,10 @@ var Source = class {
|
|
|
33486
33368
|
return proxy;
|
|
33487
33369
|
}
|
|
33488
33370
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
33489
|
-
|
|
33490
|
-
return "Source " + inspect(proxy, options);
|
|
33371
|
+
return "Source " + inspect(this._getCustomInspectProxy(), options);
|
|
33491
33372
|
}
|
|
33492
33373
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
33493
|
-
|
|
33494
|
-
return "Source " + inspect(proxy, options);
|
|
33374
|
+
return "Source " + inspect(this._getCustomInspectProxy(), options);
|
|
33495
33375
|
}
|
|
33496
33376
|
};
|
|
33497
33377
|
/** A specialization of {@link Accept} indicating that
|
|
@@ -33580,7 +33460,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
33580
33460
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33581
33461
|
*/
|
|
33582
33462
|
static async fromJsonLd(json, options = {}) {
|
|
33583
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33463
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33584
33464
|
try {
|
|
33585
33465
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
33586
33466
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33632,12 +33512,10 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
33632
33512
|
return super._getCustomInspectProxy();
|
|
33633
33513
|
}
|
|
33634
33514
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
33635
|
-
|
|
33636
|
-
return "TentativeAccept " + inspect(proxy, options);
|
|
33515
|
+
return "TentativeAccept " + inspect(this._getCustomInspectProxy(), options);
|
|
33637
33516
|
}
|
|
33638
33517
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
33639
|
-
|
|
33640
|
-
return "TentativeAccept " + inspect(proxy, options);
|
|
33518
|
+
return "TentativeAccept " + inspect(this._getCustomInspectProxy(), options);
|
|
33641
33519
|
}
|
|
33642
33520
|
};
|
|
33643
33521
|
/** A specialization of {@link Reject} in which
|
|
@@ -33726,7 +33604,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
33726
33604
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33727
33605
|
*/
|
|
33728
33606
|
static async fromJsonLd(json, options = {}) {
|
|
33729
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33607
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33730
33608
|
try {
|
|
33731
33609
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
33732
33610
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33778,12 +33656,10 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
33778
33656
|
return super._getCustomInspectProxy();
|
|
33779
33657
|
}
|
|
33780
33658
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
33781
|
-
|
|
33782
|
-
return "TentativeReject " + inspect(proxy, options);
|
|
33659
|
+
return "TentativeReject " + inspect(this._getCustomInspectProxy(), options);
|
|
33783
33660
|
}
|
|
33784
33661
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
33785
|
-
|
|
33786
|
-
return "TentativeReject " + inspect(proxy, options);
|
|
33662
|
+
return "TentativeReject " + inspect(this._getCustomInspectProxy(), options);
|
|
33787
33663
|
}
|
|
33788
33664
|
};
|
|
33789
33665
|
/** A `Tombstone` represents a content object that has been deleted.
|
|
@@ -33911,7 +33787,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
33911
33787
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33912
33788
|
*/
|
|
33913
33789
|
static async fromJsonLd(json, options = {}) {
|
|
33914
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33790
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33915
33791
|
try {
|
|
33916
33792
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
33917
33793
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33976,12 +33852,10 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
33976
33852
|
return proxy;
|
|
33977
33853
|
}
|
|
33978
33854
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
33979
|
-
|
|
33980
|
-
return "Tombstone " + inspect(proxy, options);
|
|
33855
|
+
return "Tombstone " + inspect(this._getCustomInspectProxy(), options);
|
|
33981
33856
|
}
|
|
33982
33857
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
33983
|
-
|
|
33984
|
-
return "Tombstone " + inspect(proxy, options);
|
|
33858
|
+
return "Tombstone " + inspect(this._getCustomInspectProxy(), options);
|
|
33985
33859
|
}
|
|
33986
33860
|
};
|
|
33987
33861
|
/** Indicates that the `actor` is traveling to `target` from `origin`.
|
|
@@ -34072,7 +33946,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
34072
33946
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34073
33947
|
*/
|
|
34074
33948
|
static async fromJsonLd(json, options = {}) {
|
|
34075
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33949
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34076
33950
|
try {
|
|
34077
33951
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
34078
33952
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34124,12 +33998,10 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
34124
33998
|
return super._getCustomInspectProxy();
|
|
34125
33999
|
}
|
|
34126
34000
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
34127
|
-
|
|
34128
|
-
return "Travel " + inspect(proxy, options);
|
|
34001
|
+
return "Travel " + inspect(this._getCustomInspectProxy(), options);
|
|
34129
34002
|
}
|
|
34130
34003
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
34131
|
-
|
|
34132
|
-
return "Travel " + inspect(proxy, options);
|
|
34004
|
+
return "Travel " + inspect(this._getCustomInspectProxy(), options);
|
|
34133
34005
|
}
|
|
34134
34006
|
};
|
|
34135
34007
|
/** Indicates that the `actor` is undoing the `object`. In most cases,
|
|
@@ -34232,7 +34104,7 @@ var Undo = class Undo extends Activity {
|
|
|
34232
34104
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34233
34105
|
*/
|
|
34234
34106
|
static async fromJsonLd(json, options = {}) {
|
|
34235
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
34107
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34236
34108
|
try {
|
|
34237
34109
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
34238
34110
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34284,12 +34156,10 @@ var Undo = class Undo extends Activity {
|
|
|
34284
34156
|
return super._getCustomInspectProxy();
|
|
34285
34157
|
}
|
|
34286
34158
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
34287
|
-
|
|
34288
|
-
return "Undo " + inspect(proxy, options);
|
|
34159
|
+
return "Undo " + inspect(this._getCustomInspectProxy(), options);
|
|
34289
34160
|
}
|
|
34290
34161
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
34291
|
-
|
|
34292
|
-
return "Undo " + inspect(proxy, options);
|
|
34162
|
+
return "Undo " + inspect(this._getCustomInspectProxy(), options);
|
|
34293
34163
|
}
|
|
34294
34164
|
};
|
|
34295
34165
|
/** Indicates that the `actor` has updated the `object`. Note, however,
|
|
@@ -34430,7 +34300,7 @@ var Update = class Update extends Activity {
|
|
|
34430
34300
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34431
34301
|
*/
|
|
34432
34302
|
static async fromJsonLd(json, options = {}) {
|
|
34433
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
34303
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34434
34304
|
try {
|
|
34435
34305
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
34436
34306
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34482,12 +34352,10 @@ var Update = class Update extends Activity {
|
|
|
34482
34352
|
return super._getCustomInspectProxy();
|
|
34483
34353
|
}
|
|
34484
34354
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
34485
|
-
|
|
34486
|
-
return "Update " + inspect(proxy, options);
|
|
34355
|
+
return "Update " + inspect(this._getCustomInspectProxy(), options);
|
|
34487
34356
|
}
|
|
34488
34357
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
34489
|
-
|
|
34490
|
-
return "Update " + inspect(proxy, options);
|
|
34358
|
+
return "Update " + inspect(this._getCustomInspectProxy(), options);
|
|
34491
34359
|
}
|
|
34492
34360
|
};
|
|
34493
34361
|
/** Represents a video document of any kind.
|
|
@@ -34582,7 +34450,7 @@ var Video = class Video extends Document {
|
|
|
34582
34450
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34583
34451
|
*/
|
|
34584
34452
|
static async fromJsonLd(json, options = {}) {
|
|
34585
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
34453
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34586
34454
|
try {
|
|
34587
34455
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
34588
34456
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34634,12 +34502,10 @@ var Video = class Video extends Document {
|
|
|
34634
34502
|
return super._getCustomInspectProxy();
|
|
34635
34503
|
}
|
|
34636
34504
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
34637
|
-
|
|
34638
|
-
return "Video " + inspect(proxy, options);
|
|
34505
|
+
return "Video " + inspect(this._getCustomInspectProxy(), options);
|
|
34639
34506
|
}
|
|
34640
34507
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
34641
|
-
|
|
34642
|
-
return "Video " + inspect(proxy, options);
|
|
34508
|
+
return "Video " + inspect(this._getCustomInspectProxy(), options);
|
|
34643
34509
|
}
|
|
34644
34510
|
};
|
|
34645
34511
|
/** Indicates that the `actor` has viewed the object.
|
|
@@ -34727,7 +34593,7 @@ var View = class View extends Activity {
|
|
|
34727
34593
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34728
34594
|
*/
|
|
34729
34595
|
static async fromJsonLd(json, options = {}) {
|
|
34730
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
34596
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34731
34597
|
try {
|
|
34732
34598
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
34733
34599
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34779,12 +34645,10 @@ var View = class View extends Activity {
|
|
|
34779
34645
|
return super._getCustomInspectProxy();
|
|
34780
34646
|
}
|
|
34781
34647
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
34782
|
-
|
|
34783
|
-
return "View " + inspect(proxy, options);
|
|
34648
|
+
return "View " + inspect(this._getCustomInspectProxy(), options);
|
|
34784
34649
|
}
|
|
34785
34650
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
34786
|
-
|
|
34787
|
-
return "View " + inspect(proxy, options);
|
|
34651
|
+
return "View " + inspect(this._getCustomInspectProxy(), options);
|
|
34788
34652
|
}
|
|
34789
34653
|
};
|
|
34790
34654
|
|
|
@@ -34851,7 +34715,7 @@ function getActorClassByTypeName(typeName) {
|
|
|
34851
34715
|
* @since 0.4.0
|
|
34852
34716
|
*/
|
|
34853
34717
|
async function getActorHandle(actor, options = {}) {
|
|
34854
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer(
|
|
34718
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer(name, version).startActiveSpan("activitypub.get_actor_handle", async (span) => {
|
|
34855
34719
|
if (isActor(actor)) {
|
|
34856
34720
|
if (actor.id != null) span.setAttribute("activitypub.actor.id", actor.id.href);
|
|
34857
34721
|
span.setAttribute("activitypub.actor.type", getTypeId(actor).href);
|
|
@@ -34922,4 +34786,4 @@ function normalizeActorHandle(handle, options = {}) {
|
|
|
34922
34786
|
}
|
|
34923
34787
|
|
|
34924
34788
|
//#endregion
|
|
34925
|
-
export {
|
|
34789
|
+
export { Person as $, Flag as A, Like as B, Dislike as C, importPkcs1 as Ct, Endpoints as D, EmojiReact as E, Image as F, Multikey as G, Listen as H, IntransitiveActivity as I, Offer as J, Note as K, Invite as L, Group as M, Hashtag as N, Event as O, Ignore as P, Page as Q, Join as R, DidService as S, importPem as St, Emoji as T, getTypeId as Tt, Mention as U, Link as V, Move as W, OrderedCollectionPage as X, OrderedCollection as Y, Organization as Z, CollectionPage as _, View as _t, normalizeActorHandle as a, Reject as at, DataIntegrityProof as b, exportSpki as bt, Add as c, Service as ct, Arrive as d, TentativeReject as dt, Place as et, Article as f, Tombstone as ft, Collection as g, Video as gt, ChatMessage as h, Update as ht, isActor as i, Read as it, Follow as j, Export as k, Announce as l, Source as lt, Block as m, Undo as mt, getActorHandle as n, PropertyValue as nt, Accept as o, Relationship as ot, Audio as p, Travel as pt, Object$1 as q, getActorTypeName as r, Question as rt, Activity as s, Remove as st, getActorClassByTypeName as t, Profile as tt, Application as u, TentativeAccept as ut, Create as v, LanguageString as vt, Document as w, importSpki as wt, Delete as x, importMultibaseKey as xt, CryptographicKey as y, exportMultibaseKey as yt, Leave as z };
|