@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
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { __export } from "./chunk-
|
|
7
|
-
import { getDocumentLoader } from "./docloader-
|
|
8
|
-
import {
|
|
9
|
-
import { LanguageString } from "./langstr-
|
|
6
|
+
import { n as __export } from "./chunk-DvTpRkcT.js";
|
|
7
|
+
import { i as getDocumentLoader } from "./docloader-sGz4vcrK.js";
|
|
8
|
+
import { n as encode, t as decode } from "./multibase-DBcKTV2a.js";
|
|
9
|
+
import { t as LanguageString } from "./langstr-pFHBDU4y.js";
|
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
|
11
11
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
12
12
|
import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
|
|
@@ -55,10 +55,9 @@ async function importSpki(pem) {
|
|
|
55
55
|
* @since 0.5.0
|
|
56
56
|
*/
|
|
57
57
|
async function exportSpki(key) {
|
|
58
|
-
const { validateCryptoKey } = await import("./key-
|
|
58
|
+
const { validateCryptoKey } = await import("./key-eP5Yk7hl.js");
|
|
59
59
|
validateCryptoKey(key);
|
|
60
|
-
|
|
61
|
-
let pem = encodeBase64(spki);
|
|
60
|
+
let pem = encodeBase64(await crypto.subtle.exportKey("spki", key));
|
|
62
61
|
pem = (pem.match(/.{1,64}/g) || []).join("\n");
|
|
63
62
|
return `-----BEGIN PUBLIC KEY-----\n${pem}\n-----END PUBLIC KEY-----\n`;
|
|
64
63
|
}
|
|
@@ -70,15 +69,14 @@ async function exportSpki(key) {
|
|
|
70
69
|
* @since 1.5.0
|
|
71
70
|
*/
|
|
72
71
|
function importPkcs1(pem) {
|
|
73
|
-
|
|
72
|
+
return importSpki(createPublicKey({
|
|
74
73
|
key: pem,
|
|
75
74
|
format: "pem",
|
|
76
75
|
type: "pkcs1"
|
|
77
76
|
}).export({
|
|
78
77
|
type: "spki",
|
|
79
78
|
format: "pem"
|
|
80
|
-
});
|
|
81
|
-
return importSpki(spki);
|
|
79
|
+
}));
|
|
82
80
|
}
|
|
83
81
|
const PKCS1_HEADER = /^\s*-----BEGIN\s+RSA\s+PUBLIC\s+KEY-----\s*\n/;
|
|
84
82
|
/**
|
|
@@ -151,9 +149,7 @@ async function exportMultibaseKey(key) {
|
|
|
151
149
|
code = 4613;
|
|
152
150
|
} else throw new TypeError("Unsupported key type: " + JSON.stringify(key.algorithm));
|
|
153
151
|
const codeHex = code.toString(16);
|
|
154
|
-
const
|
|
155
|
-
const prefixed = addPrefix(codeBytes, new Uint8Array(content));
|
|
156
|
-
const encoded = encode("base58btc", prefixed);
|
|
152
|
+
const encoded = encode("base58btc", addPrefix(decodeHex(codeHex.length % 2 < 1 ? codeHex : "0" + codeHex), new Uint8Array(content)));
|
|
157
153
|
return new TextDecoder().decode(encoded);
|
|
158
154
|
}
|
|
159
155
|
|
|
@@ -650,7 +646,7 @@ var Object$1 = class Object$1 {
|
|
|
650
646
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
651
647
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
652
648
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
653
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
649
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
654
650
|
let fetchResult;
|
|
655
651
|
try {
|
|
656
652
|
fetchResult = await documentLoader(url.href);
|
|
@@ -775,7 +771,7 @@ var Object$1 = class Object$1 {
|
|
|
775
771
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
776
772
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
777
773
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
778
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
774
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
779
775
|
let fetchResult;
|
|
780
776
|
try {
|
|
781
777
|
fetchResult = await documentLoader(url.href);
|
|
@@ -954,7 +950,7 @@ var Object$1 = class Object$1 {
|
|
|
954
950
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
955
951
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
956
952
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
957
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
953
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
958
954
|
let fetchResult;
|
|
959
955
|
try {
|
|
960
956
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1109,7 +1105,7 @@ var Object$1 = class Object$1 {
|
|
|
1109
1105
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1110
1106
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1111
1107
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1112
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1108
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1113
1109
|
let fetchResult;
|
|
1114
1110
|
try {
|
|
1115
1111
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1251,7 +1247,7 @@ var Object$1 = class Object$1 {
|
|
|
1251
1247
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1252
1248
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1253
1249
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1254
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1250
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1255
1251
|
let fetchResult;
|
|
1256
1252
|
try {
|
|
1257
1253
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1361,7 +1357,7 @@ var Object$1 = class Object$1 {
|
|
|
1361
1357
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1362
1358
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1363
1359
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1364
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1360
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1365
1361
|
let fetchResult;
|
|
1366
1362
|
try {
|
|
1367
1363
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1498,7 +1494,7 @@ var Object$1 = class Object$1 {
|
|
|
1498
1494
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1499
1495
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1500
1496
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1501
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1497
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1502
1498
|
let fetchResult;
|
|
1503
1499
|
try {
|
|
1504
1500
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1635,7 +1631,7 @@ var Object$1 = class Object$1 {
|
|
|
1635
1631
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1636
1632
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1637
1633
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1638
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1634
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1639
1635
|
let fetchResult;
|
|
1640
1636
|
try {
|
|
1641
1637
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1779,7 +1775,7 @@ var Object$1 = class Object$1 {
|
|
|
1779
1775
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1780
1776
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1781
1777
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1782
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1778
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1783
1779
|
let fetchResult;
|
|
1784
1780
|
try {
|
|
1785
1781
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1923,7 +1919,7 @@ var Object$1 = class Object$1 {
|
|
|
1923
1919
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1924
1920
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1925
1921
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1926
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
1922
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1927
1923
|
let fetchResult;
|
|
1928
1924
|
try {
|
|
1929
1925
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2072,7 +2068,7 @@ var Object$1 = class Object$1 {
|
|
|
2072
2068
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2073
2069
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2074
2070
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2075
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2071
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2076
2072
|
let fetchResult;
|
|
2077
2073
|
try {
|
|
2078
2074
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2171,7 +2167,7 @@ var Object$1 = class Object$1 {
|
|
|
2171
2167
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2172
2168
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2173
2169
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2174
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2170
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2175
2171
|
let fetchResult;
|
|
2176
2172
|
try {
|
|
2177
2173
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2276,7 +2272,7 @@ var Object$1 = class Object$1 {
|
|
|
2276
2272
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2277
2273
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2278
2274
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2279
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2275
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2280
2276
|
let fetchResult;
|
|
2281
2277
|
try {
|
|
2282
2278
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2381,7 +2377,7 @@ var Object$1 = class Object$1 {
|
|
|
2381
2377
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2382
2378
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2383
2379
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2384
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2380
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2385
2381
|
let fetchResult;
|
|
2386
2382
|
try {
|
|
2387
2383
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2504,7 +2500,7 @@ var Object$1 = class Object$1 {
|
|
|
2504
2500
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2505
2501
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2506
2502
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2507
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2503
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2508
2504
|
let fetchResult;
|
|
2509
2505
|
try {
|
|
2510
2506
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2636,7 +2632,7 @@ var Object$1 = class Object$1 {
|
|
|
2636
2632
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2637
2633
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2638
2634
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2639
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2635
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2640
2636
|
let fetchResult;
|
|
2641
2637
|
try {
|
|
2642
2638
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2771,7 +2767,7 @@ var Object$1 = class Object$1 {
|
|
|
2771
2767
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2772
2768
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2773
2769
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2774
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
2770
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2775
2771
|
let fetchResult;
|
|
2776
2772
|
try {
|
|
2777
2773
|
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);
|
|
@@ -3213,7 +3209,7 @@ var Object$1 = class Object$1 {
|
|
|
3213
3209
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3214
3210
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3215
3211
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3216
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
3212
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3217
3213
|
let fetchResult;
|
|
3218
3214
|
try {
|
|
3219
3215
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3973,7 +3969,7 @@ var Object$1 = class Object$1 {
|
|
|
3973
3969
|
* @throws {TypeError} If the given `json` is invalid.
|
|
3974
3970
|
*/
|
|
3975
3971
|
static async fromJsonLd(json, options = {}) {
|
|
3976
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
3972
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
3977
3973
|
try {
|
|
3978
3974
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
3979
3975
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -4723,7 +4719,7 @@ var Object$1 = class Object$1 {
|
|
|
4723
4719
|
let _2oPEH9MQ3aj8JVwyYuWkqoVwV865_url__array = values["https://www.w3.org/ns/activitystreams#url"];
|
|
4724
4720
|
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) {
|
|
4725
4721
|
if (v == null) continue;
|
|
4726
|
-
const decoded = typeof v === "object" && "@id" in v && typeof v["@id"] === "string" && v["@id"] !== "" && v["@id"] !== "/" ? v["@id"].startsWith("at://
|
|
4722
|
+
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"]) && [
|
|
4727
4723
|
"https://www.w3.org/ns/activitystreams#Link",
|
|
4728
4724
|
"https://www.w3.org/ns/activitystreams#Hashtag",
|
|
4729
4725
|
"https://www.w3.org/ns/activitystreams#Mention"
|
|
@@ -5007,12 +5003,10 @@ var Object$1 = class Object$1 {
|
|
|
5007
5003
|
return proxy;
|
|
5008
5004
|
}
|
|
5009
5005
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
5010
|
-
|
|
5011
|
-
return "Object " + inspect(proxy, options);
|
|
5006
|
+
return "Object " + inspect(this._getCustomInspectProxy(), options);
|
|
5012
5007
|
}
|
|
5013
5008
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
5014
|
-
|
|
5015
|
-
return "Object " + inspect(proxy, options);
|
|
5009
|
+
return "Object " + inspect(this._getCustomInspectProxy(), options);
|
|
5016
5010
|
}
|
|
5017
5011
|
};
|
|
5018
5012
|
/** Represents a custom emoji.
|
|
@@ -5113,7 +5107,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
5113
5107
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5114
5108
|
*/
|
|
5115
5109
|
static async fromJsonLd(json, options = {}) {
|
|
5116
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
5110
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5117
5111
|
try {
|
|
5118
5112
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
5119
5113
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5165,12 +5159,10 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
5165
5159
|
return super._getCustomInspectProxy();
|
|
5166
5160
|
}
|
|
5167
5161
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
5168
|
-
|
|
5169
|
-
return "Emoji " + inspect(proxy, options);
|
|
5162
|
+
return "Emoji " + inspect(this._getCustomInspectProxy(), options);
|
|
5170
5163
|
}
|
|
5171
5164
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
5172
|
-
|
|
5173
|
-
return "Emoji " + inspect(proxy, options);
|
|
5165
|
+
return "Emoji " + inspect(this._getCustomInspectProxy(), options);
|
|
5174
5166
|
}
|
|
5175
5167
|
};
|
|
5176
5168
|
/** `ChatMessage`s are the messages sent in 1-on-1 chats. They are similar to
|
|
@@ -5348,7 +5340,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
5348
5340
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5349
5341
|
*/
|
|
5350
5342
|
static async fromJsonLd(json, options = {}) {
|
|
5351
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
5343
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5352
5344
|
try {
|
|
5353
5345
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
5354
5346
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5415,12 +5407,10 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
5415
5407
|
return proxy;
|
|
5416
5408
|
}
|
|
5417
5409
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
5418
|
-
|
|
5419
|
-
return "ChatMessage " + inspect(proxy, options);
|
|
5410
|
+
return "ChatMessage " + inspect(this._getCustomInspectProxy(), options);
|
|
5420
5411
|
}
|
|
5421
5412
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
5422
|
-
|
|
5423
|
-
return "ChatMessage " + inspect(proxy, options);
|
|
5413
|
+
return "ChatMessage " + inspect(this._getCustomInspectProxy(), options);
|
|
5424
5414
|
}
|
|
5425
5415
|
};
|
|
5426
5416
|
/** An Activity is a subtype of {@link Object} that describes some form of action
|
|
@@ -5561,7 +5551,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
5561
5551
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
5562
5552
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
5563
5553
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
5564
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
5554
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5565
5555
|
let fetchResult;
|
|
5566
5556
|
try {
|
|
5567
5557
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5740,7 +5730,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
5740
5730
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
5741
5731
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
5742
5732
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
5743
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
5733
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5744
5734
|
let fetchResult;
|
|
5745
5735
|
try {
|
|
5746
5736
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5877,7 +5867,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
5877
5867
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
5878
5868
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
5879
5869
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
5880
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
5870
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5881
5871
|
let fetchResult;
|
|
5882
5872
|
try {
|
|
5883
5873
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6020,7 +6010,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6020
6010
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6021
6011
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6022
6012
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6023
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
6013
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6024
6014
|
let fetchResult;
|
|
6025
6015
|
try {
|
|
6026
6016
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6157,7 +6147,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6157
6147
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6158
6148
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6159
6149
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6160
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
6150
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6161
6151
|
let fetchResult;
|
|
6162
6152
|
try {
|
|
6163
6153
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6296,7 +6286,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6296
6286
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6297
6287
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6298
6288
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6299
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
6289
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6300
6290
|
let fetchResult;
|
|
6301
6291
|
try {
|
|
6302
6292
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6517,7 +6507,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6517
6507
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6518
6508
|
*/
|
|
6519
6509
|
static async fromJsonLd(json, options = {}) {
|
|
6520
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
6510
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6521
6511
|
try {
|
|
6522
6512
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
6523
6513
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6704,12 +6694,10 @@ var Activity = class Activity extends Object$1 {
|
|
|
6704
6694
|
return proxy;
|
|
6705
6695
|
}
|
|
6706
6696
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
6707
|
-
|
|
6708
|
-
return "Activity " + inspect(proxy, options);
|
|
6697
|
+
return "Activity " + inspect(this._getCustomInspectProxy(), options);
|
|
6709
6698
|
}
|
|
6710
6699
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
6711
|
-
|
|
6712
|
-
return "Activity " + inspect(proxy, options);
|
|
6700
|
+
return "Activity " + inspect(this._getCustomInspectProxy(), options);
|
|
6713
6701
|
}
|
|
6714
6702
|
};
|
|
6715
6703
|
/** Represents an emoji reaction. See also [FEP-c0e0](https://w3id.org/fep/c0e0).
|
|
@@ -6803,7 +6791,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
6803
6791
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6804
6792
|
*/
|
|
6805
6793
|
static async fromJsonLd(json, options = {}) {
|
|
6806
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
6794
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6807
6795
|
try {
|
|
6808
6796
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
6809
6797
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6855,12 +6843,10 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
6855
6843
|
return super._getCustomInspectProxy();
|
|
6856
6844
|
}
|
|
6857
6845
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
6858
|
-
|
|
6859
|
-
return "EmojiReact " + inspect(proxy, options);
|
|
6846
|
+
return "EmojiReact " + inspect(this._getCustomInspectProxy(), options);
|
|
6860
6847
|
}
|
|
6861
6848
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
6862
|
-
|
|
6863
|
-
return "EmojiReact " + inspect(proxy, options);
|
|
6849
|
+
return "EmojiReact " + inspect(this._getCustomInspectProxy(), options);
|
|
6864
6850
|
}
|
|
6865
6851
|
};
|
|
6866
6852
|
/** A pair of property name and value.
|
|
@@ -7047,7 +7033,7 @@ var PropertyValue = class {
|
|
|
7047
7033
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7048
7034
|
*/
|
|
7049
7035
|
static async fromJsonLd(json, options = {}) {
|
|
7050
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
7036
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7051
7037
|
try {
|
|
7052
7038
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
7053
7039
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7127,12 +7113,10 @@ var PropertyValue = class {
|
|
|
7127
7113
|
return proxy;
|
|
7128
7114
|
}
|
|
7129
7115
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
7130
|
-
|
|
7131
|
-
return "PropertyValue " + inspect(proxy, options);
|
|
7116
|
+
return "PropertyValue " + inspect(this._getCustomInspectProxy(), options);
|
|
7132
7117
|
}
|
|
7133
7118
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
7134
|
-
|
|
7135
|
-
return "PropertyValue " + inspect(proxy, options);
|
|
7119
|
+
return "PropertyValue " + inspect(this._getCustomInspectProxy(), options);
|
|
7136
7120
|
}
|
|
7137
7121
|
};
|
|
7138
7122
|
/** Means of communicating or interacting with the DID subject or associated
|
|
@@ -7279,7 +7263,7 @@ var DidService = class {
|
|
|
7279
7263
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7280
7264
|
*/
|
|
7281
7265
|
static async fromJsonLd(json, options = {}) {
|
|
7282
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
7266
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7283
7267
|
try {
|
|
7284
7268
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
7285
7269
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7320,7 +7304,7 @@ var DidService = class {
|
|
|
7320
7304
|
let _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint__array = values["https://www.w3.org/ns/did#serviceEndpoint"];
|
|
7321
7305
|
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) {
|
|
7322
7306
|
if (v == null) continue;
|
|
7323
|
-
_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint.push(v["@id"].startsWith("at://
|
|
7307
|
+
_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"]));
|
|
7324
7308
|
}
|
|
7325
7309
|
instance.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint;
|
|
7326
7310
|
if (!("_fromSubclass" in options) || !options._fromSubclass) try {
|
|
@@ -7345,12 +7329,10 @@ var DidService = class {
|
|
|
7345
7329
|
return proxy;
|
|
7346
7330
|
}
|
|
7347
7331
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
7348
|
-
|
|
7349
|
-
return "DidService " + inspect(proxy, options);
|
|
7332
|
+
return "DidService " + inspect(this._getCustomInspectProxy(), options);
|
|
7350
7333
|
}
|
|
7351
7334
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
7352
|
-
|
|
7353
|
-
return "DidService " + inspect(proxy, options);
|
|
7335
|
+
return "DidService " + inspect(this._getCustomInspectProxy(), options);
|
|
7354
7336
|
}
|
|
7355
7337
|
};
|
|
7356
7338
|
/** "Export Actor" service.
|
|
@@ -7431,7 +7413,7 @@ var Export = class Export extends DidService {
|
|
|
7431
7413
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7432
7414
|
*/
|
|
7433
7415
|
static async fromJsonLd(json, options = {}) {
|
|
7434
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
7416
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7435
7417
|
try {
|
|
7436
7418
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
7437
7419
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7483,12 +7465,10 @@ var Export = class Export extends DidService {
|
|
|
7483
7465
|
return super._getCustomInspectProxy();
|
|
7484
7466
|
}
|
|
7485
7467
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
7486
|
-
|
|
7487
|
-
return "Export " + inspect(proxy, options);
|
|
7468
|
+
return "Export " + inspect(this._getCustomInspectProxy(), options);
|
|
7488
7469
|
}
|
|
7489
7470
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
7490
|
-
|
|
7491
|
-
return "Export " + inspect(proxy, options);
|
|
7471
|
+
return "Export " + inspect(this._getCustomInspectProxy(), options);
|
|
7492
7472
|
}
|
|
7493
7473
|
};
|
|
7494
7474
|
/** A proof that can be added to any activity or object, allowing recipients to
|
|
@@ -7596,7 +7576,7 @@ var DataIntegrityProof = class {
|
|
|
7596
7576
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7597
7577
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7598
7578
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7599
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
7579
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7600
7580
|
let fetchResult;
|
|
7601
7581
|
try {
|
|
7602
7582
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7793,7 +7773,7 @@ var DataIntegrityProof = class {
|
|
|
7793
7773
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7794
7774
|
*/
|
|
7795
7775
|
static async fromJsonLd(json, options = {}) {
|
|
7796
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
7776
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7797
7777
|
try {
|
|
7798
7778
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
7799
7779
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7909,12 +7889,10 @@ var DataIntegrityProof = class {
|
|
|
7909
7889
|
return proxy;
|
|
7910
7890
|
}
|
|
7911
7891
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
7912
|
-
|
|
7913
|
-
return "DataIntegrityProof " + inspect(proxy, options);
|
|
7892
|
+
return "DataIntegrityProof " + inspect(this._getCustomInspectProxy(), options);
|
|
7914
7893
|
}
|
|
7915
7894
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
7916
|
-
|
|
7917
|
-
return "DataIntegrityProof " + inspect(proxy, options);
|
|
7895
|
+
return "DataIntegrityProof " + inspect(this._getCustomInspectProxy(), options);
|
|
7918
7896
|
}
|
|
7919
7897
|
};
|
|
7920
7898
|
/** A key owned by an actor.
|
|
@@ -7996,7 +7974,7 @@ var CryptographicKey = class {
|
|
|
7996
7974
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7997
7975
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7998
7976
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7999
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
7977
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8000
7978
|
let fetchResult;
|
|
8001
7979
|
try {
|
|
8002
7980
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8232,7 +8210,7 @@ var CryptographicKey = class {
|
|
|
8232
8210
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8233
8211
|
*/
|
|
8234
8212
|
static async fromJsonLd(json, options = {}) {
|
|
8235
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
8213
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8236
8214
|
try {
|
|
8237
8215
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
8238
8216
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8314,12 +8292,10 @@ var CryptographicKey = class {
|
|
|
8314
8292
|
return proxy;
|
|
8315
8293
|
}
|
|
8316
8294
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
8317
|
-
|
|
8318
|
-
return "CryptographicKey " + inspect(proxy, options);
|
|
8295
|
+
return "CryptographicKey " + inspect(this._getCustomInspectProxy(), options);
|
|
8319
8296
|
}
|
|
8320
8297
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
8321
|
-
|
|
8322
|
-
return "CryptographicKey " + inspect(proxy, options);
|
|
8298
|
+
return "CryptographicKey " + inspect(this._getCustomInspectProxy(), options);
|
|
8323
8299
|
}
|
|
8324
8300
|
};
|
|
8325
8301
|
/** Represents a key owned by an actor according to [FEP-521a: Representing
|
|
@@ -8404,7 +8380,7 @@ var Multikey = class {
|
|
|
8404
8380
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8405
8381
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8406
8382
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8407
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
8383
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8408
8384
|
let fetchResult;
|
|
8409
8385
|
try {
|
|
8410
8386
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8646,7 +8622,7 @@ var Multikey = class {
|
|
|
8646
8622
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8647
8623
|
*/
|
|
8648
8624
|
static async fromJsonLd(json, options = {}) {
|
|
8649
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
8625
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8650
8626
|
try {
|
|
8651
8627
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
8652
8628
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8728,12 +8704,10 @@ var Multikey = class {
|
|
|
8728
8704
|
return proxy;
|
|
8729
8705
|
}
|
|
8730
8706
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
8731
|
-
|
|
8732
|
-
return "Multikey " + inspect(proxy, options);
|
|
8707
|
+
return "Multikey " + inspect(this._getCustomInspectProxy(), options);
|
|
8733
8708
|
}
|
|
8734
8709
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
8735
|
-
|
|
8736
|
-
return "Multikey " + inspect(proxy, options);
|
|
8710
|
+
return "Multikey " + inspect(this._getCustomInspectProxy(), options);
|
|
8737
8711
|
}
|
|
8738
8712
|
};
|
|
8739
8713
|
/** Indicates that the `actor` accepts the `object`. The `target` property can be
|
|
@@ -8823,7 +8797,7 @@ var Accept = class Accept extends Activity {
|
|
|
8823
8797
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8824
8798
|
*/
|
|
8825
8799
|
static async fromJsonLd(json, options = {}) {
|
|
8826
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
8800
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8827
8801
|
try {
|
|
8828
8802
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
8829
8803
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8876,12 +8850,10 @@ var Accept = class Accept extends Activity {
|
|
|
8876
8850
|
return super._getCustomInspectProxy();
|
|
8877
8851
|
}
|
|
8878
8852
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
8879
|
-
|
|
8880
|
-
return "Accept " + inspect(proxy, options);
|
|
8853
|
+
return "Accept " + inspect(this._getCustomInspectProxy(), options);
|
|
8881
8854
|
}
|
|
8882
8855
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
8883
|
-
|
|
8884
|
-
return "Accept " + inspect(proxy, options);
|
|
8856
|
+
return "Accept " + inspect(this._getCustomInspectProxy(), options);
|
|
8885
8857
|
}
|
|
8886
8858
|
};
|
|
8887
8859
|
/** Indicates that the `actor` has added the `object` to the `target`.
|
|
@@ -8972,7 +8944,7 @@ var Add = class Add extends Activity {
|
|
|
8972
8944
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8973
8945
|
*/
|
|
8974
8946
|
static async fromJsonLd(json, options = {}) {
|
|
8975
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
8947
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8976
8948
|
try {
|
|
8977
8949
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
8978
8950
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9024,12 +8996,10 @@ var Add = class Add extends Activity {
|
|
|
9024
8996
|
return super._getCustomInspectProxy();
|
|
9025
8997
|
}
|
|
9026
8998
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
9027
|
-
|
|
9028
|
-
return "Add " + inspect(proxy, options);
|
|
8999
|
+
return "Add " + inspect(this._getCustomInspectProxy(), options);
|
|
9029
9000
|
}
|
|
9030
9001
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
9031
|
-
|
|
9032
|
-
return "Add " + inspect(proxy, options);
|
|
9002
|
+
return "Add " + inspect(this._getCustomInspectProxy(), options);
|
|
9033
9003
|
}
|
|
9034
9004
|
};
|
|
9035
9005
|
/** Indicates that the `actor` is calling the `target`'s attention the `object`.
|
|
@@ -9138,7 +9108,7 @@ var Announce = class Announce extends Activity {
|
|
|
9138
9108
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9139
9109
|
*/
|
|
9140
9110
|
static async fromJsonLd(json, options = {}) {
|
|
9141
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
9111
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9142
9112
|
try {
|
|
9143
9113
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
9144
9114
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9190,12 +9160,10 @@ var Announce = class Announce extends Activity {
|
|
|
9190
9160
|
return super._getCustomInspectProxy();
|
|
9191
9161
|
}
|
|
9192
9162
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
9193
|
-
|
|
9194
|
-
return "Announce " + inspect(proxy, options);
|
|
9163
|
+
return "Announce " + inspect(this._getCustomInspectProxy(), options);
|
|
9195
9164
|
}
|
|
9196
9165
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
9197
|
-
|
|
9198
|
-
return "Announce " + inspect(proxy, options);
|
|
9166
|
+
return "Announce " + inspect(this._getCustomInspectProxy(), options);
|
|
9199
9167
|
}
|
|
9200
9168
|
};
|
|
9201
9169
|
/** Describes a software application.
|
|
@@ -9432,7 +9400,7 @@ var Application = class Application extends Object$1 {
|
|
|
9432
9400
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9433
9401
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9434
9402
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9435
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
9403
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9436
9404
|
let fetchResult;
|
|
9437
9405
|
try {
|
|
9438
9406
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9565,7 +9533,7 @@ var Application = class Application extends Object$1 {
|
|
|
9565
9533
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9566
9534
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9567
9535
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9568
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
9536
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9569
9537
|
let fetchResult;
|
|
9570
9538
|
try {
|
|
9571
9539
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9716,7 +9684,7 @@ var Application = class Application extends Object$1 {
|
|
|
9716
9684
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9717
9685
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9718
9686
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9719
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
9687
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9720
9688
|
let fetchResult;
|
|
9721
9689
|
try {
|
|
9722
9690
|
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);
|
|
@@ -9951,7 +9919,7 @@ var Application = class Application extends Object$1 {
|
|
|
9951
9919
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9952
9920
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9953
9921
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9954
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
9922
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9955
9923
|
let fetchResult;
|
|
9956
9924
|
try {
|
|
9957
9925
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10053,7 +10021,7 @@ var Application = class Application extends Object$1 {
|
|
|
10053
10021
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10054
10022
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10055
10023
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10056
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10024
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10057
10025
|
let fetchResult;
|
|
10058
10026
|
try {
|
|
10059
10027
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10158,7 +10126,7 @@ var Application = class Application extends Object$1 {
|
|
|
10158
10126
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10159
10127
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10160
10128
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10161
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10129
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10162
10130
|
let fetchResult;
|
|
10163
10131
|
try {
|
|
10164
10132
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10261,7 +10229,7 @@ var Application = class Application extends Object$1 {
|
|
|
10261
10229
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10262
10230
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10263
10231
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10264
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10232
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10265
10233
|
let fetchResult;
|
|
10266
10234
|
try {
|
|
10267
10235
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10362,7 +10330,7 @@ var Application = class Application extends Object$1 {
|
|
|
10362
10330
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10363
10331
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10364
10332
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10365
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10333
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10366
10334
|
let fetchResult;
|
|
10367
10335
|
try {
|
|
10368
10336
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10463,7 +10431,7 @@ var Application = class Application extends Object$1 {
|
|
|
10463
10431
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10464
10432
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10465
10433
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10466
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10434
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10467
10435
|
let fetchResult;
|
|
10468
10436
|
try {
|
|
10469
10437
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10606,7 +10574,7 @@ var Application = class Application extends Object$1 {
|
|
|
10606
10574
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10607
10575
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10608
10576
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10609
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10577
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10610
10578
|
let fetchResult;
|
|
10611
10579
|
try {
|
|
10612
10580
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10746,7 +10714,7 @@ var Application = class Application extends Object$1 {
|
|
|
10746
10714
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10747
10715
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10748
10716
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10749
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10717
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10750
10718
|
let fetchResult;
|
|
10751
10719
|
try {
|
|
10752
10720
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10927,7 +10895,7 @@ var Application = class Application extends Object$1 {
|
|
|
10927
10895
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10928
10896
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10929
10897
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10930
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
10898
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10931
10899
|
let fetchResult;
|
|
10932
10900
|
try {
|
|
10933
10901
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11581,7 +11549,7 @@ var Application = class Application extends Object$1 {
|
|
|
11581
11549
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11582
11550
|
*/
|
|
11583
11551
|
static async fromJsonLd(json, options = {}) {
|
|
11584
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
11552
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11585
11553
|
try {
|
|
11586
11554
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
11587
11555
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11965,12 +11933,10 @@ var Application = class Application extends Object$1 {
|
|
|
11965
11933
|
return proxy;
|
|
11966
11934
|
}
|
|
11967
11935
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
11968
|
-
|
|
11969
|
-
return "Application " + inspect(proxy, options);
|
|
11936
|
+
return "Application " + inspect(this._getCustomInspectProxy(), options);
|
|
11970
11937
|
}
|
|
11971
11938
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
11972
|
-
|
|
11973
|
-
return "Application " + inspect(proxy, options);
|
|
11939
|
+
return "Application " + inspect(this._getCustomInspectProxy(), options);
|
|
11974
11940
|
}
|
|
11975
11941
|
};
|
|
11976
11942
|
/** Instances of `IntransitiveActivity` are a subtype of {@link Activity}
|
|
@@ -12060,7 +12026,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
12060
12026
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12061
12027
|
*/
|
|
12062
12028
|
static async fromJsonLd(json, options = {}) {
|
|
12063
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
12029
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12064
12030
|
try {
|
|
12065
12031
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
12066
12032
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12115,12 +12081,10 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
12115
12081
|
return super._getCustomInspectProxy();
|
|
12116
12082
|
}
|
|
12117
12083
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
12118
|
-
|
|
12119
|
-
return "IntransitiveActivity " + inspect(proxy, options);
|
|
12084
|
+
return "IntransitiveActivity " + inspect(this._getCustomInspectProxy(), options);
|
|
12120
12085
|
}
|
|
12121
12086
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
12122
|
-
|
|
12123
|
-
return "IntransitiveActivity " + inspect(proxy, options);
|
|
12087
|
+
return "IntransitiveActivity " + inspect(this._getCustomInspectProxy(), options);
|
|
12124
12088
|
}
|
|
12125
12089
|
};
|
|
12126
12090
|
/** An `IntransitiveActivity` that indicates that the `actor` has arrived at the `location`.
|
|
@@ -12210,7 +12174,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
12210
12174
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12211
12175
|
*/
|
|
12212
12176
|
static async fromJsonLd(json, options = {}) {
|
|
12213
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
12177
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12214
12178
|
try {
|
|
12215
12179
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
12216
12180
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12262,12 +12226,10 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
12262
12226
|
return super._getCustomInspectProxy();
|
|
12263
12227
|
}
|
|
12264
12228
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
12265
|
-
|
|
12266
|
-
return "Arrive " + inspect(proxy, options);
|
|
12229
|
+
return "Arrive " + inspect(this._getCustomInspectProxy(), options);
|
|
12267
12230
|
}
|
|
12268
12231
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
12269
|
-
|
|
12270
|
-
return "Arrive " + inspect(proxy, options);
|
|
12232
|
+
return "Arrive " + inspect(this._getCustomInspectProxy(), options);
|
|
12271
12233
|
}
|
|
12272
12234
|
};
|
|
12273
12235
|
/** Represents any kind of multi-paragraph written work.
|
|
@@ -12443,7 +12405,7 @@ var Article = class Article extends Object$1 {
|
|
|
12443
12405
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12444
12406
|
*/
|
|
12445
12407
|
static async fromJsonLd(json, options = {}) {
|
|
12446
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
12408
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12447
12409
|
try {
|
|
12448
12410
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
12449
12411
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12510,12 +12472,10 @@ var Article = class Article extends Object$1 {
|
|
|
12510
12472
|
return proxy;
|
|
12511
12473
|
}
|
|
12512
12474
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
12513
|
-
|
|
12514
|
-
return "Article " + inspect(proxy, options);
|
|
12475
|
+
return "Article " + inspect(this._getCustomInspectProxy(), options);
|
|
12515
12476
|
}
|
|
12516
12477
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
12517
|
-
|
|
12518
|
-
return "Article " + inspect(proxy, options);
|
|
12478
|
+
return "Article " + inspect(this._getCustomInspectProxy(), options);
|
|
12519
12479
|
}
|
|
12520
12480
|
};
|
|
12521
12481
|
/** Represents a document of any kind.
|
|
@@ -12670,7 +12630,7 @@ var Document = class Document extends Object$1 {
|
|
|
12670
12630
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12671
12631
|
*/
|
|
12672
12632
|
static async fromJsonLd(json, options = {}) {
|
|
12673
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
12633
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12674
12634
|
try {
|
|
12675
12635
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
12676
12636
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12751,12 +12711,10 @@ var Document = class Document extends Object$1 {
|
|
|
12751
12711
|
return proxy;
|
|
12752
12712
|
}
|
|
12753
12713
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
12754
|
-
|
|
12755
|
-
return "Document " + inspect(proxy, options);
|
|
12714
|
+
return "Document " + inspect(this._getCustomInspectProxy(), options);
|
|
12756
12715
|
}
|
|
12757
12716
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
12758
|
-
|
|
12759
|
-
return "Document " + inspect(proxy, options);
|
|
12717
|
+
return "Document " + inspect(this._getCustomInspectProxy(), options);
|
|
12760
12718
|
}
|
|
12761
12719
|
};
|
|
12762
12720
|
/** Represents an audio document of any kind.
|
|
@@ -12851,7 +12809,7 @@ var Audio = class Audio extends Document {
|
|
|
12851
12809
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12852
12810
|
*/
|
|
12853
12811
|
static async fromJsonLd(json, options = {}) {
|
|
12854
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
12812
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12855
12813
|
try {
|
|
12856
12814
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
12857
12815
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12903,12 +12861,10 @@ var Audio = class Audio extends Document {
|
|
|
12903
12861
|
return super._getCustomInspectProxy();
|
|
12904
12862
|
}
|
|
12905
12863
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
12906
|
-
|
|
12907
|
-
return "Audio " + inspect(proxy, options);
|
|
12864
|
+
return "Audio " + inspect(this._getCustomInspectProxy(), options);
|
|
12908
12865
|
}
|
|
12909
12866
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
12910
|
-
|
|
12911
|
-
return "Audio " + inspect(proxy, options);
|
|
12867
|
+
return "Audio " + inspect(this._getCustomInspectProxy(), options);
|
|
12912
12868
|
}
|
|
12913
12869
|
};
|
|
12914
12870
|
/** Indicates that the `actor` is ignoring the `object`. The `target` and
|
|
@@ -12997,7 +12953,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
12997
12953
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12998
12954
|
*/
|
|
12999
12955
|
static async fromJsonLd(json, options = {}) {
|
|
13000
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
12956
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13001
12957
|
try {
|
|
13002
12958
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
13003
12959
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13050,12 +13006,10 @@ var Ignore = class Ignore extends Activity {
|
|
|
13050
13006
|
return super._getCustomInspectProxy();
|
|
13051
13007
|
}
|
|
13052
13008
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
13053
|
-
|
|
13054
|
-
return "Ignore " + inspect(proxy, options);
|
|
13009
|
+
return "Ignore " + inspect(this._getCustomInspectProxy(), options);
|
|
13055
13010
|
}
|
|
13056
13011
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
13057
|
-
|
|
13058
|
-
return "Ignore " + inspect(proxy, options);
|
|
13012
|
+
return "Ignore " + inspect(this._getCustomInspectProxy(), options);
|
|
13059
13013
|
}
|
|
13060
13014
|
};
|
|
13061
13015
|
/** Indicates that the `actor` is blocking the `object`. Blocking is a stronger
|
|
@@ -13146,7 +13100,7 @@ var Block = class Block extends Ignore {
|
|
|
13146
13100
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13147
13101
|
*/
|
|
13148
13102
|
static async fromJsonLd(json, options = {}) {
|
|
13149
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
13103
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13150
13104
|
try {
|
|
13151
13105
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
13152
13106
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13198,12 +13152,10 @@ var Block = class Block extends Ignore {
|
|
|
13198
13152
|
return super._getCustomInspectProxy();
|
|
13199
13153
|
}
|
|
13200
13154
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
13201
|
-
|
|
13202
|
-
return "Block " + inspect(proxy, options);
|
|
13155
|
+
return "Block " + inspect(this._getCustomInspectProxy(), options);
|
|
13203
13156
|
}
|
|
13204
13157
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
13205
|
-
|
|
13206
|
-
return "Block " + inspect(proxy, options);
|
|
13158
|
+
return "Block " + inspect(this._getCustomInspectProxy(), options);
|
|
13207
13159
|
}
|
|
13208
13160
|
};
|
|
13209
13161
|
/** A `Collection` is a subtype of {@link Object} that represents ordered or
|
|
@@ -13287,7 +13239,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13287
13239
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13288
13240
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13289
13241
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13290
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
13242
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13291
13243
|
let fetchResult;
|
|
13292
13244
|
try {
|
|
13293
13245
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13386,7 +13338,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13386
13338
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13387
13339
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13388
13340
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13389
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
13341
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13390
13342
|
let fetchResult;
|
|
13391
13343
|
try {
|
|
13392
13344
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13485,7 +13437,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13485
13437
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13486
13438
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13487
13439
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13488
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
13440
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13489
13441
|
let fetchResult;
|
|
13490
13442
|
try {
|
|
13491
13443
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13584,7 +13536,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13584
13536
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13585
13537
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13586
13538
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13587
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
13539
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13588
13540
|
let fetchResult;
|
|
13589
13541
|
try {
|
|
13590
13542
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13874,7 +13826,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
13874
13826
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13875
13827
|
*/
|
|
13876
13828
|
static async fromJsonLd(json, options = {}) {
|
|
13877
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
13829
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13878
13830
|
try {
|
|
13879
13831
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
13880
13832
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14068,12 +14020,10 @@ var Collection = class Collection extends Object$1 {
|
|
|
14068
14020
|
return proxy;
|
|
14069
14021
|
}
|
|
14070
14022
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
14071
|
-
|
|
14072
|
-
return "Collection " + inspect(proxy, options);
|
|
14023
|
+
return "Collection " + inspect(this._getCustomInspectProxy(), options);
|
|
14073
14024
|
}
|
|
14074
14025
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
14075
|
-
|
|
14076
|
-
return "Collection " + inspect(proxy, options);
|
|
14026
|
+
return "Collection " + inspect(this._getCustomInspectProxy(), options);
|
|
14077
14027
|
}
|
|
14078
14028
|
};
|
|
14079
14029
|
/** Used to represent distinct subsets of items from a `Collection`.
|
|
@@ -14134,7 +14084,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14134
14084
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14135
14085
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14136
14086
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14137
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
14087
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14138
14088
|
let fetchResult;
|
|
14139
14089
|
try {
|
|
14140
14090
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14233,7 +14183,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14233
14183
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14234
14184
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14235
14185
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14236
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
14186
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14237
14187
|
let fetchResult;
|
|
14238
14188
|
try {
|
|
14239
14189
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14331,7 +14281,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14331
14281
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14332
14282
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14333
14283
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14334
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
14284
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14335
14285
|
let fetchResult;
|
|
14336
14286
|
try {
|
|
14337
14287
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14573,7 +14523,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14573
14523
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14574
14524
|
*/
|
|
14575
14525
|
static async fromJsonLd(json, options = {}) {
|
|
14576
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
14526
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14577
14527
|
try {
|
|
14578
14528
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
14579
14529
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14675,12 +14625,10 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
14675
14625
|
return proxy;
|
|
14676
14626
|
}
|
|
14677
14627
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
14678
|
-
|
|
14679
|
-
return "CollectionPage " + inspect(proxy, options);
|
|
14628
|
+
return "CollectionPage " + inspect(this._getCustomInspectProxy(), options);
|
|
14680
14629
|
}
|
|
14681
14630
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
14682
|
-
|
|
14683
|
-
return "CollectionPage " + inspect(proxy, options);
|
|
14631
|
+
return "CollectionPage " + inspect(this._getCustomInspectProxy(), options);
|
|
14684
14632
|
}
|
|
14685
14633
|
};
|
|
14686
14634
|
/** Indicates that the `actor` has created the `object`.
|
|
@@ -14788,7 +14736,7 @@ var Create = class Create extends Activity {
|
|
|
14788
14736
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14789
14737
|
*/
|
|
14790
14738
|
static async fromJsonLd(json, options = {}) {
|
|
14791
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
14739
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14792
14740
|
try {
|
|
14793
14741
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
14794
14742
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14840,12 +14788,10 @@ var Create = class Create extends Activity {
|
|
|
14840
14788
|
return super._getCustomInspectProxy();
|
|
14841
14789
|
}
|
|
14842
14790
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
14843
|
-
|
|
14844
|
-
return "Create " + inspect(proxy, options);
|
|
14791
|
+
return "Create " + inspect(this._getCustomInspectProxy(), options);
|
|
14845
14792
|
}
|
|
14846
14793
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
14847
|
-
|
|
14848
|
-
return "Create " + inspect(proxy, options);
|
|
14794
|
+
return "Create " + inspect(this._getCustomInspectProxy(), options);
|
|
14849
14795
|
}
|
|
14850
14796
|
};
|
|
14851
14797
|
/** Indicates that the `actor` has deleted the `object`. If specified,
|
|
@@ -14950,7 +14896,7 @@ var Delete = class Delete extends Activity {
|
|
|
14950
14896
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14951
14897
|
*/
|
|
14952
14898
|
static async fromJsonLd(json, options = {}) {
|
|
14953
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
14899
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14954
14900
|
try {
|
|
14955
14901
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
14956
14902
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15002,12 +14948,10 @@ var Delete = class Delete extends Activity {
|
|
|
15002
14948
|
return super._getCustomInspectProxy();
|
|
15003
14949
|
}
|
|
15004
14950
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
15005
|
-
|
|
15006
|
-
return "Delete " + inspect(proxy, options);
|
|
14951
|
+
return "Delete " + inspect(this._getCustomInspectProxy(), options);
|
|
15007
14952
|
}
|
|
15008
14953
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
15009
|
-
|
|
15010
|
-
return "Delete " + inspect(proxy, options);
|
|
14954
|
+
return "Delete " + inspect(this._getCustomInspectProxy(), options);
|
|
15011
14955
|
}
|
|
15012
14956
|
};
|
|
15013
14957
|
/** Indicates that the `actor` dislikes the `object`.
|
|
@@ -15099,7 +15043,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
15099
15043
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15100
15044
|
*/
|
|
15101
15045
|
static async fromJsonLd(json, options = {}) {
|
|
15102
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
15046
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15103
15047
|
try {
|
|
15104
15048
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
15105
15049
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15151,12 +15095,10 @@ var Dislike = class Dislike extends Activity {
|
|
|
15151
15095
|
return super._getCustomInspectProxy();
|
|
15152
15096
|
}
|
|
15153
15097
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
15154
|
-
|
|
15155
|
-
return "Dislike " + inspect(proxy, options);
|
|
15098
|
+
return "Dislike " + inspect(this._getCustomInspectProxy(), options);
|
|
15156
15099
|
}
|
|
15157
15100
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
15158
|
-
|
|
15159
|
-
return "Dislike " + inspect(proxy, options);
|
|
15101
|
+
return "Dislike " + inspect(this._getCustomInspectProxy(), options);
|
|
15160
15102
|
}
|
|
15161
15103
|
};
|
|
15162
15104
|
/** Contents of {@link Actor}'s `endpoints`.
|
|
@@ -15444,7 +15386,7 @@ var Endpoints = class {
|
|
|
15444
15386
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15445
15387
|
*/
|
|
15446
15388
|
static async fromJsonLd(json, options = {}) {
|
|
15447
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
15389
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15448
15390
|
try {
|
|
15449
15391
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
15450
15392
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15484,42 +15426,42 @@ var Endpoints = class {
|
|
|
15484
15426
|
let _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl__array = values["https://www.w3.org/ns/activitystreams#proxyUrl"];
|
|
15485
15427
|
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) {
|
|
15486
15428
|
if (v == null) continue;
|
|
15487
|
-
_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl.push(v["@id"].startsWith("at://
|
|
15429
|
+
_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"]));
|
|
15488
15430
|
}
|
|
15489
15431
|
instance.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl;
|
|
15490
15432
|
const _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = [];
|
|
15491
15433
|
let _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint__array = values["https://www.w3.org/ns/activitystreams#oauthAuthorizationEndpoint"];
|
|
15492
15434
|
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) {
|
|
15493
15435
|
if (v == null) continue;
|
|
15494
|
-
_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint.push(v["@id"].startsWith("at://
|
|
15436
|
+
_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"]));
|
|
15495
15437
|
}
|
|
15496
15438
|
instance.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint;
|
|
15497
15439
|
const _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = [];
|
|
15498
15440
|
let _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint__array = values["https://www.w3.org/ns/activitystreams#oauthTokenEndpoint"];
|
|
15499
15441
|
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) {
|
|
15500
15442
|
if (v == null) continue;
|
|
15501
|
-
_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint.push(v["@id"].startsWith("at://
|
|
15443
|
+
_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"]));
|
|
15502
15444
|
}
|
|
15503
15445
|
instance.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint;
|
|
15504
15446
|
const _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = [];
|
|
15505
15447
|
let _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey__array = values["https://www.w3.org/ns/activitystreams#provideClientKey"];
|
|
15506
15448
|
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) {
|
|
15507
15449
|
if (v == null) continue;
|
|
15508
|
-
_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey.push(v["@id"].startsWith("at://
|
|
15450
|
+
_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"]));
|
|
15509
15451
|
}
|
|
15510
15452
|
instance.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey;
|
|
15511
15453
|
const _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = [];
|
|
15512
15454
|
let _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey__array = values["https://www.w3.org/ns/activitystreams#signClientKey"];
|
|
15513
15455
|
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) {
|
|
15514
15456
|
if (v == null) continue;
|
|
15515
|
-
_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey.push(v["@id"].startsWith("at://
|
|
15457
|
+
_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"]));
|
|
15516
15458
|
}
|
|
15517
15459
|
instance.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey;
|
|
15518
15460
|
const _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = [];
|
|
15519
15461
|
let _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox__array = values["https://www.w3.org/ns/activitystreams#sharedInbox"];
|
|
15520
15462
|
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) {
|
|
15521
15463
|
if (v == null) continue;
|
|
15522
|
-
_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox.push(v["@id"].startsWith("at://
|
|
15464
|
+
_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"]));
|
|
15523
15465
|
}
|
|
15524
15466
|
instance.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox;
|
|
15525
15467
|
if (!("_fromSubclass" in options) || !options._fromSubclass) try {
|
|
@@ -15568,12 +15510,10 @@ var Endpoints = class {
|
|
|
15568
15510
|
return proxy;
|
|
15569
15511
|
}
|
|
15570
15512
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
15571
|
-
|
|
15572
|
-
return "Endpoints " + inspect(proxy, options);
|
|
15513
|
+
return "Endpoints " + inspect(this._getCustomInspectProxy(), options);
|
|
15573
15514
|
}
|
|
15574
15515
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
15575
|
-
|
|
15576
|
-
return "Endpoints " + inspect(proxy, options);
|
|
15516
|
+
return "Endpoints " + inspect(this._getCustomInspectProxy(), options);
|
|
15577
15517
|
}
|
|
15578
15518
|
};
|
|
15579
15519
|
/** Represents any kind of event.
|
|
@@ -15668,7 +15608,7 @@ var Event = class Event extends Object$1 {
|
|
|
15668
15608
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15669
15609
|
*/
|
|
15670
15610
|
static async fromJsonLd(json, options = {}) {
|
|
15671
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
15611
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15672
15612
|
try {
|
|
15673
15613
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
15674
15614
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15720,12 +15660,10 @@ var Event = class Event extends Object$1 {
|
|
|
15720
15660
|
return super._getCustomInspectProxy();
|
|
15721
15661
|
}
|
|
15722
15662
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
15723
|
-
|
|
15724
|
-
return "Event " + inspect(proxy, options);
|
|
15663
|
+
return "Event " + inspect(this._getCustomInspectProxy(), options);
|
|
15725
15664
|
}
|
|
15726
15665
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
15727
|
-
|
|
15728
|
-
return "Event " + inspect(proxy, options);
|
|
15666
|
+
return "Event " + inspect(this._getCustomInspectProxy(), options);
|
|
15729
15667
|
}
|
|
15730
15668
|
};
|
|
15731
15669
|
/** Indicates that the `actor` is "flagging" the `object`. Flagging is defined
|
|
@@ -15815,7 +15753,7 @@ var Flag = class Flag extends Activity {
|
|
|
15815
15753
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15816
15754
|
*/
|
|
15817
15755
|
static async fromJsonLd(json, options = {}) {
|
|
15818
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
15756
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15819
15757
|
try {
|
|
15820
15758
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
15821
15759
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15867,12 +15805,10 @@ var Flag = class Flag extends Activity {
|
|
|
15867
15805
|
return super._getCustomInspectProxy();
|
|
15868
15806
|
}
|
|
15869
15807
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
15870
|
-
|
|
15871
|
-
return "Flag " + inspect(proxy, options);
|
|
15808
|
+
return "Flag " + inspect(this._getCustomInspectProxy(), options);
|
|
15872
15809
|
}
|
|
15873
15810
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
15874
|
-
|
|
15875
|
-
return "Flag " + inspect(proxy, options);
|
|
15811
|
+
return "Flag " + inspect(this._getCustomInspectProxy(), options);
|
|
15876
15812
|
}
|
|
15877
15813
|
};
|
|
15878
15814
|
/** Indicates that the `actor` is "following" the `object`. Following is defined
|
|
@@ -15966,7 +15902,7 @@ var Follow = class Follow extends Activity {
|
|
|
15966
15902
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15967
15903
|
*/
|
|
15968
15904
|
static async fromJsonLd(json, options = {}) {
|
|
15969
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
15905
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15970
15906
|
try {
|
|
15971
15907
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
15972
15908
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16018,12 +15954,10 @@ var Follow = class Follow extends Activity {
|
|
|
16018
15954
|
return super._getCustomInspectProxy();
|
|
16019
15955
|
}
|
|
16020
15956
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
16021
|
-
|
|
16022
|
-
return "Follow " + inspect(proxy, options);
|
|
15957
|
+
return "Follow " + inspect(this._getCustomInspectProxy(), options);
|
|
16023
15958
|
}
|
|
16024
15959
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
16025
|
-
|
|
16026
|
-
return "Follow " + inspect(proxy, options);
|
|
15960
|
+
return "Follow " + inspect(this._getCustomInspectProxy(), options);
|
|
16027
15961
|
}
|
|
16028
15962
|
};
|
|
16029
15963
|
/** Represents a formal or informal collective of Actors.
|
|
@@ -16260,7 +16194,7 @@ var Group = class Group extends Object$1 {
|
|
|
16260
16194
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16261
16195
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16262
16196
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16263
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16197
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16264
16198
|
let fetchResult;
|
|
16265
16199
|
try {
|
|
16266
16200
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16393,7 +16327,7 @@ var Group = class Group extends Object$1 {
|
|
|
16393
16327
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16394
16328
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16395
16329
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16396
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16330
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16397
16331
|
let fetchResult;
|
|
16398
16332
|
try {
|
|
16399
16333
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16544,7 +16478,7 @@ var Group = class Group extends Object$1 {
|
|
|
16544
16478
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16545
16479
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16546
16480
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16547
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16481
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16548
16482
|
let fetchResult;
|
|
16549
16483
|
try {
|
|
16550
16484
|
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);
|
|
@@ -16779,7 +16713,7 @@ var Group = class Group extends Object$1 {
|
|
|
16779
16713
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16780
16714
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16781
16715
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16782
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16716
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16783
16717
|
let fetchResult;
|
|
16784
16718
|
try {
|
|
16785
16719
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16881,7 +16815,7 @@ var Group = class Group extends Object$1 {
|
|
|
16881
16815
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16882
16816
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16883
16817
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16884
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16818
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16885
16819
|
let fetchResult;
|
|
16886
16820
|
try {
|
|
16887
16821
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16986,7 +16920,7 @@ var Group = class Group extends Object$1 {
|
|
|
16986
16920
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16987
16921
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16988
16922
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16989
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
16923
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16990
16924
|
let fetchResult;
|
|
16991
16925
|
try {
|
|
16992
16926
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17089,7 +17023,7 @@ var Group = class Group extends Object$1 {
|
|
|
17089
17023
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17090
17024
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17091
17025
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17092
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17026
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17093
17027
|
let fetchResult;
|
|
17094
17028
|
try {
|
|
17095
17029
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17190,7 +17124,7 @@ var Group = class Group extends Object$1 {
|
|
|
17190
17124
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17191
17125
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17192
17126
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17193
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17127
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17194
17128
|
let fetchResult;
|
|
17195
17129
|
try {
|
|
17196
17130
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17291,7 +17225,7 @@ var Group = class Group extends Object$1 {
|
|
|
17291
17225
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17292
17226
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17293
17227
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17294
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17228
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17295
17229
|
let fetchResult;
|
|
17296
17230
|
try {
|
|
17297
17231
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17434,7 +17368,7 @@ var Group = class Group extends Object$1 {
|
|
|
17434
17368
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17435
17369
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17436
17370
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17437
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17371
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17438
17372
|
let fetchResult;
|
|
17439
17373
|
try {
|
|
17440
17374
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17574,7 +17508,7 @@ var Group = class Group extends Object$1 {
|
|
|
17574
17508
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17575
17509
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17576
17510
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17577
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17511
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17578
17512
|
let fetchResult;
|
|
17579
17513
|
try {
|
|
17580
17514
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17755,7 +17689,7 @@ var Group = class Group extends Object$1 {
|
|
|
17755
17689
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17756
17690
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17757
17691
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17758
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
17692
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17759
17693
|
let fetchResult;
|
|
17760
17694
|
try {
|
|
17761
17695
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18409,7 +18343,7 @@ var Group = class Group extends Object$1 {
|
|
|
18409
18343
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18410
18344
|
*/
|
|
18411
18345
|
static async fromJsonLd(json, options = {}) {
|
|
18412
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
18346
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18413
18347
|
try {
|
|
18414
18348
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
18415
18349
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18793,12 +18727,10 @@ var Group = class Group extends Object$1 {
|
|
|
18793
18727
|
return proxy;
|
|
18794
18728
|
}
|
|
18795
18729
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
18796
|
-
|
|
18797
|
-
return "Group " + inspect(proxy, options);
|
|
18730
|
+
return "Group " + inspect(this._getCustomInspectProxy(), options);
|
|
18798
18731
|
}
|
|
18799
18732
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
18800
|
-
|
|
18801
|
-
return "Group " + inspect(proxy, options);
|
|
18733
|
+
return "Group " + inspect(this._getCustomInspectProxy(), options);
|
|
18802
18734
|
}
|
|
18803
18735
|
};
|
|
18804
18736
|
/** A Link is an indirect, qualified reference to a resource identified by a URL.
|
|
@@ -19020,7 +18952,7 @@ var Link = class Link {
|
|
|
19020
18952
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19021
18953
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19022
18954
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19023
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
18955
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19024
18956
|
let fetchResult;
|
|
19025
18957
|
try {
|
|
19026
18958
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19292,7 +19224,7 @@ var Link = class Link {
|
|
|
19292
19224
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19293
19225
|
*/
|
|
19294
19226
|
static async fromJsonLd(json, options = {}) {
|
|
19295
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
19227
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19296
19228
|
try {
|
|
19297
19229
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
19298
19230
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19334,7 +19266,7 @@ var Link = class Link {
|
|
|
19334
19266
|
let _pVjLsybKQdmkjuU7MHjiVmNnuj7_href__array = values["https://www.w3.org/ns/activitystreams#href"];
|
|
19335
19267
|
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) {
|
|
19336
19268
|
if (v == null) continue;
|
|
19337
|
-
_pVjLsybKQdmkjuU7MHjiVmNnuj7_href.push(v["@id"].startsWith("at://
|
|
19269
|
+
_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"]));
|
|
19338
19270
|
}
|
|
19339
19271
|
instance.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = _pVjLsybKQdmkjuU7MHjiVmNnuj7_href;
|
|
19340
19272
|
const _2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = [];
|
|
@@ -19512,12 +19444,10 @@ var Link = class Link {
|
|
|
19512
19444
|
return proxy;
|
|
19513
19445
|
}
|
|
19514
19446
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
19515
|
-
|
|
19516
|
-
return "Link " + inspect(proxy, options);
|
|
19447
|
+
return "Link " + inspect(this._getCustomInspectProxy(), options);
|
|
19517
19448
|
}
|
|
19518
19449
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
19519
|
-
|
|
19520
|
-
return "Link " + inspect(proxy, options);
|
|
19450
|
+
return "Link " + inspect(this._getCustomInspectProxy(), options);
|
|
19521
19451
|
}
|
|
19522
19452
|
};
|
|
19523
19453
|
/** A specialized {@link Link} that represents an #hashtag.
|
|
@@ -19611,7 +19541,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
19611
19541
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19612
19542
|
*/
|
|
19613
19543
|
static async fromJsonLd(json, options = {}) {
|
|
19614
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
19544
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19615
19545
|
try {
|
|
19616
19546
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
19617
19547
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19663,12 +19593,10 @@ var Hashtag = class Hashtag extends Link {
|
|
|
19663
19593
|
return super._getCustomInspectProxy();
|
|
19664
19594
|
}
|
|
19665
19595
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
19666
|
-
|
|
19667
|
-
return "Hashtag " + inspect(proxy, options);
|
|
19596
|
+
return "Hashtag " + inspect(this._getCustomInspectProxy(), options);
|
|
19668
19597
|
}
|
|
19669
19598
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
19670
|
-
|
|
19671
|
-
return "Hashtag " + inspect(proxy, options);
|
|
19599
|
+
return "Hashtag " + inspect(this._getCustomInspectProxy(), options);
|
|
19672
19600
|
}
|
|
19673
19601
|
};
|
|
19674
19602
|
/** An image document of any kind.
|
|
@@ -19763,7 +19691,7 @@ var Image = class Image extends Document {
|
|
|
19763
19691
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19764
19692
|
*/
|
|
19765
19693
|
static async fromJsonLd(json, options = {}) {
|
|
19766
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
19694
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19767
19695
|
try {
|
|
19768
19696
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
19769
19697
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19815,12 +19743,10 @@ var Image = class Image extends Document {
|
|
|
19815
19743
|
return super._getCustomInspectProxy();
|
|
19816
19744
|
}
|
|
19817
19745
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
19818
|
-
|
|
19819
|
-
return "Image " + inspect(proxy, options);
|
|
19746
|
+
return "Image " + inspect(this._getCustomInspectProxy(), options);
|
|
19820
19747
|
}
|
|
19821
19748
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
19822
|
-
|
|
19823
|
-
return "Image " + inspect(proxy, options);
|
|
19749
|
+
return "Image " + inspect(this._getCustomInspectProxy(), options);
|
|
19824
19750
|
}
|
|
19825
19751
|
};
|
|
19826
19752
|
/** Indicates that the actor is offering the object.
|
|
@@ -19910,7 +19836,7 @@ var Offer = class Offer extends Activity {
|
|
|
19910
19836
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19911
19837
|
*/
|
|
19912
19838
|
static async fromJsonLd(json, options = {}) {
|
|
19913
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
19839
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19914
19840
|
try {
|
|
19915
19841
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
19916
19842
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19963,12 +19889,10 @@ var Offer = class Offer extends Activity {
|
|
|
19963
19889
|
return super._getCustomInspectProxy();
|
|
19964
19890
|
}
|
|
19965
19891
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
19966
|
-
|
|
19967
|
-
return "Offer " + inspect(proxy, options);
|
|
19892
|
+
return "Offer " + inspect(this._getCustomInspectProxy(), options);
|
|
19968
19893
|
}
|
|
19969
19894
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
19970
|
-
|
|
19971
|
-
return "Offer " + inspect(proxy, options);
|
|
19895
|
+
return "Offer " + inspect(this._getCustomInspectProxy(), options);
|
|
19972
19896
|
}
|
|
19973
19897
|
};
|
|
19974
19898
|
/** A specialization of `Offer` in which the `actor` is extending an invitation
|
|
@@ -20057,7 +19981,7 @@ var Invite = class Invite extends Offer {
|
|
|
20057
19981
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20058
19982
|
*/
|
|
20059
19983
|
static async fromJsonLd(json, options = {}) {
|
|
20060
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
19984
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20061
19985
|
try {
|
|
20062
19986
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
20063
19987
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20109,12 +20033,10 @@ var Invite = class Invite extends Offer {
|
|
|
20109
20033
|
return super._getCustomInspectProxy();
|
|
20110
20034
|
}
|
|
20111
20035
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
20112
|
-
|
|
20113
|
-
return "Invite " + inspect(proxy, options);
|
|
20036
|
+
return "Invite " + inspect(this._getCustomInspectProxy(), options);
|
|
20114
20037
|
}
|
|
20115
20038
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
20116
|
-
|
|
20117
|
-
return "Invite " + inspect(proxy, options);
|
|
20039
|
+
return "Invite " + inspect(this._getCustomInspectProxy(), options);
|
|
20118
20040
|
}
|
|
20119
20041
|
};
|
|
20120
20042
|
/** Indicates that the `actor` has joined the `object`.
|
|
@@ -20203,7 +20125,7 @@ var Join = class Join extends Activity {
|
|
|
20203
20125
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20204
20126
|
*/
|
|
20205
20127
|
static async fromJsonLd(json, options = {}) {
|
|
20206
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20128
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20207
20129
|
try {
|
|
20208
20130
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
20209
20131
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20255,12 +20177,10 @@ var Join = class Join extends Activity {
|
|
|
20255
20177
|
return super._getCustomInspectProxy();
|
|
20256
20178
|
}
|
|
20257
20179
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
20258
|
-
|
|
20259
|
-
return "Join " + inspect(proxy, options);
|
|
20180
|
+
return "Join " + inspect(this._getCustomInspectProxy(), options);
|
|
20260
20181
|
}
|
|
20261
20182
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
20262
|
-
|
|
20263
|
-
return "Join " + inspect(proxy, options);
|
|
20183
|
+
return "Join " + inspect(this._getCustomInspectProxy(), options);
|
|
20264
20184
|
}
|
|
20265
20185
|
};
|
|
20266
20186
|
/** Indicates that the `actor` has left the `object`.
|
|
@@ -20349,7 +20269,7 @@ var Leave = class Leave extends Activity {
|
|
|
20349
20269
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20350
20270
|
*/
|
|
20351
20271
|
static async fromJsonLd(json, options = {}) {
|
|
20352
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20272
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20353
20273
|
try {
|
|
20354
20274
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
20355
20275
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20401,12 +20321,10 @@ var Leave = class Leave extends Activity {
|
|
|
20401
20321
|
return super._getCustomInspectProxy();
|
|
20402
20322
|
}
|
|
20403
20323
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
20404
|
-
|
|
20405
|
-
return "Leave " + inspect(proxy, options);
|
|
20324
|
+
return "Leave " + inspect(this._getCustomInspectProxy(), options);
|
|
20406
20325
|
}
|
|
20407
20326
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
20408
|
-
|
|
20409
|
-
return "Leave " + inspect(proxy, options);
|
|
20327
|
+
return "Leave " + inspect(this._getCustomInspectProxy(), options);
|
|
20410
20328
|
}
|
|
20411
20329
|
};
|
|
20412
20330
|
/** Indicates that the `actor` likes, recommends or endorses the `object`.
|
|
@@ -20499,7 +20417,7 @@ var Like = class Like extends Activity {
|
|
|
20499
20417
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20500
20418
|
*/
|
|
20501
20419
|
static async fromJsonLd(json, options = {}) {
|
|
20502
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20420
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20503
20421
|
try {
|
|
20504
20422
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
20505
20423
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20551,12 +20469,10 @@ var Like = class Like extends Activity {
|
|
|
20551
20469
|
return super._getCustomInspectProxy();
|
|
20552
20470
|
}
|
|
20553
20471
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
20554
|
-
|
|
20555
|
-
return "Like " + inspect(proxy, options);
|
|
20472
|
+
return "Like " + inspect(this._getCustomInspectProxy(), options);
|
|
20556
20473
|
}
|
|
20557
20474
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
20558
|
-
|
|
20559
|
-
return "Like " + inspect(proxy, options);
|
|
20475
|
+
return "Like " + inspect(this._getCustomInspectProxy(), options);
|
|
20560
20476
|
}
|
|
20561
20477
|
};
|
|
20562
20478
|
/** Indicates that the `actor` has listened to the `object`.
|
|
@@ -20644,7 +20560,7 @@ var Listen = class Listen extends Activity {
|
|
|
20644
20560
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20645
20561
|
*/
|
|
20646
20562
|
static async fromJsonLd(json, options = {}) {
|
|
20647
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20563
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20648
20564
|
try {
|
|
20649
20565
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
20650
20566
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20696,12 +20612,10 @@ var Listen = class Listen extends Activity {
|
|
|
20696
20612
|
return super._getCustomInspectProxy();
|
|
20697
20613
|
}
|
|
20698
20614
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
20699
|
-
|
|
20700
|
-
return "Listen " + inspect(proxy, options);
|
|
20615
|
+
return "Listen " + inspect(this._getCustomInspectProxy(), options);
|
|
20701
20616
|
}
|
|
20702
20617
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
20703
|
-
|
|
20704
|
-
return "Listen " + inspect(proxy, options);
|
|
20618
|
+
return "Listen " + inspect(this._getCustomInspectProxy(), options);
|
|
20705
20619
|
}
|
|
20706
20620
|
};
|
|
20707
20621
|
/** A specialized {@link Link} that represents an @mention.
|
|
@@ -20793,7 +20707,7 @@ var Mention = class Mention extends Link {
|
|
|
20793
20707
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20794
20708
|
*/
|
|
20795
20709
|
static async fromJsonLd(json, options = {}) {
|
|
20796
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20710
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20797
20711
|
try {
|
|
20798
20712
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
20799
20713
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20845,12 +20759,10 @@ var Mention = class Mention extends Link {
|
|
|
20845
20759
|
return super._getCustomInspectProxy();
|
|
20846
20760
|
}
|
|
20847
20761
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
20848
|
-
|
|
20849
|
-
return "Mention " + inspect(proxy, options);
|
|
20762
|
+
return "Mention " + inspect(this._getCustomInspectProxy(), options);
|
|
20850
20763
|
}
|
|
20851
20764
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
20852
|
-
|
|
20853
|
-
return "Mention " + inspect(proxy, options);
|
|
20765
|
+
return "Mention " + inspect(this._getCustomInspectProxy(), options);
|
|
20854
20766
|
}
|
|
20855
20767
|
};
|
|
20856
20768
|
/** Indicates that the `actor` has moved `object` from `origin` to `target`.
|
|
@@ -20940,7 +20852,7 @@ var Move = class Move extends Activity {
|
|
|
20940
20852
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20941
20853
|
*/
|
|
20942
20854
|
static async fromJsonLd(json, options = {}) {
|
|
20943
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
20855
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20944
20856
|
try {
|
|
20945
20857
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
20946
20858
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20992,12 +20904,10 @@ var Move = class Move extends Activity {
|
|
|
20992
20904
|
return super._getCustomInspectProxy();
|
|
20993
20905
|
}
|
|
20994
20906
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
20995
|
-
|
|
20996
|
-
return "Move " + inspect(proxy, options);
|
|
20907
|
+
return "Move " + inspect(this._getCustomInspectProxy(), options);
|
|
20997
20908
|
}
|
|
20998
20909
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
20999
|
-
|
|
21000
|
-
return "Move " + inspect(proxy, options);
|
|
20910
|
+
return "Move " + inspect(this._getCustomInspectProxy(), options);
|
|
21001
20911
|
}
|
|
21002
20912
|
};
|
|
21003
20913
|
/** Represents a short written work typically less than a single paragraph in
|
|
@@ -21174,7 +21084,7 @@ var Note = class Note extends Object$1 {
|
|
|
21174
21084
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21175
21085
|
*/
|
|
21176
21086
|
static async fromJsonLd(json, options = {}) {
|
|
21177
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
21087
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21178
21088
|
try {
|
|
21179
21089
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
21180
21090
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21241,12 +21151,10 @@ var Note = class Note extends Object$1 {
|
|
|
21241
21151
|
return proxy;
|
|
21242
21152
|
}
|
|
21243
21153
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
21244
|
-
|
|
21245
|
-
return "Note " + inspect(proxy, options);
|
|
21154
|
+
return "Note " + inspect(this._getCustomInspectProxy(), options);
|
|
21246
21155
|
}
|
|
21247
21156
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
21248
|
-
|
|
21249
|
-
return "Note " + inspect(proxy, options);
|
|
21157
|
+
return "Note " + inspect(this._getCustomInspectProxy(), options);
|
|
21250
21158
|
}
|
|
21251
21159
|
};
|
|
21252
21160
|
/** A subtype of {@link Collection} in which members of the logical collection
|
|
@@ -21294,7 +21202,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
21294
21202
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21295
21203
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21296
21204
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21297
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
21205
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21298
21206
|
let fetchResult;
|
|
21299
21207
|
try {
|
|
21300
21208
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21522,7 +21430,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
21522
21430
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21523
21431
|
*/
|
|
21524
21432
|
static async fromJsonLd(json, options = {}) {
|
|
21525
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
21433
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21526
21434
|
try {
|
|
21527
21435
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
21528
21436
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21653,12 +21561,10 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
21653
21561
|
return proxy;
|
|
21654
21562
|
}
|
|
21655
21563
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
21656
|
-
|
|
21657
|
-
return "OrderedCollection " + inspect(proxy, options);
|
|
21564
|
+
return "OrderedCollection " + inspect(this._getCustomInspectProxy(), options);
|
|
21658
21565
|
}
|
|
21659
21566
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
21660
|
-
|
|
21661
|
-
return "OrderedCollection " + inspect(proxy, options);
|
|
21567
|
+
return "OrderedCollection " + inspect(this._getCustomInspectProxy(), options);
|
|
21662
21568
|
}
|
|
21663
21569
|
};
|
|
21664
21570
|
/** Used to represent ordered subsets of items from an `OrderedCollection`.
|
|
@@ -21713,7 +21619,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
21713
21619
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21714
21620
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21715
21621
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21716
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
21622
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21717
21623
|
let fetchResult;
|
|
21718
21624
|
try {
|
|
21719
21625
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21964,7 +21870,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
21964
21870
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21965
21871
|
*/
|
|
21966
21872
|
static async fromJsonLd(json, options = {}) {
|
|
21967
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
21873
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21968
21874
|
try {
|
|
21969
21875
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
21970
21876
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22107,12 +22013,10 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
22107
22013
|
return proxy;
|
|
22108
22014
|
}
|
|
22109
22015
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
22110
|
-
|
|
22111
|
-
return "OrderedCollectionPage " + inspect(proxy, options);
|
|
22016
|
+
return "OrderedCollectionPage " + inspect(this._getCustomInspectProxy(), options);
|
|
22112
22017
|
}
|
|
22113
22018
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
22114
|
-
|
|
22115
|
-
return "OrderedCollectionPage " + inspect(proxy, options);
|
|
22019
|
+
return "OrderedCollectionPage " + inspect(this._getCustomInspectProxy(), options);
|
|
22116
22020
|
}
|
|
22117
22021
|
};
|
|
22118
22022
|
/** Represents an organization.
|
|
@@ -22349,7 +22253,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22349
22253
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22350
22254
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22351
22255
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22352
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
22256
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22353
22257
|
let fetchResult;
|
|
22354
22258
|
try {
|
|
22355
22259
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22482,7 +22386,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22482
22386
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22483
22387
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22484
22388
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22485
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
22389
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22486
22390
|
let fetchResult;
|
|
22487
22391
|
try {
|
|
22488
22392
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22633,7 +22537,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22633
22537
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22634
22538
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22635
22539
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22636
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
22540
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22637
22541
|
let fetchResult;
|
|
22638
22542
|
try {
|
|
22639
22543
|
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);
|
|
@@ -22868,7 +22772,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22868
22772
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22869
22773
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22870
22774
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22871
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
22775
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22872
22776
|
let fetchResult;
|
|
22873
22777
|
try {
|
|
22874
22778
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22970,7 +22874,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
22970
22874
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22971
22875
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22972
22876
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22973
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
22877
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22974
22878
|
let fetchResult;
|
|
22975
22879
|
try {
|
|
22976
22880
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23075,7 +22979,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23075
22979
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23076
22980
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23077
22981
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23078
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
22982
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23079
22983
|
let fetchResult;
|
|
23080
22984
|
try {
|
|
23081
22985
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23178,7 +23082,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23178
23082
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23179
23083
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23180
23084
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23181
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23085
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23182
23086
|
let fetchResult;
|
|
23183
23087
|
try {
|
|
23184
23088
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23279,7 +23183,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23279
23183
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23280
23184
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23281
23185
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23282
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23186
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23283
23187
|
let fetchResult;
|
|
23284
23188
|
try {
|
|
23285
23189
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23380,7 +23284,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23380
23284
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23381
23285
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23382
23286
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23383
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23287
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23384
23288
|
let fetchResult;
|
|
23385
23289
|
try {
|
|
23386
23290
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23523,7 +23427,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23523
23427
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23524
23428
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23525
23429
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23526
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23430
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23527
23431
|
let fetchResult;
|
|
23528
23432
|
try {
|
|
23529
23433
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23663,7 +23567,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23663
23567
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23664
23568
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23665
23569
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23666
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23570
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23667
23571
|
let fetchResult;
|
|
23668
23572
|
try {
|
|
23669
23573
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23844,7 +23748,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
23844
23748
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23845
23749
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23846
23750
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23847
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
23751
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23848
23752
|
let fetchResult;
|
|
23849
23753
|
try {
|
|
23850
23754
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24498,7 +24402,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
24498
24402
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24499
24403
|
*/
|
|
24500
24404
|
static async fromJsonLd(json, options = {}) {
|
|
24501
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
24405
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24502
24406
|
try {
|
|
24503
24407
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
24504
24408
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24882,12 +24786,10 @@ var Organization = class Organization extends Object$1 {
|
|
|
24882
24786
|
return proxy;
|
|
24883
24787
|
}
|
|
24884
24788
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
24885
|
-
|
|
24886
|
-
return "Organization " + inspect(proxy, options);
|
|
24789
|
+
return "Organization " + inspect(this._getCustomInspectProxy(), options);
|
|
24887
24790
|
}
|
|
24888
24791
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
24889
|
-
|
|
24890
|
-
return "Organization " + inspect(proxy, options);
|
|
24792
|
+
return "Organization " + inspect(this._getCustomInspectProxy(), options);
|
|
24891
24793
|
}
|
|
24892
24794
|
};
|
|
24893
24795
|
/** Represents a Web Page.
|
|
@@ -24982,7 +24884,7 @@ var Page = class Page extends Document {
|
|
|
24982
24884
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24983
24885
|
*/
|
|
24984
24886
|
static async fromJsonLd(json, options = {}) {
|
|
24985
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
24887
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24986
24888
|
try {
|
|
24987
24889
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
24988
24890
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25034,12 +24936,10 @@ var Page = class Page extends Document {
|
|
|
25034
24936
|
return super._getCustomInspectProxy();
|
|
25035
24937
|
}
|
|
25036
24938
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
25037
|
-
|
|
25038
|
-
return "Page " + inspect(proxy, options);
|
|
24939
|
+
return "Page " + inspect(this._getCustomInspectProxy(), options);
|
|
25039
24940
|
}
|
|
25040
24941
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
25041
|
-
|
|
25042
|
-
return "Page " + inspect(proxy, options);
|
|
24942
|
+
return "Page " + inspect(this._getCustomInspectProxy(), options);
|
|
25043
24943
|
}
|
|
25044
24944
|
};
|
|
25045
24945
|
/** Represents an individual person.
|
|
@@ -25276,7 +25176,7 @@ var Person = class Person extends Object$1 {
|
|
|
25276
25176
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25277
25177
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25278
25178
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25279
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25179
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25280
25180
|
let fetchResult;
|
|
25281
25181
|
try {
|
|
25282
25182
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25409,7 +25309,7 @@ var Person = class Person extends Object$1 {
|
|
|
25409
25309
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25410
25310
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25411
25311
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25412
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25312
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25413
25313
|
let fetchResult;
|
|
25414
25314
|
try {
|
|
25415
25315
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25560,7 +25460,7 @@ var Person = class Person extends Object$1 {
|
|
|
25560
25460
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25561
25461
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25562
25462
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25563
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25463
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25564
25464
|
let fetchResult;
|
|
25565
25465
|
try {
|
|
25566
25466
|
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);
|
|
@@ -25795,7 +25695,7 @@ var Person = class Person extends Object$1 {
|
|
|
25795
25695
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25796
25696
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25797
25697
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25798
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25698
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25799
25699
|
let fetchResult;
|
|
25800
25700
|
try {
|
|
25801
25701
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25897,7 +25797,7 @@ var Person = class Person extends Object$1 {
|
|
|
25897
25797
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25898
25798
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25899
25799
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25900
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25800
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25901
25801
|
let fetchResult;
|
|
25902
25802
|
try {
|
|
25903
25803
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26002,7 +25902,7 @@ var Person = class Person extends Object$1 {
|
|
|
26002
25902
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26003
25903
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26004
25904
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26005
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
25905
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26006
25906
|
let fetchResult;
|
|
26007
25907
|
try {
|
|
26008
25908
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26105,7 +26005,7 @@ var Person = class Person extends Object$1 {
|
|
|
26105
26005
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26106
26006
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26107
26007
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26108
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26008
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26109
26009
|
let fetchResult;
|
|
26110
26010
|
try {
|
|
26111
26011
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26206,7 +26106,7 @@ var Person = class Person extends Object$1 {
|
|
|
26206
26106
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26207
26107
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26208
26108
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26209
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26109
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26210
26110
|
let fetchResult;
|
|
26211
26111
|
try {
|
|
26212
26112
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26307,7 +26207,7 @@ var Person = class Person extends Object$1 {
|
|
|
26307
26207
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26308
26208
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26309
26209
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26310
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26210
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26311
26211
|
let fetchResult;
|
|
26312
26212
|
try {
|
|
26313
26213
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26450,7 +26350,7 @@ var Person = class Person extends Object$1 {
|
|
|
26450
26350
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26451
26351
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26452
26352
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26453
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26353
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26454
26354
|
let fetchResult;
|
|
26455
26355
|
try {
|
|
26456
26356
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26590,7 +26490,7 @@ var Person = class Person extends Object$1 {
|
|
|
26590
26490
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26591
26491
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26592
26492
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26593
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26493
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26594
26494
|
let fetchResult;
|
|
26595
26495
|
try {
|
|
26596
26496
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26771,7 +26671,7 @@ var Person = class Person extends Object$1 {
|
|
|
26771
26671
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26772
26672
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26773
26673
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26774
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
26674
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26775
26675
|
let fetchResult;
|
|
26776
26676
|
try {
|
|
26777
26677
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27425,7 +27325,7 @@ var Person = class Person extends Object$1 {
|
|
|
27425
27325
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27426
27326
|
*/
|
|
27427
27327
|
static async fromJsonLd(json, options = {}) {
|
|
27428
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
27328
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27429
27329
|
try {
|
|
27430
27330
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
27431
27331
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27809,12 +27709,10 @@ var Person = class Person extends Object$1 {
|
|
|
27809
27709
|
return proxy;
|
|
27810
27710
|
}
|
|
27811
27711
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
27812
|
-
|
|
27813
|
-
return "Person " + inspect(proxy, options);
|
|
27712
|
+
return "Person " + inspect(this._getCustomInspectProxy(), options);
|
|
27814
27713
|
}
|
|
27815
27714
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
27816
|
-
|
|
27817
|
-
return "Person " + inspect(proxy, options);
|
|
27715
|
+
return "Person " + inspect(this._getCustomInspectProxy(), options);
|
|
27818
27716
|
}
|
|
27819
27717
|
};
|
|
27820
27718
|
/** Represents a logical or physical location. See [5.3 Representing
|
|
@@ -28086,7 +27984,7 @@ var Place = class Place extends Object$1 {
|
|
|
28086
27984
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28087
27985
|
*/
|
|
28088
27986
|
static async fromJsonLd(json, options = {}) {
|
|
28089
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
27987
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28090
27988
|
try {
|
|
28091
27989
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
28092
27990
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28166,7 +28064,7 @@ var Place = class Place extends Object$1 {
|
|
|
28166
28064
|
let _oKrwxU4V8wiKhMW1QEYQibcJh8c_units__array = values["https://www.w3.org/ns/activitystreams#units"];
|
|
28167
28065
|
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) {
|
|
28168
28066
|
if (v == null) continue;
|
|
28169
|
-
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://
|
|
28067
|
+
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;
|
|
28170
28068
|
if (typeof decoded === "undefined") continue;
|
|
28171
28069
|
_oKrwxU4V8wiKhMW1QEYQibcJh8c_units.push(decoded);
|
|
28172
28070
|
}
|
|
@@ -28213,12 +28111,10 @@ var Place = class Place extends Object$1 {
|
|
|
28213
28111
|
return proxy;
|
|
28214
28112
|
}
|
|
28215
28113
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
28216
|
-
|
|
28217
|
-
return "Place " + inspect(proxy, options);
|
|
28114
|
+
return "Place " + inspect(this._getCustomInspectProxy(), options);
|
|
28218
28115
|
}
|
|
28219
28116
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
28220
|
-
|
|
28221
|
-
return "Place " + inspect(proxy, options);
|
|
28117
|
+
return "Place " + inspect(this._getCustomInspectProxy(), options);
|
|
28222
28118
|
}
|
|
28223
28119
|
};
|
|
28224
28120
|
/** A {@link Profile} is a content object that describes another {@link Object},
|
|
@@ -28269,7 +28165,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
28269
28165
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28270
28166
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28271
28167
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28272
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
28168
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28273
28169
|
let fetchResult;
|
|
28274
28170
|
try {
|
|
28275
28171
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28440,7 +28336,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
28440
28336
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28441
28337
|
*/
|
|
28442
28338
|
static async fromJsonLd(json, options = {}) {
|
|
28443
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
28339
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28444
28340
|
try {
|
|
28445
28341
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
28446
28342
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28509,12 +28405,10 @@ var Profile = class Profile extends Object$1 {
|
|
|
28509
28405
|
return proxy;
|
|
28510
28406
|
}
|
|
28511
28407
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
28512
|
-
|
|
28513
|
-
return "Profile " + inspect(proxy, options);
|
|
28408
|
+
return "Profile " + inspect(this._getCustomInspectProxy(), options);
|
|
28514
28409
|
}
|
|
28515
28410
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
28516
|
-
|
|
28517
|
-
return "Profile " + inspect(proxy, options);
|
|
28411
|
+
return "Profile " + inspect(this._getCustomInspectProxy(), options);
|
|
28518
28412
|
}
|
|
28519
28413
|
};
|
|
28520
28414
|
/** Represents a question being asked. Question objects are an extension of
|
|
@@ -28592,7 +28486,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
28592
28486
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28593
28487
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28594
28488
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28595
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
28489
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28596
28490
|
let fetchResult;
|
|
28597
28491
|
try {
|
|
28598
28492
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28695,7 +28589,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
28695
28589
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28696
28590
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28697
28591
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28698
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
28592
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28699
28593
|
let fetchResult;
|
|
28700
28594
|
try {
|
|
28701
28595
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28939,7 +28833,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
28939
28833
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28940
28834
|
*/
|
|
28941
28835
|
static async fromJsonLd(json, options = {}) {
|
|
28942
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
28836
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28943
28837
|
try {
|
|
28944
28838
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
28945
28839
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29064,12 +28958,10 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
29064
28958
|
return proxy;
|
|
29065
28959
|
}
|
|
29066
28960
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
29067
|
-
|
|
29068
|
-
return "Question " + inspect(proxy, options);
|
|
28961
|
+
return "Question " + inspect(this._getCustomInspectProxy(), options);
|
|
29069
28962
|
}
|
|
29070
28963
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
29071
|
-
|
|
29072
|
-
return "Question " + inspect(proxy, options);
|
|
28964
|
+
return "Question " + inspect(this._getCustomInspectProxy(), options);
|
|
29073
28965
|
}
|
|
29074
28966
|
};
|
|
29075
28967
|
/** Indicates that the `actor` has read the `object`.
|
|
@@ -29157,7 +29049,7 @@ var Read = class Read extends Activity {
|
|
|
29157
29049
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29158
29050
|
*/
|
|
29159
29051
|
static async fromJsonLd(json, options = {}) {
|
|
29160
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
29052
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29161
29053
|
try {
|
|
29162
29054
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
29163
29055
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29209,12 +29101,10 @@ var Read = class Read extends Activity {
|
|
|
29209
29101
|
return super._getCustomInspectProxy();
|
|
29210
29102
|
}
|
|
29211
29103
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
29212
|
-
|
|
29213
|
-
return "Read " + inspect(proxy, options);
|
|
29104
|
+
return "Read " + inspect(this._getCustomInspectProxy(), options);
|
|
29214
29105
|
}
|
|
29215
29106
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
29216
|
-
|
|
29217
|
-
return "Read " + inspect(proxy, options);
|
|
29107
|
+
return "Read " + inspect(this._getCustomInspectProxy(), options);
|
|
29218
29108
|
}
|
|
29219
29109
|
};
|
|
29220
29110
|
/** Indicates that the `actor` is rejecting the `object`. The `target` and
|
|
@@ -29303,7 +29193,7 @@ var Reject = class Reject extends Activity {
|
|
|
29303
29193
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29304
29194
|
*/
|
|
29305
29195
|
static async fromJsonLd(json, options = {}) {
|
|
29306
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
29196
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29307
29197
|
try {
|
|
29308
29198
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
29309
29199
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29356,12 +29246,10 @@ var Reject = class Reject extends Activity {
|
|
|
29356
29246
|
return super._getCustomInspectProxy();
|
|
29357
29247
|
}
|
|
29358
29248
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
29359
|
-
|
|
29360
|
-
return "Reject " + inspect(proxy, options);
|
|
29249
|
+
return "Reject " + inspect(this._getCustomInspectProxy(), options);
|
|
29361
29250
|
}
|
|
29362
29251
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
29363
|
-
|
|
29364
|
-
return "Reject " + inspect(proxy, options);
|
|
29252
|
+
return "Reject " + inspect(this._getCustomInspectProxy(), options);
|
|
29365
29253
|
}
|
|
29366
29254
|
};
|
|
29367
29255
|
/** Describes a relationship between two individuals.
|
|
@@ -29446,7 +29334,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
29446
29334
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29447
29335
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29448
29336
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29449
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
29337
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29450
29338
|
let fetchResult;
|
|
29451
29339
|
try {
|
|
29452
29340
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29547,7 +29435,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
29547
29435
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29548
29436
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29549
29437
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29550
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
29438
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29551
29439
|
let fetchResult;
|
|
29552
29440
|
try {
|
|
29553
29441
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29680,7 +29568,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
29680
29568
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29681
29569
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29682
29570
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29683
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
29571
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29684
29572
|
let fetchResult;
|
|
29685
29573
|
try {
|
|
29686
29574
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29921,7 +29809,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
29921
29809
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29922
29810
|
*/
|
|
29923
29811
|
static async fromJsonLd(json, options = {}) {
|
|
29924
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
29812
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29925
29813
|
try {
|
|
29926
29814
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
29927
29815
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30024,12 +29912,10 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
30024
29912
|
return proxy;
|
|
30025
29913
|
}
|
|
30026
29914
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
30027
|
-
|
|
30028
|
-
return "Relationship " + inspect(proxy, options);
|
|
29915
|
+
return "Relationship " + inspect(this._getCustomInspectProxy(), options);
|
|
30029
29916
|
}
|
|
30030
29917
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
30031
|
-
|
|
30032
|
-
return "Relationship " + inspect(proxy, options);
|
|
29918
|
+
return "Relationship " + inspect(this._getCustomInspectProxy(), options);
|
|
30033
29919
|
}
|
|
30034
29920
|
};
|
|
30035
29921
|
/** Indicates that the `actor` is removing the `object`. If specified,
|
|
@@ -30118,7 +30004,7 @@ var Remove = class Remove extends Activity {
|
|
|
30118
30004
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30119
30005
|
*/
|
|
30120
30006
|
static async fromJsonLd(json, options = {}) {
|
|
30121
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
30007
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30122
30008
|
try {
|
|
30123
30009
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
30124
30010
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30170,12 +30056,10 @@ var Remove = class Remove extends Activity {
|
|
|
30170
30056
|
return super._getCustomInspectProxy();
|
|
30171
30057
|
}
|
|
30172
30058
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
30173
|
-
|
|
30174
|
-
return "Remove " + inspect(proxy, options);
|
|
30059
|
+
return "Remove " + inspect(this._getCustomInspectProxy(), options);
|
|
30175
30060
|
}
|
|
30176
30061
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
30177
|
-
|
|
30178
|
-
return "Remove " + inspect(proxy, options);
|
|
30062
|
+
return "Remove " + inspect(this._getCustomInspectProxy(), options);
|
|
30179
30063
|
}
|
|
30180
30064
|
};
|
|
30181
30065
|
/** Represents a service of any kind.
|
|
@@ -30412,7 +30296,7 @@ var Service = class Service extends Object$1 {
|
|
|
30412
30296
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30413
30297
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30414
30298
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30415
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
30299
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30416
30300
|
let fetchResult;
|
|
30417
30301
|
try {
|
|
30418
30302
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30545,7 +30429,7 @@ var Service = class Service extends Object$1 {
|
|
|
30545
30429
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30546
30430
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30547
30431
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30548
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
30432
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30549
30433
|
let fetchResult;
|
|
30550
30434
|
try {
|
|
30551
30435
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30696,7 +30580,7 @@ var Service = class Service extends Object$1 {
|
|
|
30696
30580
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30697
30581
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30698
30582
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30699
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
30583
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30700
30584
|
let fetchResult;
|
|
30701
30585
|
try {
|
|
30702
30586
|
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);
|
|
@@ -30931,7 +30815,7 @@ var Service = class Service extends Object$1 {
|
|
|
30931
30815
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30932
30816
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30933
30817
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30934
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
30818
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30935
30819
|
let fetchResult;
|
|
30936
30820
|
try {
|
|
30937
30821
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31033,7 +30917,7 @@ var Service = class Service extends Object$1 {
|
|
|
31033
30917
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31034
30918
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31035
30919
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31036
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
30920
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31037
30921
|
let fetchResult;
|
|
31038
30922
|
try {
|
|
31039
30923
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31138,7 +31022,7 @@ var Service = class Service extends Object$1 {
|
|
|
31138
31022
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31139
31023
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31140
31024
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31141
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31025
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31142
31026
|
let fetchResult;
|
|
31143
31027
|
try {
|
|
31144
31028
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31241,7 +31125,7 @@ var Service = class Service extends Object$1 {
|
|
|
31241
31125
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31242
31126
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31243
31127
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31244
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31128
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31245
31129
|
let fetchResult;
|
|
31246
31130
|
try {
|
|
31247
31131
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31342,7 +31226,7 @@ var Service = class Service extends Object$1 {
|
|
|
31342
31226
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31343
31227
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31344
31228
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31345
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31229
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31346
31230
|
let fetchResult;
|
|
31347
31231
|
try {
|
|
31348
31232
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31443,7 +31327,7 @@ var Service = class Service extends Object$1 {
|
|
|
31443
31327
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31444
31328
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31445
31329
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31446
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31330
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31447
31331
|
let fetchResult;
|
|
31448
31332
|
try {
|
|
31449
31333
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31586,7 +31470,7 @@ var Service = class Service extends Object$1 {
|
|
|
31586
31470
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31587
31471
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31588
31472
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31589
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31473
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31590
31474
|
let fetchResult;
|
|
31591
31475
|
try {
|
|
31592
31476
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31726,7 +31610,7 @@ var Service = class Service extends Object$1 {
|
|
|
31726
31610
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31727
31611
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31728
31612
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31729
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31613
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31730
31614
|
let fetchResult;
|
|
31731
31615
|
try {
|
|
31732
31616
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31907,7 +31791,7 @@ var Service = class Service extends Object$1 {
|
|
|
31907
31791
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31908
31792
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31909
31793
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31910
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.7.
|
|
31794
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31911
31795
|
let fetchResult;
|
|
31912
31796
|
try {
|
|
31913
31797
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32561,7 +32445,7 @@ var Service = class Service extends Object$1 {
|
|
|
32561
32445
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32562
32446
|
*/
|
|
32563
32447
|
static async fromJsonLd(json, options = {}) {
|
|
32564
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
32448
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32565
32449
|
try {
|
|
32566
32450
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
32567
32451
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32945,12 +32829,10 @@ var Service = class Service extends Object$1 {
|
|
|
32945
32829
|
return proxy;
|
|
32946
32830
|
}
|
|
32947
32831
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
32948
|
-
|
|
32949
|
-
return "Service " + inspect(proxy, options);
|
|
32832
|
+
return "Service " + inspect(this._getCustomInspectProxy(), options);
|
|
32950
32833
|
}
|
|
32951
32834
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
32952
|
-
|
|
32953
|
-
return "Service " + inspect(proxy, options);
|
|
32835
|
+
return "Service " + inspect(this._getCustomInspectProxy(), options);
|
|
32954
32836
|
}
|
|
32955
32837
|
};
|
|
32956
32838
|
/** Contents of {@link Object}'s `source`.
|
|
@@ -33137,7 +33019,7 @@ var Source = class {
|
|
|
33137
33019
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33138
33020
|
*/
|
|
33139
33021
|
static async fromJsonLd(json, options = {}) {
|
|
33140
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33022
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33141
33023
|
try {
|
|
33142
33024
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
33143
33025
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33216,12 +33098,10 @@ var Source = class {
|
|
|
33216
33098
|
return proxy;
|
|
33217
33099
|
}
|
|
33218
33100
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
33219
|
-
|
|
33220
|
-
return "Source " + inspect(proxy, options);
|
|
33101
|
+
return "Source " + inspect(this._getCustomInspectProxy(), options);
|
|
33221
33102
|
}
|
|
33222
33103
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
33223
|
-
|
|
33224
|
-
return "Source " + inspect(proxy, options);
|
|
33104
|
+
return "Source " + inspect(this._getCustomInspectProxy(), options);
|
|
33225
33105
|
}
|
|
33226
33106
|
};
|
|
33227
33107
|
/** A specialization of {@link Accept} indicating that
|
|
@@ -33310,7 +33190,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
33310
33190
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33311
33191
|
*/
|
|
33312
33192
|
static async fromJsonLd(json, options = {}) {
|
|
33313
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33193
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33314
33194
|
try {
|
|
33315
33195
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
33316
33196
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33362,12 +33242,10 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
33362
33242
|
return super._getCustomInspectProxy();
|
|
33363
33243
|
}
|
|
33364
33244
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
33365
|
-
|
|
33366
|
-
return "TentativeAccept " + inspect(proxy, options);
|
|
33245
|
+
return "TentativeAccept " + inspect(this._getCustomInspectProxy(), options);
|
|
33367
33246
|
}
|
|
33368
33247
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
33369
|
-
|
|
33370
|
-
return "TentativeAccept " + inspect(proxy, options);
|
|
33248
|
+
return "TentativeAccept " + inspect(this._getCustomInspectProxy(), options);
|
|
33371
33249
|
}
|
|
33372
33250
|
};
|
|
33373
33251
|
/** A specialization of {@link Reject} in which
|
|
@@ -33456,7 +33334,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
33456
33334
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33457
33335
|
*/
|
|
33458
33336
|
static async fromJsonLd(json, options = {}) {
|
|
33459
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33337
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33460
33338
|
try {
|
|
33461
33339
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
33462
33340
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33508,12 +33386,10 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
33508
33386
|
return super._getCustomInspectProxy();
|
|
33509
33387
|
}
|
|
33510
33388
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
33511
|
-
|
|
33512
|
-
return "TentativeReject " + inspect(proxy, options);
|
|
33389
|
+
return "TentativeReject " + inspect(this._getCustomInspectProxy(), options);
|
|
33513
33390
|
}
|
|
33514
33391
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
33515
|
-
|
|
33516
|
-
return "TentativeReject " + inspect(proxy, options);
|
|
33392
|
+
return "TentativeReject " + inspect(this._getCustomInspectProxy(), options);
|
|
33517
33393
|
}
|
|
33518
33394
|
};
|
|
33519
33395
|
/** A `Tombstone` represents a content object that has been deleted.
|
|
@@ -33641,7 +33517,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
33641
33517
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33642
33518
|
*/
|
|
33643
33519
|
static async fromJsonLd(json, options = {}) {
|
|
33644
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33520
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33645
33521
|
try {
|
|
33646
33522
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
33647
33523
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33706,12 +33582,10 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
33706
33582
|
return proxy;
|
|
33707
33583
|
}
|
|
33708
33584
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
33709
|
-
|
|
33710
|
-
return "Tombstone " + inspect(proxy, options);
|
|
33585
|
+
return "Tombstone " + inspect(this._getCustomInspectProxy(), options);
|
|
33711
33586
|
}
|
|
33712
33587
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
33713
|
-
|
|
33714
|
-
return "Tombstone " + inspect(proxy, options);
|
|
33588
|
+
return "Tombstone " + inspect(this._getCustomInspectProxy(), options);
|
|
33715
33589
|
}
|
|
33716
33590
|
};
|
|
33717
33591
|
/** Indicates that the `actor` is traveling to `target` from `origin`.
|
|
@@ -33802,7 +33676,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
33802
33676
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33803
33677
|
*/
|
|
33804
33678
|
static async fromJsonLd(json, options = {}) {
|
|
33805
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33679
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33806
33680
|
try {
|
|
33807
33681
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
33808
33682
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33854,12 +33728,10 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
33854
33728
|
return super._getCustomInspectProxy();
|
|
33855
33729
|
}
|
|
33856
33730
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
33857
|
-
|
|
33858
|
-
return "Travel " + inspect(proxy, options);
|
|
33731
|
+
return "Travel " + inspect(this._getCustomInspectProxy(), options);
|
|
33859
33732
|
}
|
|
33860
33733
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
33861
|
-
|
|
33862
|
-
return "Travel " + inspect(proxy, options);
|
|
33734
|
+
return "Travel " + inspect(this._getCustomInspectProxy(), options);
|
|
33863
33735
|
}
|
|
33864
33736
|
};
|
|
33865
33737
|
/** Indicates that the `actor` is undoing the `object`. In most cases,
|
|
@@ -33962,7 +33834,7 @@ var Undo = class Undo extends Activity {
|
|
|
33962
33834
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33963
33835
|
*/
|
|
33964
33836
|
static async fromJsonLd(json, options = {}) {
|
|
33965
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
33837
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33966
33838
|
try {
|
|
33967
33839
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
33968
33840
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34014,12 +33886,10 @@ var Undo = class Undo extends Activity {
|
|
|
34014
33886
|
return super._getCustomInspectProxy();
|
|
34015
33887
|
}
|
|
34016
33888
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
34017
|
-
|
|
34018
|
-
return "Undo " + inspect(proxy, options);
|
|
33889
|
+
return "Undo " + inspect(this._getCustomInspectProxy(), options);
|
|
34019
33890
|
}
|
|
34020
33891
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
34021
|
-
|
|
34022
|
-
return "Undo " + inspect(proxy, options);
|
|
33892
|
+
return "Undo " + inspect(this._getCustomInspectProxy(), options);
|
|
34023
33893
|
}
|
|
34024
33894
|
};
|
|
34025
33895
|
/** Indicates that the `actor` has updated the `object`. Note, however,
|
|
@@ -34160,7 +34030,7 @@ var Update = class Update extends Activity {
|
|
|
34160
34030
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34161
34031
|
*/
|
|
34162
34032
|
static async fromJsonLd(json, options = {}) {
|
|
34163
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
34033
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34164
34034
|
try {
|
|
34165
34035
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
34166
34036
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34212,12 +34082,10 @@ var Update = class Update extends Activity {
|
|
|
34212
34082
|
return super._getCustomInspectProxy();
|
|
34213
34083
|
}
|
|
34214
34084
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
34215
|
-
|
|
34216
|
-
return "Update " + inspect(proxy, options);
|
|
34085
|
+
return "Update " + inspect(this._getCustomInspectProxy(), options);
|
|
34217
34086
|
}
|
|
34218
34087
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
34219
|
-
|
|
34220
|
-
return "Update " + inspect(proxy, options);
|
|
34088
|
+
return "Update " + inspect(this._getCustomInspectProxy(), options);
|
|
34221
34089
|
}
|
|
34222
34090
|
};
|
|
34223
34091
|
/** Represents a video document of any kind.
|
|
@@ -34312,7 +34180,7 @@ var Video = class Video extends Document {
|
|
|
34312
34180
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34313
34181
|
*/
|
|
34314
34182
|
static async fromJsonLd(json, options = {}) {
|
|
34315
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
34183
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34316
34184
|
try {
|
|
34317
34185
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
34318
34186
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34364,12 +34232,10 @@ var Video = class Video extends Document {
|
|
|
34364
34232
|
return super._getCustomInspectProxy();
|
|
34365
34233
|
}
|
|
34366
34234
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
34367
|
-
|
|
34368
|
-
return "Video " + inspect(proxy, options);
|
|
34235
|
+
return "Video " + inspect(this._getCustomInspectProxy(), options);
|
|
34369
34236
|
}
|
|
34370
34237
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
34371
|
-
|
|
34372
|
-
return "Video " + inspect(proxy, options);
|
|
34238
|
+
return "Video " + inspect(this._getCustomInspectProxy(), options);
|
|
34373
34239
|
}
|
|
34374
34240
|
};
|
|
34375
34241
|
/** Indicates that the `actor` has viewed the object.
|
|
@@ -34457,7 +34323,7 @@ var View = class View extends Activity {
|
|
|
34457
34323
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34458
34324
|
*/
|
|
34459
34325
|
static async fromJsonLd(json, options = {}) {
|
|
34460
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.
|
|
34326
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34461
34327
|
try {
|
|
34462
34328
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
34463
34329
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34509,14 +34375,12 @@ var View = class View extends Activity {
|
|
|
34509
34375
|
return super._getCustomInspectProxy();
|
|
34510
34376
|
}
|
|
34511
34377
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
|
34512
|
-
|
|
34513
|
-
return "View " + inspect(proxy, options);
|
|
34378
|
+
return "View " + inspect(this._getCustomInspectProxy(), options);
|
|
34514
34379
|
}
|
|
34515
34380
|
[Symbol.for("nodejs.util.inspect.custom")](_depth, options, inspect) {
|
|
34516
|
-
|
|
34517
|
-
return "View " + inspect(proxy, options);
|
|
34381
|
+
return "View " + inspect(this._getCustomInspectProxy(), options);
|
|
34518
34382
|
}
|
|
34519
34383
|
};
|
|
34520
34384
|
|
|
34521
34385
|
//#endregion
|
|
34522
|
-
export {
|
|
34386
|
+
export { exportSpki as A, Place as C, Update as D, Source as E, importPem as M, importPkcs1 as N, vocab_exports as O, importSpki as P, Person as S, Service as T, Object$1 as _, Create as a, OrderedCollectionPage as b, Endpoints as c, Hashtag as d, Image as f, Note as g, Multikey as h, Collection as i, importMultibaseKey as j, exportMultibaseKey as k, Follow as l, Link as m, Announce as n, CryptographicKey as o, Invite as p, Application as r, DataIntegrityProof as s, Activity as t, Group as u, Offer as v, Question as w, Organization as x, OrderedCollection as y };
|