@fedify/fedify 1.9.11 → 1.9.12-dev.2265
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-I6MTQt65.js → actor-BJj7NAV7.js} +187 -187
- package/dist/{actor-BaIbAIQ4.cjs → actor-BxUB2vBw.cjs} +187 -187
- package/dist/{actor-BgNoo4Eo.mjs → actor-DKEb3nb2.mjs} +1 -1
- package/dist/{authdocloader-BML29LEF.cjs → authdocloader-BkG-kREl.cjs} +3 -3
- package/dist/{authdocloader-CQRL6xBg.mjs → authdocloader-DVWlfdZ9.mjs} +3 -3
- package/dist/{authdocloader-DGVNFUsJ.js → authdocloader-_m5yqwLt.js} +3 -3
- package/dist/{builder-B8VNNUzm.mjs → builder-Dhm6irl1.mjs} +4 -4
- package/dist/{client-Cjo9kYUV.mjs → client-CIvLnEyN.mjs} +1 -1
- package/dist/compat/mod.cjs +1 -1
- package/dist/compat/transformers.test.mjs +3 -3
- package/dist/{docloader-XzYOPh6W.js → docloader-CFM5B9fd.js} +121 -13
- package/dist/{docloader-CB5WT9yk.cjs → docloader-ojCZeNsS.cjs} +121 -13
- package/dist/{esm-Br6fmrGY.mjs → esm-DpYRgHio.mjs} +1 -1
- package/dist/federation/builder.test.mjs +3 -3
- package/dist/federation/collection.test.mjs +1 -1
- package/dist/federation/handler.test.mjs +7 -7
- package/dist/federation/idempotency.test.mjs +5 -5
- package/dist/federation/inbox.test.mjs +3 -3
- package/dist/federation/keycache.test.mjs +3 -3
- package/dist/federation/kv.test.mjs +1 -1
- package/dist/federation/middleware.test.mjs +11 -11
- package/dist/federation/mod.cjs +2 -2
- package/dist/federation/mod.js +1 -1
- package/dist/federation/mq.test.mjs +1 -1
- package/dist/federation/retry.test.mjs +1 -1
- package/dist/federation/router.test.mjs +2 -2
- package/dist/federation/send.test.mjs +7 -7
- package/dist/federation/temporal.test.mjs +2 -2
- package/dist/{http-L4148RPe.cjs → http-B7su-Fmy.cjs} +3 -3
- package/dist/{http-GSUEBn2H.mjs → http-ChKbuD-B.mjs} +2 -2
- package/dist/{http-CXpt61mo.js → http-DdMd8CPw.js} +3 -3
- package/dist/{inbox-DRfIo1Ox.mjs → inbox-Du7n_Tcq.mjs} +1 -1
- package/dist/{key-D3E68McA.cjs → key-AD7NWK_B.cjs} +2 -2
- package/dist/{key-73aMUDcO.mjs → key-Bd3kgBIA.mjs} +2 -2
- package/dist/{key-Yfx6HgfZ.cjs → key-COEspOg4.cjs} +1 -1
- package/dist/{key-CqxBq3-S.mjs → key-DINKM8mV.mjs} +1 -1
- package/dist/{key-DtaAm2V1.js → key-DvsZ4r4J.js} +2 -2
- package/dist/{keycache-tpX1dxwp.mjs → keycache-DYpvtScH.mjs} +1 -1
- package/dist/{keys-B9pkL0lY.mjs → keys-CJPe6iTW.mjs} +1 -1
- package/dist/{ld-DqEigU4F.mjs → ld-C51F-FdC.mjs} +2 -2
- package/dist/{lookup-BK6z2RO5.cjs → lookup-DrAw0WK4.cjs} +1 -1
- package/dist/{lookup-DDOc-i0I.js → lookup-avek91qK.js} +1 -1
- package/dist/{lookup-DA92hMtK.mjs → lookup-jTLErl5g.mjs} +1 -1
- package/dist/{middleware-D72Tt9sq.js → middleware-B_5QXY9T.js} +8 -8
- package/dist/{middleware-CcRfmHUw.cjs → middleware-BxPRXIp2.cjs} +10 -10
- package/dist/{middleware-DfCM9WFN.cjs → middleware-CoZn3Vmd.cjs} +1 -1
- package/dist/{middleware-DNRnMI46.mjs → middleware-ScXtn6SX.mjs} +15 -15
- package/dist/{middleware-ufTj15Ba.mjs → middleware-ySLVbIpY.mjs} +1 -1
- package/dist/mod.cjs +10 -10
- package/dist/mod.js +9 -9
- package/dist/nodeinfo/client.test.mjs +3 -3
- package/dist/nodeinfo/handler.test.mjs +2 -2
- package/dist/nodeinfo/mod.cjs +1 -1
- package/dist/nodeinfo/mod.js +1 -1
- package/dist/nodeinfo/semver.test.mjs +1 -1
- package/dist/nodeinfo/types.test.mjs +1 -1
- package/dist/{owner-C7rjJog4.mjs → owner-Ul_H1ZhA.mjs} +3 -3
- package/dist/{proof-GWFCtXCY.mjs → proof-CGXr6kyw.mjs} +2 -2
- package/dist/{proof-CjgdsMq_.js → proof-CO1rdWN1.js} +3 -3
- package/dist/{proof-BZb-g5fh.cjs → proof-CpHpOx4z.cjs} +3 -3
- package/dist/runtime/authdocloader.test.mjs +6 -6
- package/dist/runtime/docloader.test.mjs +3 -3
- package/dist/runtime/key.test.mjs +3 -3
- package/dist/runtime/langstr.test.mjs +2 -2
- package/dist/runtime/link.test.mjs +2 -2
- package/dist/runtime/mod.cjs +3 -3
- package/dist/runtime/mod.js +3 -3
- package/dist/runtime/multibase/multibase.test.mjs +2 -2
- package/dist/runtime/url.test.mjs +53 -2
- package/dist/{send-B1cXA43r.mjs → send-BktZN-8x.mjs} +2 -2
- package/dist/sig/http.test.mjs +6 -6
- package/dist/sig/key.test.mjs +4 -4
- package/dist/sig/ld.test.mjs +5 -5
- package/dist/sig/mod.cjs +3 -3
- package/dist/sig/mod.js +3 -3
- package/dist/sig/owner.test.mjs +5 -5
- package/dist/sig/proof.test.mjs +4 -4
- package/dist/{temporal-DE-KwUkP.mjs → temporal-DG3PUHrG.mjs} +1 -1
- package/dist/testing/docloader.test.mjs +1 -1
- package/dist/testing/mod.mjs +1 -1
- package/dist/{testing-Brx3i-JJ.mjs → testing-Dbq3x7rR.mjs} +2 -2
- package/dist/{transformers-v2GoHgHn.cjs → transformers-ZXV8xoFH.cjs} +1 -1
- package/dist/{types-CRRb96yX.js → types-CysnskTc.js} +1 -1
- package/dist/{types-Ck12MwLI.cjs → types-kNVIK9BX.cjs} +1 -1
- package/dist/vocab/actor.test.mjs +4 -4
- package/dist/vocab/cjs.test.mjs +1 -1
- package/dist/vocab/lookup.test.mjs +4 -4
- package/dist/vocab/mod.cjs +3 -3
- package/dist/vocab/mod.js +3 -3
- package/dist/vocab/type.test.mjs +2 -2
- package/dist/vocab/vocab.test.mjs +3 -3
- package/dist/{vocab-D9ewcFHJ.mjs → vocab-BmWZ5Z8b.mjs} +306 -198
- package/dist/webfinger/handler.test.mjs +3 -3
- package/dist/webfinger/lookup.test.mjs +3 -3
- package/dist/webfinger/mod.cjs +1 -1
- package/dist/webfinger/mod.js +1 -1
- package/dist/x/cfworkers.cjs +1 -1
- package/dist/x/cfworkers.test.mjs +1 -1
- package/dist/x/hono.cjs +1 -1
- package/dist/x/sveltekit.cjs +1 -1
- package/package.json +1 -1
|
@@ -52,7 +52,7 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
|
52
52
|
//#endregion
|
|
53
53
|
//#region deno.json
|
|
54
54
|
var name = "@fedify/fedify";
|
|
55
|
-
var version = "1.9.
|
|
55
|
+
var version = "1.9.12-dev.2265+f8512d84";
|
|
56
56
|
//#endregion
|
|
57
57
|
//#region src/runtime/contexts.ts
|
|
58
58
|
const preloadedContexts = {
|
|
@@ -4419,29 +4419,137 @@ function validatePublicIpAddress(address, family) {
|
|
|
4419
4419
|
throw new UrlError(`Invalid or private address: ${address}`);
|
|
4420
4420
|
}
|
|
4421
4421
|
function isValidPublicIPv4Address(address) {
|
|
4422
|
-
const parts = address
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
if (first === 169 && second === 254) return false;
|
|
4427
|
-
if (first === 172 && second >= 16 && second <= 31) return false;
|
|
4428
|
-
if (first === 192 && second === 168) return false;
|
|
4429
|
-
return true;
|
|
4422
|
+
const parts = parseIPv4Address(address);
|
|
4423
|
+
if (parts == null) return false;
|
|
4424
|
+
const value = ipv4PartsToNumber(parts);
|
|
4425
|
+
return !nonPublicIPv4Prefixes.some(({ base, prefix }) => matchesIPv4Prefix(value, base, prefix));
|
|
4430
4426
|
}
|
|
4431
4427
|
function isValidPublicIPv6Address(address) {
|
|
4432
|
-
|
|
4433
|
-
if (
|
|
4434
|
-
|
|
4435
|
-
|
|
4428
|
+
const words = parseIPv6Address(address);
|
|
4429
|
+
if (words == null) return false;
|
|
4430
|
+
if (nonPublicIPv6Prefixes.some(({ words: prefixWords, prefix }) => matchesIPv6Prefix(words, prefixWords, prefix))) return false;
|
|
4431
|
+
for (const { extractIPv4, prefix, words: prefixWords } of ipv6WithIPv4Prefixes) {
|
|
4432
|
+
if (!matchesIPv6Prefix(words, prefixWords, prefix)) continue;
|
|
4433
|
+
const ipv4Address = extractIPv4(words);
|
|
4434
|
+
if (ipv4Address != null && !isValidPublicIPv4Address(ipv4Address)) return false;
|
|
4435
|
+
}
|
|
4436
|
+
return true;
|
|
4436
4437
|
}
|
|
4437
4438
|
function expandIPv6Address(address) {
|
|
4438
4439
|
address = address.toLowerCase();
|
|
4440
|
+
const ipv4Delimiter = address.lastIndexOf(":");
|
|
4441
|
+
if (address.includes(".") && ipv4Delimiter >= 0) {
|
|
4442
|
+
const ipv4Parts = parseIPv4Address(address.substring(ipv4Delimiter + 1));
|
|
4443
|
+
if (ipv4Parts == null) return address;
|
|
4444
|
+
const high = (ipv4Parts[0] << 8) + ipv4Parts[1];
|
|
4445
|
+
const low = (ipv4Parts[2] << 8) + ipv4Parts[3];
|
|
4446
|
+
address = address.substring(0, ipv4Delimiter + 1) + high.toString(16) + ":" + low.toString(16);
|
|
4447
|
+
}
|
|
4439
4448
|
if (address === "::") return "0000:0000:0000:0000:0000:0000:0000:0000";
|
|
4440
4449
|
if (address.startsWith("::")) address = "0000" + address;
|
|
4441
4450
|
if (address.endsWith("::")) address = address + "0000";
|
|
4442
4451
|
address = address.replace("::", ":0000".repeat(8 - (address.match(/:/g) || []).length) + ":");
|
|
4443
4452
|
return address.split(":").map((part) => part.padStart(4, "0")).join(":");
|
|
4444
4453
|
}
|
|
4454
|
+
const nonPublicIPv4Prefixes = [
|
|
4455
|
+
ipv4Prefix("0.0.0.0/8", "RFC 6890"),
|
|
4456
|
+
ipv4Prefix("10.0.0.0/8", "RFC 1918"),
|
|
4457
|
+
ipv4Prefix("100.64.0.0/10", "RFC 6598"),
|
|
4458
|
+
ipv4Prefix("127.0.0.0/8", "RFC 1122"),
|
|
4459
|
+
ipv4Prefix("169.254.0.0/16", "RFC 3927"),
|
|
4460
|
+
ipv4Prefix("172.16.0.0/12", "RFC 1918"),
|
|
4461
|
+
ipv4Prefix("192.0.0.0/24", "RFC 6890"),
|
|
4462
|
+
ipv4Prefix("192.0.2.0/24", "RFC 5737"),
|
|
4463
|
+
ipv4Prefix("192.88.99.0/24", "RFC 7526"),
|
|
4464
|
+
ipv4Prefix("192.168.0.0/16", "RFC 1918"),
|
|
4465
|
+
ipv4Prefix("198.18.0.0/15", "RFC 2544"),
|
|
4466
|
+
ipv4Prefix("198.51.100.0/24", "RFC 5737"),
|
|
4467
|
+
ipv4Prefix("203.0.113.0/24", "RFC 5737"),
|
|
4468
|
+
ipv4Prefix("224.0.0.0/4", "RFC 5771"),
|
|
4469
|
+
ipv4Prefix("240.0.0.0/4", "RFC 1112")
|
|
4470
|
+
];
|
|
4471
|
+
const nonPublicIPv6Prefixes = [
|
|
4472
|
+
ipv6Prefix("::/16", "RFC 4291"),
|
|
4473
|
+
ipv6Prefix("2001::/32", "RFC 4380"),
|
|
4474
|
+
ipv6Prefix("2002::/16", "RFC 3056"),
|
|
4475
|
+
ipv6Prefix("64:ff9b:1::/48", "RFC 8215"),
|
|
4476
|
+
ipv6Prefix("fc00::/7", "RFC 4193"),
|
|
4477
|
+
ipv6Prefix("fe80::/10", "RFC 4291"),
|
|
4478
|
+
ipv6Prefix("ff00::/8", "RFC 4291")
|
|
4479
|
+
];
|
|
4480
|
+
const ipv6WithIPv4Prefixes = [{
|
|
4481
|
+
...ipv6Prefix("64:ff9b::/96", "RFC 6052"),
|
|
4482
|
+
extractIPv4: (words) => ipv4FromWords(words[6], words[7])
|
|
4483
|
+
}];
|
|
4484
|
+
function ipv4Prefix(cidr, rfc) {
|
|
4485
|
+
const [address, prefixText] = cidr.split("/");
|
|
4486
|
+
const prefix = parseInt(prefixText, 10);
|
|
4487
|
+
const parts = parseIPv4Address(address);
|
|
4488
|
+
if (parts == null || !Number.isInteger(prefix) || prefix < 0 || prefix > 32) throw new Error(`Invalid IPv4 prefix: ${cidr}`);
|
|
4489
|
+
return {
|
|
4490
|
+
cidr,
|
|
4491
|
+
base: ipv4PartsToNumber(parts),
|
|
4492
|
+
prefix,
|
|
4493
|
+
rfc
|
|
4494
|
+
};
|
|
4495
|
+
}
|
|
4496
|
+
function ipv6Prefix(cidr, rfc) {
|
|
4497
|
+
const [address, prefixText] = cidr.split("/");
|
|
4498
|
+
const prefix = parseInt(prefixText, 10);
|
|
4499
|
+
const words = parseIPv6Address(address);
|
|
4500
|
+
if (words == null || !Number.isInteger(prefix) || prefix < 0 || prefix > 128) throw new Error(`Invalid IPv6 prefix: ${cidr}`);
|
|
4501
|
+
return {
|
|
4502
|
+
cidr,
|
|
4503
|
+
words,
|
|
4504
|
+
prefix,
|
|
4505
|
+
rfc
|
|
4506
|
+
};
|
|
4507
|
+
}
|
|
4508
|
+
function parseIPv4Address(address) {
|
|
4509
|
+
const parts = address.split(".").map((part) => {
|
|
4510
|
+
if (!/^\d+$/.test(part)) return NaN;
|
|
4511
|
+
return parseInt(part, 10);
|
|
4512
|
+
});
|
|
4513
|
+
if (parts.length !== 4 || parts.some((part) => !Number.isInteger(part) || part < 0 || part > 255)) return null;
|
|
4514
|
+
return parts;
|
|
4515
|
+
}
|
|
4516
|
+
function parseIPv6Address(address) {
|
|
4517
|
+
const parts = expandIPv6Address(address).split(":");
|
|
4518
|
+
if (parts.length !== 8) return null;
|
|
4519
|
+
const words = parts.map((part) => {
|
|
4520
|
+
if (!/^[0-9a-f]{1,4}$/i.test(part)) return NaN;
|
|
4521
|
+
return parseInt(part, 16);
|
|
4522
|
+
});
|
|
4523
|
+
if (words.some((word) => !Number.isInteger(word) || word < 0 || word > 65535)) return null;
|
|
4524
|
+
return words;
|
|
4525
|
+
}
|
|
4526
|
+
function ipv4PartsToNumber(parts) {
|
|
4527
|
+
return parts[0] * 2 ** 24 + parts[1] * 2 ** 16 + parts[2] * 2 ** 8 + parts[3];
|
|
4528
|
+
}
|
|
4529
|
+
function ipv4FromWords(highWord, lowWord) {
|
|
4530
|
+
return [
|
|
4531
|
+
highWord >> 8,
|
|
4532
|
+
highWord & 255,
|
|
4533
|
+
lowWord >> 8,
|
|
4534
|
+
lowWord & 255
|
|
4535
|
+
].join(".");
|
|
4536
|
+
}
|
|
4537
|
+
function matchesIPv4Prefix(address, prefixBase, prefixLength) {
|
|
4538
|
+
const blockSize = 2 ** (32 - prefixLength);
|
|
4539
|
+
return Math.floor(address / blockSize) === Math.floor(prefixBase / blockSize);
|
|
4540
|
+
}
|
|
4541
|
+
function matchesIPv6Prefix(address, prefixWords, prefixLength) {
|
|
4542
|
+
let remaining = prefixLength;
|
|
4543
|
+
for (let i = 0; i < 8 && remaining > 0; i++) if (remaining >= 16) {
|
|
4544
|
+
if (address[i] !== prefixWords[i]) return false;
|
|
4545
|
+
remaining -= 16;
|
|
4546
|
+
} else {
|
|
4547
|
+
const mask = 65535 << 16 - remaining & 65535;
|
|
4548
|
+
if ((address[i] & mask) !== (prefixWords[i] & mask)) return false;
|
|
4549
|
+
remaining = 0;
|
|
4550
|
+
}
|
|
4551
|
+
return true;
|
|
4552
|
+
}
|
|
4445
4553
|
//#endregion
|
|
4446
4554
|
//#region src/runtime/docloader.ts
|
|
4447
4555
|
const logger$1 = getLogger([
|
|
@@ -5206,7 +5314,7 @@ async function importSpki(pem) {
|
|
|
5206
5314
|
* @since 0.5.0
|
|
5207
5315
|
*/
|
|
5208
5316
|
async function exportSpki(key) {
|
|
5209
|
-
const { validateCryptoKey } = await import("./key-
|
|
5317
|
+
const { validateCryptoKey } = await import("./key-DINKM8mV.mjs");
|
|
5210
5318
|
validateCryptoKey(key);
|
|
5211
5319
|
let pem = encodeBase64(await crypto.subtle.exportKey("spki", key));
|
|
5212
5320
|
pem = (pem.match(/.{1,64}/g) || []).join("\n");
|
|
@@ -6004,7 +6112,7 @@ var Object$1 = class Object$1 {
|
|
|
6004
6112
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6005
6113
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6006
6114
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6007
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
6115
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6008
6116
|
let fetchResult;
|
|
6009
6117
|
try {
|
|
6010
6118
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6150,7 +6258,7 @@ var Object$1 = class Object$1 {
|
|
|
6150
6258
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6151
6259
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6152
6260
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6153
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
6261
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6154
6262
|
let fetchResult;
|
|
6155
6263
|
try {
|
|
6156
6264
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6362,7 +6470,7 @@ var Object$1 = class Object$1 {
|
|
|
6362
6470
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6363
6471
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6364
6472
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6365
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
6473
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6366
6474
|
let fetchResult;
|
|
6367
6475
|
try {
|
|
6368
6476
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6546,7 +6654,7 @@ var Object$1 = class Object$1 {
|
|
|
6546
6654
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6547
6655
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6548
6656
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6549
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
6657
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6550
6658
|
let fetchResult;
|
|
6551
6659
|
try {
|
|
6552
6660
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6708,7 +6816,7 @@ var Object$1 = class Object$1 {
|
|
|
6708
6816
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6709
6817
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6710
6818
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6711
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
6819
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6712
6820
|
let fetchResult;
|
|
6713
6821
|
try {
|
|
6714
6822
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6838,7 +6946,7 @@ var Object$1 = class Object$1 {
|
|
|
6838
6946
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6839
6947
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6840
6948
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6841
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
6949
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6842
6950
|
let fetchResult;
|
|
6843
6951
|
try {
|
|
6844
6952
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7004,7 +7112,7 @@ var Object$1 = class Object$1 {
|
|
|
7004
7112
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7005
7113
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7006
7114
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7007
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
7115
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7008
7116
|
let fetchResult;
|
|
7009
7117
|
try {
|
|
7010
7118
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7170,7 +7278,7 @@ var Object$1 = class Object$1 {
|
|
|
7170
7278
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7171
7279
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7172
7280
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7173
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
7281
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7174
7282
|
let fetchResult;
|
|
7175
7283
|
try {
|
|
7176
7284
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7344,7 +7452,7 @@ var Object$1 = class Object$1 {
|
|
|
7344
7452
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7345
7453
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7346
7454
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7347
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
7455
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7348
7456
|
let fetchResult;
|
|
7349
7457
|
try {
|
|
7350
7458
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7518,7 +7626,7 @@ var Object$1 = class Object$1 {
|
|
|
7518
7626
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7519
7627
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7520
7628
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7521
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
7629
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7522
7630
|
let fetchResult;
|
|
7523
7631
|
try {
|
|
7524
7632
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7697,7 +7805,7 @@ var Object$1 = class Object$1 {
|
|
|
7697
7805
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7698
7806
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7699
7807
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7700
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
7808
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7701
7809
|
let fetchResult;
|
|
7702
7810
|
try {
|
|
7703
7811
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7818,7 +7926,7 @@ var Object$1 = class Object$1 {
|
|
|
7818
7926
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7819
7927
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7820
7928
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7821
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
7929
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7822
7930
|
let fetchResult;
|
|
7823
7931
|
try {
|
|
7824
7932
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7945,7 +8053,7 @@ var Object$1 = class Object$1 {
|
|
|
7945
8053
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7946
8054
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7947
8055
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7948
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
8056
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7949
8057
|
let fetchResult;
|
|
7950
8058
|
try {
|
|
7951
8059
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8072,7 +8180,7 @@ var Object$1 = class Object$1 {
|
|
|
8072
8180
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8073
8181
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8074
8182
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8075
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
8183
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8076
8184
|
let fetchResult;
|
|
8077
8185
|
try {
|
|
8078
8186
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8217,7 +8325,7 @@ var Object$1 = class Object$1 {
|
|
|
8217
8325
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8218
8326
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8219
8327
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8220
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
8328
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8221
8329
|
let fetchResult;
|
|
8222
8330
|
try {
|
|
8223
8331
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8369,7 +8477,7 @@ var Object$1 = class Object$1 {
|
|
|
8369
8477
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8370
8478
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8371
8479
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8372
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
8480
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8373
8481
|
let fetchResult;
|
|
8374
8482
|
try {
|
|
8375
8483
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8533,7 +8641,7 @@ var Object$1 = class Object$1 {
|
|
|
8533
8641
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8534
8642
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8535
8643
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8536
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
8644
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8537
8645
|
let fetchResult;
|
|
8538
8646
|
try {
|
|
8539
8647
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8697,7 +8805,7 @@ var Object$1 = class Object$1 {
|
|
|
8697
8805
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8698
8806
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8699
8807
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8700
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
8808
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8701
8809
|
let fetchResult;
|
|
8702
8810
|
try {
|
|
8703
8811
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8861,7 +8969,7 @@ var Object$1 = class Object$1 {
|
|
|
8861
8969
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8862
8970
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8863
8971
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8864
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
8972
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8865
8973
|
let fetchResult;
|
|
8866
8974
|
try {
|
|
8867
8975
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9062,7 +9170,7 @@ var Object$1 = class Object$1 {
|
|
|
9062
9170
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9063
9171
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9064
9172
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9065
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
9173
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9066
9174
|
let fetchResult;
|
|
9067
9175
|
try {
|
|
9068
9176
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9851,7 +9959,7 @@ var Object$1 = class Object$1 {
|
|
|
9851
9959
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9852
9960
|
*/
|
|
9853
9961
|
static async fromJsonLd(json, options = {}) {
|
|
9854
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
9962
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9855
9963
|
try {
|
|
9856
9964
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
9857
9965
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11095,7 +11203,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
11095
11203
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11096
11204
|
*/
|
|
11097
11205
|
static async fromJsonLd(json, options = {}) {
|
|
11098
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
11206
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11099
11207
|
try {
|
|
11100
11208
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
11101
11209
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11332,7 +11440,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
11332
11440
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11333
11441
|
*/
|
|
11334
11442
|
static async fromJsonLd(json, options = {}) {
|
|
11335
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
11443
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11336
11444
|
try {
|
|
11337
11445
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
11338
11446
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11613,7 +11721,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
11613
11721
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11614
11722
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11615
11723
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11616
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
11724
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11617
11725
|
let fetchResult;
|
|
11618
11726
|
try {
|
|
11619
11727
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11825,7 +11933,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
11825
11933
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11826
11934
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11827
11935
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11828
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
11936
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11829
11937
|
let fetchResult;
|
|
11830
11938
|
try {
|
|
11831
11939
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11991,7 +12099,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
11991
12099
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11992
12100
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11993
12101
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11994
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
12102
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11995
12103
|
let fetchResult;
|
|
11996
12104
|
try {
|
|
11997
12105
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12163,7 +12271,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12163
12271
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12164
12272
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12165
12273
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12166
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
12274
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12167
12275
|
let fetchResult;
|
|
12168
12276
|
try {
|
|
12169
12277
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12329,7 +12437,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12329
12437
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12330
12438
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12331
12439
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12332
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
12440
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12333
12441
|
let fetchResult;
|
|
12334
12442
|
try {
|
|
12335
12443
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12497,7 +12605,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12497
12605
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12498
12606
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12499
12607
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12500
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
12608
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12501
12609
|
let fetchResult;
|
|
12502
12610
|
try {
|
|
12503
12611
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12747,7 +12855,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12747
12855
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12748
12856
|
*/
|
|
12749
12857
|
static async fromJsonLd(json, options = {}) {
|
|
12750
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
12858
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12751
12859
|
try {
|
|
12752
12860
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
12753
12861
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13065,7 +13173,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
13065
13173
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13066
13174
|
*/
|
|
13067
13175
|
static async fromJsonLd(json, options = {}) {
|
|
13068
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
13176
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13069
13177
|
try {
|
|
13070
13178
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
13071
13179
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13311,7 +13419,7 @@ var PropertyValue = class {
|
|
|
13311
13419
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13312
13420
|
*/
|
|
13313
13421
|
static async fromJsonLd(json, options = {}) {
|
|
13314
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
13422
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13315
13423
|
try {
|
|
13316
13424
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
13317
13425
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13545,7 +13653,7 @@ var DidService = class {
|
|
|
13545
13653
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13546
13654
|
*/
|
|
13547
13655
|
static async fromJsonLd(json, options = {}) {
|
|
13548
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
13656
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13549
13657
|
try {
|
|
13550
13658
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
13551
13659
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13699,7 +13807,7 @@ var Export = class Export extends DidService {
|
|
|
13699
13807
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13700
13808
|
*/
|
|
13701
13809
|
static async fromJsonLd(json, options = {}) {
|
|
13702
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
13810
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13703
13811
|
try {
|
|
13704
13812
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
13705
13813
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13872,7 +13980,7 @@ var DataIntegrityProof = class {
|
|
|
13872
13980
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13873
13981
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13874
13982
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13875
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
13983
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13876
13984
|
let fetchResult;
|
|
13877
13985
|
try {
|
|
13878
13986
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14091,7 +14199,7 @@ var DataIntegrityProof = class {
|
|
|
14091
14199
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14092
14200
|
*/
|
|
14093
14201
|
static async fromJsonLd(json, options = {}) {
|
|
14094
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
14202
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14095
14203
|
try {
|
|
14096
14204
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
14097
14205
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14305,7 +14413,7 @@ var CryptographicKey = class {
|
|
|
14305
14413
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14306
14414
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14307
14415
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14308
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
14416
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14309
14417
|
let fetchResult;
|
|
14310
14418
|
try {
|
|
14311
14419
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14567,7 +14675,7 @@ var CryptographicKey = class {
|
|
|
14567
14675
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14568
14676
|
*/
|
|
14569
14677
|
static async fromJsonLd(json, options = {}) {
|
|
14570
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
14678
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14571
14679
|
try {
|
|
14572
14680
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
14573
14681
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14762,7 +14870,7 @@ var Multikey = class {
|
|
|
14762
14870
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14763
14871
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14764
14872
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14765
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
14873
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14766
14874
|
let fetchResult;
|
|
14767
14875
|
try {
|
|
14768
14876
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15030,7 +15138,7 @@ var Multikey = class {
|
|
|
15030
15138
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15031
15139
|
*/
|
|
15032
15140
|
static async fromJsonLd(json, options = {}) {
|
|
15033
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
15141
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15034
15142
|
try {
|
|
15035
15143
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
15036
15144
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15224,7 +15332,7 @@ var Accept = class Accept extends Activity {
|
|
|
15224
15332
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15225
15333
|
*/
|
|
15226
15334
|
static async fromJsonLd(json, options = {}) {
|
|
15227
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
15335
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15228
15336
|
try {
|
|
15229
15337
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
15230
15338
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15375,7 +15483,7 @@ var Add = class Add extends Activity {
|
|
|
15375
15483
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15376
15484
|
*/
|
|
15377
15485
|
static async fromJsonLd(json, options = {}) {
|
|
15378
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
15486
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15379
15487
|
try {
|
|
15380
15488
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
15381
15489
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15543,7 +15651,7 @@ var Announce = class Announce extends Activity {
|
|
|
15543
15651
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15544
15652
|
*/
|
|
15545
15653
|
static async fromJsonLd(json, options = {}) {
|
|
15546
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
15654
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15547
15655
|
try {
|
|
15548
15656
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
15549
15657
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15938,7 +16046,7 @@ var Application = class Application extends Object$1 {
|
|
|
15938
16046
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15939
16047
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15940
16048
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15941
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
16049
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15942
16050
|
let fetchResult;
|
|
15943
16051
|
try {
|
|
15944
16052
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16100,7 +16208,7 @@ var Application = class Application extends Object$1 {
|
|
|
16100
16208
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16101
16209
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16102
16210
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16103
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
16211
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16104
16212
|
let fetchResult;
|
|
16105
16213
|
try {
|
|
16106
16214
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16280,7 +16388,7 @@ var Application = class Application extends Object$1 {
|
|
|
16280
16388
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16281
16389
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16282
16390
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16283
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
16391
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16284
16392
|
let fetchResult;
|
|
16285
16393
|
try {
|
|
16286
16394
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16422,7 +16530,7 @@ var Application = class Application extends Object$1 {
|
|
|
16422
16530
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16423
16531
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16424
16532
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16425
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
16533
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16426
16534
|
let fetchResult;
|
|
16427
16535
|
try {
|
|
16428
16536
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16561,7 +16669,7 @@ var Application = class Application extends Object$1 {
|
|
|
16561
16669
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16562
16670
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16563
16671
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16564
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
16672
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16565
16673
|
let fetchResult;
|
|
16566
16674
|
try {
|
|
16567
16675
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16685,7 +16793,7 @@ var Application = class Application extends Object$1 {
|
|
|
16685
16793
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16686
16794
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16687
16795
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16688
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
16796
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16689
16797
|
let fetchResult;
|
|
16690
16798
|
try {
|
|
16691
16799
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16812,7 +16920,7 @@ var Application = class Application extends Object$1 {
|
|
|
16812
16920
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16813
16921
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16814
16922
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16815
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
16923
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16816
16924
|
let fetchResult;
|
|
16817
16925
|
try {
|
|
16818
16926
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16937,7 +17045,7 @@ var Application = class Application extends Object$1 {
|
|
|
16937
17045
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16938
17046
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16939
17047
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16940
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
17048
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16941
17049
|
let fetchResult;
|
|
16942
17050
|
try {
|
|
16943
17051
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17060,7 +17168,7 @@ var Application = class Application extends Object$1 {
|
|
|
17060
17168
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17061
17169
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17062
17170
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17063
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
17171
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17064
17172
|
let fetchResult;
|
|
17065
17173
|
try {
|
|
17066
17174
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17183,7 +17291,7 @@ var Application = class Application extends Object$1 {
|
|
|
17183
17291
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17184
17292
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17185
17293
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17186
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
17294
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17187
17295
|
let fetchResult;
|
|
17188
17296
|
try {
|
|
17189
17297
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17345,7 +17453,7 @@ var Application = class Application extends Object$1 {
|
|
|
17345
17453
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17346
17454
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17347
17455
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17348
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
17456
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17349
17457
|
let fetchResult;
|
|
17350
17458
|
try {
|
|
17351
17459
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17511,7 +17619,7 @@ var Application = class Application extends Object$1 {
|
|
|
17511
17619
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17512
17620
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17513
17621
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17514
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
17622
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17515
17623
|
let fetchResult;
|
|
17516
17624
|
try {
|
|
17517
17625
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17725,7 +17833,7 @@ var Application = class Application extends Object$1 {
|
|
|
17725
17833
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17726
17834
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17727
17835
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17728
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
17836
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17729
17837
|
let fetchResult;
|
|
17730
17838
|
try {
|
|
17731
17839
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18408,7 +18516,7 @@ var Application = class Application extends Object$1 {
|
|
|
18408
18516
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18409
18517
|
*/
|
|
18410
18518
|
static async fromJsonLd(json, options = {}) {
|
|
18411
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
18519
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18412
18520
|
try {
|
|
18413
18521
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
18414
18522
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18961,7 +19069,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
18961
19069
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18962
19070
|
*/
|
|
18963
19071
|
static async fromJsonLd(json, options = {}) {
|
|
18964
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
19072
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18965
19073
|
try {
|
|
18966
19074
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
18967
19075
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19113,7 +19221,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
19113
19221
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19114
19222
|
*/
|
|
19115
19223
|
static async fromJsonLd(json, options = {}) {
|
|
19116
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
19224
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19117
19225
|
try {
|
|
19118
19226
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
19119
19227
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19348,7 +19456,7 @@ var Article = class Article extends Object$1 {
|
|
|
19348
19456
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19349
19457
|
*/
|
|
19350
19458
|
static async fromJsonLd(json, options = {}) {
|
|
19351
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
19459
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19352
19460
|
try {
|
|
19353
19461
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
19354
19462
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19577,7 +19685,7 @@ var Document = class Document extends Object$1 {
|
|
|
19577
19685
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19578
19686
|
*/
|
|
19579
19687
|
static async fromJsonLd(json, options = {}) {
|
|
19580
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
19688
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19581
19689
|
try {
|
|
19582
19690
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
19583
19691
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19760,7 +19868,7 @@ var Audio = class Audio extends Document {
|
|
|
19760
19868
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19761
19869
|
*/
|
|
19762
19870
|
static async fromJsonLd(json, options = {}) {
|
|
19763
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
19871
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19764
19872
|
try {
|
|
19765
19873
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
19766
19874
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19908,7 +20016,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
19908
20016
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19909
20017
|
*/
|
|
19910
20018
|
static async fromJsonLd(json, options = {}) {
|
|
19911
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
20019
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19912
20020
|
try {
|
|
19913
20021
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
19914
20022
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20059,7 +20167,7 @@ var Block = class Block extends Ignore {
|
|
|
20059
20167
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20060
20168
|
*/
|
|
20061
20169
|
static async fromJsonLd(json, options = {}) {
|
|
20062
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
20170
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20063
20171
|
try {
|
|
20064
20172
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
20065
20173
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20323,7 +20431,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20323
20431
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20324
20432
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20325
20433
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20326
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
20434
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20327
20435
|
let fetchResult;
|
|
20328
20436
|
try {
|
|
20329
20437
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20444,7 +20552,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20444
20552
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20445
20553
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20446
20554
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20447
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
20555
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20448
20556
|
let fetchResult;
|
|
20449
20557
|
try {
|
|
20450
20558
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20565,7 +20673,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20565
20673
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20566
20674
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20567
20675
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20568
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
20676
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20569
20677
|
let fetchResult;
|
|
20570
20678
|
try {
|
|
20571
20679
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20686,7 +20794,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20686
20794
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20687
20795
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20688
20796
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20689
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
20797
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20690
20798
|
let fetchResult;
|
|
20691
20799
|
try {
|
|
20692
20800
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20817,7 +20925,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20817
20925
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20818
20926
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20819
20927
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20820
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
20928
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20821
20929
|
let fetchResult;
|
|
20822
20930
|
try {
|
|
20823
20931
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20937,7 +21045,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20937
21045
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20938
21046
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20939
21047
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20940
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
21048
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20941
21049
|
let fetchResult;
|
|
20942
21050
|
try {
|
|
20943
21051
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21057,7 +21165,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21057
21165
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21058
21166
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21059
21167
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21060
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
21168
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21061
21169
|
let fetchResult;
|
|
21062
21170
|
try {
|
|
21063
21171
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21177,7 +21285,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21177
21285
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21178
21286
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21179
21287
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21180
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
21288
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21181
21289
|
let fetchResult;
|
|
21182
21290
|
try {
|
|
21183
21291
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21297,7 +21405,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21297
21405
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21298
21406
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21299
21407
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21300
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
21408
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21301
21409
|
let fetchResult;
|
|
21302
21410
|
try {
|
|
21303
21411
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21417,7 +21525,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21417
21525
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21418
21526
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21419
21527
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21420
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
21528
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21421
21529
|
let fetchResult;
|
|
21422
21530
|
try {
|
|
21423
21531
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21537,7 +21645,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21537
21645
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21538
21646
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21539
21647
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21540
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
21648
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21541
21649
|
let fetchResult;
|
|
21542
21650
|
try {
|
|
21543
21651
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21657,7 +21765,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21657
21765
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21658
21766
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21659
21767
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21660
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
21768
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21661
21769
|
let fetchResult;
|
|
21662
21770
|
try {
|
|
21663
21771
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22084,7 +22192,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22084
22192
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22085
22193
|
*/
|
|
22086
22194
|
static async fromJsonLd(json, options = {}) {
|
|
22087
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
22195
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22088
22196
|
try {
|
|
22089
22197
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
22090
22198
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22531,7 +22639,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
22531
22639
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22532
22640
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22533
22641
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22534
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
22642
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22535
22643
|
let fetchResult;
|
|
22536
22644
|
try {
|
|
22537
22645
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22652,7 +22760,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
22652
22760
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22653
22761
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22654
22762
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22655
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
22763
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22656
22764
|
let fetchResult;
|
|
22657
22765
|
try {
|
|
22658
22766
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22772,7 +22880,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
22772
22880
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22773
22881
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22774
22882
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22775
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
22883
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22776
22884
|
let fetchResult;
|
|
22777
22885
|
try {
|
|
22778
22886
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23036,7 +23144,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23036
23144
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23037
23145
|
*/
|
|
23038
23146
|
static async fromJsonLd(json, options = {}) {
|
|
23039
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
23147
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23040
23148
|
try {
|
|
23041
23149
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
23042
23150
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23262,7 +23370,7 @@ var Create = class Create extends Activity {
|
|
|
23262
23370
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23263
23371
|
*/
|
|
23264
23372
|
static async fromJsonLd(json, options = {}) {
|
|
23265
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
23373
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23266
23374
|
try {
|
|
23267
23375
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
23268
23376
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23426,7 +23534,7 @@ var Delete = class Delete extends Activity {
|
|
|
23426
23534
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23427
23535
|
*/
|
|
23428
23536
|
static async fromJsonLd(json, options = {}) {
|
|
23429
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
23537
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23430
23538
|
try {
|
|
23431
23539
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
23432
23540
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23577,7 +23685,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
23577
23685
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23578
23686
|
*/
|
|
23579
23687
|
static async fromJsonLd(json, options = {}) {
|
|
23580
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
23688
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23581
23689
|
try {
|
|
23582
23690
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
23583
23691
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23924,7 +24032,7 @@ var Endpoints = class {
|
|
|
23924
24032
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23925
24033
|
*/
|
|
23926
24034
|
static async fromJsonLd(json, options = {}) {
|
|
23927
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
24035
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23928
24036
|
try {
|
|
23929
24037
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
23930
24038
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24150,7 +24258,7 @@ var Event = class Event extends Object$1 {
|
|
|
24150
24258
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24151
24259
|
*/
|
|
24152
24260
|
static async fromJsonLd(json, options = {}) {
|
|
24153
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
24261
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24154
24262
|
try {
|
|
24155
24263
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
24156
24264
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24299,7 +24407,7 @@ var Flag = class Flag extends Activity {
|
|
|
24299
24407
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24300
24408
|
*/
|
|
24301
24409
|
static async fromJsonLd(json, options = {}) {
|
|
24302
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
24410
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24303
24411
|
try {
|
|
24304
24412
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
24305
24413
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24452,7 +24560,7 @@ var Follow = class Follow extends Activity {
|
|
|
24452
24560
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24453
24561
|
*/
|
|
24454
24562
|
static async fromJsonLd(json, options = {}) {
|
|
24455
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
24563
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24456
24564
|
try {
|
|
24457
24565
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
24458
24566
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24847,7 +24955,7 @@ var Group = class Group extends Object$1 {
|
|
|
24847
24955
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24848
24956
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24849
24957
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24850
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
24958
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24851
24959
|
let fetchResult;
|
|
24852
24960
|
try {
|
|
24853
24961
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25009,7 +25117,7 @@ var Group = class Group extends Object$1 {
|
|
|
25009
25117
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25010
25118
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25011
25119
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25012
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
25120
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25013
25121
|
let fetchResult;
|
|
25014
25122
|
try {
|
|
25015
25123
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25189,7 +25297,7 @@ var Group = class Group extends Object$1 {
|
|
|
25189
25297
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25190
25298
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25191
25299
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25192
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
25300
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25193
25301
|
let fetchResult;
|
|
25194
25302
|
try {
|
|
25195
25303
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25331,7 +25439,7 @@ var Group = class Group extends Object$1 {
|
|
|
25331
25439
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25332
25440
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25333
25441
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25334
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
25442
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25335
25443
|
let fetchResult;
|
|
25336
25444
|
try {
|
|
25337
25445
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25470,7 +25578,7 @@ var Group = class Group extends Object$1 {
|
|
|
25470
25578
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25471
25579
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25472
25580
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25473
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
25581
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25474
25582
|
let fetchResult;
|
|
25475
25583
|
try {
|
|
25476
25584
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25594,7 +25702,7 @@ var Group = class Group extends Object$1 {
|
|
|
25594
25702
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25595
25703
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25596
25704
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25597
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
25705
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25598
25706
|
let fetchResult;
|
|
25599
25707
|
try {
|
|
25600
25708
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25721,7 +25829,7 @@ var Group = class Group extends Object$1 {
|
|
|
25721
25829
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25722
25830
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25723
25831
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25724
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
25832
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25725
25833
|
let fetchResult;
|
|
25726
25834
|
try {
|
|
25727
25835
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25846,7 +25954,7 @@ var Group = class Group extends Object$1 {
|
|
|
25846
25954
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25847
25955
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25848
25956
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25849
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
25957
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25850
25958
|
let fetchResult;
|
|
25851
25959
|
try {
|
|
25852
25960
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25969,7 +26077,7 @@ var Group = class Group extends Object$1 {
|
|
|
25969
26077
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25970
26078
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25971
26079
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25972
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
26080
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25973
26081
|
let fetchResult;
|
|
25974
26082
|
try {
|
|
25975
26083
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26092,7 +26200,7 @@ var Group = class Group extends Object$1 {
|
|
|
26092
26200
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26093
26201
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26094
26202
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26095
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
26203
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26096
26204
|
let fetchResult;
|
|
26097
26205
|
try {
|
|
26098
26206
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26254,7 +26362,7 @@ var Group = class Group extends Object$1 {
|
|
|
26254
26362
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26255
26363
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26256
26364
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26257
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
26365
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26258
26366
|
let fetchResult;
|
|
26259
26367
|
try {
|
|
26260
26368
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26420,7 +26528,7 @@ var Group = class Group extends Object$1 {
|
|
|
26420
26528
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26421
26529
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26422
26530
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26423
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
26531
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26424
26532
|
let fetchResult;
|
|
26425
26533
|
try {
|
|
26426
26534
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26634,7 +26742,7 @@ var Group = class Group extends Object$1 {
|
|
|
26634
26742
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26635
26743
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26636
26744
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26637
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
26745
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26638
26746
|
let fetchResult;
|
|
26639
26747
|
try {
|
|
26640
26748
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27317,7 +27425,7 @@ var Group = class Group extends Object$1 {
|
|
|
27317
27425
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27318
27426
|
*/
|
|
27319
27427
|
static async fromJsonLd(json, options = {}) {
|
|
27320
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
27428
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27321
27429
|
try {
|
|
27322
27430
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
27323
27431
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28009,7 +28117,7 @@ var Link = class Link {
|
|
|
28009
28117
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28010
28118
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28011
28119
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28012
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
28120
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28013
28121
|
let fetchResult;
|
|
28014
28122
|
try {
|
|
28015
28123
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28301,7 +28409,7 @@ var Link = class Link {
|
|
|
28301
28409
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28302
28410
|
*/
|
|
28303
28411
|
static async fromJsonLd(json, options = {}) {
|
|
28304
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
28412
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28305
28413
|
try {
|
|
28306
28414
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
28307
28415
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28628,7 +28736,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
28628
28736
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28629
28737
|
*/
|
|
28630
28738
|
static async fromJsonLd(json, options = {}) {
|
|
28631
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
28739
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28632
28740
|
try {
|
|
28633
28741
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
28634
28742
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28782,7 +28890,7 @@ var Image = class Image extends Document {
|
|
|
28782
28890
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28783
28891
|
*/
|
|
28784
28892
|
static async fromJsonLd(json, options = {}) {
|
|
28785
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
28893
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28786
28894
|
try {
|
|
28787
28895
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
28788
28896
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28931,7 +29039,7 @@ var Offer = class Offer extends Activity {
|
|
|
28931
29039
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28932
29040
|
*/
|
|
28933
29041
|
static async fromJsonLd(json, options = {}) {
|
|
28934
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
29042
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28935
29043
|
try {
|
|
28936
29044
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
28937
29045
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29080,7 +29188,7 @@ var Invite = class Invite extends Offer {
|
|
|
29080
29188
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29081
29189
|
*/
|
|
29082
29190
|
static async fromJsonLd(json, options = {}) {
|
|
29083
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
29191
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29084
29192
|
try {
|
|
29085
29193
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
29086
29194
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29228,7 +29336,7 @@ var Join = class Join extends Activity {
|
|
|
29228
29336
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29229
29337
|
*/
|
|
29230
29338
|
static async fromJsonLd(json, options = {}) {
|
|
29231
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
29339
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29232
29340
|
try {
|
|
29233
29341
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
29234
29342
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29376,7 +29484,7 @@ var Leave = class Leave extends Activity {
|
|
|
29376
29484
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29377
29485
|
*/
|
|
29378
29486
|
static async fromJsonLd(json, options = {}) {
|
|
29379
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
29487
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29380
29488
|
try {
|
|
29381
29489
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
29382
29490
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29528,7 +29636,7 @@ var Like = class Like extends Activity {
|
|
|
29528
29636
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29529
29637
|
*/
|
|
29530
29638
|
static async fromJsonLd(json, options = {}) {
|
|
29531
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
29639
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29532
29640
|
try {
|
|
29533
29641
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
29534
29642
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29675,7 +29783,7 @@ var Listen = class Listen extends Activity {
|
|
|
29675
29783
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29676
29784
|
*/
|
|
29677
29785
|
static async fromJsonLd(json, options = {}) {
|
|
29678
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
29786
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29679
29787
|
try {
|
|
29680
29788
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
29681
29789
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29826,7 +29934,7 @@ var Mention = class Mention extends Link {
|
|
|
29826
29934
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29827
29935
|
*/
|
|
29828
29936
|
static async fromJsonLd(json, options = {}) {
|
|
29829
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
29937
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29830
29938
|
try {
|
|
29831
29939
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
29832
29940
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29975,7 +30083,7 @@ var Move = class Move extends Activity {
|
|
|
29975
30083
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29976
30084
|
*/
|
|
29977
30085
|
static async fromJsonLd(json, options = {}) {
|
|
29978
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
30086
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29979
30087
|
try {
|
|
29980
30088
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
29981
30089
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30211,7 +30319,7 @@ var Note = class Note extends Object$1 {
|
|
|
30211
30319
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30212
30320
|
*/
|
|
30213
30321
|
static async fromJsonLd(json, options = {}) {
|
|
30214
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
30322
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30215
30323
|
try {
|
|
30216
30324
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
30217
30325
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30340,7 +30448,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
30340
30448
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30341
30449
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30342
30450
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30343
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
30451
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30344
30452
|
let fetchResult;
|
|
30345
30453
|
try {
|
|
30346
30454
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30588,7 +30696,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
30588
30696
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30589
30697
|
*/
|
|
30590
30698
|
static async fromJsonLd(json, options = {}) {
|
|
30591
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
30699
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30592
30700
|
try {
|
|
30593
30701
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
30594
30702
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30794,7 +30902,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
30794
30902
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30795
30903
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30796
30904
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30797
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
30905
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30798
30906
|
let fetchResult;
|
|
30799
30907
|
try {
|
|
30800
30908
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31065,7 +31173,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
31065
31173
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31066
31174
|
*/
|
|
31067
31175
|
static async fromJsonLd(json, options = {}) {
|
|
31068
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
31176
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31069
31177
|
try {
|
|
31070
31178
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
31071
31179
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31557,7 +31665,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31557
31665
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31558
31666
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31559
31667
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31560
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
31668
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31561
31669
|
let fetchResult;
|
|
31562
31670
|
try {
|
|
31563
31671
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31719,7 +31827,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31719
31827
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31720
31828
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31721
31829
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31722
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
31830
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31723
31831
|
let fetchResult;
|
|
31724
31832
|
try {
|
|
31725
31833
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31899,7 +32007,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31899
32007
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31900
32008
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31901
32009
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31902
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
32010
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31903
32011
|
let fetchResult;
|
|
31904
32012
|
try {
|
|
31905
32013
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32041,7 +32149,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32041
32149
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32042
32150
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32043
32151
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32044
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
32152
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32045
32153
|
let fetchResult;
|
|
32046
32154
|
try {
|
|
32047
32155
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32180,7 +32288,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32180
32288
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32181
32289
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32182
32290
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32183
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
32291
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32184
32292
|
let fetchResult;
|
|
32185
32293
|
try {
|
|
32186
32294
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32304,7 +32412,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32304
32412
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32305
32413
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32306
32414
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32307
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
32415
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32308
32416
|
let fetchResult;
|
|
32309
32417
|
try {
|
|
32310
32418
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32431,7 +32539,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32431
32539
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32432
32540
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32433
32541
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32434
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
32542
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32435
32543
|
let fetchResult;
|
|
32436
32544
|
try {
|
|
32437
32545
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32556,7 +32664,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32556
32664
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32557
32665
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32558
32666
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32559
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
32667
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32560
32668
|
let fetchResult;
|
|
32561
32669
|
try {
|
|
32562
32670
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32679,7 +32787,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32679
32787
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32680
32788
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32681
32789
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32682
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
32790
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32683
32791
|
let fetchResult;
|
|
32684
32792
|
try {
|
|
32685
32793
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32802,7 +32910,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32802
32910
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32803
32911
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32804
32912
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32805
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
32913
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32806
32914
|
let fetchResult;
|
|
32807
32915
|
try {
|
|
32808
32916
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32964,7 +33072,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32964
33072
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32965
33073
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32966
33074
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32967
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
33075
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32968
33076
|
let fetchResult;
|
|
32969
33077
|
try {
|
|
32970
33078
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33130,7 +33238,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33130
33238
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33131
33239
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33132
33240
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33133
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
33241
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33134
33242
|
let fetchResult;
|
|
33135
33243
|
try {
|
|
33136
33244
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33344,7 +33452,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33344
33452
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33345
33453
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33346
33454
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33347
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
33455
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33348
33456
|
let fetchResult;
|
|
33349
33457
|
try {
|
|
33350
33458
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34027,7 +34135,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34027
34135
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34028
34136
|
*/
|
|
34029
34137
|
static async fromJsonLd(json, options = {}) {
|
|
34030
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
34138
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34031
34139
|
try {
|
|
34032
34140
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
34033
34141
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34585,7 +34693,7 @@ var Page = class Page extends Document {
|
|
|
34585
34693
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34586
34694
|
*/
|
|
34587
34695
|
static async fromJsonLd(json, options = {}) {
|
|
34588
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
34696
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34589
34697
|
try {
|
|
34590
34698
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
34591
34699
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34980,7 +35088,7 @@ var Person = class Person extends Object$1 {
|
|
|
34980
35088
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34981
35089
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34982
35090
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34983
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
35091
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34984
35092
|
let fetchResult;
|
|
34985
35093
|
try {
|
|
34986
35094
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35142,7 +35250,7 @@ var Person = class Person extends Object$1 {
|
|
|
35142
35250
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35143
35251
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35144
35252
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35145
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
35253
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35146
35254
|
let fetchResult;
|
|
35147
35255
|
try {
|
|
35148
35256
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35322,7 +35430,7 @@ var Person = class Person extends Object$1 {
|
|
|
35322
35430
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35323
35431
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35324
35432
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35325
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
35433
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35326
35434
|
let fetchResult;
|
|
35327
35435
|
try {
|
|
35328
35436
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35464,7 +35572,7 @@ var Person = class Person extends Object$1 {
|
|
|
35464
35572
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35465
35573
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35466
35574
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35467
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
35575
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35468
35576
|
let fetchResult;
|
|
35469
35577
|
try {
|
|
35470
35578
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35603,7 +35711,7 @@ var Person = class Person extends Object$1 {
|
|
|
35603
35711
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35604
35712
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35605
35713
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35606
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
35714
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35607
35715
|
let fetchResult;
|
|
35608
35716
|
try {
|
|
35609
35717
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35727,7 +35835,7 @@ var Person = class Person extends Object$1 {
|
|
|
35727
35835
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35728
35836
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35729
35837
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35730
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
35838
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35731
35839
|
let fetchResult;
|
|
35732
35840
|
try {
|
|
35733
35841
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35854,7 +35962,7 @@ var Person = class Person extends Object$1 {
|
|
|
35854
35962
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35855
35963
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35856
35964
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35857
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
35965
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35858
35966
|
let fetchResult;
|
|
35859
35967
|
try {
|
|
35860
35968
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35979,7 +36087,7 @@ var Person = class Person extends Object$1 {
|
|
|
35979
36087
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35980
36088
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35981
36089
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35982
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
36090
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35983
36091
|
let fetchResult;
|
|
35984
36092
|
try {
|
|
35985
36093
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36102,7 +36210,7 @@ var Person = class Person extends Object$1 {
|
|
|
36102
36210
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36103
36211
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36104
36212
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36105
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
36213
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36106
36214
|
let fetchResult;
|
|
36107
36215
|
try {
|
|
36108
36216
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36225,7 +36333,7 @@ var Person = class Person extends Object$1 {
|
|
|
36225
36333
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36226
36334
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36227
36335
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36228
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
36336
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36229
36337
|
let fetchResult;
|
|
36230
36338
|
try {
|
|
36231
36339
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36387,7 +36495,7 @@ var Person = class Person extends Object$1 {
|
|
|
36387
36495
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36388
36496
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36389
36497
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36390
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
36498
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36391
36499
|
let fetchResult;
|
|
36392
36500
|
try {
|
|
36393
36501
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36553,7 +36661,7 @@ var Person = class Person extends Object$1 {
|
|
|
36553
36661
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36554
36662
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36555
36663
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36556
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
36664
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36557
36665
|
let fetchResult;
|
|
36558
36666
|
try {
|
|
36559
36667
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36767,7 +36875,7 @@ var Person = class Person extends Object$1 {
|
|
|
36767
36875
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36768
36876
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36769
36877
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36770
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
36878
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36771
36879
|
let fetchResult;
|
|
36772
36880
|
try {
|
|
36773
36881
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37450,7 +37558,7 @@ var Person = class Person extends Object$1 {
|
|
|
37450
37558
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37451
37559
|
*/
|
|
37452
37560
|
static async fromJsonLd(json, options = {}) {
|
|
37453
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
37561
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37454
37562
|
try {
|
|
37455
37563
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
37456
37564
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38185,7 +38293,7 @@ var Place = class Place extends Object$1 {
|
|
|
38185
38293
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38186
38294
|
*/
|
|
38187
38295
|
static async fromJsonLd(json, options = {}) {
|
|
38188
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
38296
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38189
38297
|
try {
|
|
38190
38298
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
38191
38299
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38376,7 +38484,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
38376
38484
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38377
38485
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38378
38486
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38379
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
38487
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38380
38488
|
let fetchResult;
|
|
38381
38489
|
try {
|
|
38382
38490
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38569,7 +38677,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
38569
38677
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38570
38678
|
*/
|
|
38571
38679
|
static async fromJsonLd(json, options = {}) {
|
|
38572
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
38680
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38573
38681
|
try {
|
|
38574
38682
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
38575
38683
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38740,7 +38848,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
38740
38848
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38741
38849
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38742
38850
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38743
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
38851
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38744
38852
|
let fetchResult;
|
|
38745
38853
|
try {
|
|
38746
38854
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38862,7 +38970,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
38862
38970
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38863
38971
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38864
38972
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38865
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
38973
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38866
38974
|
let fetchResult;
|
|
38867
38975
|
try {
|
|
38868
38976
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39125,7 +39233,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
39125
39233
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39126
39234
|
*/
|
|
39127
39235
|
static async fromJsonLd(json, options = {}) {
|
|
39128
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
39236
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39129
39237
|
try {
|
|
39130
39238
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
39131
39239
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39351,7 +39459,7 @@ var Read = class Read extends Activity {
|
|
|
39351
39459
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39352
39460
|
*/
|
|
39353
39461
|
static async fromJsonLd(json, options = {}) {
|
|
39354
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
39462
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39355
39463
|
try {
|
|
39356
39464
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
39357
39465
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39499,7 +39607,7 @@ var Reject = class Reject extends Activity {
|
|
|
39499
39607
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39500
39608
|
*/
|
|
39501
39609
|
static async fromJsonLd(json, options = {}) {
|
|
39502
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
39610
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39503
39611
|
try {
|
|
39504
39612
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
39505
39613
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39672,7 +39780,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
39672
39780
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39673
39781
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39674
39782
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39675
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
39783
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39676
39784
|
let fetchResult;
|
|
39677
39785
|
try {
|
|
39678
39786
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39795,7 +39903,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
39795
39903
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39796
39904
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39797
39905
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39798
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
39906
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39799
39907
|
let fetchResult;
|
|
39800
39908
|
try {
|
|
39801
39909
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39957,7 +40065,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
39957
40065
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39958
40066
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39959
40067
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39960
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
40068
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39961
40069
|
let fetchResult;
|
|
39962
40070
|
try {
|
|
39963
40071
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40227,7 +40335,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
40227
40335
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40228
40336
|
*/
|
|
40229
40337
|
static async fromJsonLd(json, options = {}) {
|
|
40230
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
40338
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40231
40339
|
try {
|
|
40232
40340
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
40233
40341
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40435,7 +40543,7 @@ var Remove = class Remove extends Activity {
|
|
|
40435
40543
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40436
40544
|
*/
|
|
40437
40545
|
static async fromJsonLd(json, options = {}) {
|
|
40438
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
40546
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40439
40547
|
try {
|
|
40440
40548
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
40441
40549
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40830,7 +40938,7 @@ var Service = class Service extends Object$1 {
|
|
|
40830
40938
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40831
40939
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40832
40940
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40833
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
40941
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40834
40942
|
let fetchResult;
|
|
40835
40943
|
try {
|
|
40836
40944
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40992,7 +41100,7 @@ var Service = class Service extends Object$1 {
|
|
|
40992
41100
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40993
41101
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40994
41102
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40995
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
41103
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40996
41104
|
let fetchResult;
|
|
40997
41105
|
try {
|
|
40998
41106
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41172,7 +41280,7 @@ var Service = class Service extends Object$1 {
|
|
|
41172
41280
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41173
41281
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41174
41282
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41175
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
41283
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41176
41284
|
let fetchResult;
|
|
41177
41285
|
try {
|
|
41178
41286
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41314,7 +41422,7 @@ var Service = class Service extends Object$1 {
|
|
|
41314
41422
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41315
41423
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41316
41424
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41317
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
41425
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41318
41426
|
let fetchResult;
|
|
41319
41427
|
try {
|
|
41320
41428
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41453,7 +41561,7 @@ var Service = class Service extends Object$1 {
|
|
|
41453
41561
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41454
41562
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41455
41563
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41456
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
41564
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41457
41565
|
let fetchResult;
|
|
41458
41566
|
try {
|
|
41459
41567
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41577,7 +41685,7 @@ var Service = class Service extends Object$1 {
|
|
|
41577
41685
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41578
41686
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41579
41687
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41580
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
41688
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41581
41689
|
let fetchResult;
|
|
41582
41690
|
try {
|
|
41583
41691
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41704,7 +41812,7 @@ var Service = class Service extends Object$1 {
|
|
|
41704
41812
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41705
41813
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41706
41814
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41707
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
41815
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41708
41816
|
let fetchResult;
|
|
41709
41817
|
try {
|
|
41710
41818
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41829,7 +41937,7 @@ var Service = class Service extends Object$1 {
|
|
|
41829
41937
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41830
41938
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41831
41939
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41832
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
41940
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41833
41941
|
let fetchResult;
|
|
41834
41942
|
try {
|
|
41835
41943
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41952,7 +42060,7 @@ var Service = class Service extends Object$1 {
|
|
|
41952
42060
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41953
42061
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41954
42062
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41955
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
42063
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41956
42064
|
let fetchResult;
|
|
41957
42065
|
try {
|
|
41958
42066
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42075,7 +42183,7 @@ var Service = class Service extends Object$1 {
|
|
|
42075
42183
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42076
42184
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42077
42185
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42078
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
42186
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42079
42187
|
let fetchResult;
|
|
42080
42188
|
try {
|
|
42081
42189
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42237,7 +42345,7 @@ var Service = class Service extends Object$1 {
|
|
|
42237
42345
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42238
42346
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42239
42347
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42240
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
42348
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42241
42349
|
let fetchResult;
|
|
42242
42350
|
try {
|
|
42243
42351
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42403,7 +42511,7 @@ var Service = class Service extends Object$1 {
|
|
|
42403
42511
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42404
42512
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42405
42513
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42406
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
42514
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42407
42515
|
let fetchResult;
|
|
42408
42516
|
try {
|
|
42409
42517
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42617,7 +42725,7 @@ var Service = class Service extends Object$1 {
|
|
|
42617
42725
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42618
42726
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42619
42727
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42620
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.9.
|
|
42728
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42621
42729
|
let fetchResult;
|
|
42622
42730
|
try {
|
|
42623
42731
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43300,7 +43408,7 @@ var Service = class Service extends Object$1 {
|
|
|
43300
43408
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43301
43409
|
*/
|
|
43302
43410
|
static async fromJsonLd(json, options = {}) {
|
|
43303
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
43411
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43304
43412
|
try {
|
|
43305
43413
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
43306
43414
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43950,7 +44058,7 @@ var Source = class {
|
|
|
43950
44058
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43951
44059
|
*/
|
|
43952
44060
|
static async fromJsonLd(json, options = {}) {
|
|
43953
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
44061
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43954
44062
|
try {
|
|
43955
44063
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
43956
44064
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44125,7 +44233,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
44125
44233
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44126
44234
|
*/
|
|
44127
44235
|
static async fromJsonLd(json, options = {}) {
|
|
44128
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
44236
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44129
44237
|
try {
|
|
44130
44238
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
44131
44239
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44273,7 +44381,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
44273
44381
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44274
44382
|
*/
|
|
44275
44383
|
static async fromJsonLd(json, options = {}) {
|
|
44276
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
44384
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44277
44385
|
try {
|
|
44278
44386
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
44279
44387
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44460,7 +44568,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
44460
44568
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44461
44569
|
*/
|
|
44462
44570
|
static async fromJsonLd(json, options = {}) {
|
|
44463
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
44571
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44464
44572
|
try {
|
|
44465
44573
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
44466
44574
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44623,7 +44731,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
44623
44731
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44624
44732
|
*/
|
|
44625
44733
|
static async fromJsonLd(json, options = {}) {
|
|
44626
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
44734
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44627
44735
|
try {
|
|
44628
44736
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
44629
44737
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44785,7 +44893,7 @@ var Undo = class Undo extends Activity {
|
|
|
44785
44893
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44786
44894
|
*/
|
|
44787
44895
|
static async fromJsonLd(json, options = {}) {
|
|
44788
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
44896
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44789
44897
|
try {
|
|
44790
44898
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
44791
44899
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44985,7 +45093,7 @@ var Update = class Update extends Activity {
|
|
|
44985
45093
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44986
45094
|
*/
|
|
44987
45095
|
static async fromJsonLd(json, options = {}) {
|
|
44988
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
45096
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44989
45097
|
try {
|
|
44990
45098
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
44991
45099
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45139,7 +45247,7 @@ var Video = class Video extends Document {
|
|
|
45139
45247
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45140
45248
|
*/
|
|
45141
45249
|
static async fromJsonLd(json, options = {}) {
|
|
45142
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
45250
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45143
45251
|
try {
|
|
45144
45252
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
45145
45253
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45286,7 +45394,7 @@ var View = class View extends Activity {
|
|
|
45286
45394
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45287
45395
|
*/
|
|
45288
45396
|
static async fromJsonLd(json, options = {}) {
|
|
45289
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.
|
|
45397
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.9.12-dev.2265+f8512d84").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45290
45398
|
try {
|
|
45291
45399
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
45292
45400
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|