@fedify/fedify 1.7.12 → 1.7.13

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.
Files changed (66) hide show
  1. package/dist/{actor-TYqJGdVq.js → actor-BVilnhZ3.js} +3 -3
  2. package/dist/{actor-GZRoTRqg.js → actor-CsmPeeHG.js} +189 -189
  3. package/dist/{authdocloader-hiFSyM7V.js → authdocloader-9g6RkEcR.js} +3 -3
  4. package/dist/{authdocloader-BopfyipD.js → authdocloader-DqCINL6u.js} +3 -3
  5. package/dist/{builder-mi6RdzNE.js → builder-CKUAOfcL.js} +3 -3
  6. package/dist/{client-DuUKk4pk.js → client-C5xUY491.js} +1 -1
  7. package/dist/compat/transformers.test.js +17 -17
  8. package/dist/{context-RMU32mk4.js → context-aglzx1Ww.js} +2 -2
  9. package/dist/{docloader-DJxET2fN.js → docloader-CchlnLWb.js} +1 -1
  10. package/dist/{docloader-bgBm1Hd1.js → docloader-Qfs9nPiy.js} +1 -1
  11. package/dist/federation/builder.test.js +4 -4
  12. package/dist/federation/handler.test.js +19 -19
  13. package/dist/federation/inbox.test.js +3 -3
  14. package/dist/federation/keycache.test.js +3 -3
  15. package/dist/federation/middleware.test.js +18 -18
  16. package/dist/federation/mod.js +10 -10
  17. package/dist/federation/send.test.js +9 -9
  18. package/dist/{http-D2DkwsjA.js → http-CP3h1SLi.js} +3 -3
  19. package/dist/{http-vqMAvOVs.js → http-CjDwMreH.js} +3 -3
  20. package/dist/{inbox-DAAZZl2k.js → inbox-ApPO50Ma.js} +2 -2
  21. package/dist/{key-DmqJj57e.js → key--l6NVKdl.js} +2 -2
  22. package/dist/{key-5ssHQ67E.js → key-1Fv7reaM.js} +5 -5
  23. package/dist/{key-KVhaUM92.js → key-BPUM0v_S.js} +3 -3
  24. package/dist/{key-DSJGnD10.js → key-DD37RpoD.js} +4 -4
  25. package/dist/{keycache-C1pEuRyQ.js → keycache-B7Urghlu.js} +1 -1
  26. package/dist/{keys-C4XQHW5_.js → keys-DGJec4-R.js} +1 -1
  27. package/dist/{ld-DzlJ_IpT.js → ld-DJTavNY3.js} +3 -3
  28. package/dist/{lookup-CSngxuWm.js → lookup-CN-LpF5e.js} +1 -1
  29. package/dist/{lookup-DL62q3Xh.js → lookup-CkOdKyYR.js} +1 -1
  30. package/dist/{lookup-D0je8AqR.js → lookup-CnkkF4Rf.js} +3 -3
  31. package/dist/middleware-BQHe0X6Y.js +17 -0
  32. package/dist/{middleware-3wVT6S9E.js → middleware-BxHcZC4p.js} +15 -15
  33. package/dist/middleware-C3TZ3P-v.js +33 -0
  34. package/dist/{middleware-DlDXugwZ.js → middleware-CEpilAEY.js} +10 -10
  35. package/dist/mod.js +10 -10
  36. package/dist/nodeinfo/client.test.js +2 -2
  37. package/dist/nodeinfo/handler.test.js +18 -18
  38. package/dist/nodeinfo/mod.js +2 -2
  39. package/dist/{owner-81ey_76X.js → owner-qKULzrkx.js} +3 -3
  40. package/dist/{proof-DlI7QNdn.js → proof-BfeWBNrY.js} +3 -3
  41. package/dist/{proof-BlULDH4H.js → proof-d5P09-xk.js} +3 -3
  42. package/dist/runtime/authdocloader.test.js +8 -8
  43. package/dist/runtime/docloader.test.js +1 -1
  44. package/dist/runtime/key.test.js +5 -5
  45. package/dist/runtime/mod.js +6 -6
  46. package/dist/{send-DdxfTHo6.js → send-BnMY3Qxa.js} +2 -2
  47. package/dist/sig/http.test.js +7 -7
  48. package/dist/sig/key.test.js +6 -6
  49. package/dist/sig/ld.test.js +7 -7
  50. package/dist/sig/mod.js +6 -6
  51. package/dist/sig/owner.test.js +8 -8
  52. package/dist/sig/proof.test.js +7 -7
  53. package/dist/{types-CmVV9LT1.js → types-BZUzjGS0.js} +1 -1
  54. package/dist/vocab/actor.test.js +4 -4
  55. package/dist/vocab/lookup.test.js +4 -4
  56. package/dist/vocab/mod.js +4 -4
  57. package/dist/vocab/type.test.js +2 -2
  58. package/dist/vocab/vocab.test.js +28 -5
  59. package/dist/{vocab-BebR0kAy.js → vocab-C_pE4SvE.js} +3 -3
  60. package/dist/{vocab-DFlq4Wa6.js → vocab-S7fEn6XO.js} +188 -188
  61. package/dist/webfinger/handler.test.js +18 -18
  62. package/dist/webfinger/lookup.test.js +2 -2
  63. package/dist/webfinger/mod.js +2 -2
  64. package/package.json +1 -1
  65. package/dist/middleware-CxFoFBD8.js +0 -33
  66. package/dist/middleware-w7_U3fFi.js +0 -17
@@ -4,7 +4,7 @@
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
6
  import { __export } from "./chunk-Cx8LTkjm.js";
7
- import { getDocumentLoader } from "./docloader-bgBm1Hd1.js";
7
+ import { getDocumentLoader } from "./docloader-Qfs9nPiy.js";
8
8
  import { decode, encode } from "./multibase-CnLHszip.js";
9
9
  import { LanguageString } from "./langstr-DbWheeIS.js";
10
10
  import { getLogger } from "@logtape/logtape";
