@fedify/fedify 1.10.10 → 1.10.11
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-yCME0Muf.cjs → actor--xTQfY8h.cjs} +187 -187
- package/dist/{actor-q2gTvEOg.js → actor-B7XRaa54.js} +187 -187
- package/dist/{actor-DZtfiGD5.mjs → actor-CTpwJ1pI.mjs} +1 -1
- package/dist/{authdocloader-Dxs4mL_P.mjs → authdocloader-DJ-h-WMy.mjs} +3 -3
- package/dist/{authdocloader-C9ucnURr.cjs → authdocloader-DMkkNwRc.cjs} +3 -3
- package/dist/{authdocloader-CjcVKv5l.js → authdocloader-_h7VKnUP.js} +3 -3
- package/dist/{builder-DBBCeuJN.mjs → builder-Dx_LGmTI.mjs} +4 -4
- package/dist/{client-DfSKNItx.mjs → client-DDy3-85E.mjs} +1 -1
- package/dist/compat/mod.cjs +1 -1
- package/dist/compat/transformers.test.mjs +3 -3
- package/dist/{docloader-D8qb26Gj.js → docloader-Ca6-eCr_.js} +121 -13
- package/dist/{docloader-DR98w4wL.cjs → docloader-CvMstYam.cjs} +121 -13
- package/dist/{esm-onODA711.mjs → esm-CzaH6D4W.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-mdiWJYia.cjs → http-B3o3SOXX.cjs} +3 -3
- package/dist/{http-D6Qz3p20.js → http-Bku28NB8.js} +3 -3
- package/dist/{http-DyCX-dN3.mjs → http-CiqAQGRx.mjs} +2 -2
- package/dist/{inbox-BZN50kyQ.mjs → inbox-D3RCgSiJ.mjs} +1 -1
- package/dist/{key-DRfL8gil.cjs → key-BbdUjmdf.cjs} +2 -2
- package/dist/{key-DXUAJBZu.mjs → key-C15RK-kf.mjs} +1 -1
- package/dist/{key-TRp8WTUL.js → key-CJU1QxP2.js} +2 -2
- package/dist/{key-DPzMtgeE.cjs → key-ClgfrNJf.cjs} +1 -1
- package/dist/{key-CSH0Pfat.mjs → key-LJoRzwG2.mjs} +2 -2
- package/dist/{keycache-DETDxpbh.mjs → keycache-BCuiTm4y.mjs} +1 -1
- package/dist/{keys-8FIoKqmB.mjs → keys-wZip1i2J.mjs} +1 -1
- package/dist/{ld-BaJmhpEa.mjs → ld-BO_vEkla.mjs} +2 -2
- package/dist/{lookup-B7TLaXFf.cjs → lookup-Cs7LHObN.cjs} +1 -1
- package/dist/{lookup-C6wM-gq1.js → lookup-DRzvxZ-l.js} +1 -1
- package/dist/{lookup-CX2yfN-X.mjs → lookup-FvsTNqW8.mjs} +1 -1
- package/dist/{middleware-BJ7otoEC.mjs → middleware-Cdb7LDeG.mjs} +1 -1
- package/dist/{middleware-BQ6evC7E.mjs → middleware-CzjJsU2k.mjs} +15 -15
- package/dist/{middleware-DpVqFb2x.cjs → middleware-Dn5HfxXi.cjs} +10 -10
- package/dist/{middleware-BXc5M6YG.js → middleware-DoM0y4tG.js} +8 -8
- package/dist/{middleware-cNynSnF6.cjs → middleware-SfuiAsBu.cjs} +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/otel/exporter.test.mjs +1 -1
- package/dist/otel/mod.cjs +1 -1
- package/dist/{owner-CLGVwm9P.mjs → owner-BRgVUFTA.mjs} +3 -3
- package/dist/{proof-DxQL08gJ.js → proof-BL5RXXp2.js} +3 -3
- package/dist/{proof-BVB37JmB.cjs → proof-BPEkbKl1.cjs} +3 -3
- package/dist/{proof-CAOvY-AP.mjs → proof-De_2gCxi.mjs} +2 -2
- 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-BFClgq8T.mjs → send-C7irF8CJ.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-lmewfA7Y.mjs → temporal-CtvhWksK.mjs} +1 -1
- package/dist/testing/docloader.test.mjs +1 -1
- package/dist/testing/mod.mjs +1 -1
- package/dist/{testing-B9FmxxlI.mjs → testing-DskvUSfh.mjs} +2 -2
- package/dist/{transformers-KRl8YJCO.cjs → transformers-BbJsnOaL.cjs} +1 -1
- package/dist/{types-B0aIcMDF.js → types-B-GUdtNR.js} +1 -1
- package/dist/{types-DPWiFqle.cjs → types-BWNGBD9D.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-DP9A9TjH.mjs → vocab-C0yDmtpE.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.10.
|
|
55
|
+
var version = "1.10.11";
|
|
56
56
|
//#endregion
|
|
57
57
|
//#region src/runtime/contexts.ts
|
|
58
58
|
const preloadedContexts = {
|
|
@@ -4498,29 +4498,137 @@ function validatePublicIpAddress(address, family) {
|
|
|
4498
4498
|
throw new UrlError(`Invalid or private address: ${address}`);
|
|
4499
4499
|
}
|
|
4500
4500
|
function isValidPublicIPv4Address(address) {
|
|
4501
|
-
const parts = address
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
if (first === 169 && second === 254) return false;
|
|
4506
|
-
if (first === 172 && second >= 16 && second <= 31) return false;
|
|
4507
|
-
if (first === 192 && second === 168) return false;
|
|
4508
|
-
return true;
|
|
4501
|
+
const parts = parseIPv4Address(address);
|
|
4502
|
+
if (parts == null) return false;
|
|
4503
|
+
const value = ipv4PartsToNumber(parts);
|
|
4504
|
+
return !nonPublicIPv4Prefixes.some(({ base, prefix }) => matchesIPv4Prefix(value, base, prefix));
|
|
4509
4505
|
}
|
|
4510
4506
|
function isValidPublicIPv6Address(address) {
|
|
4511
|
-
|
|
4512
|
-
if (
|
|
4513
|
-
|
|
4514
|
-
|
|
4507
|
+
const words = parseIPv6Address(address);
|
|
4508
|
+
if (words == null) return false;
|
|
4509
|
+
if (nonPublicIPv6Prefixes.some(({ words: prefixWords, prefix }) => matchesIPv6Prefix(words, prefixWords, prefix))) return false;
|
|
4510
|
+
for (const { extractIPv4, prefix, words: prefixWords } of ipv6WithIPv4Prefixes) {
|
|
4511
|
+
if (!matchesIPv6Prefix(words, prefixWords, prefix)) continue;
|
|
4512
|
+
const ipv4Address = extractIPv4(words);
|
|
4513
|
+
if (ipv4Address != null && !isValidPublicIPv4Address(ipv4Address)) return false;
|
|
4514
|
+
}
|
|
4515
|
+
return true;
|
|
4515
4516
|
}
|
|
4516
4517
|
function expandIPv6Address(address) {
|
|
4517
4518
|
address = address.toLowerCase();
|
|
4519
|
+
const ipv4Delimiter = address.lastIndexOf(":");
|
|
4520
|
+
if (address.includes(".") && ipv4Delimiter >= 0) {
|
|
4521
|
+
const ipv4Parts = parseIPv4Address(address.substring(ipv4Delimiter + 1));
|
|
4522
|
+
if (ipv4Parts == null) return address;
|
|
4523
|
+
const high = (ipv4Parts[0] << 8) + ipv4Parts[1];
|
|
4524
|
+
const low = (ipv4Parts[2] << 8) + ipv4Parts[3];
|
|
4525
|
+
address = address.substring(0, ipv4Delimiter + 1) + high.toString(16) + ":" + low.toString(16);
|
|
4526
|
+
}
|
|
4518
4527
|
if (address === "::") return "0000:0000:0000:0000:0000:0000:0000:0000";
|
|
4519
4528
|
if (address.startsWith("::")) address = "0000" + address;
|
|
4520
4529
|
if (address.endsWith("::")) address = address + "0000";
|
|
4521
4530
|
address = address.replace("::", ":0000".repeat(8 - (address.match(/:/g) || []).length) + ":");
|
|
4522
4531
|
return address.split(":").map((part) => part.padStart(4, "0")).join(":");
|
|
4523
4532
|
}
|
|
4533
|
+
const nonPublicIPv4Prefixes = [
|
|
4534
|
+
ipv4Prefix("0.0.0.0/8", "RFC 6890"),
|
|
4535
|
+
ipv4Prefix("10.0.0.0/8", "RFC 1918"),
|
|
4536
|
+
ipv4Prefix("100.64.0.0/10", "RFC 6598"),
|
|
4537
|
+
ipv4Prefix("127.0.0.0/8", "RFC 1122"),
|
|
4538
|
+
ipv4Prefix("169.254.0.0/16", "RFC 3927"),
|
|
4539
|
+
ipv4Prefix("172.16.0.0/12", "RFC 1918"),
|
|
4540
|
+
ipv4Prefix("192.0.0.0/24", "RFC 6890"),
|
|
4541
|
+
ipv4Prefix("192.0.2.0/24", "RFC 5737"),
|
|
4542
|
+
ipv4Prefix("192.88.99.0/24", "RFC 7526"),
|
|
4543
|
+
ipv4Prefix("192.168.0.0/16", "RFC 1918"),
|
|
4544
|
+
ipv4Prefix("198.18.0.0/15", "RFC 2544"),
|
|
4545
|
+
ipv4Prefix("198.51.100.0/24", "RFC 5737"),
|
|
4546
|
+
ipv4Prefix("203.0.113.0/24", "RFC 5737"),
|
|
4547
|
+
ipv4Prefix("224.0.0.0/4", "RFC 5771"),
|
|
4548
|
+
ipv4Prefix("240.0.0.0/4", "RFC 1112")
|
|
4549
|
+
];
|
|
4550
|
+
const nonPublicIPv6Prefixes = [
|
|
4551
|
+
ipv6Prefix("::/16", "RFC 4291"),
|
|
4552
|
+
ipv6Prefix("2001::/32", "RFC 4380"),
|
|
4553
|
+
ipv6Prefix("2002::/16", "RFC 3056"),
|
|
4554
|
+
ipv6Prefix("64:ff9b:1::/48", "RFC 8215"),
|
|
4555
|
+
ipv6Prefix("fc00::/7", "RFC 4193"),
|
|
4556
|
+
ipv6Prefix("fe80::/10", "RFC 4291"),
|
|
4557
|
+
ipv6Prefix("ff00::/8", "RFC 4291")
|
|
4558
|
+
];
|
|
4559
|
+
const ipv6WithIPv4Prefixes = [{
|
|
4560
|
+
...ipv6Prefix("64:ff9b::/96", "RFC 6052"),
|
|
4561
|
+
extractIPv4: (words) => ipv4FromWords(words[6], words[7])
|
|
4562
|
+
}];
|
|
4563
|
+
function ipv4Prefix(cidr, rfc) {
|
|
4564
|
+
const [address, prefixText] = cidr.split("/");
|
|
4565
|
+
const prefix = parseInt(prefixText, 10);
|
|
4566
|
+
const parts = parseIPv4Address(address);
|
|
4567
|
+
if (parts == null || !Number.isInteger(prefix) || prefix < 0 || prefix > 32) throw new Error(`Invalid IPv4 prefix: ${cidr}`);
|
|
4568
|
+
return {
|
|
4569
|
+
cidr,
|
|
4570
|
+
base: ipv4PartsToNumber(parts),
|
|
4571
|
+
prefix,
|
|
4572
|
+
rfc
|
|
4573
|
+
};
|
|
4574
|
+
}
|
|
4575
|
+
function ipv6Prefix(cidr, rfc) {
|
|
4576
|
+
const [address, prefixText] = cidr.split("/");
|
|
4577
|
+
const prefix = parseInt(prefixText, 10);
|
|
4578
|
+
const words = parseIPv6Address(address);
|
|
4579
|
+
if (words == null || !Number.isInteger(prefix) || prefix < 0 || prefix > 128) throw new Error(`Invalid IPv6 prefix: ${cidr}`);
|
|
4580
|
+
return {
|
|
4581
|
+
cidr,
|
|
4582
|
+
words,
|
|
4583
|
+
prefix,
|
|
4584
|
+
rfc
|
|
4585
|
+
};
|
|
4586
|
+
}
|
|
4587
|
+
function parseIPv4Address(address) {
|
|
4588
|
+
const parts = address.split(".").map((part) => {
|
|
4589
|
+
if (!/^\d+$/.test(part)) return NaN;
|
|
4590
|
+
return parseInt(part, 10);
|
|
4591
|
+
});
|
|
4592
|
+
if (parts.length !== 4 || parts.some((part) => !Number.isInteger(part) || part < 0 || part > 255)) return null;
|
|
4593
|
+
return parts;
|
|
4594
|
+
}
|
|
4595
|
+
function parseIPv6Address(address) {
|
|
4596
|
+
const parts = expandIPv6Address(address).split(":");
|
|
4597
|
+
if (parts.length !== 8) return null;
|
|
4598
|
+
const words = parts.map((part) => {
|
|
4599
|
+
if (!/^[0-9a-f]{1,4}$/i.test(part)) return NaN;
|
|
4600
|
+
return parseInt(part, 16);
|
|
4601
|
+
});
|
|
4602
|
+
if (words.some((word) => !Number.isInteger(word) || word < 0 || word > 65535)) return null;
|
|
4603
|
+
return words;
|
|
4604
|
+
}
|
|
4605
|
+
function ipv4PartsToNumber(parts) {
|
|
4606
|
+
return parts[0] * 2 ** 24 + parts[1] * 2 ** 16 + parts[2] * 2 ** 8 + parts[3];
|
|
4607
|
+
}
|
|
4608
|
+
function ipv4FromWords(highWord, lowWord) {
|
|
4609
|
+
return [
|
|
4610
|
+
highWord >> 8,
|
|
4611
|
+
highWord & 255,
|
|
4612
|
+
lowWord >> 8,
|
|
4613
|
+
lowWord & 255
|
|
4614
|
+
].join(".");
|
|
4615
|
+
}
|
|
4616
|
+
function matchesIPv4Prefix(address, prefixBase, prefixLength) {
|
|
4617
|
+
const blockSize = 2 ** (32 - prefixLength);
|
|
4618
|
+
return Math.floor(address / blockSize) === Math.floor(prefixBase / blockSize);
|
|
4619
|
+
}
|
|
4620
|
+
function matchesIPv6Prefix(address, prefixWords, prefixLength) {
|
|
4621
|
+
let remaining = prefixLength;
|
|
4622
|
+
for (let i = 0; i < 8 && remaining > 0; i++) if (remaining >= 16) {
|
|
4623
|
+
if (address[i] !== prefixWords[i]) return false;
|
|
4624
|
+
remaining -= 16;
|
|
4625
|
+
} else {
|
|
4626
|
+
const mask = 65535 << 16 - remaining & 65535;
|
|
4627
|
+
if ((address[i] & mask) !== (prefixWords[i] & mask)) return false;
|
|
4628
|
+
remaining = 0;
|
|
4629
|
+
}
|
|
4630
|
+
return true;
|
|
4631
|
+
}
|
|
4524
4632
|
//#endregion
|
|
4525
4633
|
//#region src/runtime/docloader.ts
|
|
4526
4634
|
const logger$1 = getLogger([
|
|
@@ -5307,7 +5415,7 @@ async function importSpki(pem) {
|
|
|
5307
5415
|
* @since 0.5.0
|
|
5308
5416
|
*/
|
|
5309
5417
|
async function exportSpki(key) {
|
|
5310
|
-
const { validateCryptoKey } = await import("./key-
|
|
5418
|
+
const { validateCryptoKey } = await import("./key-C15RK-kf.mjs");
|
|
5311
5419
|
validateCryptoKey(key);
|
|
5312
5420
|
let pem = encodeBase64(await crypto.subtle.exportKey("spki", key));
|
|
5313
5421
|
pem = (pem.match(/.{1,64}/g) || []).join("\n");
|
|
@@ -6105,7 +6213,7 @@ var Object$1 = class Object$1 {
|
|
|
6105
6213
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6106
6214
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6107
6215
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6108
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
6216
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6109
6217
|
let fetchResult;
|
|
6110
6218
|
try {
|
|
6111
6219
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6251,7 +6359,7 @@ var Object$1 = class Object$1 {
|
|
|
6251
6359
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6252
6360
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6253
6361
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6254
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
6362
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6255
6363
|
let fetchResult;
|
|
6256
6364
|
try {
|
|
6257
6365
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6463,7 +6571,7 @@ var Object$1 = class Object$1 {
|
|
|
6463
6571
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6464
6572
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6465
6573
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6466
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
6574
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6467
6575
|
let fetchResult;
|
|
6468
6576
|
try {
|
|
6469
6577
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6647,7 +6755,7 @@ var Object$1 = class Object$1 {
|
|
|
6647
6755
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6648
6756
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6649
6757
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6650
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
6758
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6651
6759
|
let fetchResult;
|
|
6652
6760
|
try {
|
|
6653
6761
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6809,7 +6917,7 @@ var Object$1 = class Object$1 {
|
|
|
6809
6917
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6810
6918
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6811
6919
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6812
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
6920
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6813
6921
|
let fetchResult;
|
|
6814
6922
|
try {
|
|
6815
6923
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6939,7 +7047,7 @@ var Object$1 = class Object$1 {
|
|
|
6939
7047
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6940
7048
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6941
7049
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6942
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
7050
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6943
7051
|
let fetchResult;
|
|
6944
7052
|
try {
|
|
6945
7053
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7105,7 +7213,7 @@ var Object$1 = class Object$1 {
|
|
|
7105
7213
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7106
7214
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7107
7215
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7108
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
7216
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7109
7217
|
let fetchResult;
|
|
7110
7218
|
try {
|
|
7111
7219
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7271,7 +7379,7 @@ var Object$1 = class Object$1 {
|
|
|
7271
7379
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7272
7380
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7273
7381
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7274
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
7382
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7275
7383
|
let fetchResult;
|
|
7276
7384
|
try {
|
|
7277
7385
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7445,7 +7553,7 @@ var Object$1 = class Object$1 {
|
|
|
7445
7553
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7446
7554
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7447
7555
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7448
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
7556
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7449
7557
|
let fetchResult;
|
|
7450
7558
|
try {
|
|
7451
7559
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7619,7 +7727,7 @@ var Object$1 = class Object$1 {
|
|
|
7619
7727
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7620
7728
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7621
7729
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7622
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
7730
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7623
7731
|
let fetchResult;
|
|
7624
7732
|
try {
|
|
7625
7733
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7798,7 +7906,7 @@ var Object$1 = class Object$1 {
|
|
|
7798
7906
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7799
7907
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7800
7908
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7801
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
7909
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7802
7910
|
let fetchResult;
|
|
7803
7911
|
try {
|
|
7804
7912
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7919,7 +8027,7 @@ var Object$1 = class Object$1 {
|
|
|
7919
8027
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7920
8028
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7921
8029
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7922
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
8030
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7923
8031
|
let fetchResult;
|
|
7924
8032
|
try {
|
|
7925
8033
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8046,7 +8154,7 @@ var Object$1 = class Object$1 {
|
|
|
8046
8154
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8047
8155
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8048
8156
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8049
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
8157
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8050
8158
|
let fetchResult;
|
|
8051
8159
|
try {
|
|
8052
8160
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8173,7 +8281,7 @@ var Object$1 = class Object$1 {
|
|
|
8173
8281
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8174
8282
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8175
8283
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8176
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
8284
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8177
8285
|
let fetchResult;
|
|
8178
8286
|
try {
|
|
8179
8287
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8318,7 +8426,7 @@ var Object$1 = class Object$1 {
|
|
|
8318
8426
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8319
8427
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8320
8428
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8321
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
8429
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8322
8430
|
let fetchResult;
|
|
8323
8431
|
try {
|
|
8324
8432
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8470,7 +8578,7 @@ var Object$1 = class Object$1 {
|
|
|
8470
8578
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8471
8579
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8472
8580
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8473
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
8581
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8474
8582
|
let fetchResult;
|
|
8475
8583
|
try {
|
|
8476
8584
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8634,7 +8742,7 @@ var Object$1 = class Object$1 {
|
|
|
8634
8742
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8635
8743
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8636
8744
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8637
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
8745
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8638
8746
|
let fetchResult;
|
|
8639
8747
|
try {
|
|
8640
8748
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8798,7 +8906,7 @@ var Object$1 = class Object$1 {
|
|
|
8798
8906
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8799
8907
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8800
8908
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8801
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
8909
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8802
8910
|
let fetchResult;
|
|
8803
8911
|
try {
|
|
8804
8912
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8962,7 +9070,7 @@ var Object$1 = class Object$1 {
|
|
|
8962
9070
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8963
9071
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8964
9072
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8965
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
9073
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8966
9074
|
let fetchResult;
|
|
8967
9075
|
try {
|
|
8968
9076
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9163,7 +9271,7 @@ var Object$1 = class Object$1 {
|
|
|
9163
9271
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9164
9272
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9165
9273
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9166
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
9274
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9167
9275
|
let fetchResult;
|
|
9168
9276
|
try {
|
|
9169
9277
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9952,7 +10060,7 @@ var Object$1 = class Object$1 {
|
|
|
9952
10060
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9953
10061
|
*/
|
|
9954
10062
|
static async fromJsonLd(json, options = {}) {
|
|
9955
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
10063
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9956
10064
|
try {
|
|
9957
10065
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
9958
10066
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11196,7 +11304,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
11196
11304
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11197
11305
|
*/
|
|
11198
11306
|
static async fromJsonLd(json, options = {}) {
|
|
11199
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
11307
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11200
11308
|
try {
|
|
11201
11309
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
11202
11310
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11433,7 +11541,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
11433
11541
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11434
11542
|
*/
|
|
11435
11543
|
static async fromJsonLd(json, options = {}) {
|
|
11436
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
11544
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11437
11545
|
try {
|
|
11438
11546
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
11439
11547
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11714,7 +11822,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
11714
11822
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11715
11823
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11716
11824
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11717
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
11825
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11718
11826
|
let fetchResult;
|
|
11719
11827
|
try {
|
|
11720
11828
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11926,7 +12034,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
11926
12034
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11927
12035
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11928
12036
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11929
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
12037
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11930
12038
|
let fetchResult;
|
|
11931
12039
|
try {
|
|
11932
12040
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12092,7 +12200,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12092
12200
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12093
12201
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12094
12202
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12095
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
12203
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12096
12204
|
let fetchResult;
|
|
12097
12205
|
try {
|
|
12098
12206
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12264,7 +12372,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12264
12372
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12265
12373
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12266
12374
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12267
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
12375
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12268
12376
|
let fetchResult;
|
|
12269
12377
|
try {
|
|
12270
12378
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12430,7 +12538,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12430
12538
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12431
12539
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12432
12540
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12433
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
12541
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12434
12542
|
let fetchResult;
|
|
12435
12543
|
try {
|
|
12436
12544
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12598,7 +12706,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12598
12706
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12599
12707
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12600
12708
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12601
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
12709
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12602
12710
|
let fetchResult;
|
|
12603
12711
|
try {
|
|
12604
12712
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12848,7 +12956,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12848
12956
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12849
12957
|
*/
|
|
12850
12958
|
static async fromJsonLd(json, options = {}) {
|
|
12851
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
12959
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12852
12960
|
try {
|
|
12853
12961
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
12854
12962
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13166,7 +13274,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
13166
13274
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13167
13275
|
*/
|
|
13168
13276
|
static async fromJsonLd(json, options = {}) {
|
|
13169
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
13277
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13170
13278
|
try {
|
|
13171
13279
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
13172
13280
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13412,7 +13520,7 @@ var PropertyValue = class {
|
|
|
13412
13520
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13413
13521
|
*/
|
|
13414
13522
|
static async fromJsonLd(json, options = {}) {
|
|
13415
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
13523
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13416
13524
|
try {
|
|
13417
13525
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
13418
13526
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13646,7 +13754,7 @@ var DidService = class {
|
|
|
13646
13754
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13647
13755
|
*/
|
|
13648
13756
|
static async fromJsonLd(json, options = {}) {
|
|
13649
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
13757
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13650
13758
|
try {
|
|
13651
13759
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
13652
13760
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13800,7 +13908,7 @@ var Export = class Export extends DidService {
|
|
|
13800
13908
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13801
13909
|
*/
|
|
13802
13910
|
static async fromJsonLd(json, options = {}) {
|
|
13803
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
13911
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13804
13912
|
try {
|
|
13805
13913
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
13806
13914
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13973,7 +14081,7 @@ var DataIntegrityProof = class {
|
|
|
13973
14081
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13974
14082
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13975
14083
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13976
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
14084
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13977
14085
|
let fetchResult;
|
|
13978
14086
|
try {
|
|
13979
14087
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14192,7 +14300,7 @@ var DataIntegrityProof = class {
|
|
|
14192
14300
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14193
14301
|
*/
|
|
14194
14302
|
static async fromJsonLd(json, options = {}) {
|
|
14195
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
14303
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14196
14304
|
try {
|
|
14197
14305
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
14198
14306
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14406,7 +14514,7 @@ var CryptographicKey = class {
|
|
|
14406
14514
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14407
14515
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14408
14516
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14409
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
14517
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14410
14518
|
let fetchResult;
|
|
14411
14519
|
try {
|
|
14412
14520
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14668,7 +14776,7 @@ var CryptographicKey = class {
|
|
|
14668
14776
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14669
14777
|
*/
|
|
14670
14778
|
static async fromJsonLd(json, options = {}) {
|
|
14671
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
14779
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14672
14780
|
try {
|
|
14673
14781
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
14674
14782
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14863,7 +14971,7 @@ var Multikey = class {
|
|
|
14863
14971
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14864
14972
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14865
14973
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14866
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
14974
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14867
14975
|
let fetchResult;
|
|
14868
14976
|
try {
|
|
14869
14977
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15131,7 +15239,7 @@ var Multikey = class {
|
|
|
15131
15239
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15132
15240
|
*/
|
|
15133
15241
|
static async fromJsonLd(json, options = {}) {
|
|
15134
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
15242
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15135
15243
|
try {
|
|
15136
15244
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
15137
15245
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15325,7 +15433,7 @@ var Accept = class Accept extends Activity {
|
|
|
15325
15433
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15326
15434
|
*/
|
|
15327
15435
|
static async fromJsonLd(json, options = {}) {
|
|
15328
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
15436
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15329
15437
|
try {
|
|
15330
15438
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
15331
15439
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15476,7 +15584,7 @@ var Add = class Add extends Activity {
|
|
|
15476
15584
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15477
15585
|
*/
|
|
15478
15586
|
static async fromJsonLd(json, options = {}) {
|
|
15479
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
15587
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15480
15588
|
try {
|
|
15481
15589
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
15482
15590
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15644,7 +15752,7 @@ var Announce = class Announce extends Activity {
|
|
|
15644
15752
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15645
15753
|
*/
|
|
15646
15754
|
static async fromJsonLd(json, options = {}) {
|
|
15647
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
15755
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15648
15756
|
try {
|
|
15649
15757
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
15650
15758
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16039,7 +16147,7 @@ var Application = class Application extends Object$1 {
|
|
|
16039
16147
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16040
16148
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16041
16149
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16042
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
16150
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16043
16151
|
let fetchResult;
|
|
16044
16152
|
try {
|
|
16045
16153
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16201,7 +16309,7 @@ var Application = class Application extends Object$1 {
|
|
|
16201
16309
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16202
16310
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16203
16311
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16204
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
16312
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16205
16313
|
let fetchResult;
|
|
16206
16314
|
try {
|
|
16207
16315
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16381,7 +16489,7 @@ var Application = class Application extends Object$1 {
|
|
|
16381
16489
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16382
16490
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16383
16491
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16384
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
16492
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16385
16493
|
let fetchResult;
|
|
16386
16494
|
try {
|
|
16387
16495
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16523,7 +16631,7 @@ var Application = class Application extends Object$1 {
|
|
|
16523
16631
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16524
16632
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16525
16633
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16526
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
16634
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16527
16635
|
let fetchResult;
|
|
16528
16636
|
try {
|
|
16529
16637
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16662,7 +16770,7 @@ var Application = class Application extends Object$1 {
|
|
|
16662
16770
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16663
16771
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16664
16772
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16665
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
16773
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16666
16774
|
let fetchResult;
|
|
16667
16775
|
try {
|
|
16668
16776
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16786,7 +16894,7 @@ var Application = class Application extends Object$1 {
|
|
|
16786
16894
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16787
16895
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16788
16896
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16789
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
16897
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16790
16898
|
let fetchResult;
|
|
16791
16899
|
try {
|
|
16792
16900
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16913,7 +17021,7 @@ var Application = class Application extends Object$1 {
|
|
|
16913
17021
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16914
17022
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16915
17023
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16916
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
17024
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16917
17025
|
let fetchResult;
|
|
16918
17026
|
try {
|
|
16919
17027
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17038,7 +17146,7 @@ var Application = class Application extends Object$1 {
|
|
|
17038
17146
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17039
17147
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17040
17148
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17041
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
17149
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17042
17150
|
let fetchResult;
|
|
17043
17151
|
try {
|
|
17044
17152
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17161,7 +17269,7 @@ var Application = class Application extends Object$1 {
|
|
|
17161
17269
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17162
17270
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17163
17271
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17164
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
17272
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17165
17273
|
let fetchResult;
|
|
17166
17274
|
try {
|
|
17167
17275
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17284,7 +17392,7 @@ var Application = class Application extends Object$1 {
|
|
|
17284
17392
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17285
17393
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17286
17394
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17287
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
17395
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17288
17396
|
let fetchResult;
|
|
17289
17397
|
try {
|
|
17290
17398
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17446,7 +17554,7 @@ var Application = class Application extends Object$1 {
|
|
|
17446
17554
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17447
17555
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17448
17556
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17449
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
17557
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17450
17558
|
let fetchResult;
|
|
17451
17559
|
try {
|
|
17452
17560
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17612,7 +17720,7 @@ var Application = class Application extends Object$1 {
|
|
|
17612
17720
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17613
17721
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17614
17722
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17615
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
17723
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17616
17724
|
let fetchResult;
|
|
17617
17725
|
try {
|
|
17618
17726
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17826,7 +17934,7 @@ var Application = class Application extends Object$1 {
|
|
|
17826
17934
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17827
17935
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17828
17936
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17829
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
17937
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17830
17938
|
let fetchResult;
|
|
17831
17939
|
try {
|
|
17832
17940
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18509,7 +18617,7 @@ var Application = class Application extends Object$1 {
|
|
|
18509
18617
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18510
18618
|
*/
|
|
18511
18619
|
static async fromJsonLd(json, options = {}) {
|
|
18512
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
18620
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18513
18621
|
try {
|
|
18514
18622
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
18515
18623
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19062,7 +19170,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
19062
19170
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19063
19171
|
*/
|
|
19064
19172
|
static async fromJsonLd(json, options = {}) {
|
|
19065
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
19173
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19066
19174
|
try {
|
|
19067
19175
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
19068
19176
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19214,7 +19322,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
19214
19322
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19215
19323
|
*/
|
|
19216
19324
|
static async fromJsonLd(json, options = {}) {
|
|
19217
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
19325
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19218
19326
|
try {
|
|
19219
19327
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
19220
19328
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19449,7 +19557,7 @@ var Article = class Article extends Object$1 {
|
|
|
19449
19557
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19450
19558
|
*/
|
|
19451
19559
|
static async fromJsonLd(json, options = {}) {
|
|
19452
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
19560
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19453
19561
|
try {
|
|
19454
19562
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
19455
19563
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19678,7 +19786,7 @@ var Document = class Document extends Object$1 {
|
|
|
19678
19786
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19679
19787
|
*/
|
|
19680
19788
|
static async fromJsonLd(json, options = {}) {
|
|
19681
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
19789
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19682
19790
|
try {
|
|
19683
19791
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
19684
19792
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19861,7 +19969,7 @@ var Audio = class Audio extends Document {
|
|
|
19861
19969
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19862
19970
|
*/
|
|
19863
19971
|
static async fromJsonLd(json, options = {}) {
|
|
19864
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
19972
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19865
19973
|
try {
|
|
19866
19974
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
19867
19975
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20009,7 +20117,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
20009
20117
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20010
20118
|
*/
|
|
20011
20119
|
static async fromJsonLd(json, options = {}) {
|
|
20012
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
20120
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20013
20121
|
try {
|
|
20014
20122
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
20015
20123
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20160,7 +20268,7 @@ var Block = class Block extends Ignore {
|
|
|
20160
20268
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20161
20269
|
*/
|
|
20162
20270
|
static async fromJsonLd(json, options = {}) {
|
|
20163
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
20271
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20164
20272
|
try {
|
|
20165
20273
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
20166
20274
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20424,7 +20532,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20424
20532
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20425
20533
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20426
20534
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20427
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
20535
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20428
20536
|
let fetchResult;
|
|
20429
20537
|
try {
|
|
20430
20538
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20545,7 +20653,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20545
20653
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20546
20654
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20547
20655
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20548
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
20656
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20549
20657
|
let fetchResult;
|
|
20550
20658
|
try {
|
|
20551
20659
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20666,7 +20774,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20666
20774
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20667
20775
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20668
20776
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20669
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
20777
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20670
20778
|
let fetchResult;
|
|
20671
20779
|
try {
|
|
20672
20780
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20787,7 +20895,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20787
20895
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20788
20896
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20789
20897
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20790
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
20898
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20791
20899
|
let fetchResult;
|
|
20792
20900
|
try {
|
|
20793
20901
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20918,7 +21026,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20918
21026
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20919
21027
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20920
21028
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20921
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
21029
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20922
21030
|
let fetchResult;
|
|
20923
21031
|
try {
|
|
20924
21032
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21038,7 +21146,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21038
21146
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21039
21147
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21040
21148
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21041
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
21149
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21042
21150
|
let fetchResult;
|
|
21043
21151
|
try {
|
|
21044
21152
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21158,7 +21266,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21158
21266
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21159
21267
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21160
21268
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21161
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
21269
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21162
21270
|
let fetchResult;
|
|
21163
21271
|
try {
|
|
21164
21272
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21278,7 +21386,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21278
21386
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21279
21387
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21280
21388
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21281
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
21389
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21282
21390
|
let fetchResult;
|
|
21283
21391
|
try {
|
|
21284
21392
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21398,7 +21506,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21398
21506
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21399
21507
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21400
21508
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21401
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
21509
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21402
21510
|
let fetchResult;
|
|
21403
21511
|
try {
|
|
21404
21512
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21518,7 +21626,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21518
21626
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21519
21627
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21520
21628
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21521
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
21629
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21522
21630
|
let fetchResult;
|
|
21523
21631
|
try {
|
|
21524
21632
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21638,7 +21746,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21638
21746
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21639
21747
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21640
21748
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21641
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
21749
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21642
21750
|
let fetchResult;
|
|
21643
21751
|
try {
|
|
21644
21752
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21758,7 +21866,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21758
21866
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21759
21867
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21760
21868
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21761
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
21869
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21762
21870
|
let fetchResult;
|
|
21763
21871
|
try {
|
|
21764
21872
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22185,7 +22293,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22185
22293
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22186
22294
|
*/
|
|
22187
22295
|
static async fromJsonLd(json, options = {}) {
|
|
22188
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
22296
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22189
22297
|
try {
|
|
22190
22298
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
22191
22299
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22632,7 +22740,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
22632
22740
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22633
22741
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22634
22742
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22635
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
22743
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22636
22744
|
let fetchResult;
|
|
22637
22745
|
try {
|
|
22638
22746
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22753,7 +22861,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
22753
22861
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22754
22862
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22755
22863
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22756
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
22864
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22757
22865
|
let fetchResult;
|
|
22758
22866
|
try {
|
|
22759
22867
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22873,7 +22981,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
22873
22981
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22874
22982
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22875
22983
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22876
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
22984
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22877
22985
|
let fetchResult;
|
|
22878
22986
|
try {
|
|
22879
22987
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23137,7 +23245,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23137
23245
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23138
23246
|
*/
|
|
23139
23247
|
static async fromJsonLd(json, options = {}) {
|
|
23140
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
23248
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23141
23249
|
try {
|
|
23142
23250
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
23143
23251
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23363,7 +23471,7 @@ var Create = class Create extends Activity {
|
|
|
23363
23471
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23364
23472
|
*/
|
|
23365
23473
|
static async fromJsonLd(json, options = {}) {
|
|
23366
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
23474
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23367
23475
|
try {
|
|
23368
23476
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
23369
23477
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23527,7 +23635,7 @@ var Delete = class Delete extends Activity {
|
|
|
23527
23635
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23528
23636
|
*/
|
|
23529
23637
|
static async fromJsonLd(json, options = {}) {
|
|
23530
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
23638
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23531
23639
|
try {
|
|
23532
23640
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
23533
23641
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23678,7 +23786,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
23678
23786
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23679
23787
|
*/
|
|
23680
23788
|
static async fromJsonLd(json, options = {}) {
|
|
23681
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
23789
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23682
23790
|
try {
|
|
23683
23791
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
23684
23792
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24025,7 +24133,7 @@ var Endpoints = class {
|
|
|
24025
24133
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24026
24134
|
*/
|
|
24027
24135
|
static async fromJsonLd(json, options = {}) {
|
|
24028
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
24136
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24029
24137
|
try {
|
|
24030
24138
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
24031
24139
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24251,7 +24359,7 @@ var Event = class Event extends Object$1 {
|
|
|
24251
24359
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24252
24360
|
*/
|
|
24253
24361
|
static async fromJsonLd(json, options = {}) {
|
|
24254
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
24362
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24255
24363
|
try {
|
|
24256
24364
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
24257
24365
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24400,7 +24508,7 @@ var Flag = class Flag extends Activity {
|
|
|
24400
24508
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24401
24509
|
*/
|
|
24402
24510
|
static async fromJsonLd(json, options = {}) {
|
|
24403
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
24511
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24404
24512
|
try {
|
|
24405
24513
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
24406
24514
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24553,7 +24661,7 @@ var Follow = class Follow extends Activity {
|
|
|
24553
24661
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24554
24662
|
*/
|
|
24555
24663
|
static async fromJsonLd(json, options = {}) {
|
|
24556
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
24664
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24557
24665
|
try {
|
|
24558
24666
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
24559
24667
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24948,7 +25056,7 @@ var Group = class Group extends Object$1 {
|
|
|
24948
25056
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24949
25057
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24950
25058
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24951
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
25059
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24952
25060
|
let fetchResult;
|
|
24953
25061
|
try {
|
|
24954
25062
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25110,7 +25218,7 @@ var Group = class Group extends Object$1 {
|
|
|
25110
25218
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25111
25219
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25112
25220
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25113
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
25221
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25114
25222
|
let fetchResult;
|
|
25115
25223
|
try {
|
|
25116
25224
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25290,7 +25398,7 @@ var Group = class Group extends Object$1 {
|
|
|
25290
25398
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25291
25399
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25292
25400
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25293
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
25401
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25294
25402
|
let fetchResult;
|
|
25295
25403
|
try {
|
|
25296
25404
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25432,7 +25540,7 @@ var Group = class Group extends Object$1 {
|
|
|
25432
25540
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25433
25541
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25434
25542
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25435
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
25543
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25436
25544
|
let fetchResult;
|
|
25437
25545
|
try {
|
|
25438
25546
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25571,7 +25679,7 @@ var Group = class Group extends Object$1 {
|
|
|
25571
25679
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25572
25680
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25573
25681
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25574
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
25682
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25575
25683
|
let fetchResult;
|
|
25576
25684
|
try {
|
|
25577
25685
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25695,7 +25803,7 @@ var Group = class Group extends Object$1 {
|
|
|
25695
25803
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25696
25804
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25697
25805
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25698
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
25806
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25699
25807
|
let fetchResult;
|
|
25700
25808
|
try {
|
|
25701
25809
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25822,7 +25930,7 @@ var Group = class Group extends Object$1 {
|
|
|
25822
25930
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25823
25931
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25824
25932
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25825
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
25933
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25826
25934
|
let fetchResult;
|
|
25827
25935
|
try {
|
|
25828
25936
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25947,7 +26055,7 @@ var Group = class Group extends Object$1 {
|
|
|
25947
26055
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25948
26056
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25949
26057
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25950
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
26058
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25951
26059
|
let fetchResult;
|
|
25952
26060
|
try {
|
|
25953
26061
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26070,7 +26178,7 @@ var Group = class Group extends Object$1 {
|
|
|
26070
26178
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26071
26179
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26072
26180
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26073
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
26181
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26074
26182
|
let fetchResult;
|
|
26075
26183
|
try {
|
|
26076
26184
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26193,7 +26301,7 @@ var Group = class Group extends Object$1 {
|
|
|
26193
26301
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26194
26302
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26195
26303
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26196
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
26304
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26197
26305
|
let fetchResult;
|
|
26198
26306
|
try {
|
|
26199
26307
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26355,7 +26463,7 @@ var Group = class Group extends Object$1 {
|
|
|
26355
26463
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26356
26464
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26357
26465
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26358
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
26466
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26359
26467
|
let fetchResult;
|
|
26360
26468
|
try {
|
|
26361
26469
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26521,7 +26629,7 @@ var Group = class Group extends Object$1 {
|
|
|
26521
26629
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26522
26630
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26523
26631
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26524
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
26632
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26525
26633
|
let fetchResult;
|
|
26526
26634
|
try {
|
|
26527
26635
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26735,7 +26843,7 @@ var Group = class Group extends Object$1 {
|
|
|
26735
26843
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26736
26844
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26737
26845
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26738
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
26846
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26739
26847
|
let fetchResult;
|
|
26740
26848
|
try {
|
|
26741
26849
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27418,7 +27526,7 @@ var Group = class Group extends Object$1 {
|
|
|
27418
27526
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27419
27527
|
*/
|
|
27420
27528
|
static async fromJsonLd(json, options = {}) {
|
|
27421
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
27529
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27422
27530
|
try {
|
|
27423
27531
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
27424
27532
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28110,7 +28218,7 @@ var Link = class Link {
|
|
|
28110
28218
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28111
28219
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28112
28220
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28113
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
28221
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28114
28222
|
let fetchResult;
|
|
28115
28223
|
try {
|
|
28116
28224
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28402,7 +28510,7 @@ var Link = class Link {
|
|
|
28402
28510
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28403
28511
|
*/
|
|
28404
28512
|
static async fromJsonLd(json, options = {}) {
|
|
28405
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
28513
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28406
28514
|
try {
|
|
28407
28515
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
28408
28516
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28729,7 +28837,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
28729
28837
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28730
28838
|
*/
|
|
28731
28839
|
static async fromJsonLd(json, options = {}) {
|
|
28732
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
28840
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28733
28841
|
try {
|
|
28734
28842
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
28735
28843
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28883,7 +28991,7 @@ var Image = class Image extends Document {
|
|
|
28883
28991
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28884
28992
|
*/
|
|
28885
28993
|
static async fromJsonLd(json, options = {}) {
|
|
28886
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
28994
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28887
28995
|
try {
|
|
28888
28996
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
28889
28997
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29032,7 +29140,7 @@ var Offer = class Offer extends Activity {
|
|
|
29032
29140
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29033
29141
|
*/
|
|
29034
29142
|
static async fromJsonLd(json, options = {}) {
|
|
29035
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
29143
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29036
29144
|
try {
|
|
29037
29145
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
29038
29146
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29181,7 +29289,7 @@ var Invite = class Invite extends Offer {
|
|
|
29181
29289
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29182
29290
|
*/
|
|
29183
29291
|
static async fromJsonLd(json, options = {}) {
|
|
29184
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
29292
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29185
29293
|
try {
|
|
29186
29294
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
29187
29295
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29329,7 +29437,7 @@ var Join = class Join extends Activity {
|
|
|
29329
29437
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29330
29438
|
*/
|
|
29331
29439
|
static async fromJsonLd(json, options = {}) {
|
|
29332
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
29440
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29333
29441
|
try {
|
|
29334
29442
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
29335
29443
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29477,7 +29585,7 @@ var Leave = class Leave extends Activity {
|
|
|
29477
29585
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29478
29586
|
*/
|
|
29479
29587
|
static async fromJsonLd(json, options = {}) {
|
|
29480
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
29588
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29481
29589
|
try {
|
|
29482
29590
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
29483
29591
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29629,7 +29737,7 @@ var Like = class Like extends Activity {
|
|
|
29629
29737
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29630
29738
|
*/
|
|
29631
29739
|
static async fromJsonLd(json, options = {}) {
|
|
29632
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
29740
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29633
29741
|
try {
|
|
29634
29742
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
29635
29743
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29776,7 +29884,7 @@ var Listen = class Listen extends Activity {
|
|
|
29776
29884
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29777
29885
|
*/
|
|
29778
29886
|
static async fromJsonLd(json, options = {}) {
|
|
29779
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
29887
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29780
29888
|
try {
|
|
29781
29889
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
29782
29890
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29927,7 +30035,7 @@ var Mention = class Mention extends Link {
|
|
|
29927
30035
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29928
30036
|
*/
|
|
29929
30037
|
static async fromJsonLd(json, options = {}) {
|
|
29930
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
30038
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29931
30039
|
try {
|
|
29932
30040
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
29933
30041
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30076,7 +30184,7 @@ var Move = class Move extends Activity {
|
|
|
30076
30184
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30077
30185
|
*/
|
|
30078
30186
|
static async fromJsonLd(json, options = {}) {
|
|
30079
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
30187
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30080
30188
|
try {
|
|
30081
30189
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
30082
30190
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30312,7 +30420,7 @@ var Note = class Note extends Object$1 {
|
|
|
30312
30420
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30313
30421
|
*/
|
|
30314
30422
|
static async fromJsonLd(json, options = {}) {
|
|
30315
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
30423
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30316
30424
|
try {
|
|
30317
30425
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
30318
30426
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30441,7 +30549,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
30441
30549
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30442
30550
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30443
30551
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30444
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
30552
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30445
30553
|
let fetchResult;
|
|
30446
30554
|
try {
|
|
30447
30555
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30689,7 +30797,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
30689
30797
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30690
30798
|
*/
|
|
30691
30799
|
static async fromJsonLd(json, options = {}) {
|
|
30692
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
30800
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30693
30801
|
try {
|
|
30694
30802
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
30695
30803
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30895,7 +31003,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
30895
31003
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30896
31004
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30897
31005
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30898
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
31006
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30899
31007
|
let fetchResult;
|
|
30900
31008
|
try {
|
|
30901
31009
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31166,7 +31274,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
31166
31274
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31167
31275
|
*/
|
|
31168
31276
|
static async fromJsonLd(json, options = {}) {
|
|
31169
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
31277
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31170
31278
|
try {
|
|
31171
31279
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
31172
31280
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31658,7 +31766,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31658
31766
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31659
31767
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31660
31768
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31661
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
31769
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31662
31770
|
let fetchResult;
|
|
31663
31771
|
try {
|
|
31664
31772
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31820,7 +31928,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31820
31928
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31821
31929
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31822
31930
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31823
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
31931
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31824
31932
|
let fetchResult;
|
|
31825
31933
|
try {
|
|
31826
31934
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32000,7 +32108,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32000
32108
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32001
32109
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32002
32110
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32003
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
32111
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32004
32112
|
let fetchResult;
|
|
32005
32113
|
try {
|
|
32006
32114
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32142,7 +32250,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32142
32250
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32143
32251
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32144
32252
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32145
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
32253
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32146
32254
|
let fetchResult;
|
|
32147
32255
|
try {
|
|
32148
32256
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32281,7 +32389,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32281
32389
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32282
32390
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32283
32391
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32284
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
32392
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32285
32393
|
let fetchResult;
|
|
32286
32394
|
try {
|
|
32287
32395
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32405,7 +32513,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32405
32513
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32406
32514
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32407
32515
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32408
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
32516
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32409
32517
|
let fetchResult;
|
|
32410
32518
|
try {
|
|
32411
32519
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32532,7 +32640,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32532
32640
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32533
32641
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32534
32642
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32535
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
32643
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32536
32644
|
let fetchResult;
|
|
32537
32645
|
try {
|
|
32538
32646
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32657,7 +32765,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32657
32765
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32658
32766
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32659
32767
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32660
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
32768
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32661
32769
|
let fetchResult;
|
|
32662
32770
|
try {
|
|
32663
32771
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32780,7 +32888,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32780
32888
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32781
32889
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32782
32890
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32783
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
32891
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32784
32892
|
let fetchResult;
|
|
32785
32893
|
try {
|
|
32786
32894
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32903,7 +33011,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32903
33011
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32904
33012
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32905
33013
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32906
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
33014
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32907
33015
|
let fetchResult;
|
|
32908
33016
|
try {
|
|
32909
33017
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33065,7 +33173,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33065
33173
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33066
33174
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33067
33175
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33068
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
33176
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33069
33177
|
let fetchResult;
|
|
33070
33178
|
try {
|
|
33071
33179
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33231,7 +33339,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33231
33339
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33232
33340
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33233
33341
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33234
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
33342
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33235
33343
|
let fetchResult;
|
|
33236
33344
|
try {
|
|
33237
33345
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33445,7 +33553,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33445
33553
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33446
33554
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33447
33555
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33448
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
33556
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33449
33557
|
let fetchResult;
|
|
33450
33558
|
try {
|
|
33451
33559
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34128,7 +34236,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34128
34236
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34129
34237
|
*/
|
|
34130
34238
|
static async fromJsonLd(json, options = {}) {
|
|
34131
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
34239
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34132
34240
|
try {
|
|
34133
34241
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
34134
34242
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34686,7 +34794,7 @@ var Page = class Page extends Document {
|
|
|
34686
34794
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34687
34795
|
*/
|
|
34688
34796
|
static async fromJsonLd(json, options = {}) {
|
|
34689
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
34797
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34690
34798
|
try {
|
|
34691
34799
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
34692
34800
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35081,7 +35189,7 @@ var Person = class Person extends Object$1 {
|
|
|
35081
35189
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35082
35190
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35083
35191
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35084
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
35192
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35085
35193
|
let fetchResult;
|
|
35086
35194
|
try {
|
|
35087
35195
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35243,7 +35351,7 @@ var Person = class Person extends Object$1 {
|
|
|
35243
35351
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35244
35352
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35245
35353
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35246
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
35354
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35247
35355
|
let fetchResult;
|
|
35248
35356
|
try {
|
|
35249
35357
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35423,7 +35531,7 @@ var Person = class Person extends Object$1 {
|
|
|
35423
35531
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35424
35532
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35425
35533
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35426
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
35534
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35427
35535
|
let fetchResult;
|
|
35428
35536
|
try {
|
|
35429
35537
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35565,7 +35673,7 @@ var Person = class Person extends Object$1 {
|
|
|
35565
35673
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35566
35674
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35567
35675
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35568
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
35676
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35569
35677
|
let fetchResult;
|
|
35570
35678
|
try {
|
|
35571
35679
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35704,7 +35812,7 @@ var Person = class Person extends Object$1 {
|
|
|
35704
35812
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35705
35813
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35706
35814
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35707
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
35815
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35708
35816
|
let fetchResult;
|
|
35709
35817
|
try {
|
|
35710
35818
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35828,7 +35936,7 @@ var Person = class Person extends Object$1 {
|
|
|
35828
35936
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35829
35937
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35830
35938
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35831
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
35939
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35832
35940
|
let fetchResult;
|
|
35833
35941
|
try {
|
|
35834
35942
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35955,7 +36063,7 @@ var Person = class Person extends Object$1 {
|
|
|
35955
36063
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35956
36064
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35957
36065
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35958
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
36066
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35959
36067
|
let fetchResult;
|
|
35960
36068
|
try {
|
|
35961
36069
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36080,7 +36188,7 @@ var Person = class Person extends Object$1 {
|
|
|
36080
36188
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36081
36189
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36082
36190
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36083
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
36191
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36084
36192
|
let fetchResult;
|
|
36085
36193
|
try {
|
|
36086
36194
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36203,7 +36311,7 @@ var Person = class Person extends Object$1 {
|
|
|
36203
36311
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36204
36312
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36205
36313
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36206
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
36314
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36207
36315
|
let fetchResult;
|
|
36208
36316
|
try {
|
|
36209
36317
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36326,7 +36434,7 @@ var Person = class Person extends Object$1 {
|
|
|
36326
36434
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36327
36435
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36328
36436
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36329
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
36437
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36330
36438
|
let fetchResult;
|
|
36331
36439
|
try {
|
|
36332
36440
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36488,7 +36596,7 @@ var Person = class Person extends Object$1 {
|
|
|
36488
36596
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36489
36597
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36490
36598
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36491
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
36599
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36492
36600
|
let fetchResult;
|
|
36493
36601
|
try {
|
|
36494
36602
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36654,7 +36762,7 @@ var Person = class Person extends Object$1 {
|
|
|
36654
36762
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36655
36763
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36656
36764
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36657
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
36765
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36658
36766
|
let fetchResult;
|
|
36659
36767
|
try {
|
|
36660
36768
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36868,7 +36976,7 @@ var Person = class Person extends Object$1 {
|
|
|
36868
36976
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36869
36977
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36870
36978
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36871
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
36979
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36872
36980
|
let fetchResult;
|
|
36873
36981
|
try {
|
|
36874
36982
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37551,7 +37659,7 @@ var Person = class Person extends Object$1 {
|
|
|
37551
37659
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37552
37660
|
*/
|
|
37553
37661
|
static async fromJsonLd(json, options = {}) {
|
|
37554
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
37662
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37555
37663
|
try {
|
|
37556
37664
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
37557
37665
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38286,7 +38394,7 @@ var Place = class Place extends Object$1 {
|
|
|
38286
38394
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38287
38395
|
*/
|
|
38288
38396
|
static async fromJsonLd(json, options = {}) {
|
|
38289
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
38397
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38290
38398
|
try {
|
|
38291
38399
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
38292
38400
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38477,7 +38585,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
38477
38585
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38478
38586
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38479
38587
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38480
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
38588
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38481
38589
|
let fetchResult;
|
|
38482
38590
|
try {
|
|
38483
38591
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38670,7 +38778,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
38670
38778
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38671
38779
|
*/
|
|
38672
38780
|
static async fromJsonLd(json, options = {}) {
|
|
38673
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
38781
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38674
38782
|
try {
|
|
38675
38783
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
38676
38784
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38841,7 +38949,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
38841
38949
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38842
38950
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38843
38951
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38844
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
38952
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38845
38953
|
let fetchResult;
|
|
38846
38954
|
try {
|
|
38847
38955
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38963,7 +39071,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
38963
39071
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38964
39072
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38965
39073
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38966
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
39074
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38967
39075
|
let fetchResult;
|
|
38968
39076
|
try {
|
|
38969
39077
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39226,7 +39334,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
39226
39334
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39227
39335
|
*/
|
|
39228
39336
|
static async fromJsonLd(json, options = {}) {
|
|
39229
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
39337
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39230
39338
|
try {
|
|
39231
39339
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
39232
39340
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39452,7 +39560,7 @@ var Read = class Read extends Activity {
|
|
|
39452
39560
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39453
39561
|
*/
|
|
39454
39562
|
static async fromJsonLd(json, options = {}) {
|
|
39455
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
39563
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39456
39564
|
try {
|
|
39457
39565
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
39458
39566
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39600,7 +39708,7 @@ var Reject = class Reject extends Activity {
|
|
|
39600
39708
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39601
39709
|
*/
|
|
39602
39710
|
static async fromJsonLd(json, options = {}) {
|
|
39603
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
39711
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39604
39712
|
try {
|
|
39605
39713
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
39606
39714
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39773,7 +39881,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
39773
39881
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39774
39882
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39775
39883
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39776
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
39884
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39777
39885
|
let fetchResult;
|
|
39778
39886
|
try {
|
|
39779
39887
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39896,7 +40004,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
39896
40004
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39897
40005
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39898
40006
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39899
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
40007
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39900
40008
|
let fetchResult;
|
|
39901
40009
|
try {
|
|
39902
40010
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40058,7 +40166,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
40058
40166
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40059
40167
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40060
40168
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40061
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
40169
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40062
40170
|
let fetchResult;
|
|
40063
40171
|
try {
|
|
40064
40172
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40328,7 +40436,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
40328
40436
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40329
40437
|
*/
|
|
40330
40438
|
static async fromJsonLd(json, options = {}) {
|
|
40331
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
40439
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40332
40440
|
try {
|
|
40333
40441
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
40334
40442
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40536,7 +40644,7 @@ var Remove = class Remove extends Activity {
|
|
|
40536
40644
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40537
40645
|
*/
|
|
40538
40646
|
static async fromJsonLd(json, options = {}) {
|
|
40539
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
40647
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40540
40648
|
try {
|
|
40541
40649
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
40542
40650
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40931,7 +41039,7 @@ var Service = class Service extends Object$1 {
|
|
|
40931
41039
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40932
41040
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40933
41041
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40934
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
41042
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40935
41043
|
let fetchResult;
|
|
40936
41044
|
try {
|
|
40937
41045
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41093,7 +41201,7 @@ var Service = class Service extends Object$1 {
|
|
|
41093
41201
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41094
41202
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41095
41203
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41096
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
41204
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41097
41205
|
let fetchResult;
|
|
41098
41206
|
try {
|
|
41099
41207
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41273,7 +41381,7 @@ var Service = class Service extends Object$1 {
|
|
|
41273
41381
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41274
41382
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41275
41383
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41276
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
41384
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41277
41385
|
let fetchResult;
|
|
41278
41386
|
try {
|
|
41279
41387
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41415,7 +41523,7 @@ var Service = class Service extends Object$1 {
|
|
|
41415
41523
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41416
41524
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41417
41525
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41418
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
41526
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41419
41527
|
let fetchResult;
|
|
41420
41528
|
try {
|
|
41421
41529
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41554,7 +41662,7 @@ var Service = class Service extends Object$1 {
|
|
|
41554
41662
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41555
41663
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41556
41664
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41557
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
41665
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41558
41666
|
let fetchResult;
|
|
41559
41667
|
try {
|
|
41560
41668
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41678,7 +41786,7 @@ var Service = class Service extends Object$1 {
|
|
|
41678
41786
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41679
41787
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41680
41788
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41681
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
41789
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41682
41790
|
let fetchResult;
|
|
41683
41791
|
try {
|
|
41684
41792
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41805,7 +41913,7 @@ var Service = class Service extends Object$1 {
|
|
|
41805
41913
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41806
41914
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41807
41915
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41808
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
41916
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41809
41917
|
let fetchResult;
|
|
41810
41918
|
try {
|
|
41811
41919
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41930,7 +42038,7 @@ var Service = class Service extends Object$1 {
|
|
|
41930
42038
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41931
42039
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41932
42040
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41933
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
42041
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41934
42042
|
let fetchResult;
|
|
41935
42043
|
try {
|
|
41936
42044
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42053,7 +42161,7 @@ var Service = class Service extends Object$1 {
|
|
|
42053
42161
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42054
42162
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42055
42163
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42056
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
42164
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42057
42165
|
let fetchResult;
|
|
42058
42166
|
try {
|
|
42059
42167
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42176,7 +42284,7 @@ var Service = class Service extends Object$1 {
|
|
|
42176
42284
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42177
42285
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42178
42286
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42179
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
42287
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42180
42288
|
let fetchResult;
|
|
42181
42289
|
try {
|
|
42182
42290
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42338,7 +42446,7 @@ var Service = class Service extends Object$1 {
|
|
|
42338
42446
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42339
42447
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42340
42448
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42341
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
42449
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42342
42450
|
let fetchResult;
|
|
42343
42451
|
try {
|
|
42344
42452
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42504,7 +42612,7 @@ var Service = class Service extends Object$1 {
|
|
|
42504
42612
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42505
42613
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42506
42614
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42507
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
42615
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42508
42616
|
let fetchResult;
|
|
42509
42617
|
try {
|
|
42510
42618
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42718,7 +42826,7 @@ var Service = class Service extends Object$1 {
|
|
|
42718
42826
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42719
42827
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42720
42828
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42721
|
-
return await tracerProvider.getTracer("@fedify/fedify", "1.10.
|
|
42829
|
+
return await tracerProvider.getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42722
42830
|
let fetchResult;
|
|
42723
42831
|
try {
|
|
42724
42832
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43401,7 +43509,7 @@ var Service = class Service extends Object$1 {
|
|
|
43401
43509
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43402
43510
|
*/
|
|
43403
43511
|
static async fromJsonLd(json, options = {}) {
|
|
43404
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
43512
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43405
43513
|
try {
|
|
43406
43514
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
43407
43515
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44051,7 +44159,7 @@ var Source = class {
|
|
|
44051
44159
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44052
44160
|
*/
|
|
44053
44161
|
static async fromJsonLd(json, options = {}) {
|
|
44054
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
44162
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44055
44163
|
try {
|
|
44056
44164
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
44057
44165
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44226,7 +44334,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
44226
44334
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44227
44335
|
*/
|
|
44228
44336
|
static async fromJsonLd(json, options = {}) {
|
|
44229
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
44337
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44230
44338
|
try {
|
|
44231
44339
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
44232
44340
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44374,7 +44482,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
44374
44482
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44375
44483
|
*/
|
|
44376
44484
|
static async fromJsonLd(json, options = {}) {
|
|
44377
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
44485
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44378
44486
|
try {
|
|
44379
44487
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
44380
44488
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44561,7 +44669,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
44561
44669
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44562
44670
|
*/
|
|
44563
44671
|
static async fromJsonLd(json, options = {}) {
|
|
44564
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
44672
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44565
44673
|
try {
|
|
44566
44674
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
44567
44675
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44724,7 +44832,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
44724
44832
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44725
44833
|
*/
|
|
44726
44834
|
static async fromJsonLd(json, options = {}) {
|
|
44727
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
44835
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44728
44836
|
try {
|
|
44729
44837
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
44730
44838
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44886,7 +44994,7 @@ var Undo = class Undo extends Activity {
|
|
|
44886
44994
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44887
44995
|
*/
|
|
44888
44996
|
static async fromJsonLd(json, options = {}) {
|
|
44889
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
44997
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44890
44998
|
try {
|
|
44891
44999
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
44892
45000
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45086,7 +45194,7 @@ var Update = class Update extends Activity {
|
|
|
45086
45194
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45087
45195
|
*/
|
|
45088
45196
|
static async fromJsonLd(json, options = {}) {
|
|
45089
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
45197
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45090
45198
|
try {
|
|
45091
45199
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
45092
45200
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45240,7 +45348,7 @@ var Video = class Video extends Document {
|
|
|
45240
45348
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45241
45349
|
*/
|
|
45242
45350
|
static async fromJsonLd(json, options = {}) {
|
|
45243
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
45351
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45244
45352
|
try {
|
|
45245
45353
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
45246
45354
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45387,7 +45495,7 @@ var View = class View extends Activity {
|
|
|
45387
45495
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45388
45496
|
*/
|
|
45389
45497
|
static async fromJsonLd(json, options = {}) {
|
|
45390
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.
|
|
45498
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.10.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45391
45499
|
try {
|
|
45392
45500
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
45393
45501
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|