@fedify/fedify 1.9.0-dev.1689 → 1.9.0-dev.1704

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 (116) hide show
  1. package/dist/{actor-Dpkqj5Dv.js → actor-B0LpLKRw.js} +187 -187
  2. package/dist/{actor-DzdLVqkJ.js → actor-CQzdjHs3.js} +1 -1
  3. package/dist/{actor-CK94m0Yv.cjs → actor-DU96UQUE.cjs} +187 -187
  4. package/dist/{authdocloader-4iBGWlQw.cjs → authdocloader-BkOerKL-.cjs} +3 -3
  5. package/dist/{authdocloader-DdSBpn11.js → authdocloader-CzmsYrAn.js} +3 -3
  6. package/dist/{authdocloader-BVvTFQbi.js → authdocloader-DI67R2Ku.js} +3 -3
  7. package/dist/{builder-BR--hcb8.js → builder-D2Oyy8AY.js} +8 -8
  8. package/dist/{client-BoUqciR8.js → client-BWusKCWF.js} +1 -1
  9. package/dist/compat/mod.d.cts +2 -2
  10. package/dist/compat/mod.d.ts +2 -2
  11. package/dist/compat/transformers.test.js +16 -16
  12. package/dist/{context-CZorAkt8.d.ts → context-C51zGhGC.d.ts} +120 -87
  13. package/dist/{context-DCh96LcF.d.cts → context-Qnv814-p.d.cts} +120 -87
  14. package/dist/{docloader-Bui9z8Lb.cjs → docloader-NcFUThCx.cjs} +1 -1
  15. package/dist/{docloader-DyvW1gbN.js → docloader-isD0ntZv.js} +1 -1
  16. package/dist/{esm-DMb2eQXG.js → esm-BBVcrjH8.js} +1 -1
  17. package/dist/federation/builder.test.js +5 -5
  18. package/dist/federation/collection.test.js +3 -3
  19. package/dist/federation/handler.test.js +17 -17
  20. package/dist/federation/idempotency.test.js +17 -17
  21. package/dist/federation/inbox.test.js +4 -4
  22. package/dist/federation/keycache.test.js +4 -4
  23. package/dist/federation/kv.test.js +3 -3
  24. package/dist/federation/middleware.test.js +18 -18
  25. package/dist/federation/mod.cjs +10 -10
  26. package/dist/federation/mod.d.cts +2 -2
  27. package/dist/federation/mod.d.ts +2 -2
  28. package/dist/federation/mod.js +10 -10
  29. package/dist/federation/mq.test.js +3 -3
  30. package/dist/federation/retry.test.js +3 -3
  31. package/dist/federation/router.test.js +3 -3
  32. package/dist/federation/send.test.js +10 -10
  33. package/dist/{http-C7nvEG1N.js → http-BiKoa3o_.js} +2 -2
  34. package/dist/{http-BAaVL480.cjs → http-LVXxICJn.cjs} +3 -3
  35. package/dist/{http-xsj5Fzwl.js → http-MyYS6o7t.js} +3 -3
  36. package/dist/{inbox-DZNE3Jtq.js → inbox-CzGsgKH-.js} +1 -1
  37. package/dist/key-BEz2ThE9.cjs +10 -0
  38. package/dist/{key-DgZIZVqA.js → key-C0SCHEcf.js} +3 -3
  39. package/dist/{key-C25gGlmV.js → key-C5cRHj8g.js} +2 -2
  40. package/dist/{key-CbnQpdZy.js → key-CRhmBE03.js} +2 -2
  41. package/dist/{key-DqqCoLbc.cjs → key-Ci8OyUTB.cjs} +2 -2
  42. package/dist/{key-DOPWTj2e.js → key-DWPlWnFQ.js} +4 -4
  43. package/dist/{keycache-CoMI1L_W.js → keycache-rO8ea311.js} +1 -1
  44. package/dist/{keys-CMahfArj.js → keys-CWdCy_3n.js} +1 -1
  45. package/dist/{ld-WZpO-MzE.js → ld-BWADNtQr.js} +2 -2
  46. package/dist/{lookup-WoJkw8wY.js → lookup-BBTRFcU5.js} +1 -1
  47. package/dist/{lookup-D_w567L8.cjs → lookup-CILOZed9.cjs} +1 -1
  48. package/dist/{lookup-y6-PEpxS.js → lookup-RINL4MOa.js} +1 -1
  49. package/dist/{middleware-CjgR6ayA.js → middleware-Bcv0xCjs.js} +35 -36
  50. package/dist/middleware-Be9qUuwL.cjs +17 -0
  51. package/dist/{middleware-Cj9WC_iX.js → middleware-BfhSHVoJ.js} +36 -37
  52. package/dist/middleware-CWlljVpG.js +26 -0
  53. package/dist/{middleware-CWlrInU2.cjs → middleware-DDyUhxsm.cjs} +36 -37
  54. package/dist/middleware-Dm7sDAVJ.js +17 -0
  55. package/dist/{mod-BojaEE1l.d.cts → mod-COTXAYRl.d.cts} +1 -1
  56. package/dist/{mod-tWXEItkO.d.ts → mod-o-hx_hU8.d.ts} +1 -1
  57. package/dist/mod.cjs +10 -10
  58. package/dist/mod.d.cts +3 -3
  59. package/dist/mod.d.ts +3 -3
  60. package/dist/mod.js +10 -10
  61. package/dist/nodeinfo/client.test.js +5 -5
  62. package/dist/nodeinfo/handler.test.js +16 -16
  63. package/dist/nodeinfo/mod.cjs +2 -2
  64. package/dist/nodeinfo/mod.js +2 -2
  65. package/dist/nodeinfo/semver.test.js +3 -3
  66. package/dist/nodeinfo/types.test.js +3 -3
  67. package/dist/{owner-CPBOVM7l.js → owner-QEQV9vx-.js} +2 -2
  68. package/dist/{proof-CpmDDzvf.js → proof-B_9fbF3f.js} +3 -3
  69. package/dist/{proof-h0JvKPRP.js → proof-g2_9VhUQ.js} +2 -2
  70. package/dist/{proof-BLoRsaYR.cjs → proof-v3B5cJ3c.cjs} +3 -3
  71. package/dist/runtime/authdocloader.test.js +9 -9
  72. package/dist/runtime/docloader.test.js +4 -4
  73. package/dist/runtime/key.test.js +5 -5
  74. package/dist/runtime/langstr.test.js +3 -3
  75. package/dist/runtime/link.test.js +3 -3
  76. package/dist/runtime/mod.cjs +6 -6
  77. package/dist/runtime/mod.js +6 -6
  78. package/dist/runtime/multibase/multibase.test.js +3 -3
  79. package/dist/runtime/url.test.js +3 -3
  80. package/dist/{send-CD-m2vwX.js → send-cTLNXtTp.js} +2 -2
  81. package/dist/sig/http.test.js +8 -8
  82. package/dist/sig/key.test.js +6 -6
  83. package/dist/sig/ld.test.js +7 -7
  84. package/dist/sig/mod.cjs +6 -6
  85. package/dist/sig/mod.js +6 -6
  86. package/dist/sig/owner.test.js +7 -7
  87. package/dist/sig/proof.test.js +7 -7
  88. package/dist/testing/docloader.test.js +3 -3
  89. package/dist/testing/mod.d.ts +119 -86
  90. package/dist/testing/mod.js +3 -3
  91. package/dist/{testing-DvTABhvG.js → testing-CNtyBr2m.js} +2 -2
  92. package/dist/{type-BCazg_Pu.js → type-C5udJemk.js} +186 -186
  93. package/dist/{types-F8JMlP-f.cjs → types-C9w81XqW.cjs} +1 -1
  94. package/dist/{types-BsM0mf3R.js → types-DHq9gRM4.js} +1 -1
  95. package/dist/vocab/actor.test.js +5 -5
  96. package/dist/vocab/lookup.test.js +4 -4
  97. package/dist/vocab/mod.cjs +4 -4
  98. package/dist/vocab/mod.js +4 -4
  99. package/dist/vocab/type.test.js +3 -3
  100. package/dist/vocab/vocab.test.js +4 -4
  101. package/dist/{vocab-C-qxDq1m.cjs → vocab-BoyCE2Rn.cjs} +3 -3
  102. package/dist/{vocab-DdTdRfBW.js → vocab-DxoBe7PI.js} +3 -3
  103. package/dist/webfinger/handler.test.js +16 -16
  104. package/dist/webfinger/lookup.test.js +4 -4
  105. package/dist/webfinger/mod.cjs +2 -2
  106. package/dist/webfinger/mod.js +2 -2
  107. package/dist/x/cfworkers.test.js +3 -3
  108. package/dist/x/hono.d.cts +1 -1
  109. package/dist/x/hono.d.ts +1 -1
  110. package/dist/x/sveltekit.d.cts +1 -1
  111. package/dist/x/sveltekit.d.ts +1 -1
  112. package/package.json +1 -1
  113. package/dist/key-CHU24Npw.cjs +0 -10
  114. package/dist/middleware-BYEKw_OJ.js +0 -17
  115. package/dist/middleware-DbxA0Z6o.js +0 -26
  116. package/dist/middleware-hTlyJu9R.cjs +0 -17