@@ -55,7 +55,7 @@ async function importSpki(pem) {
55
55
  * @since 0.5.0
56
56
  */
57
57
  async function exportSpki(key) {
58
- const { validateCryptoKey } = await import("./key-5ssHQ67E.js");
58
+ const { validateCryptoKey } = await import("./key-1Fv7reaM.js");
59
59
  validateCryptoKey(key);
60
60
  const spki = await crypto.subtle.exportKey("spki", key);
61
61
  let pem = encodeBase64(spki);
@@ -650,7 +650,7 @@ var Object$1 = class Object$1 {
650
650
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
651
651
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
652
652
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
653
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
653
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
654
654
  let fetchResult;
655
655
  try {
656
656
  fetchResult = await documentLoader(url.href);
@@ -775,7 +775,7 @@ var Object$1 = class Object$1 {
775
775
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
776
776
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
777
777
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
778
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
778
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
779
779
  let fetchResult;
780
780
  try {
781
781
  fetchResult = await documentLoader(url.href);
@@ -954,7 +954,7 @@ var Object$1 = class Object$1 {
954
954
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
955
955
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
956
956
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
957
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
957
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
958
958
  let fetchResult;
959
959
  try {
960
960
  fetchResult = await documentLoader(url.href);
@@ -1109,7 +1109,7 @@ var Object$1 = class Object$1 {
1109
1109
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1110
1110
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1111
1111
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1112
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
1112
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
1113
1113
  let fetchResult;
1114
1114
  try {
1115
1115
  fetchResult = await documentLoader(url.href);
@@ -1251,7 +1251,7 @@ var Object$1 = class Object$1 {
1251
1251
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1252
1252
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1253
1253
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1254
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
1254
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
1255
1255
  let fetchResult;
1256
1256
  try {
1257
1257
  fetchResult = await documentLoader(url.href);
@@ -1361,7 +1361,7 @@ var Object$1 = class Object$1 {
1361
1361
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1362
1362
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1363
1363
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1364
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
1364
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
1365
1365
  let fetchResult;
1366
1366
  try {
1367
1367
  fetchResult = await documentLoader(url.href);
@@ -1498,7 +1498,7 @@ var Object$1 = class Object$1 {
1498
1498
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1499
1499
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1500
1500
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1501
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
1501
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
1502
1502
  let fetchResult;
1503
1503
  try {
1504
1504
  fetchResult = await documentLoader(url.href);
@@ -1635,7 +1635,7 @@ var Object$1 = class Object$1 {
1635
1635
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1636
1636
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1637
1637
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1638
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
1638
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
1639
1639
  let fetchResult;
1640
1640
  try {
1641
1641
  fetchResult = await documentLoader(url.href);
@@ -1779,7 +1779,7 @@ var Object$1 = class Object$1 {
1779
1779
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1780
1780
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1781
1781
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1782
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
1782
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
1783
1783
  let fetchResult;
1784
1784
  try {
1785
1785
  fetchResult = await documentLoader(url.href);
@@ -1923,7 +1923,7 @@ var Object$1 = class Object$1 {
1923
1923
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1924
1924
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1925
1925
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1926
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
1926
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
1927
1927
  let fetchResult;
1928
1928
  try {
1929
1929
  fetchResult = await documentLoader(url.href);
@@ -2072,7 +2072,7 @@ var Object$1 = class Object$1 {
2072
2072
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2073
2073
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2074
2074
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2075
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
2075
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
2076
2076
  let fetchResult;
2077
2077
  try {
2078
2078
  fetchResult = await documentLoader(url.href);
@@ -2171,7 +2171,7 @@ var Object$1 = class Object$1 {
2171
2171
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2172
2172
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2173
2173
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2174
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
2174
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
2175
2175
  let fetchResult;
2176
2176
  try {
2177
2177
  fetchResult = await documentLoader(url.href);
@@ -2276,7 +2276,7 @@ var Object$1 = class Object$1 {
2276
2276
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2277
2277
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2278
2278
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2279
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
2279
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
2280
2280
  let fetchResult;
2281
2281
  try {
2282
2282
  fetchResult = await documentLoader(url.href);
@@ -2381,7 +2381,7 @@ var Object$1 = class Object$1 {
2381
2381
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2382
2382
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2383
2383
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2384
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
2384
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
2385
2385
  let fetchResult;
2386
2386
  try {
2387
2387
  fetchResult = await documentLoader(url.href);
@@ -2504,7 +2504,7 @@ var Object$1 = class Object$1 {
2504
2504
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2505
2505
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2506
2506
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2507
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
2507
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
2508
2508
  let fetchResult;
2509
2509
  try {
2510
2510
  fetchResult = await documentLoader(url.href);
@@ -2636,7 +2636,7 @@ var Object$1 = class Object$1 {
2636
2636
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2637
2637
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2638
2638
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2639
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
2639
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
2640
2640
  let fetchResult;
2641
2641
  try {
2642
2642
  fetchResult = await documentLoader(url.href);
@@ -2771,7 +2771,7 @@ var Object$1 = class Object$1 {
2771
2771
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2772
2772
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2773
2773
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2774
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
2774
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
2775
2775
  let fetchResult;
2776
2776
  try {
2777
2777
  fetchResult = await documentLoader(url.href);
@@ -2906,7 +2906,7 @@ var Object$1 = class Object$1 {
2906
2906
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2907
2907
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2908
2908
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2909
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
2909
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
2910
2910
  let fetchResult;
2911
2911
  try {
2912
2912
  fetchResult = await documentLoader(url.href);
@@ -3041,7 +3041,7 @@ var Object$1 = class Object$1 {
3041
3041
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3042
3042
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3043
3043
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3044
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
3044
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
3045
3045
  let fetchResult;
3046
3046
  try {
3047
3047
  fetchResult = await documentLoader(url.href);
@@ -3213,7 +3213,7 @@ var Object$1 = class Object$1 {
3213
3213
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3214
3214
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3215
3215
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3216
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
3216
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
3217
3217
  let fetchResult;
3218
3218
  try {
3219
3219
  fetchResult = await documentLoader(url.href);
@@ -3973,7 +3973,7 @@ var Object$1 = class Object$1 {
3973
3973
  * @throws {TypeError} If the given `json` is invalid.
3974
3974
  */
3975
3975
  static async fromJsonLd(json, options = {}) {
3976
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
3976
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
3977
3977
  try {
3978
3978
  const object = await this.__fromJsonLd__Object__(json, span, options);
3979
3979
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -4723,7 +4723,7 @@ var Object$1 = class Object$1 {
4723
4723
  let _2oPEH9MQ3aj8JVwyYuWkqoVwV865_url__array = values["https://www.w3.org/ns/activitystreams#url"];
4724
4724
  for (const v of _2oPEH9MQ3aj8JVwyYuWkqoVwV865_url__array == null ? [] : _2oPEH9MQ3aj8JVwyYuWkqoVwV865_url__array.length === 1 && "@list" in _2oPEH9MQ3aj8JVwyYuWkqoVwV865_url__array[0] ? _2oPEH9MQ3aj8JVwyYuWkqoVwV865_url__array[0]["@list"] : _2oPEH9MQ3aj8JVwyYuWkqoVwV865_url__array) {
4725
4725
  if (v == null) continue;
4726
- const decoded = typeof v === "object" && "@id" in v && typeof v["@id"] === "string" && v["@id"] !== "" && v["@id"] !== "/" ? v["@id"].startsWith("at://did:plc:") ? new URL("at://did%3Aplc%3A" + v["@id"].slice(13)) : new URL(v["@id"]) : typeof v === "object" && "@type" in v && Array.isArray(v["@type"]) && [
4726
+ const decoded = typeof v === "object" && "@id" in v && typeof v["@id"] === "string" && v["@id"] !== "" && v["@id"] !== "/" ? v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]) : typeof v === "object" && "@type" in v && Array.isArray(v["@type"]) && [
4727
4727
  "https://www.w3.org/ns/activitystreams#Link",
4728
4728
  "https://www.w3.org/ns/activitystreams#Hashtag",
4729
4729
  "https://www.w3.org/ns/activitystreams#Mention"
@@ -5113,7 +5113,7 @@ var Emoji = class Emoji extends Object$1 {
5113
5113
  * @throws {TypeError} If the given `json` is invalid.
5114
5114
  */
5115
5115
  static async fromJsonLd(json, options = {}) {
5116
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
5116
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
5117
5117
  try {
5118
5118
  const object = await this.__fromJsonLd__Emoji__(json, span, options);
5119
5119
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -5348,7 +5348,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
5348
5348
  * @throws {TypeError} If the given `json` is invalid.
5349
5349
  */
5350
5350
  static async fromJsonLd(json, options = {}) {
5351
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
5351
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
5352
5352
  try {
5353
5353
  const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
5354
5354
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -5561,7 +5561,7 @@ var Activity = class Activity extends Object$1 {
5561
5561
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
5562
5562
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
5563
5563
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
5564
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
5564
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
5565
5565
  let fetchResult;
5566
5566
  try {
5567
5567
  fetchResult = await documentLoader(url.href);
@@ -5740,7 +5740,7 @@ var Activity = class Activity extends Object$1 {
5740
5740
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
5741
5741
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
5742
5742
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
5743
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
5743
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
5744
5744
  let fetchResult;
5745
5745
  try {
5746
5746
  fetchResult = await documentLoader(url.href);
@@ -5877,7 +5877,7 @@ var Activity = class Activity extends Object$1 {
5877
5877
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
5878
5878
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
5879
5879
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
5880
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
5880
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
5881
5881
  let fetchResult;
5882
5882
  try {
5883
5883
  fetchResult = await documentLoader(url.href);
@@ -6020,7 +6020,7 @@ var Activity = class Activity extends Object$1 {
6020
6020
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6021
6021
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6022
6022
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6023
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
6023
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
6024
6024
  let fetchResult;
6025
6025
  try {
6026
6026
  fetchResult = await documentLoader(url.href);
@@ -6157,7 +6157,7 @@ var Activity = class Activity extends Object$1 {
6157
6157
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6158
6158
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6159
6159
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6160
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
6160
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
6161
6161
  let fetchResult;
6162
6162
  try {
6163
6163
  fetchResult = await documentLoader(url.href);
@@ -6296,7 +6296,7 @@ var Activity = class Activity extends Object$1 {
6296
6296
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6297
6297
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6298
6298
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6299
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
6299
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
6300
6300
  let fetchResult;
6301
6301
  try {
6302
6302
  fetchResult = await documentLoader(url.href);
@@ -6517,7 +6517,7 @@ var Activity = class Activity extends Object$1 {
6517
6517
  * @throws {TypeError} If the given `json` is invalid.
6518
6518
  */
6519
6519
  static async fromJsonLd(json, options = {}) {
6520
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
6520
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
6521
6521
  try {
6522
6522
  const object = await this.__fromJsonLd__Activity__(json, span, options);
6523
6523
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -6803,7 +6803,7 @@ var EmojiReact = class EmojiReact extends Activity {
6803
6803
  * @throws {TypeError} If the given `json` is invalid.
6804
6804
  */
6805
6805
  static async fromJsonLd(json, options = {}) {
6806
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
6806
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
6807
6807
  try {
6808
6808
  const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
6809
6809
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7047,7 +7047,7 @@ var PropertyValue = class {
7047
7047
  * @throws {TypeError} If the given `json` is invalid.
7048
7048
  */
7049
7049
  static async fromJsonLd(json, options = {}) {
7050
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
7050
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
7051
7051
  try {
7052
7052
  const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
7053
7053
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7279,7 +7279,7 @@ var DidService = class {
7279
7279
  * @throws {TypeError} If the given `json` is invalid.
7280
7280
  */
7281
7281
  static async fromJsonLd(json, options = {}) {
7282
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
7282
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
7283
7283
  try {
7284
7284
  const object = await this.__fromJsonLd__DidService__(json, span, options);
7285
7285
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7320,7 +7320,7 @@ var DidService = class {
7320
7320
  let _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint__array = values["https://www.w3.org/ns/did#serviceEndpoint"];
7321
7321
  for (const v of _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint__array == null ? [] : _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint__array.length === 1 && "@list" in _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint__array[0] ? _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint__array[0]["@list"] : _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint__array) {
7322
7322
  if (v == null) continue;
7323
- _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint.push(v["@id"].startsWith("at://did:plc:") ? new URL("at://did%3Aplc%3A" + v["@id"].slice(13)) : new URL(v["@id"]));
7323
+ _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
7324
7324
  }
7325
7325
  instance.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint;
7326
7326
  if (!("_fromSubclass" in options) || !options._fromSubclass) try {
@@ -7431,7 +7431,7 @@ var Export = class Export extends DidService {
7431
7431
  * @throws {TypeError} If the given `json` is invalid.
7432
7432
  */
7433
7433
  static async fromJsonLd(json, options = {}) {
7434
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
7434
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
7435
7435
  try {
7436
7436
  const object = await this.__fromJsonLd__Export__(json, span, options);
7437
7437
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7596,7 +7596,7 @@ var DataIntegrityProof = class {
7596
7596
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7597
7597
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7598
7598
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7599
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
7599
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
7600
7600
  let fetchResult;
7601
7601
  try {
7602
7602
  fetchResult = await documentLoader(url.href);
@@ -7793,7 +7793,7 @@ var DataIntegrityProof = class {
7793
7793
  * @throws {TypeError} If the given `json` is invalid.
7794
7794
  */
7795
7795
  static async fromJsonLd(json, options = {}) {
7796
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
7796
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
7797
7797
  try {
7798
7798
  const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
7799
7799
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7996,7 +7996,7 @@ var CryptographicKey = class {
7996
7996
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7997
7997
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7998
7998
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7999
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
7999
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
8000
8000
  let fetchResult;
8001
8001
  try {
8002
8002
  fetchResult = await documentLoader(url.href);
@@ -8232,7 +8232,7 @@ var CryptographicKey = class {
8232
8232
  * @throws {TypeError} If the given `json` is invalid.
8233
8233
  */
8234
8234
  static async fromJsonLd(json, options = {}) {
8235
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
8235
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
8236
8236
  try {
8237
8237
  const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
8238
8238
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8404,7 +8404,7 @@ var Multikey = class {
8404
8404
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8405
8405
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8406
8406
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8407
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
8407
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
8408
8408
  let fetchResult;
8409
8409
  try {
8410
8410
  fetchResult = await documentLoader(url.href);
@@ -8646,7 +8646,7 @@ var Multikey = class {
8646
8646
  * @throws {TypeError} If the given `json` is invalid.
8647
8647
  */
8648
8648
  static async fromJsonLd(json, options = {}) {
8649
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
8649
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
8650
8650
  try {
8651
8651
  const object = await this.__fromJsonLd__Multikey__(json, span, options);
8652
8652
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8823,7 +8823,7 @@ var Accept = class Accept extends Activity {
8823
8823
  * @throws {TypeError} If the given `json` is invalid.
8824
8824
  */
8825
8825
  static async fromJsonLd(json, options = {}) {
8826
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
8826
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
8827
8827
  try {
8828
8828
  const object = await this.__fromJsonLd__Accept__(json, span, options);
8829
8829
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8972,7 +8972,7 @@ var Add = class Add extends Activity {
8972
8972
  * @throws {TypeError} If the given `json` is invalid.
8973
8973
  */
8974
8974
  static async fromJsonLd(json, options = {}) {
8975
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
8975
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
8976
8976
  try {
8977
8977
  const object = await this.__fromJsonLd__Add__(json, span, options);
8978
8978
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9138,7 +9138,7 @@ var Announce = class Announce extends Activity {
9138
9138
  * @throws {TypeError} If the given `json` is invalid.
9139
9139
  */
9140
9140
  static async fromJsonLd(json, options = {}) {
9141
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
9141
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
9142
9142
  try {
9143
9143
  const object = await this.__fromJsonLd__Announce__(json, span, options);
9144
9144
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9432,7 +9432,7 @@ var Application = class Application extends Object$1 {
9432
9432
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
9433
9433
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
9434
9434
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
9435
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
9435
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
9436
9436
  let fetchResult;
9437
9437
  try {
9438
9438
  fetchResult = await documentLoader(url.href);
@@ -9565,7 +9565,7 @@ var Application = class Application extends Object$1 {
9565
9565
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
9566
9566
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
9567
9567
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
9568
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
9568
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
9569
9569
  let fetchResult;
9570
9570
  try {
9571
9571
  fetchResult = await documentLoader(url.href);
@@ -9716,7 +9716,7 @@ var Application = class Application extends Object$1 {
9716
9716
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
9717
9717
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
9718
9718
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
9719
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
9719
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
9720
9720
  let fetchResult;
9721
9721
  try {
9722
9722
  fetchResult = await documentLoader(url.href);
@@ -9835,7 +9835,7 @@ var Application = class Application extends Object$1 {
9835
9835
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
9836
9836
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
9837
9837
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
9838
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
9838
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
9839
9839
  let fetchResult;
9840
9840
  try {
9841
9841
  fetchResult = await documentLoader(url.href);
@@ -9951,7 +9951,7 @@ var Application = class Application extends Object$1 {
9951
9951
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
9952
9952
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
9953
9953
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
9954
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
9954
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
9955
9955
  let fetchResult;
9956
9956
  try {
9957
9957
  fetchResult = await documentLoader(url.href);
@@ -10053,7 +10053,7 @@ var Application = class Application extends Object$1 {
10053
10053
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10054
10054
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10055
10055
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10056
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
10056
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
10057
10057
  let fetchResult;
10058
10058
  try {
10059
10059
  fetchResult = await documentLoader(url.href);
@@ -10158,7 +10158,7 @@ var Application = class Application extends Object$1 {
10158
10158
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10159
10159
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10160
10160
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10161
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
10161
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
10162
10162
  let fetchResult;
10163
10163
  try {
10164
10164
  fetchResult = await documentLoader(url.href);
@@ -10261,7 +10261,7 @@ var Application = class Application extends Object$1 {
10261
10261
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10262
10262
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10263
10263
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10264
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
10264
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
10265
10265
  let fetchResult;
10266
10266
  try {
10267
10267
  fetchResult = await documentLoader(url.href);
@@ -10362,7 +10362,7 @@ var Application = class Application extends Object$1 {
10362
10362
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10363
10363
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10364
10364
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10365
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
10365
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
10366
10366
  let fetchResult;
10367
10367
  try {
10368
10368
  fetchResult = await documentLoader(url.href);
@@ -10463,7 +10463,7 @@ var Application = class Application extends Object$1 {
10463
10463
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10464
10464
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10465
10465
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10466
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
10466
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
10467
10467
  let fetchResult;
10468
10468
  try {
10469
10469
  fetchResult = await documentLoader(url.href);
@@ -10606,7 +10606,7 @@ var Application = class Application extends Object$1 {
10606
10606
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10607
10607
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10608
10608
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10609
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
10609
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
10610
10610
  let fetchResult;
10611
10611
  try {
10612
10612
  fetchResult = await documentLoader(url.href);
@@ -10746,7 +10746,7 @@ var Application = class Application extends Object$1 {
10746
10746
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10747
10747
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10748
10748
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10749
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
10749
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
10750
10750
  let fetchResult;
10751
10751
  try {
10752
10752
  fetchResult = await documentLoader(url.href);
@@ -10927,7 +10927,7 @@ var Application = class Application extends Object$1 {
10927
10927
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10928
10928
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10929
10929
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10930
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
10930
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
10931
10931
  let fetchResult;
10932
10932
  try {
10933
10933
  fetchResult = await documentLoader(url.href);
@@ -11581,7 +11581,7 @@ var Application = class Application extends Object$1 {
11581
11581
  * @throws {TypeError} If the given `json` is invalid.
11582
11582
  */
11583
11583
  static async fromJsonLd(json, options = {}) {
11584
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
11584
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
11585
11585
  try {
11586
11586
  const object = await this.__fromJsonLd__Application__(json, span, options);
11587
11587
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12060,7 +12060,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
12060
12060
  * @throws {TypeError} If the given `json` is invalid.
12061
12061
  */
12062
12062
  static async fromJsonLd(json, options = {}) {
12063
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
12063
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
12064
12064
  try {
12065
12065
  const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
12066
12066
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12210,7 +12210,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
12210
12210
  * @throws {TypeError} If the given `json` is invalid.
12211
12211
  */
12212
12212
  static async fromJsonLd(json, options = {}) {
12213
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
12213
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
12214
12214
  try {
12215
12215
  const object = await this.__fromJsonLd__Arrive__(json, span, options);
12216
12216
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12443,7 +12443,7 @@ var Article = class Article extends Object$1 {
12443
12443
  * @throws {TypeError} If the given `json` is invalid.
12444
12444
  */
12445
12445
  static async fromJsonLd(json, options = {}) {
12446
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
12446
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
12447
12447
  try {
12448
12448
  const object = await this.__fromJsonLd__Article__(json, span, options);
12449
12449
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12670,7 +12670,7 @@ var Document = class Document extends Object$1 {
12670
12670
  * @throws {TypeError} If the given `json` is invalid.
12671
12671
  */
12672
12672
  static async fromJsonLd(json, options = {}) {
12673
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
12673
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
12674
12674
  try {
12675
12675
  const object = await this.__fromJsonLd__Document__(json, span, options);
12676
12676
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12851,7 +12851,7 @@ var Audio = class Audio extends Document {
12851
12851
  * @throws {TypeError} If the given `json` is invalid.
12852
12852
  */
12853
12853
  static async fromJsonLd(json, options = {}) {
12854
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
12854
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
12855
12855
  try {
12856
12856
  const object = await this.__fromJsonLd__Audio__(json, span, options);
12857
12857
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12997,7 +12997,7 @@ var Ignore = class Ignore extends Activity {
12997
12997
  * @throws {TypeError} If the given `json` is invalid.
12998
12998
  */
12999
12999
  static async fromJsonLd(json, options = {}) {
13000
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
13000
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
13001
13001
  try {
13002
13002
  const object = await this.__fromJsonLd__Ignore__(json, span, options);
13003
13003
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13146,7 +13146,7 @@ var Block = class Block extends Ignore {
13146
13146
  * @throws {TypeError} If the given `json` is invalid.
13147
13147
  */
13148
13148
  static async fromJsonLd(json, options = {}) {
13149
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
13149
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
13150
13150
  try {
13151
13151
  const object = await this.__fromJsonLd__Block__(json, span, options);
13152
13152
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13287,7 +13287,7 @@ var Collection = class Collection extends Object$1 {
13287
13287
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
13288
13288
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
13289
13289
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
13290
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
13290
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
13291
13291
  let fetchResult;
13292
13292
  try {
13293
13293
  fetchResult = await documentLoader(url.href);
@@ -13386,7 +13386,7 @@ var Collection = class Collection extends Object$1 {
13386
13386
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
13387
13387
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
13388
13388
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
13389
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
13389
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
13390
13390
  let fetchResult;
13391
13391
  try {
13392
13392
  fetchResult = await documentLoader(url.href);
@@ -13485,7 +13485,7 @@ var Collection = class Collection extends Object$1 {
13485
13485
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
13486
13486
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
13487
13487
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
13488
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
13488
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
13489
13489
  let fetchResult;
13490
13490
  try {
13491
13491
  fetchResult = await documentLoader(url.href);
@@ -13584,7 +13584,7 @@ var Collection = class Collection extends Object$1 {
13584
13584
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
13585
13585
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
13586
13586
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
13587
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
13587
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
13588
13588
  let fetchResult;
13589
13589
  try {
13590
13590
  fetchResult = await documentLoader(url.href);
@@ -13874,7 +13874,7 @@ var Collection = class Collection extends Object$1 {
13874
13874
  * @throws {TypeError} If the given `json` is invalid.
13875
13875
  */
13876
13876
  static async fromJsonLd(json, options = {}) {
13877
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
13877
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
13878
13878
  try {
13879
13879
  const object = await this.__fromJsonLd__Collection__(json, span, options);
13880
13880
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14134,7 +14134,7 @@ var CollectionPage = class CollectionPage extends Collection {
14134
14134
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14135
14135
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14136
14136
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14137
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
14137
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
14138
14138
  let fetchResult;
14139
14139
  try {
14140
14140
  fetchResult = await documentLoader(url.href);
@@ -14233,7 +14233,7 @@ var CollectionPage = class CollectionPage extends Collection {
14233
14233
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14234
14234
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14235
14235
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14236
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
14236
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
14237
14237
  let fetchResult;
14238
14238
  try {
14239
14239
  fetchResult = await documentLoader(url.href);
@@ -14331,7 +14331,7 @@ var CollectionPage = class CollectionPage extends Collection {
14331
14331
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14332
14332
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14333
14333
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14334
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
14334
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
14335
14335
  let fetchResult;
14336
14336
  try {
14337
14337
  fetchResult = await documentLoader(url.href);
@@ -14573,7 +14573,7 @@ var CollectionPage = class CollectionPage extends Collection {
14573
14573
  * @throws {TypeError} If the given `json` is invalid.
14574
14574
  */
14575
14575
  static async fromJsonLd(json, options = {}) {
14576
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
14576
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
14577
14577
  try {
14578
14578
  const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
14579
14579
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14788,7 +14788,7 @@ var Create = class Create extends Activity {
14788
14788
  * @throws {TypeError} If the given `json` is invalid.
14789
14789
  */
14790
14790
  static async fromJsonLd(json, options = {}) {
14791
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
14791
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
14792
14792
  try {
14793
14793
  const object = await this.__fromJsonLd__Create__(json, span, options);
14794
14794
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14950,7 +14950,7 @@ var Delete = class Delete extends Activity {
14950
14950
  * @throws {TypeError} If the given `json` is invalid.
14951
14951
  */
14952
14952
  static async fromJsonLd(json, options = {}) {
14953
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
14953
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
14954
14954
  try {
14955
14955
  const object = await this.__fromJsonLd__Delete__(json, span, options);
14956
14956
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15099,7 +15099,7 @@ var Dislike = class Dislike extends Activity {
15099
15099
  * @throws {TypeError} If the given `json` is invalid.
15100
15100
  */
15101
15101
  static async fromJsonLd(json, options = {}) {
15102
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
15102
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
15103
15103
  try {
15104
15104
  const object = await this.__fromJsonLd__Dislike__(json, span, options);
15105
15105
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15444,7 +15444,7 @@ var Endpoints = class {
15444
15444
  * @throws {TypeError} If the given `json` is invalid.
15445
15445
  */
15446
15446
  static async fromJsonLd(json, options = {}) {
15447
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
15447
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
15448
15448
  try {
15449
15449
  const object = await this.__fromJsonLd__Endpoints__(json, span, options);
15450
15450
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15484,42 +15484,42 @@ var Endpoints = class {
15484
15484
  let _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl__array = values["https://www.w3.org/ns/activitystreams#proxyUrl"];
15485
15485
  for (const v of _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl__array == null ? [] : _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl__array.length === 1 && "@list" in _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl__array[0] ? _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl__array[0]["@list"] : _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl__array) {
15486
15486
  if (v == null) continue;
15487
- _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl.push(v["@id"].startsWith("at://did:plc:") ? new URL("at://did%3Aplc%3A" + v["@id"].slice(13)) : new URL(v["@id"]));
15487
+ _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
15488
15488
  }
15489
15489
  instance.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl;
15490
15490
  const _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = [];
15491
15491
  let _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint__array = values["https://www.w3.org/ns/activitystreams#oauthAuthorizationEndpoint"];
15492
15492
  for (const v of _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint__array == null ? [] : _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint__array.length === 1 && "@list" in _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint__array[0] ? _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint__array[0]["@list"] : _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint__array) {
15493
15493
  if (v == null) continue;
15494
- _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint.push(v["@id"].startsWith("at://did:plc:") ? new URL("at://did%3Aplc%3A" + v["@id"].slice(13)) : new URL(v["@id"]));
15494
+ _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
15495
15495
  }
15496
15496
  instance.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint;
15497
15497
  const _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = [];
15498
15498
  let _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint__array = values["https://www.w3.org/ns/activitystreams#oauthTokenEndpoint"];
15499
15499
  for (const v of _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint__array == null ? [] : _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint__array.length === 1 && "@list" in _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint__array[0] ? _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint__array[0]["@list"] : _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint__array) {
15500
15500
  if (v == null) continue;
15501
- _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint.push(v["@id"].startsWith("at://did:plc:") ? new URL("at://did%3Aplc%3A" + v["@id"].slice(13)) : new URL(v["@id"]));
15501
+ _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
15502
15502
  }
15503
15503
  instance.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint;
15504
15504
  const _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = [];
15505
15505
  let _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey__array = values["https://www.w3.org/ns/activitystreams#provideClientKey"];
15506
15506
  for (const v of _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey__array == null ? [] : _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey__array.length === 1 && "@list" in _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey__array[0] ? _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey__array[0]["@list"] : _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey__array) {
15507
15507
  if (v == null) continue;
15508
- _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey.push(v["@id"].startsWith("at://did:plc:") ? new URL("at://did%3Aplc%3A" + v["@id"].slice(13)) : new URL(v["@id"]));
15508
+ _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
15509
15509
  }
15510
15510
  instance.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey;
15511
15511
  const _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = [];
15512
15512
  let _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey__array = values["https://www.w3.org/ns/activitystreams#signClientKey"];
15513
15513
  for (const v of _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey__array == null ? [] : _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey__array.length === 1 && "@list" in _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey__array[0] ? _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey__array[0]["@list"] : _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey__array) {
15514
15514
  if (v == null) continue;
15515
- _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey.push(v["@id"].startsWith("at://did:plc:") ? new URL("at://did%3Aplc%3A" + v["@id"].slice(13)) : new URL(v["@id"]));
15515
+ _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
15516
15516
  }
15517
15517
  instance.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey;
15518
15518
  const _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = [];
15519
15519
  let _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox__array = values["https://www.w3.org/ns/activitystreams#sharedInbox"];
15520
15520
  for (const v of _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox__array == null ? [] : _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox__array.length === 1 && "@list" in _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox__array[0] ? _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox__array[0]["@list"] : _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox__array) {
15521
15521
  if (v == null) continue;
15522
- _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox.push(v["@id"].startsWith("at://did:plc:") ? new URL("at://did%3Aplc%3A" + v["@id"].slice(13)) : new URL(v["@id"]));
15522
+ _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
15523
15523
  }
15524
15524
  instance.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox;
15525
15525
  if (!("_fromSubclass" in options) || !options._fromSubclass) try {
@@ -15668,7 +15668,7 @@ var Event = class Event extends Object$1 {
15668
15668
  * @throws {TypeError} If the given `json` is invalid.
15669
15669
  */
15670
15670
  static async fromJsonLd(json, options = {}) {
15671
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
15671
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
15672
15672
  try {
15673
15673
  const object = await this.__fromJsonLd__Event__(json, span, options);
15674
15674
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15815,7 +15815,7 @@ var Flag = class Flag extends Activity {
15815
15815
  * @throws {TypeError} If the given `json` is invalid.
15816
15816
  */
15817
15817
  static async fromJsonLd(json, options = {}) {
15818
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
15818
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
15819
15819
  try {
15820
15820
  const object = await this.__fromJsonLd__Flag__(json, span, options);
15821
15821
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15966,7 +15966,7 @@ var Follow = class Follow extends Activity {
15966
15966
  * @throws {TypeError} If the given `json` is invalid.
15967
15967
  */
15968
15968
  static async fromJsonLd(json, options = {}) {
15969
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
15969
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
15970
15970
  try {
15971
15971
  const object = await this.__fromJsonLd__Follow__(json, span, options);
15972
15972
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16260,7 +16260,7 @@ var Group = class Group extends Object$1 {
16260
16260
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16261
16261
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16262
16262
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16263
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
16263
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
16264
16264
  let fetchResult;
16265
16265
  try {
16266
16266
  fetchResult = await documentLoader(url.href);
@@ -16393,7 +16393,7 @@ var Group = class Group extends Object$1 {
16393
16393
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16394
16394
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16395
16395
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16396
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
16396
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
16397
16397
  let fetchResult;
16398
16398
  try {
16399
16399
  fetchResult = await documentLoader(url.href);
@@ -16544,7 +16544,7 @@ var Group = class Group extends Object$1 {
16544
16544
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16545
16545
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16546
16546
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16547
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
16547
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
16548
16548
  let fetchResult;
16549
16549
  try {
16550
16550
  fetchResult = await documentLoader(url.href);
@@ -16663,7 +16663,7 @@ var Group = class Group extends Object$1 {
16663
16663
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16664
16664
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16665
16665
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16666
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
16666
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
16667
16667
  let fetchResult;
16668
16668
  try {
16669
16669
  fetchResult = await documentLoader(url.href);
@@ -16779,7 +16779,7 @@ var Group = class Group extends Object$1 {
16779
16779
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16780
16780
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16781
16781
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16782
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
16782
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
16783
16783
  let fetchResult;
16784
16784
  try {
16785
16785
  fetchResult = await documentLoader(url.href);
@@ -16881,7 +16881,7 @@ var Group = class Group extends Object$1 {
16881
16881
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16882
16882
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16883
16883
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16884
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
16884
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
16885
16885
  let fetchResult;
16886
16886
  try {
16887
16887
  fetchResult = await documentLoader(url.href);
@@ -16986,7 +16986,7 @@ var Group = class Group extends Object$1 {
16986
16986
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16987
16987
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16988
16988
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16989
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
16989
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
16990
16990
  let fetchResult;
16991
16991
  try {
16992
16992
  fetchResult = await documentLoader(url.href);
@@ -17089,7 +17089,7 @@ var Group = class Group extends Object$1 {
17089
17089
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17090
17090
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17091
17091
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17092
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
17092
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
17093
17093
  let fetchResult;
17094
17094
  try {
17095
17095
  fetchResult = await documentLoader(url.href);
@@ -17190,7 +17190,7 @@ var Group = class Group extends Object$1 {
17190
17190
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17191
17191
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17192
17192
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17193
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
17193
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
17194
17194
  let fetchResult;
17195
17195
  try {
17196
17196
  fetchResult = await documentLoader(url.href);
@@ -17291,7 +17291,7 @@ var Group = class Group extends Object$1 {
17291
17291
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17292
17292
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17293
17293
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17294
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
17294
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
17295
17295
  let fetchResult;
17296
17296
  try {
17297
17297
  fetchResult = await documentLoader(url.href);
@@ -17434,7 +17434,7 @@ var Group = class Group extends Object$1 {
17434
17434
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17435
17435
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17436
17436
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17437
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
17437
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
17438
17438
  let fetchResult;
17439
17439
  try {
17440
17440
  fetchResult = await documentLoader(url.href);
@@ -17574,7 +17574,7 @@ var Group = class Group extends Object$1 {
17574
17574
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17575
17575
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17576
17576
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17577
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
17577
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
17578
17578
  let fetchResult;
17579
17579
  try {
17580
17580
  fetchResult = await documentLoader(url.href);
@@ -17755,7 +17755,7 @@ var Group = class Group extends Object$1 {
17755
17755
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17756
17756
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17757
17757
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17758
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
17758
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
17759
17759
  let fetchResult;
17760
17760
  try {
17761
17761
  fetchResult = await documentLoader(url.href);
@@ -18409,7 +18409,7 @@ var Group = class Group extends Object$1 {
18409
18409
  * @throws {TypeError} If the given `json` is invalid.
18410
18410
  */
18411
18411
  static async fromJsonLd(json, options = {}) {
18412
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
18412
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
18413
18413
  try {
18414
18414
  const object = await this.__fromJsonLd__Group__(json, span, options);
18415
18415
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19020,7 +19020,7 @@ var Link = class Link {
19020
19020
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19021
19021
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19022
19022
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19023
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
19023
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
19024
19024
  let fetchResult;
19025
19025
  try {
19026
19026
  fetchResult = await documentLoader(url.href);
@@ -19292,7 +19292,7 @@ var Link = class Link {
19292
19292
  * @throws {TypeError} If the given `json` is invalid.
19293
19293
  */
19294
19294
  static async fromJsonLd(json, options = {}) {
19295
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
19295
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
19296
19296
  try {
19297
19297
  const object = await this.__fromJsonLd__Link__(json, span, options);
19298
19298
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19334,7 +19334,7 @@ var Link = class Link {
19334
19334
  let _pVjLsybKQdmkjuU7MHjiVmNnuj7_href__array = values["https://www.w3.org/ns/activitystreams#href"];
19335
19335
  for (const v of _pVjLsybKQdmkjuU7MHjiVmNnuj7_href__array == null ? [] : _pVjLsybKQdmkjuU7MHjiVmNnuj7_href__array.length === 1 && "@list" in _pVjLsybKQdmkjuU7MHjiVmNnuj7_href__array[0] ? _pVjLsybKQdmkjuU7MHjiVmNnuj7_href__array[0]["@list"] : _pVjLsybKQdmkjuU7MHjiVmNnuj7_href__array) {
19336
19336
  if (v == null) continue;
19337
- _pVjLsybKQdmkjuU7MHjiVmNnuj7_href.push(v["@id"].startsWith("at://did:plc:") ? new URL("at://did%3Aplc%3A" + v["@id"].slice(13)) : new URL(v["@id"]));
19337
+ _pVjLsybKQdmkjuU7MHjiVmNnuj7_href.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
19338
19338
  }
19339
19339
  instance.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = _pVjLsybKQdmkjuU7MHjiVmNnuj7_href;
19340
19340
  const _2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = [];
@@ -19611,7 +19611,7 @@ var Hashtag = class Hashtag extends Link {
19611
19611
  * @throws {TypeError} If the given `json` is invalid.
19612
19612
  */
19613
19613
  static async fromJsonLd(json, options = {}) {
19614
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
19614
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
19615
19615
  try {
19616
19616
  const object = await this.__fromJsonLd__Hashtag__(json, span, options);
19617
19617
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19763,7 +19763,7 @@ var Image = class Image extends Document {
19763
19763
  * @throws {TypeError} If the given `json` is invalid.
19764
19764
  */
19765
19765
  static async fromJsonLd(json, options = {}) {
19766
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
19766
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
19767
19767
  try {
19768
19768
  const object = await this.__fromJsonLd__Image__(json, span, options);
19769
19769
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19910,7 +19910,7 @@ var Offer = class Offer extends Activity {
19910
19910
  * @throws {TypeError} If the given `json` is invalid.
19911
19911
  */
19912
19912
  static async fromJsonLd(json, options = {}) {
19913
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
19913
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
19914
19914
  try {
19915
19915
  const object = await this.__fromJsonLd__Offer__(json, span, options);
19916
19916
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20057,7 +20057,7 @@ var Invite = class Invite extends Offer {
20057
20057
  * @throws {TypeError} If the given `json` is invalid.
20058
20058
  */
20059
20059
  static async fromJsonLd(json, options = {}) {
20060
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
20060
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
20061
20061
  try {
20062
20062
  const object = await this.__fromJsonLd__Invite__(json, span, options);
20063
20063
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20203,7 +20203,7 @@ var Join = class Join extends Activity {
20203
20203
  * @throws {TypeError} If the given `json` is invalid.
20204
20204
  */
20205
20205
  static async fromJsonLd(json, options = {}) {
20206
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
20206
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
20207
20207
  try {
20208
20208
  const object = await this.__fromJsonLd__Join__(json, span, options);
20209
20209
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20349,7 +20349,7 @@ var Leave = class Leave extends Activity {
20349
20349
  * @throws {TypeError} If the given `json` is invalid.
20350
20350
  */
20351
20351
  static async fromJsonLd(json, options = {}) {
20352
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
20352
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
20353
20353
  try {
20354
20354
  const object = await this.__fromJsonLd__Leave__(json, span, options);
20355
20355
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20499,7 +20499,7 @@ var Like = class Like extends Activity {
20499
20499
  * @throws {TypeError} If the given `json` is invalid.
20500
20500
  */
20501
20501
  static async fromJsonLd(json, options = {}) {
20502
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
20502
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
20503
20503
  try {
20504
20504
  const object = await this.__fromJsonLd__Like__(json, span, options);
20505
20505
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20644,7 +20644,7 @@ var Listen = class Listen extends Activity {
20644
20644
  * @throws {TypeError} If the given `json` is invalid.
20645
20645
  */
20646
20646
  static async fromJsonLd(json, options = {}) {
20647
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
20647
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
20648
20648
  try {
20649
20649
  const object = await this.__fromJsonLd__Listen__(json, span, options);
20650
20650
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20793,7 +20793,7 @@ var Mention = class Mention extends Link {
20793
20793
  * @throws {TypeError} If the given `json` is invalid.
20794
20794
  */
20795
20795
  static async fromJsonLd(json, options = {}) {
20796
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
20796
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
20797
20797
  try {
20798
20798
  const object = await this.__fromJsonLd__Mention__(json, span, options);
20799
20799
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20940,7 +20940,7 @@ var Move = class Move extends Activity {
20940
20940
  * @throws {TypeError} If the given `json` is invalid.
20941
20941
  */
20942
20942
  static async fromJsonLd(json, options = {}) {
20943
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
20943
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
20944
20944
  try {
20945
20945
  const object = await this.__fromJsonLd__Move__(json, span, options);
20946
20946
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21174,7 +21174,7 @@ var Note = class Note extends Object$1 {
21174
21174
  * @throws {TypeError} If the given `json` is invalid.
21175
21175
  */
21176
21176
  static async fromJsonLd(json, options = {}) {
21177
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
21177
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
21178
21178
  try {
21179
21179
  const object = await this.__fromJsonLd__Note__(json, span, options);
21180
21180
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21294,7 +21294,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
21294
21294
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21295
21295
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21296
21296
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21297
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
21297
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
21298
21298
  let fetchResult;
21299
21299
  try {
21300
21300
  fetchResult = await documentLoader(url.href);
@@ -21522,7 +21522,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
21522
21522
  * @throws {TypeError} If the given `json` is invalid.
21523
21523
  */
21524
21524
  static async fromJsonLd(json, options = {}) {
21525
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
21525
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
21526
21526
  try {
21527
21527
  const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
21528
21528
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21713,7 +21713,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
21713
21713
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21714
21714
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21715
21715
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21716
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
21716
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
21717
21717
  let fetchResult;
21718
21718
  try {
21719
21719
  fetchResult = await documentLoader(url.href);
@@ -21964,7 +21964,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
21964
21964
  * @throws {TypeError} If the given `json` is invalid.
21965
21965
  */
21966
21966
  static async fromJsonLd(json, options = {}) {
21967
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
21967
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
21968
21968
  try {
21969
21969
  const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
21970
21970
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22349,7 +22349,7 @@ var Organization = class Organization extends Object$1 {
22349
22349
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22350
22350
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22351
22351
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22352
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
22352
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
22353
22353
  let fetchResult;
22354
22354
  try {
22355
22355
  fetchResult = await documentLoader(url.href);
@@ -22482,7 +22482,7 @@ var Organization = class Organization extends Object$1 {
22482
22482
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22483
22483
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22484
22484
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22485
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
22485
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
22486
22486
  let fetchResult;
22487
22487
  try {
22488
22488
  fetchResult = await documentLoader(url.href);
@@ -22633,7 +22633,7 @@ var Organization = class Organization extends Object$1 {
22633
22633
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22634
22634
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22635
22635
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22636
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
22636
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
22637
22637
  let fetchResult;
22638
22638
  try {
22639
22639
  fetchResult = await documentLoader(url.href);
@@ -22752,7 +22752,7 @@ var Organization = class Organization extends Object$1 {
22752
22752
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22753
22753
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22754
22754
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22755
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
22755
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
22756
22756
  let fetchResult;
22757
22757
  try {
22758
22758
  fetchResult = await documentLoader(url.href);
@@ -22868,7 +22868,7 @@ var Organization = class Organization extends Object$1 {
22868
22868
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22869
22869
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22870
22870
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22871
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
22871
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
22872
22872
  let fetchResult;
22873
22873
  try {
22874
22874
  fetchResult = await documentLoader(url.href);
@@ -22970,7 +22970,7 @@ var Organization = class Organization extends Object$1 {
22970
22970
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22971
22971
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22972
22972
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22973
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
22973
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
22974
22974
  let fetchResult;
22975
22975
  try {
22976
22976
  fetchResult = await documentLoader(url.href);
@@ -23075,7 +23075,7 @@ var Organization = class Organization extends Object$1 {
23075
23075
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23076
23076
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23077
23077
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23078
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
23078
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
23079
23079
  let fetchResult;
23080
23080
  try {
23081
23081
  fetchResult = await documentLoader(url.href);
@@ -23178,7 +23178,7 @@ var Organization = class Organization extends Object$1 {
23178
23178
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23179
23179
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23180
23180
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23181
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
23181
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
23182
23182
  let fetchResult;
23183
23183
  try {
23184
23184
  fetchResult = await documentLoader(url.href);
@@ -23279,7 +23279,7 @@ var Organization = class Organization extends Object$1 {
23279
23279
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23280
23280
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23281
23281
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23282
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
23282
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
23283
23283
  let fetchResult;
23284
23284
  try {
23285
23285
  fetchResult = await documentLoader(url.href);
@@ -23380,7 +23380,7 @@ var Organization = class Organization extends Object$1 {
23380
23380
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23381
23381
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23382
23382
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23383
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
23383
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
23384
23384
  let fetchResult;
23385
23385
  try {
23386
23386
  fetchResult = await documentLoader(url.href);
@@ -23523,7 +23523,7 @@ var Organization = class Organization extends Object$1 {
23523
23523
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23524
23524
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23525
23525
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23526
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
23526
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
23527
23527
  let fetchResult;
23528
23528
  try {
23529
23529
  fetchResult = await documentLoader(url.href);
@@ -23663,7 +23663,7 @@ var Organization = class Organization extends Object$1 {
23663
23663
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23664
23664
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23665
23665
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23666
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
23666
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
23667
23667
  let fetchResult;
23668
23668
  try {
23669
23669
  fetchResult = await documentLoader(url.href);
@@ -23844,7 +23844,7 @@ var Organization = class Organization extends Object$1 {
23844
23844
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23845
23845
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23846
23846
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23847
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
23847
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
23848
23848
  let fetchResult;
23849
23849
  try {
23850
23850
  fetchResult = await documentLoader(url.href);
@@ -24498,7 +24498,7 @@ var Organization = class Organization extends Object$1 {
24498
24498
  * @throws {TypeError} If the given `json` is invalid.
24499
24499
  */
24500
24500
  static async fromJsonLd(json, options = {}) {
24501
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
24501
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
24502
24502
  try {
24503
24503
  const object = await this.__fromJsonLd__Organization__(json, span, options);
24504
24504
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24982,7 +24982,7 @@ var Page = class Page extends Document {
24982
24982
  * @throws {TypeError} If the given `json` is invalid.
24983
24983
  */
24984
24984
  static async fromJsonLd(json, options = {}) {
24985
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
24985
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
24986
24986
  try {
24987
24987
  const object = await this.__fromJsonLd__Page__(json, span, options);
24988
24988
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25276,7 +25276,7 @@ var Person = class Person extends Object$1 {
25276
25276
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25277
25277
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25278
25278
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25279
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
25279
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
25280
25280
  let fetchResult;
25281
25281
  try {
25282
25282
  fetchResult = await documentLoader(url.href);
@@ -25409,7 +25409,7 @@ var Person = class Person extends Object$1 {
25409
25409
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25410
25410
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25411
25411
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25412
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
25412
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
25413
25413
  let fetchResult;
25414
25414
  try {
25415
25415
  fetchResult = await documentLoader(url.href);
@@ -25560,7 +25560,7 @@ var Person = class Person extends Object$1 {
25560
25560
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25561
25561
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25562
25562
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25563
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
25563
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
25564
25564
  let fetchResult;
25565
25565
  try {
25566
25566
  fetchResult = await documentLoader(url.href);
@@ -25679,7 +25679,7 @@ var Person = class Person extends Object$1 {
25679
25679
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25680
25680
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25681
25681
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25682
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
25682
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
25683
25683
  let fetchResult;
25684
25684
  try {
25685
25685
  fetchResult = await documentLoader(url.href);
@@ -25795,7 +25795,7 @@ var Person = class Person extends Object$1 {
25795
25795
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25796
25796
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25797
25797
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25798
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
25798
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
25799
25799
  let fetchResult;
25800
25800
  try {
25801
25801
  fetchResult = await documentLoader(url.href);
@@ -25897,7 +25897,7 @@ var Person = class Person extends Object$1 {
25897
25897
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25898
25898
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25899
25899
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25900
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
25900
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
25901
25901
  let fetchResult;
25902
25902
  try {
25903
25903
  fetchResult = await documentLoader(url.href);
@@ -26002,7 +26002,7 @@ var Person = class Person extends Object$1 {
26002
26002
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26003
26003
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26004
26004
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26005
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
26005
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
26006
26006
  let fetchResult;
26007
26007
  try {
26008
26008
  fetchResult = await documentLoader(url.href);
@@ -26105,7 +26105,7 @@ var Person = class Person extends Object$1 {
26105
26105
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26106
26106
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26107
26107
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26108
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
26108
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
26109
26109
  let fetchResult;
26110
26110
  try {
26111
26111
  fetchResult = await documentLoader(url.href);
@@ -26206,7 +26206,7 @@ var Person = class Person extends Object$1 {
26206
26206
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26207
26207
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26208
26208
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26209
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
26209
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
26210
26210
  let fetchResult;
26211
26211
  try {
26212
26212
  fetchResult = await documentLoader(url.href);
@@ -26307,7 +26307,7 @@ var Person = class Person extends Object$1 {
26307
26307
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26308
26308
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26309
26309
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26310
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
26310
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
26311
26311
  let fetchResult;
26312
26312
  try {
26313
26313
  fetchResult = await documentLoader(url.href);
@@ -26450,7 +26450,7 @@ var Person = class Person extends Object$1 {
26450
26450
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26451
26451
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26452
26452
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26453
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
26453
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
26454
26454
  let fetchResult;
26455
26455
  try {
26456
26456
  fetchResult = await documentLoader(url.href);
@@ -26590,7 +26590,7 @@ var Person = class Person extends Object$1 {
26590
26590
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26591
26591
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26592
26592
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26593
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
26593
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
26594
26594
  let fetchResult;
26595
26595
  try {
26596
26596
  fetchResult = await documentLoader(url.href);
@@ -26771,7 +26771,7 @@ var Person = class Person extends Object$1 {
26771
26771
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26772
26772
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26773
26773
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26774
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
26774
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
26775
26775
  let fetchResult;
26776
26776
  try {
26777
26777
  fetchResult = await documentLoader(url.href);
@@ -27425,7 +27425,7 @@ var Person = class Person extends Object$1 {
27425
27425
  * @throws {TypeError} If the given `json` is invalid.
27426
27426
  */
27427
27427
  static async fromJsonLd(json, options = {}) {
27428
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
27428
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
27429
27429
  try {
27430
27430
  const object = await this.__fromJsonLd__Person__(json, span, options);
27431
27431
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28086,7 +28086,7 @@ var Place = class Place extends Object$1 {
28086
28086
  * @throws {TypeError} If the given `json` is invalid.
28087
28087
  */
28088
28088
  static async fromJsonLd(json, options = {}) {
28089
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
28089
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
28090
28090
  try {
28091
28091
  const object = await this.__fromJsonLd__Place__(json, span, options);
28092
28092
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28166,7 +28166,7 @@ var Place = class Place extends Object$1 {
28166
28166
  let _oKrwxU4V8wiKhMW1QEYQibcJh8c_units__array = values["https://www.w3.org/ns/activitystreams#units"];
28167
28167
  for (const v of _oKrwxU4V8wiKhMW1QEYQibcJh8c_units__array == null ? [] : _oKrwxU4V8wiKhMW1QEYQibcJh8c_units__array.length === 1 && "@list" in _oKrwxU4V8wiKhMW1QEYQibcJh8c_units__array[0] ? _oKrwxU4V8wiKhMW1QEYQibcJh8c_units__array[0]["@list"] : _oKrwxU4V8wiKhMW1QEYQibcJh8c_units__array) {
28168
28168
  if (v == null) continue;
28169
- const decoded = typeof v === "object" && "@value" in v && (v["@value"] == "cm" || v["@value"] == "feet" || v["@value"] == "inches" || v["@value"] == "km" || v["@value"] == "m" || v["@value"] == "miles") ? v["@value"] : typeof v === "object" && "@id" in v && typeof v["@id"] === "string" && v["@id"] !== "" && v["@id"] !== "/" ? v["@id"].startsWith("at://did:plc:") ? new URL("at://did%3Aplc%3A" + v["@id"].slice(13)) : new URL(v["@id"]) : void 0;
28169
+ const decoded = typeof v === "object" && "@value" in v && (v["@value"] == "cm" || v["@value"] == "feet" || v["@value"] == "inches" || v["@value"] == "km" || v["@value"] == "m" || v["@value"] == "miles") ? v["@value"] : typeof v === "object" && "@id" in v && typeof v["@id"] === "string" && v["@id"] !== "" && v["@id"] !== "/" ? v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]) : void 0;
28170
28170
  if (typeof decoded === "undefined") continue;
28171
28171
  _oKrwxU4V8wiKhMW1QEYQibcJh8c_units.push(decoded);
28172
28172
  }
@@ -28269,7 +28269,7 @@ var Profile = class Profile extends Object$1 {
28269
28269
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28270
28270
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28271
28271
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28272
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
28272
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
28273
28273
  let fetchResult;
28274
28274
  try {
28275
28275
  fetchResult = await documentLoader(url.href);
@@ -28440,7 +28440,7 @@ var Profile = class Profile extends Object$1 {
28440
28440
  * @throws {TypeError} If the given `json` is invalid.
28441
28441
  */
28442
28442
  static async fromJsonLd(json, options = {}) {
28443
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
28443
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
28444
28444
  try {
28445
28445
  const object = await this.__fromJsonLd__Profile__(json, span, options);
28446
28446
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28592,7 +28592,7 @@ var Question = class Question extends IntransitiveActivity {
28592
28592
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28593
28593
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28594
28594
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28595
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
28595
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
28596
28596
  let fetchResult;
28597
28597
  try {
28598
28598
  fetchResult = await documentLoader(url.href);
@@ -28695,7 +28695,7 @@ var Question = class Question extends IntransitiveActivity {
28695
28695
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28696
28696
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28697
28697
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28698
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
28698
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
28699
28699
  let fetchResult;
28700
28700
  try {
28701
28701
  fetchResult = await documentLoader(url.href);
@@ -28939,7 +28939,7 @@ var Question = class Question extends IntransitiveActivity {
28939
28939
  * @throws {TypeError} If the given `json` is invalid.
28940
28940
  */
28941
28941
  static async fromJsonLd(json, options = {}) {
28942
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
28942
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
28943
28943
  try {
28944
28944
  const object = await this.__fromJsonLd__Question__(json, span, options);
28945
28945
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29157,7 +29157,7 @@ var Read = class Read extends Activity {
29157
29157
  * @throws {TypeError} If the given `json` is invalid.
29158
29158
  */
29159
29159
  static async fromJsonLd(json, options = {}) {
29160
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
29160
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
29161
29161
  try {
29162
29162
  const object = await this.__fromJsonLd__Read__(json, span, options);
29163
29163
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29303,7 +29303,7 @@ var Reject = class Reject extends Activity {
29303
29303
  * @throws {TypeError} If the given `json` is invalid.
29304
29304
  */
29305
29305
  static async fromJsonLd(json, options = {}) {
29306
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
29306
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
29307
29307
  try {
29308
29308
  const object = await this.__fromJsonLd__Reject__(json, span, options);
29309
29309
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29446,7 +29446,7 @@ var Relationship = class Relationship extends Object$1 {
29446
29446
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29447
29447
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29448
29448
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29449
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
29449
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
29450
29450
  let fetchResult;
29451
29451
  try {
29452
29452
  fetchResult = await documentLoader(url.href);
@@ -29547,7 +29547,7 @@ var Relationship = class Relationship extends Object$1 {
29547
29547
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29548
29548
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29549
29549
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29550
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
29550
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
29551
29551
  let fetchResult;
29552
29552
  try {
29553
29553
  fetchResult = await documentLoader(url.href);
@@ -29680,7 +29680,7 @@ var Relationship = class Relationship extends Object$1 {
29680
29680
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29681
29681
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29682
29682
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29683
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
29683
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
29684
29684
  let fetchResult;
29685
29685
  try {
29686
29686
  fetchResult = await documentLoader(url.href);
@@ -29921,7 +29921,7 @@ var Relationship = class Relationship extends Object$1 {
29921
29921
  * @throws {TypeError} If the given `json` is invalid.
29922
29922
  */
29923
29923
  static async fromJsonLd(json, options = {}) {
29924
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
29924
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
29925
29925
  try {
29926
29926
  const object = await this.__fromJsonLd__Relationship__(json, span, options);
29927
29927
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30118,7 +30118,7 @@ var Remove = class Remove extends Activity {
30118
30118
  * @throws {TypeError} If the given `json` is invalid.
30119
30119
  */
30120
30120
  static async fromJsonLd(json, options = {}) {
30121
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
30121
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
30122
30122
  try {
30123
30123
  const object = await this.__fromJsonLd__Remove__(json, span, options);
30124
30124
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30412,7 +30412,7 @@ var Service = class Service extends Object$1 {
30412
30412
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30413
30413
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30414
30414
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30415
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
30415
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
30416
30416
  let fetchResult;
30417
30417
  try {
30418
30418
  fetchResult = await documentLoader(url.href);
@@ -30545,7 +30545,7 @@ var Service = class Service extends Object$1 {
30545
30545
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30546
30546
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30547
30547
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30548
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
30548
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
30549
30549
  let fetchResult;
30550
30550
  try {
30551
30551
  fetchResult = await documentLoader(url.href);
@@ -30696,7 +30696,7 @@ var Service = class Service extends Object$1 {
30696
30696
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30697
30697
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30698
30698
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30699
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
30699
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
30700
30700
  let fetchResult;
30701
30701
  try {
30702
30702
  fetchResult = await documentLoader(url.href);
@@ -30815,7 +30815,7 @@ var Service = class Service extends Object$1 {
30815
30815
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30816
30816
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30817
30817
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30818
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
30818
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
30819
30819
  let fetchResult;
30820
30820
  try {
30821
30821
  fetchResult = await documentLoader(url.href);
@@ -30931,7 +30931,7 @@ var Service = class Service extends Object$1 {
30931
30931
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30932
30932
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30933
30933
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30934
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
30934
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
30935
30935
  let fetchResult;
30936
30936
  try {
30937
30937
  fetchResult = await documentLoader(url.href);
@@ -31033,7 +31033,7 @@ var Service = class Service extends Object$1 {
31033
31033
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31034
31034
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31035
31035
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31036
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
31036
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
31037
31037
  let fetchResult;
31038
31038
  try {
31039
31039
  fetchResult = await documentLoader(url.href);
@@ -31138,7 +31138,7 @@ var Service = class Service extends Object$1 {
31138
31138
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31139
31139
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31140
31140
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31141
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
31141
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
31142
31142
  let fetchResult;
31143
31143
  try {
31144
31144
  fetchResult = await documentLoader(url.href);
@@ -31241,7 +31241,7 @@ var Service = class Service extends Object$1 {
31241
31241
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31242
31242
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31243
31243
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31244
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
31244
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
31245
31245
  let fetchResult;
31246
31246
  try {
31247
31247
  fetchResult = await documentLoader(url.href);
@@ -31342,7 +31342,7 @@ var Service = class Service extends Object$1 {
31342
31342
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31343
31343
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31344
31344
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31345
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
31345
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
31346
31346
  let fetchResult;
31347
31347
  try {
31348
31348
  fetchResult = await documentLoader(url.href);
@@ -31443,7 +31443,7 @@ var Service = class Service extends Object$1 {
31443
31443
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31444
31444
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31445
31445
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31446
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
31446
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
31447
31447
  let fetchResult;
31448
31448
  try {
31449
31449
  fetchResult = await documentLoader(url.href);
@@ -31586,7 +31586,7 @@ var Service = class Service extends Object$1 {
31586
31586
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31587
31587
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31588
31588
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31589
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
31589
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
31590
31590
  let fetchResult;
31591
31591
  try {
31592
31592
  fetchResult = await documentLoader(url.href);
@@ -31726,7 +31726,7 @@ var Service = class Service extends Object$1 {
31726
31726
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31727
31727
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31728
31728
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31729
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
31729
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
31730
31730
  let fetchResult;
31731
31731
  try {
31732
31732
  fetchResult = await documentLoader(url.href);
@@ -31907,7 +31907,7 @@ var Service = class Service extends Object$1 {
31907
31907
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31908
31908
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31909
31909
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31910
- return await tracerProvider.getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.lookup_object", async (span) => {
31910
+ return await tracerProvider.getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.lookup_object", async (span) => {
31911
31911
  let fetchResult;
31912
31912
  try {
31913
31913
  fetchResult = await documentLoader(url.href);
@@ -32561,7 +32561,7 @@ var Service = class Service extends Object$1 {
32561
32561
  * @throws {TypeError} If the given `json` is invalid.
32562
32562
  */
32563
32563
  static async fromJsonLd(json, options = {}) {
32564
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
32564
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
32565
32565
  try {
32566
32566
  const object = await this.__fromJsonLd__Service__(json, span, options);
32567
32567
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33137,7 +33137,7 @@ var Source = class {
33137
33137
  * @throws {TypeError} If the given `json` is invalid.
33138
33138
  */
33139
33139
  static async fromJsonLd(json, options = {}) {
33140
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
33140
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
33141
33141
  try {
33142
33142
  const object = await this.__fromJsonLd__Source__(json, span, options);
33143
33143
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33310,7 +33310,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
33310
33310
  * @throws {TypeError} If the given `json` is invalid.
33311
33311
  */
33312
33312
  static async fromJsonLd(json, options = {}) {
33313
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
33313
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
33314
33314
  try {
33315
33315
  const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
33316
33316
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33456,7 +33456,7 @@ var TentativeReject = class TentativeReject extends Reject {
33456
33456
  * @throws {TypeError} If the given `json` is invalid.
33457
33457
  */
33458
33458
  static async fromJsonLd(json, options = {}) {
33459
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
33459
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
33460
33460
  try {
33461
33461
  const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
33462
33462
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33641,7 +33641,7 @@ var Tombstone = class Tombstone extends Object$1 {
33641
33641
  * @throws {TypeError} If the given `json` is invalid.
33642
33642
  */
33643
33643
  static async fromJsonLd(json, options = {}) {
33644
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
33644
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
33645
33645
  try {
33646
33646
  const object = await this.__fromJsonLd__Tombstone__(json, span, options);
33647
33647
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33802,7 +33802,7 @@ var Travel = class Travel extends IntransitiveActivity {
33802
33802
  * @throws {TypeError} If the given `json` is invalid.
33803
33803
  */
33804
33804
  static async fromJsonLd(json, options = {}) {
33805
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
33805
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
33806
33806
  try {
33807
33807
  const object = await this.__fromJsonLd__Travel__(json, span, options);
33808
33808
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33962,7 +33962,7 @@ var Undo = class Undo extends Activity {
33962
33962
  * @throws {TypeError} If the given `json` is invalid.
33963
33963
  */
33964
33964
  static async fromJsonLd(json, options = {}) {
33965
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
33965
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
33966
33966
  try {
33967
33967
  const object = await this.__fromJsonLd__Undo__(json, span, options);
33968
33968
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34160,7 +34160,7 @@ var Update = class Update extends Activity {
34160
34160
  * @throws {TypeError} If the given `json` is invalid.
34161
34161
  */
34162
34162
  static async fromJsonLd(json, options = {}) {
34163
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
34163
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
34164
34164
  try {
34165
34165
  const object = await this.__fromJsonLd__Update__(json, span, options);
34166
34166
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34312,7 +34312,7 @@ var Video = class Video extends Document {
34312
34312
  * @throws {TypeError} If the given `json` is invalid.
34313
34313
  */
34314
34314
  static async fromJsonLd(json, options = {}) {
34315
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
34315
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
34316
34316
  try {
34317
34317
  const object = await this.__fromJsonLd__Video__(json, span, options);
34318
34318
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34457,7 +34457,7 @@ var View = class View extends Activity {
34457
34457
  * @throws {TypeError} If the given `json` is invalid.
34458
34458
  */
34459
34459
  static async fromJsonLd(json, options = {}) {
34460
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.12").startActiveSpan("activitypub.parse_object", async (span) => {
34460
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/fedify", "1.7.13").startActiveSpan("activitypub.parse_object", async (span) => {
34461
34461
  try {
34462
34462
  const object = await this.__fromJsonLd__View__(json, span, options);
34463
34463
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);