@@ -3,15 +3,15 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
5
  import { getDefaultActivityTransformers } from "./transformers-BFT6d7J5.js";
6
- import { deno_default, getDocumentLoader, kvCache } from "./docloader-DyvW1gbN.js";
7
- import { Activity, Collection, CollectionPage, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, getTypeId } from "./actor-Dpkqj5Dv.js";
8
- import { lookupWebFinger } from "./lookup-WoJkw8wY.js";
9
- import { exportJwk, importJwk, validateCryptoKey } from "./key-CbnQpdZy.js";
10
- import { doubleKnock, verifyRequest } from "./http-xsj5Fzwl.js";
11
- import { detachSignature, doesActorOwnKey, getKeyOwner, hasSignature, signJsonLd, signObject, verifyJsonLd, verifyObject } from "./proof-CpmDDzvf.js";
12
- import { getNodeInfo, nodeInfoToJson } from "./types-BsM0mf3R.js";
13
- import { getAuthenticatedDocumentLoader } from "./authdocloader-BVvTFQbi.js";
14
- import { lookupObject, traverseCollection } from "./vocab-DdTdRfBW.js";
6
+ import { deno_default, getDocumentLoader, kvCache } from "./docloader-isD0ntZv.js";
7
+ import { Activity, Collection, CollectionPage, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, getTypeId } from "./actor-B0LpLKRw.js";
8
+ import { lookupWebFinger } from "./lookup-BBTRFcU5.js";
9
+ import { exportJwk, importJwk, validateCryptoKey } from "./key-CRhmBE03.js";
10
+ import { doubleKnock, verifyRequest } from "./http-MyYS6o7t.js";
11
+ import { detachSignature, doesActorOwnKey, getKeyOwner, hasSignature, signJsonLd, signObject, verifyJsonLd, verifyObject } from "./proof-B_9fbF3f.js";
12
+ import { getNodeInfo, nodeInfoToJson } from "./types-DHq9gRM4.js";
13
+ import { getAuthenticatedDocumentLoader } from "./authdocloader-DI67R2Ku.js";
14
+ import { lookupObject, traverseCollection } from "./vocab-DxoBe7PI.js";
15
15
  import { getLogger, withContext } from "@logtape/logtape";
16
16
  import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
17
17
  import { encodeHex } from "byte-encodings/hex";
@@ -344,7 +344,7 @@ var FederationBuilderImpl = class {
344
344
  this.collectionTypeIds = {};
345
345
  }
346
346
  async build(options) {
347
- const { FederationImpl: FederationImpl$1 } = await import("./middleware-BYEKw_OJ.js");
347
+ const { FederationImpl: FederationImpl$1 } = await import("./middleware-Dm7sDAVJ.js");
348
348
  const f = new FederationImpl$1(options);
349
349
  const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
350
350
  f.router = this.router.clone();
@@ -797,11 +797,11 @@ var FederationBuilderImpl = class {
797
797
  };
798
798
  return setters;
799
799
  }
800
- setCollectionDispatcher(name, ...args) {
801
- return this.#setCustomCollectionDispatcher(name, "collection", ...args);
800
+ setCollectionDispatcher(name, itemType, path, dispatcher) {
801
+ return this.#setCustomCollectionDispatcher(name, "collection", itemType, path, dispatcher);
802
802
  }
803
- setOrderedCollectionDispatcher(name, ...args) {
804
- return this.#setCustomCollectionDispatcher(name, "orderedCollection", ...args);
803
+ setOrderedCollectionDispatcher(name, itemType, path, dispatcher) {
804
+ return this.#setCustomCollectionDispatcher(name, "orderedCollection", itemType, path, dispatcher);
805
805
  }
806
806
  #setCustomCollectionDispatcher(name, collectionType, itemType, path, dispatcher) {
807
807
  const strName = String(name);
@@ -1558,7 +1558,7 @@ async function handleInboxInternal(request, parameters, span) {
1558
1558
  /**
1559
1559
  * Handles a custom collection request.
1560
1560
  * @template TItem The type of items in the collection.
1561
- * @template TParams The parameter names of the requested URL.
1561
+ * @template TParam The parameter names of the requested URL.
1562
1562
  * @template TContext The type of the context, extending {@link RequestContext}.
1563
1563
  * @template TContextData The context data to pass to the `TContext`.
1564
1564
  * @param request The HTTP request.
@@ -1577,7 +1577,7 @@ async function _handleCustomCollection(request, { name, values, context: context
1577
1577
  /**
1578
1578
  * Handles an ordered collection request.
1579
1579
  * @template TItem The type of items in the collection.
1580
- * @template TParams The parameter names of the requested URL.
1580
+ * @template TParam The parameter names of the requested URL.
1581
1581
  * @template TContext The type of the context, extending {@link RequestContext}.
1582
1582
  * @template TContextData The context data to pass to the `TContext`.
1583
1583
  * @param request The HTTP request.
@@ -1598,7 +1598,7 @@ async function _handleOrderedCollection(request, { name, values, context: contex
1598
1598
  * The main flow is on `getCollection`, `dispatch`.
1599
1599
  *
1600
1600
  * @template TItem The type of items in the collection.
1601
- * @template TParams The parameter names of the requested URL.
1601
+ * @template TParam The parameter names of the requested URL.
1602
1602
  * @template TContext The type of the context. {@link Context} or {@link RequestContext}.
1603
1603
  * @template TContextData The context data to pass to the `TContext`.
1604
1604
  * @template TCollection The type of the collection, extending {@link Collection}.
@@ -1632,14 +1632,14 @@ var CustomCollectionHandler = class {
1632
1632
  #collection = null;
1633
1633
  /**
1634
1634
  * Creates a new CustomCollection instance.
1635
- * @param {string} name The name of the collection.
1636
- * @param {TParams} values The parameter values for the collection.
1637
- * @param {TContext} context The request context.
1638
- * @param {CustomCollectionCallbacks} callbacks The collection callbacks.
1639
- * @param {TracerProvider} tracerProvider The tracer provider for telemetry.
1640
- * @param {ConstructorWithTypeId<TCollection>} Collection The Collection constructor.
1641
- * @param {ConstructorWithTypeId<TCollectionPage>} CollectionPage The CollectionPage constructor.
1642
- * @param {(item: TItem) => boolean} filterPredicate Optional filter predicate for items.
1635
+ * @param name The name of the collection.
1636
+ * @param values The parameter values for the collection.
1637
+ * @param context The request context.
1638
+ * @param callbacks The collection callbacks.
1639
+ * @param tracerProvider The tracer provider for telemetry.
1640
+ * @param Collection The Collection constructor.
1641
+ * @param CollectionPage The CollectionPage constructor.
1642
+ * @param filterPredicate Optional filter predicate for items.
1643
1643
  */
1644
1644
  constructor(name, values, context$1, callbacks, tracerProvider = trace.getTracerProvider(), Collection$1, CollectionPage$1, filterPredicate) {
1645
1645
  this.name = name;
@@ -1764,7 +1764,7 @@ var CustomCollectionHandler = class {
1764
1764
  /**
1765
1765
  * Creates a function to wrap the dispatcher so tracing can be applied.
1766
1766
  * @param params Parameters including cursor and total items.
1767
- * @returns {(span: Span) => Promise<PageItems<TItem>>} A function that handles the span operation.
1767
+ * @returns A function that handles the span operation.
1768
1768
  */
1769
1769
  spanPages = ({ totalItems = null, cursor = null }) => async (span) => {
1770
1770
  try {
@@ -1785,23 +1785,23 @@ var CustomCollectionHandler = class {
1785
1785
  };
1786
1786
  /**
1787
1787
  * Dispatches the collection request to get items.
1788
- * @param {string | null} cursor The cursor for pagination, or null for the first page.
1789
- * @returns {Promise<PageItems<TItem>>} A promise that resolves to the page items.
1788
+ * @param cursor The cursor for pagination, or null for the first page.
1789
+ * @returns A promise that resolves to the page items.
1790
1790
  */
1791
1791
  async dispatch(cursor = null) {
1792
1792
  return await this.#dispatcher(this.context, this.values, cursor) ?? new ItemsNotFoundError().throw();
1793
1793
  }
1794
1794
  /**
1795
1795
  * Filters the items in the collection.
1796
- * @param {TItem[]} items The items to filter.
1797
- * @returns {(Object | Link | URL)[]} The filtered items.
1796
+ * @param items The items to filter.
1797
+ * @returns The filtered items.
1798
1798
  */
1799
1799
  filterItems(items) {
1800
1800
  return filterCollectionItems(items, this.name, this.filterPredicate);
1801
1801
  }
1802
1802
  /**
1803
1803
  * Appends a cursor to the URL if it exists.
1804
- * @param {string | null | undefined} cursor The cursor to append, or null/undefined.
1804
+ * @param cursor The cursor to append, or null/undefined.
1805
1805
  * @returns The URL with cursor appended, or null if cursor is null/undefined.
1806
1806
  */
1807
1807
  appendToUrl(cursor) {
@@ -1809,8 +1809,7 @@ var CustomCollectionHandler = class {
1809
1809
  }
1810
1810
  /**
1811
1811
  * Gets the stored collection or collection page.
1812
- * @returns {Promise<TCollection | TCollectionPage>} A promise that resolves to
1813
- the collection or collection page.
1812
+ * @returns A promise that resolves to the collection or collection page.
1814
1813
  */
1815
1814
  get collection() {
1816
1815
  if (this.#collection === null) this.#collection = this.getCollection();
@@ -1818,8 +1817,8 @@ var CustomCollectionHandler = class {
1818
1817
  }
1819
1818
  /**
1820
1819
  * Gets the total number of items in the collection.
1821
- * @returns {Promise<number | null>} A promise that
1822
- resolves to the total items count, or null if not available.
1820
+ * @returns A promise that resolves to the total items count,
1821
+ * or null if not available.
1823
1822
  */
1824
1823
  get totalItems() {
1825
1824
  if (this.#totalItems === void 0) this.totalItems = this.callbacks.counter?.(this.context, this.values);
@@ -1835,8 +1834,8 @@ var CustomCollectionHandler = class {
1835
1834
  }
1836
1835
  /**
1837
1836
  * Gets the first cursor for pagination.
1838
- * @returns {Promise<string | null>} A promise that resolves to the first cursor,
1839
- or null if not available.
1837
+ * @returns A promise that resolves to the first cursor,
1838
+ * or null if not available.
1840
1839
  */
1841
1840
  get firstCursor() {
1842
1841
  const cursor = this.callbacks.firstCursor?.(this.context, this.values);
@@ -0,0 +1,26 @@
1
+
2
+ import { Temporal } from "@js-temporal/polyfill";
3
+ import { URLPattern } from "urlpattern-polyfill";
4
+ globalThis.addEventListener = () => {};
5
+
6
+ import "./type-C5udJemk.js";
7
+ import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-Bcv0xCjs.js";
8
+ import "./semver-dArNLkR9.js";
9
+ import "./client-BWusKCWF.js";
10
+ import "./lookup-RINL4MOa.js";
11
+ import "./types-BIgY6c-l.js";
12
+ import "./actor-CQzdjHs3.js";
13
+ import "./key-C5cRHj8g.js";
14
+ import "./http-BiKoa3o_.js";
15
+ import "./authdocloader-CzmsYrAn.js";
16
+ import "./ld-BWADNtQr.js";
17
+ import "./owner-QEQV9vx-.js";
18
+ import "./proof-g2_9VhUQ.js";
19
+ import "./inbox-CzGsgKH-.js";
20
+ import "./builder-D2Oyy8AY.js";
21
+ import "./collection-CSzG2j1P.js";
22
+ import "./keycache-rO8ea311.js";
23
+ import "./retry-D4GJ670a.js";
24
+ import "./send-cTLNXtTp.js";
25
+
26
+ export { FederationImpl };
@@ -4,15 +4,15 @@
4
4
 
5
5
  const require_chunk = require('./chunk-DqRYRqnO.cjs');
6
6
  const require_transformers = require('./transformers-CoBS-oFG.cjs');
7
- const require_docloader = require('./docloader-Bui9z8Lb.cjs');
8
- const require_actor = require('./actor-CK94m0Yv.cjs');
9
- const require_lookup = require('./lookup-D_w567L8.cjs');
10
- const require_key = require('./key-DqqCoLbc.cjs');
11
- const require_http = require('./http-BAaVL480.cjs');
12
- const require_proof = require('./proof-BLoRsaYR.cjs');
13
- const require_types = require('./types-F8JMlP-f.cjs');
14
- const require_authdocloader = require('./authdocloader-4iBGWlQw.cjs');
15
- const require_vocab = require('./vocab-C-qxDq1m.cjs');
7
+ const require_docloader = require('./docloader-NcFUThCx.cjs');
8
+ const require_actor = require('./actor-DU96UQUE.cjs');
9
+ const require_lookup = require('./lookup-CILOZed9.cjs');
10
+ const require_key = require('./key-Ci8OyUTB.cjs');
11
+ const require_http = require('./http-LVXxICJn.cjs');
12
+ const require_proof = require('./proof-v3B5cJ3c.cjs');
13
+ const require_types = require('./types-C9w81XqW.cjs');
14
+ const require_authdocloader = require('./authdocloader-BkOerKL-.cjs');
15
+ const require_vocab = require('./vocab-BoyCE2Rn.cjs');
16
16
  const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
17
17
  const __opentelemetry_api = require_chunk.__toESM(require("@opentelemetry/api"));
18
18
  const byte_encodings_hex = require_chunk.__toESM(require("byte-encodings/hex"));
@@ -345,7 +345,7 @@ var FederationBuilderImpl = class {
345
345
  this.collectionTypeIds = {};
346
346
  }
347
347
  async build(options) {
348
- const { FederationImpl: FederationImpl$1 } = await Promise.resolve().then(() => require("./middleware-hTlyJu9R.cjs"));
348
+ const { FederationImpl: FederationImpl$1 } = await Promise.resolve().then(() => require("./middleware-Be9qUuwL.cjs"));
349
349
  const f = new FederationImpl$1(options);
350
350
  const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
351
351
  f.router = this.router.clone();
@@ -798,11 +798,11 @@ var FederationBuilderImpl = class {
798
798
  };
799
799
  return setters;
800
800
  }
801
- setCollectionDispatcher(name, ...args) {
802
- return this.#setCustomCollectionDispatcher(name, "collection", ...args);
801
+ setCollectionDispatcher(name, itemType, path, dispatcher) {
802
+ return this.#setCustomCollectionDispatcher(name, "collection", itemType, path, dispatcher);
803
803
  }
804
- setOrderedCollectionDispatcher(name, ...args) {
805
- return this.#setCustomCollectionDispatcher(name, "orderedCollection", ...args);
804
+ setOrderedCollectionDispatcher(name, itemType, path, dispatcher) {
805
+ return this.#setCustomCollectionDispatcher(name, "orderedCollection", itemType, path, dispatcher);
806
806
  }
807
807
  #setCustomCollectionDispatcher(name, collectionType, itemType, path, dispatcher) {
808
808
  const strName = String(name);
@@ -1559,7 +1559,7 @@ async function handleInboxInternal(request, parameters, span) {
1559
1559
  /**
1560
1560
  * Handles a custom collection request.
1561
1561
  * @template TItem The type of items in the collection.
1562
- * @template TParams The parameter names of the requested URL.
1562
+ * @template TParam The parameter names of the requested URL.
1563
1563
  * @template TContext The type of the context, extending {@link RequestContext}.
1564
1564
  * @template TContextData The context data to pass to the `TContext`.
1565
1565
  * @param request The HTTP request.
@@ -1578,7 +1578,7 @@ async function _handleCustomCollection(request, { name, values, context: context
1578
1578
  /**
1579
1579
  * Handles an ordered collection request.
1580
1580
  * @template TItem The type of items in the collection.
1581
- * @template TParams The parameter names of the requested URL.
1581
+ * @template TParam The parameter names of the requested URL.
1582
1582
  * @template TContext The type of the context, extending {@link RequestContext}.
1583
1583
  * @template TContextData The context data to pass to the `TContext`.
1584
1584
  * @param request The HTTP request.
@@ -1599,7 +1599,7 @@ async function _handleOrderedCollection(request, { name, values, context: contex
1599
1599
  * The main flow is on `getCollection`, `dispatch`.
1600
1600
  *
1601
1601
  * @template TItem The type of items in the collection.
1602
- * @template TParams The parameter names of the requested URL.
1602
+ * @template TParam The parameter names of the requested URL.
1603
1603
  * @template TContext The type of the context. {@link Context} or {@link RequestContext}.
1604
1604
  * @template TContextData The context data to pass to the `TContext`.
1605
1605
  * @template TCollection The type of the collection, extending {@link Collection}.
@@ -1633,14 +1633,14 @@ var CustomCollectionHandler = class {
1633
1633
  #collection = null;
1634
1634
  /**
1635
1635
  * Creates a new CustomCollection instance.
1636
- * @param {string} name The name of the collection.
1637
- * @param {TParams} values The parameter values for the collection.
1638
- * @param {TContext} context The request context.
1639
- * @param {CustomCollectionCallbacks} callbacks The collection callbacks.
1640
- * @param {TracerProvider} tracerProvider The tracer provider for telemetry.
1641
- * @param {ConstructorWithTypeId<TCollection>} Collection The Collection constructor.
1642
- * @param {ConstructorWithTypeId<TCollectionPage>} CollectionPage The CollectionPage constructor.
1643
- * @param {(item: TItem) => boolean} filterPredicate Optional filter predicate for items.
1636
+ * @param name The name of the collection.
1637
+ * @param values The parameter values for the collection.
1638
+ * @param context The request context.
1639
+ * @param callbacks The collection callbacks.
1640
+ * @param tracerProvider The tracer provider for telemetry.
1641
+ * @param Collection The Collection constructor.
1642
+ * @param CollectionPage The CollectionPage constructor.
1643
+ * @param filterPredicate Optional filter predicate for items.
1644
1644
  */
1645
1645
  constructor(name, values, context$2, callbacks, tracerProvider = __opentelemetry_api.trace.getTracerProvider(), Collection$1, CollectionPage$1, filterPredicate) {
1646
1646
  this.name = name;
@@ -1765,7 +1765,7 @@ var CustomCollectionHandler = class {
1765
1765
  /**
1766
1766
  * Creates a function to wrap the dispatcher so tracing can be applied.
1767
1767
  * @param params Parameters including cursor and total items.
1768
- * @returns {(span: Span) => Promise<PageItems<TItem>>} A function that handles the span operation.
1768
+ * @returns A function that handles the span operation.
1769
1769
  */
1770
1770
  spanPages = ({ totalItems = null, cursor = null }) => async (span) => {
1771
1771
  try {
@@ -1786,23 +1786,23 @@ var CustomCollectionHandler = class {
1786
1786
  };
1787
1787
  /**
1788
1788
  * Dispatches the collection request to get items.
1789
- * @param {string | null} cursor The cursor for pagination, or null for the first page.
1790
- * @returns {Promise<PageItems<TItem>>} A promise that resolves to the page items.
1789
+ * @param cursor The cursor for pagination, or null for the first page.
1790
+ * @returns A promise that resolves to the page items.
1791
1791
  */
1792
1792
  async dispatch(cursor = null) {
1793
1793
  return await this.#dispatcher(this.context, this.values, cursor) ?? new ItemsNotFoundError().throw();
1794
1794
  }
1795
1795
  /**
1796
1796
  * Filters the items in the collection.
1797
- * @param {TItem[]} items The items to filter.
1798
- * @returns {(Object | Link | URL)[]} The filtered items.
1797
+ * @param items The items to filter.
1798
+ * @returns The filtered items.
1799
1799
  */
1800
1800
  filterItems(items) {
1801
1801
  return filterCollectionItems(items, this.name, this.filterPredicate);
1802
1802
  }
1803
1803
  /**
1804
1804
  * Appends a cursor to the URL if it exists.
1805
- * @param {string | null | undefined} cursor The cursor to append, or null/undefined.
1805
+ * @param cursor The cursor to append, or null/undefined.
1806
1806
  * @returns The URL with cursor appended, or null if cursor is null/undefined.
1807
1807
  */
1808
1808
  appendToUrl(cursor) {
@@ -1810,8 +1810,7 @@ var CustomCollectionHandler = class {
1810
1810
  }
1811
1811
  /**
1812
1812
  * Gets the stored collection or collection page.
1813
- * @returns {Promise<TCollection | TCollectionPage>} A promise that resolves to
1814
- the collection or collection page.
1813
+ * @returns A promise that resolves to the collection or collection page.
1815
1814
  */
1816
1815
  get collection() {
1817
1816
  if (this.#collection === null) this.#collection = this.getCollection();
@@ -1819,8 +1818,8 @@ var CustomCollectionHandler = class {
1819
1818
  }
1820
1819
  /**
1821
1820
  * Gets the total number of items in the collection.
1822
- * @returns {Promise<number | null>} A promise that
1823
- resolves to the total items count, or null if not available.
1821
+ * @returns A promise that resolves to the total items count,
1822
+ * or null if not available.
1824
1823
  */
1825
1824
  get totalItems() {
1826
1825
  if (this.#totalItems === void 0) this.totalItems = this.callbacks.counter?.(this.context, this.values);
@@ -1836,8 +1835,8 @@ var CustomCollectionHandler = class {
1836
1835
  }
1837
1836
  /**
1838
1837
  * Gets the first cursor for pagination.
1839
- * @returns {Promise<string | null>} A promise that resolves to the first cursor,
1840
- or null if not available.
1838
+ * @returns A promise that resolves to the first cursor,
1839
+ * or null if not available.
1841
1840
  */
1842
1841
  get firstCursor() {
1843
1842
  const cursor = this.callbacks.firstCursor?.(this.context, this.values);
@@ -0,0 +1,17 @@
1
+
2
+ import { Temporal } from "@js-temporal/polyfill";
3
+ import { URLPattern } from "urlpattern-polyfill";
4
+
5
+ import "./transformers-BFT6d7J5.js";
6
+ import "./docloader-isD0ntZv.js";
7
+ import "./actor-B0LpLKRw.js";
8
+ import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-BfhSHVoJ.js";
9
+ import "./lookup-BBTRFcU5.js";
10
+ import "./key-CRhmBE03.js";
11
+ import "./http-MyYS6o7t.js";
12
+ import "./proof-B_9fbF3f.js";
13
+ import "./types-DHq9gRM4.js";
14
+ import "./authdocloader-DI67R2Ku.js";
15
+ import "./vocab-DxoBe7PI.js";
16
+
17
+ export { FederationImpl };
@@ -1,5 +1,5 @@
1
1
  import { Activity } from "./vocab-Cfs0937i.cjs";
2
- import { ActivityTransformer, Context } from "./context-DCh96LcF.cjs";
2
+ import { ActivityTransformer, Context } from "./context-Qnv814-p.cjs";
3
3
 
4
4
  //#region src/compat/transformers.d.ts
5
5
 
@@ -1,7 +1,7 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
3
  import { Activity } from "./vocab-CDHNj5zp.js";
4
- import { ActivityTransformer, Context } from "./context-CZorAkt8.js";
4
+ import { ActivityTransformer, Context } from "./context-C51zGhGC.js";
5
5
 
6
6
  //#region src/compat/transformers.d.ts
7
7
 
package/dist/mod.cjs CHANGED
@@ -4,17 +4,17 @@
4
4
 
5
5
  const require_transformers = require('./transformers-CoBS-oFG.cjs');
6
6
  require('./compat-DmDDELst.cjs');
7
- const require_docloader = require('./docloader-Bui9z8Lb.cjs');
8
- const require_actor = require('./actor-CK94m0Yv.cjs');
9
- const require_middleware = require('./middleware-CWlrInU2.cjs');
10
- const require_lookup = require('./lookup-D_w567L8.cjs');
11
- const require_key = require('./key-DqqCoLbc.cjs');
12
- const require_http = require('./http-BAaVL480.cjs');
13
- const require_proof = require('./proof-BLoRsaYR.cjs');
7
+ const require_docloader = require('./docloader-NcFUThCx.cjs');
8
+ const require_actor = require('./actor-DU96UQUE.cjs');
9
+ const require_middleware = require('./middleware-DDyUhxsm.cjs');
10
+ const require_lookup = require('./lookup-CILOZed9.cjs');
11
+ const require_key = require('./key-Ci8OyUTB.cjs');
12
+ const require_http = require('./http-LVXxICJn.cjs');
13
+ const require_proof = require('./proof-v3B5cJ3c.cjs');
14
14
  const require_federation = require('./federation-H2_En3j5.cjs');
15
- const require_types = require('./types-F8JMlP-f.cjs');
16
- const require_authdocloader = require('./authdocloader-4iBGWlQw.cjs');
17
- const require_vocab = require('./vocab-C-qxDq1m.cjs');
15
+ const require_types = require('./types-C9w81XqW.cjs');
16
+ const require_authdocloader = require('./authdocloader-BkOerKL-.cjs');
17
+ const require_vocab = require('./vocab-BoyCE2Rn.cjs');
18
18
  require('./nodeinfo-Co9lJrWl.cjs');
19
19
  require('./runtime-C58AJWSv.cjs');
20
20
  require('./sig-ByHXzqUi.cjs');
package/dist/mod.d.cts CHANGED
@@ -7,11 +7,11 @@ import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessage
7
7
  import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "./owner-6KSEp9eV.cjs";
8
8
  import { FediverseHandle, LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./mod-BUbqxBev.cjs";
9
9
  import { ResourceDescriptor, lookupWebFinger } from "./mod-jQ4OODsl.cjs";
10
- import { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, IdempotencyKeyCallback, IdempotencyStrategy, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParamsKeyPath, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./context-DCh96LcF.cjs";
10
+ import { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, IdempotencyKeyCallback, IdempotencyStrategy, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./context-Qnv814-p.cjs";
11
11
  import { InProcessMessageQueue, InProcessMessageQueueOptions, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, ParallelMessageQueue } from "./mq-B7R1Q-M5.cjs";
12
- import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./mod-BojaEE1l.cjs";
12
+ import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./mod-COTXAYRl.cjs";
13
13
  import "./mod-C2tOeRkN.cjs";
14
14
  import "./mod-FZd39qVq.cjs";
15
15
  import { GetAuthenticatedDocumentLoaderOptions, exportMultibaseKey, exportSpki, getAuthenticatedDocumentLoader, importMultibaseKey, importPem, importPkcs1, importSpki } from "./mod-Dt-G9ZOS.cjs";
16
16
  import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./mod-fjqfsrty.cjs";
17
- export { Accept, Activity, ActivityTransformer, Actor, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, ActorTypeName, Add, Announce, Application, Arrive, Article, Audio, AuthenticatedDocumentLoaderFactory, AuthorizePredicate, Block, ChatMessage, Collection, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, CollectionPage, ConstructorWithTypeId, Context, Create, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CreateProofOptions, CreateSignatureOptions, CryptographicKey, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, DataIntegrityProof, Delete, DidService, Dislike, Document, DocumentLoader, DocumentLoaderFactory, DocumentLoaderFactoryOptions, DoesActorOwnKeyOptions, Emoji, EmojiReact, Endpoints, Event, Export, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FediverseHandle, FetchError, FetchKeyOptions, FetchKeyResult, Flag, Follow, ForwardActivityOptions, GetActorHandleOptions, GetAuthenticatedDocumentLoaderOptions, GetDocumentLoaderOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetSignedKeyOptions, GetUserAgentOptions, Group, Hashtag, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, IdempotencyKeyCallback, IdempotencyStrategy, Ignore, Image, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, IntransitiveActivity, Invite, Join, JsonValue, KeyCache, KvCacheParameters, KvKey, KvStore, KvStoreSetOptions, LanguageString, Leave, Like, Link, Listen, LookupObjectOptions, MemoryKvStore, Mention, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, Move, Multikey, NodeInfo, NodeInfoDispatcher, NormalizeActorHandleOptions, Note, Object$1 as Object, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, Offer, OrderedCollection, OrderedCollectionPage, Organization, OutboundService, OutboxErrorHandler, PUBLIC_COLLECTION, Page, PageItems, ParallelMessageQueue, ParamsKeyPath, ParseNodeInfoOptions, ParseUriResult, Person, Place, Profile, PropertyValue, Protocol, Question, Read, Recipient, Reject, Relationship, RemoteDocument, Remove, RequestContext, ResourceDescriptor, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SemVer, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Service, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifyRequestOptions, VerifySignatureOptions, Video, View, WebFingerLinksDispatcher, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, exportMultibaseKey, exportSpki, fetchDocumentLoader, fetchKey, formatSemVer, generateCryptoKeyPair, getActorClassByTypeName, getActorHandle, getActorTypeName, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getDocumentLoader, getKeyOwner, getNodeInfo, getTypeId, getUserAgent, importJwk, importMultibaseKey, importPem, importPkcs1, importSpki, isActor, isFediverseHandle, kvCache, lookupObject, lookupWebFinger, nodeInfoToJson, normalizeActorHandle, parseFediverseHandle, parseNodeInfo, parseSemVer, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, toAcctUrl, traverseCollection, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
17
+ export { Accept, Activity, ActivityTransformer, Actor, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, ActorTypeName, Add, Announce, Application, Arrive, Article, Audio, AuthenticatedDocumentLoaderFactory, AuthorizePredicate, Block, ChatMessage, Collection, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, CollectionPage, ConstructorWithTypeId, Context, Create, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CreateProofOptions, CreateSignatureOptions, CryptographicKey, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, DataIntegrityProof, Delete, DidService, Dislike, Document, DocumentLoader, DocumentLoaderFactory, DocumentLoaderFactoryOptions, DoesActorOwnKeyOptions, Emoji, EmojiReact, Endpoints, Event, Export, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FediverseHandle, FetchError, FetchKeyOptions, FetchKeyResult, Flag, Follow, ForwardActivityOptions, GetActorHandleOptions, GetAuthenticatedDocumentLoaderOptions, GetDocumentLoaderOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetSignedKeyOptions, GetUserAgentOptions, Group, Hashtag, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, IdempotencyKeyCallback, IdempotencyStrategy, Ignore, Image, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, IntransitiveActivity, Invite, Join, JsonValue, KeyCache, KvCacheParameters, KvKey, KvStore, KvStoreSetOptions, LanguageString, Leave, Like, Link, Listen, LookupObjectOptions, MemoryKvStore, Mention, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, Move, Multikey, NodeInfo, NodeInfoDispatcher, NormalizeActorHandleOptions, Note, Object$1 as Object, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, Offer, OrderedCollection, OrderedCollectionPage, Organization, OutboundService, OutboxErrorHandler, PUBLIC_COLLECTION, Page, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriResult, Person, Place, Profile, PropertyValue, Protocol, Question, Read, Recipient, Reject, Relationship, RemoteDocument, Remove, RequestContext, ResourceDescriptor, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SemVer, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Service, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifyRequestOptions, VerifySignatureOptions, Video, View, WebFingerLinksDispatcher, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, exportMultibaseKey, exportSpki, fetchDocumentLoader, fetchKey, formatSemVer, generateCryptoKeyPair, getActorClassByTypeName, getActorHandle, getActorTypeName, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getDocumentLoader, getKeyOwner, getNodeInfo, getTypeId, getUserAgent, importJwk, importMultibaseKey, importPem, importPkcs1, importSpki, isActor, isFediverseHandle, kvCache, lookupObject, lookupWebFinger, nodeInfoToJson, normalizeActorHandle, parseFediverseHandle, parseNodeInfo, parseSemVer, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, toAcctUrl, traverseCollection, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
package/dist/mod.d.ts CHANGED
@@ -9,11 +9,11 @@ import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessage
9
9
  import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "./owner-BbeUDvOu.js";
10
10
  import { FediverseHandle, LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./mod-CDObsV1d.js";
11
11
  import { ResourceDescriptor, lookupWebFinger } from "./mod-DBzN0aCM.js";
12
- import { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, IdempotencyKeyCallback, IdempotencyStrategy, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParamsKeyPath, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./context-CZorAkt8.js";
12
+ import { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, IdempotencyKeyCallback, IdempotencyStrategy, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./context-C51zGhGC.js";
13
13
  import { InProcessMessageQueue, InProcessMessageQueueOptions, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, ParallelMessageQueue } from "./mq-CRGm1e_F.js";
14
- import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./mod-tWXEItkO.js";
14
+ import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./mod-o-hx_hU8.js";
15
15
  import "./mod-g0xFzAP9.js";
16
16
  import "./mod-1pDWKvUL.js";
17
17
  import { GetAuthenticatedDocumentLoaderOptions, exportMultibaseKey, exportSpki, getAuthenticatedDocumentLoader, importMultibaseKey, importPem, importPkcs1, importSpki } from "./mod-CIbqfZW0.js";
18
18
  import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./mod-DgcYoyZK.js";
19
- export { Accept, Activity, ActivityTransformer, Actor, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, ActorTypeName, Add, Announce, Application, Arrive, Article, Audio, AuthenticatedDocumentLoaderFactory, AuthorizePredicate, Block, ChatMessage, Collection, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, CollectionPage, ConstructorWithTypeId, Context, Create, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CreateProofOptions, CreateSignatureOptions, CryptographicKey, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, DataIntegrityProof, Delete, DidService, Dislike, Document, DocumentLoader, DocumentLoaderFactory, DocumentLoaderFactoryOptions, DoesActorOwnKeyOptions, Emoji, EmojiReact, Endpoints, Event, Export, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FediverseHandle, FetchError, FetchKeyOptions, FetchKeyResult, Flag, Follow, ForwardActivityOptions, GetActorHandleOptions, GetAuthenticatedDocumentLoaderOptions, GetDocumentLoaderOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetSignedKeyOptions, GetUserAgentOptions, Group, Hashtag, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, IdempotencyKeyCallback, IdempotencyStrategy, Ignore, Image, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, IntransitiveActivity, Invite, Join, JsonValue, KeyCache, KvCacheParameters, KvKey, KvStore, KvStoreSetOptions, LanguageString, Leave, Like, Link, Listen, LookupObjectOptions, MemoryKvStore, Mention, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, Move, Multikey, NodeInfo, NodeInfoDispatcher, NormalizeActorHandleOptions, Note, Object$1 as Object, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, Offer, OrderedCollection, OrderedCollectionPage, Organization, OutboundService, OutboxErrorHandler, PUBLIC_COLLECTION, Page, PageItems, ParallelMessageQueue, ParamsKeyPath, ParseNodeInfoOptions, ParseUriResult, Person, Place, Profile, PropertyValue, Protocol, Question, Read, Recipient, Reject, Relationship, RemoteDocument, Remove, RequestContext, ResourceDescriptor, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SemVer, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Service, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifyRequestOptions, VerifySignatureOptions, Video, View, WebFingerLinksDispatcher, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, exportMultibaseKey, exportSpki, fetchDocumentLoader, fetchKey, formatSemVer, generateCryptoKeyPair, getActorClassByTypeName, getActorHandle, getActorTypeName, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getDocumentLoader, getKeyOwner, getNodeInfo, getTypeId, getUserAgent, importJwk, importMultibaseKey, importPem, importPkcs1, importSpki, isActor, isFediverseHandle, kvCache, lookupObject, lookupWebFinger, nodeInfoToJson, normalizeActorHandle, parseFediverseHandle, parseNodeInfo, parseSemVer, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, toAcctUrl, traverseCollection, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
19
+ export { Accept, Activity, ActivityTransformer, Actor, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, ActorTypeName, Add, Announce, Application, Arrive, Article, Audio, AuthenticatedDocumentLoaderFactory, AuthorizePredicate, Block, ChatMessage, Collection, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, CollectionPage, ConstructorWithTypeId, Context, Create, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CreateProofOptions, CreateSignatureOptions, CryptographicKey, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, DataIntegrityProof, Delete, DidService, Dislike, Document, DocumentLoader, DocumentLoaderFactory, DocumentLoaderFactoryOptions, DoesActorOwnKeyOptions, Emoji, EmojiReact, Endpoints, Event, Export, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FediverseHandle, FetchError, FetchKeyOptions, FetchKeyResult, Flag, Follow, ForwardActivityOptions, GetActorHandleOptions, GetAuthenticatedDocumentLoaderOptions, GetDocumentLoaderOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetSignedKeyOptions, GetUserAgentOptions, Group, Hashtag, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, IdempotencyKeyCallback, IdempotencyStrategy, Ignore, Image, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, IntransitiveActivity, Invite, Join, JsonValue, KeyCache, KvCacheParameters, KvKey, KvStore, KvStoreSetOptions, LanguageString, Leave, Like, Link, Listen, LookupObjectOptions, MemoryKvStore, Mention, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, Move, Multikey, NodeInfo, NodeInfoDispatcher, NormalizeActorHandleOptions, Note, Object$1 as Object, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, Offer, OrderedCollection, OrderedCollectionPage, Organization, OutboundService, OutboxErrorHandler, PUBLIC_COLLECTION, Page, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriResult, Person, Place, Profile, PropertyValue, Protocol, Question, Read, Recipient, Reject, Relationship, RemoteDocument, Remove, RequestContext, ResourceDescriptor, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SemVer, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Service, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifyRequestOptions, VerifySignatureOptions, Video, View, WebFingerLinksDispatcher, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, exportMultibaseKey, exportSpki, fetchDocumentLoader, fetchKey, formatSemVer, generateCryptoKeyPair, getActorClassByTypeName, getActorHandle, getActorTypeName, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getDocumentLoader, getKeyOwner, getNodeInfo, getTypeId, getUserAgent, importJwk, importMultibaseKey, importPem, importPkcs1, importSpki, isActor, isFediverseHandle, kvCache, lookupObject, lookupWebFinger, nodeInfoToJson, normalizeActorHandle, parseFediverseHandle, parseNodeInfo, parseSemVer, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, toAcctUrl, traverseCollection, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
package/dist/mod.js CHANGED
@@ -4,17 +4,17 @@
4
4
 
5
5
  import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./transformers-BFT6d7J5.js";
6
6
  import "./compat-nxUqe4Z-.js";
7
- import { FetchError, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "./docloader-DyvW1gbN.js";
8
- import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, LanguageString, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, exportMultibaseKey, exportSpki, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, importMultibaseKey, importPem, importPkcs1, importSpki, isActor, normalizeActorHandle } from "./actor-Dpkqj5Dv.js";
9
- import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./middleware-Cj9WC_iX.js";
10
- import { lookupWebFinger } from "./lookup-WoJkw8wY.js";
11
- import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "./key-CbnQpdZy.js";
12
- import { signRequest, verifyRequest } from "./http-xsj5Fzwl.js";
13
- import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./proof-CpmDDzvf.js";
7
+ import { FetchError, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "./docloader-isD0ntZv.js";
8
+ import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, LanguageString, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, exportMultibaseKey, exportSpki, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, importMultibaseKey, importPem, importPkcs1, importSpki, isActor, normalizeActorHandle } from "./actor-B0LpLKRw.js";
9
+ import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./middleware-BfhSHVoJ.js";
10
+ import { lookupWebFinger } from "./lookup-BBTRFcU5.js";
11
+ import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "./key-CRhmBE03.js";
12
+ import { signRequest, verifyRequest } from "./http-MyYS6o7t.js";
13
+ import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./proof-B_9fbF3f.js";
14
14
  import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "./federation-D1U8YY9t.js";
15
- import { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "./types-BsM0mf3R.js";
16
- import { getAuthenticatedDocumentLoader } from "./authdocloader-BVvTFQbi.js";
17
- import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./vocab-DdTdRfBW.js";
15
+ import { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "./types-DHq9gRM4.js";
16
+ import { getAuthenticatedDocumentLoader } from "./authdocloader-DI67R2Ku.js";
17
+ import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./vocab-DxoBe7PI.js";
18
18
  import "./nodeinfo-DfycQ8Wf.js";
19
19
  import "./runtime-DPYEDf-o.js";
20
20
  import "./sig-Cj3tk-ig.js";
@@ -3,20 +3,20 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import "../type-BCazg_Pu.js";
6
+ import "../type-C5udJemk.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
10
  import "../semver-dArNLkR9.js";
11
- import { getNodeInfo, parseInboundService, parseNodeInfo, parseOutboundService, parseProtocol, parseServices, parseSoftware, parseUsage } from "../client-BoUqciR8.js";
12
- import "../lookup-y6-PEpxS.js";
13
- import { test } from "../testing-DvTABhvG.js";
11
+ import { getNodeInfo, parseInboundService, parseNodeInfo, parseOutboundService, parseProtocol, parseServices, parseSoftware, parseUsage } from "../client-BWusKCWF.js";
12
+ import "../lookup-RINL4MOa.js";
13
+ import { test } from "../testing-CNtyBr2m.js";
14
14
  import "../std__assert-X-_kMxKM.js";
15
15
  import "../assert_rejects-DiIiJbZn.js";
16
16
  import "../assert_is_error-BPGph1Jx.js";
17
17
  import "../assert_not_equals-f3m3epl3.js";
18
18
  import "../assert_throws-BOO88avQ.js";
19
- import { esm_default } from "../esm-DMb2eQXG.js";
19
+ import { esm_default } from "../esm-BBVcrjH8.js";
20
20
 
21
21
  //#region src/nodeinfo/client.test.ts
22
22
  test("getNodeInfo()", async (t) => {
@@ -3,30 +3,30 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import "../type-BCazg_Pu.js";
6
+ import "../type-C5udJemk.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
10
  import { MemoryKvStore } from "../kv-CRZrzyXm.js";
11
- import { createFederation, handleNodeInfo, handleNodeInfoJrd } from "../middleware-CjgR6ayA.js";
11
+ import { createFederation, handleNodeInfo, handleNodeInfoJrd } from "../middleware-Bcv0xCjs.js";
12
12
  import { parseSemVer } from "../semver-dArNLkR9.js";
13
- import "../client-BoUqciR8.js";
14
- import "../lookup-y6-PEpxS.js";
13
+ import "../client-BWusKCWF.js";
14
+ import "../lookup-RINL4MOa.js";
15
15
  import "../types-BIgY6c-l.js";
16
- import "../actor-DzdLVqkJ.js";
17
- import "../key-C25gGlmV.js";
18
- import "../http-C7nvEG1N.js";
19
- import "../authdocloader-DdSBpn11.js";
20
- import "../ld-WZpO-MzE.js";
21
- import "../owner-CPBOVM7l.js";
22
- import "../proof-h0JvKPRP.js";
23
- import "../inbox-DZNE3Jtq.js";
24
- import "../builder-BR--hcb8.js";
16
+ import "../actor-CQzdjHs3.js";
17
+ import "../key-C5cRHj8g.js";
18
+ import "../http-BiKoa3o_.js";
19
+ import "../authdocloader-CzmsYrAn.js";
20
+ import "../ld-BWADNtQr.js";
21
+ import "../owner-QEQV9vx-.js";
22
+ import "../proof-g2_9VhUQ.js";
23
+ import "../inbox-CzGsgKH-.js";
24
+ import "../builder-D2Oyy8AY.js";
25
25
  import "../collection-CSzG2j1P.js";
26
- import "../keycache-CoMI1L_W.js";
26
+ import "../keycache-rO8ea311.js";
27
27
  import "../retry-D4GJ670a.js";
28
- import "../send-CD-m2vwX.js";
29
- import { createRequestContext, test } from "../testing-DvTABhvG.js";
28
+ import "../send-cTLNXtTp.js";
29
+ import { createRequestContext, test } from "../testing-CNtyBr2m.js";
30
30
  import "../std__assert-X-_kMxKM.js";
31
31
  import "../assert_rejects-DiIiJbZn.js";
32
32
  import "../assert_is_error-BPGph1Jx.js";
@@ -2,8 +2,8 @@
2
2
  const { Temporal } = require("@js-temporal/polyfill");
3
3
  const { URLPattern } = require("urlpattern-polyfill");
4
4
 
5
- require('../docloader-Bui9z8Lb.cjs');
6
- const require_types = require('../types-F8JMlP-f.cjs');
5
+ require('../docloader-NcFUThCx.cjs');
6
+ const require_types = require('../types-C9w81XqW.cjs');
7
7
  require('../nodeinfo-Co9lJrWl.cjs');
8
8
 
9
9
  exports.formatSemVer = require_types.formatSemVer;