@fedify/fedify 2.0.0-dev.237 → 2.0.0-dev.279

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 (71) hide show
  1. package/dist/{builder-D9GtbwtV.js → builder-B7WWCOdc.js} +3 -3
  2. package/dist/compat/mod.d.cts +2 -2
  3. package/dist/compat/mod.d.ts +2 -2
  4. package/dist/compat/transformers.test.js +12 -12
  5. package/dist/{context-C7vzWilY.d.ts → context-BNNWbaZL.d.ts} +51 -8
  6. package/dist/{context-Bns6uTJq.js → context-CZ5llAss.js} +12 -12
  7. package/dist/{context-CrB9RFy5.d.cts → context-D7JEVvXJ.d.cts} +51 -8
  8. package/dist/{deno-RfS7RWmL.js → deno-fe0u4LiE.js} +8 -2
  9. package/dist/{docloader-DvECEZ5H.js → docloader-C9Dmxf-K.js} +2 -2
  10. package/dist/federation/builder.test.js +3 -3
  11. package/dist/federation/handler.test.js +13 -13
  12. package/dist/federation/idempotency.test.js +12 -12
  13. package/dist/federation/inbox.test.js +2 -2
  14. package/dist/federation/middleware.test.js +64 -12
  15. package/dist/federation/mod.cjs +5 -5
  16. package/dist/federation/mod.d.cts +2 -2
  17. package/dist/federation/mod.d.ts +2 -2
  18. package/dist/federation/mod.js +5 -5
  19. package/dist/federation/mq.test.js +162 -10
  20. package/dist/federation/send.test.js +5 -5
  21. package/dist/federation/webfinger.test.js +13 -13
  22. package/dist/{federation-B431K2gm.cjs → federation-CE0CJ_0G.cjs} +94 -10
  23. package/dist/{federation-BbZwNNWj.js → federation-D6FVaeAR.js} +94 -10
  24. package/dist/{http-Cc7n4Qoh.js → http-7r8B3dF_.js} +8 -2
  25. package/dist/{http-8TlrsZoL.cjs → http-DMi5iyiI.cjs} +8 -2
  26. package/dist/{http-CE72P83O.js → http-oCBlFLKT.js} +2 -2
  27. package/dist/{inbox-CgoFwrkP.js → inbox-Dm1rfkdg.js} +1 -1
  28. package/dist/{key-COCrawtF.js → key-BGzsKfpZ.js} +1 -1
  29. package/dist/{kv-cache-BEeqyGER.js → kv-cache-B__dHl7g.js} +1 -1
  30. package/dist/{kv-cache-BV0LKQyf.cjs → kv-cache-C0AvpI7U.cjs} +2 -2
  31. package/dist/{kv-cache-DRGsvqdV.js → kv-cache-CETRZwoP.js} +2 -2
  32. package/dist/{ld-BaGGiySp.js → ld-BaO1-A5Y.js} +2 -2
  33. package/dist/{middleware-C1a3efyY.js → middleware-BDJNulB_.js} +4 -4
  34. package/dist/{middleware-BNd2OPEY.js → middleware-BlOT9luD.js} +66 -23
  35. package/dist/{middleware-DJQ_PWmN.cjs → middleware-C0Vj7vNo.cjs} +59 -16
  36. package/dist/{middleware-CmBe73ju.js → middleware-CnGBoMop.js} +12 -12
  37. package/dist/middleware-DT3JkH-g.cjs +12 -0
  38. package/dist/{middleware-B_oUqHDl.js → middleware-R0w-WauH.js} +59 -16
  39. package/dist/{mod-0qnPv4EC.d.cts → mod-054TSUXs.d.cts} +1 -1
  40. package/dist/{mod-0p9zUdzg.d.cts → mod-BHXq4Q3x.d.cts} +1 -1
  41. package/dist/{mod-C3SOvTD1.d.ts → mod-BhDb3RBS.d.ts} +1 -1
  42. package/dist/{mod-D6pS5_xJ.d.cts → mod-C74sRHP8.d.cts} +1 -1
  43. package/dist/{mod-xc20HhMD.d.ts → mod-DZmuPaKv.d.ts} +1 -1
  44. package/dist/{mod-waqu-BL_.d.ts → mod-YpmzboJc.d.ts} +1 -1
  45. package/dist/mod.cjs +5 -5
  46. package/dist/mod.d.cts +4 -4
  47. package/dist/mod.d.ts +4 -4
  48. package/dist/mod.js +5 -5
  49. package/dist/nodeinfo/handler.test.js +13 -13
  50. package/dist/{owner-UVBc7UEt.js → owner-BqIhDQWW.js} +1 -1
  51. package/dist/{proof-CPysx9bF.js → proof-Cg6AAAWI.js} +1 -1
  52. package/dist/{proof-DSF9PSv9.js → proof-DoHt7qrS.js} +2 -2
  53. package/dist/{proof-Cu_UY89a.cjs → proof-vSvvLbTh.cjs} +1 -1
  54. package/dist/{send-DoACJ0D8.js → send-CO2ZYT96.js} +2 -2
  55. package/dist/sig/http.test.js +3 -3
  56. package/dist/sig/key.test.js +2 -2
  57. package/dist/sig/ld.test.js +3 -3
  58. package/dist/sig/mod.cjs +2 -2
  59. package/dist/sig/mod.js +2 -2
  60. package/dist/sig/owner.test.js +3 -3
  61. package/dist/sig/proof.test.js +3 -3
  62. package/dist/testing/mod.d.ts +23 -7
  63. package/dist/testing/mod.js +1 -1
  64. package/dist/utils/docloader.test.js +4 -4
  65. package/dist/utils/kv-cache.test.js +1 -1
  66. package/dist/utils/mod.cjs +2 -2
  67. package/dist/utils/mod.d.cts +1 -1
  68. package/dist/utils/mod.d.ts +1 -1
  69. package/dist/utils/mod.js +2 -2
  70. package/package.json +12 -9
  71. package/dist/middleware-XqO4Y-9s.cjs +0 -12
@@ -3,8 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./deno-RfS7RWmL.js";
7
- import { fetchKey, validateCryptoKey } from "./key-COCrawtF.js";
6
+ import { deno_default } from "./deno-fe0u4LiE.js";
7
+ import { fetchKey, validateCryptoKey } from "./key-BGzsKfpZ.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
  import { Activity, DataIntegrityProof, Multikey, getTypeId } from "@fedify/vocab";
10
10
  import { SpanStatusCode, trace } from "@opentelemetry/api";
@@ -3,7 +3,7 @@
3
3
  const { URLPattern } = require("urlpattern-polyfill");
4
4
 
5
5
  const require_chunk = require('./chunk-DqRYRqnO.cjs');
6
- const require_http = require('./http-8TlrsZoL.cjs');
6
+ const require_http = require('./http-DMi5iyiI.cjs');
7
7
  const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
8
8
  const __fedify_vocab = require_chunk.__toESM(require("@fedify/vocab"));
9
9
  const __opentelemetry_api = require_chunk.__toESM(require("@opentelemetry/api"));
@@ -3,8 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./deno-RfS7RWmL.js";
7
- import { doubleKnock } from "./http-CE72P83O.js";
6
+ import { deno_default } from "./deno-fe0u4LiE.js";
7
+ import { doubleKnock } from "./http-oCBlFLKT.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
10
10
 
@@ -7,9 +7,9 @@ import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
- import "../deno-RfS7RWmL.js";
11
- import { exportJwk } from "../key-COCrawtF.js";
12
- import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-CE72P83O.js";
10
+ import "../deno-fe0u4LiE.js";
11
+ import { exportJwk } from "../key-BGzsKfpZ.js";
12
+ import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-oCBlFLKT.js";
13
13
  import { assertExists, assertStringIncludes } from "../std__assert-DWivtrGR.js";
14
14
  import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
15
15
  import { assertThrows } from "../assert_throws-BNXdRGWP.js";
@@ -7,8 +7,8 @@ import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.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
- import "../deno-RfS7RWmL.js";
11
- import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-COCrawtF.js";
10
+ import "../deno-fe0u4LiE.js";
11
+ import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-BGzsKfpZ.js";
12
12
  import "../std__assert-DWivtrGR.js";
13
13
  import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
14
14
  import { assertThrows } from "../assert_throws-BNXdRGWP.js";
@@ -6,9 +6,9 @@
6
6
  import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
- import "../deno-RfS7RWmL.js";
10
- import { generateCryptoKeyPair } from "../key-COCrawtF.js";
11
- import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-BaGGiySp.js";
9
+ import "../deno-fe0u4LiE.js";
10
+ import { generateCryptoKeyPair } from "../key-BGzsKfpZ.js";
11
+ import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-BaO1-A5Y.js";
12
12
  import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
13
13
  import { assertThrows } from "../assert_throws-BNXdRGWP.js";
14
14
  import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-ZbcByPg9.js";
package/dist/sig/mod.cjs CHANGED
@@ -2,8 +2,8 @@
2
2
  const { Temporal } = require("@js-temporal/polyfill");
3
3
  const { URLPattern } = require("urlpattern-polyfill");
4
4
 
5
- const require_http = require('../http-8TlrsZoL.cjs');
6
- const require_proof = require('../proof-Cu_UY89a.cjs');
5
+ const require_http = require('../http-DMi5iyiI.cjs');
6
+ const require_proof = require('../proof-vSvvLbTh.cjs');
7
7
  require('../sig-DeXX2xnj.cjs');
8
8
 
9
9
  exports.attachSignature = require_proof.attachSignature;
package/dist/sig/mod.js CHANGED
@@ -2,8 +2,8 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-Cc7n4Qoh.js";
6
- import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-CPysx9bF.js";
5
+ import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-7r8B3dF_.js";
6
+ import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-Cg6AAAWI.js";
7
7
  import "../sig-CwuONEzF.js";
8
8
 
9
9
  export { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getKeyOwner, importJwk, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
@@ -7,9 +7,9 @@ import { createTestTracerProvider, mockDocumentLoader, test } from "../dist-B5f6
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
- import "../deno-RfS7RWmL.js";
11
- import "../key-COCrawtF.js";
12
- import { doesActorOwnKey, getKeyOwner } from "../owner-UVBc7UEt.js";
10
+ import "../deno-fe0u4LiE.js";
11
+ import "../key-BGzsKfpZ.js";
12
+ import { doesActorOwnKey, getKeyOwner } from "../owner-BqIhDQWW.js";
13
13
  import "../std__assert-DWivtrGR.js";
14
14
  import { assertFalse } from "../assert_rejects-Ce45JcFg.js";
15
15
  import "../assert_throws-BNXdRGWP.js";
@@ -7,9 +7,9 @@ import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
10
- import "../deno-RfS7RWmL.js";
11
- import "../key-COCrawtF.js";
12
- import { createProof, signObject, verifyObject, verifyProof } from "../proof-DSF9PSv9.js";
10
+ import "../deno-fe0u4LiE.js";
11
+ import "../key-BGzsKfpZ.js";
12
+ import { createProof, signObject, verifyObject, verifyProof } from "../proof-DoHt7qrS.js";
13
13
  import "../std__assert-DWivtrGR.js";
14
14
  import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
15
15
  import "../assert_throws-BNXdRGWP.js";
@@ -524,6 +524,7 @@ interface FanoutMessage {
524
524
  readonly activityId?: string;
525
525
  readonly activityType: string;
526
526
  readonly collectionSync?: string;
527
+ readonly orderingKey?: string;
527
528
  readonly traceContext: Readonly<Record<string, string>>;
528
529
  }
529
530
  interface OutboxMessage {
@@ -539,6 +540,7 @@ interface OutboxMessage {
539
540
  readonly started: string;
540
541
  readonly attempt: number;
541
542
  readonly headers: Readonly<Record<string, string>>;
543
+ readonly orderingKey?: string;
542
544
  readonly traceContext: Readonly<Record<string, string>>;
543
545
  }
544
546
  interface InboxMessage {
@@ -823,7 +825,7 @@ interface Federatable<TContextData> {
823
825
  * ([RFC 6570](https://tools.ietf.org/html/rfc6570)).
824
826
  * The path must have no variables.
825
827
  * @returns An object to register inbox listeners.
826
- * @throws {RouteError} Thrown if the path pattern is invalid.
828
+ * @throws {RouterError} Thrown if the path pattern is invalid.
827
829
  */
828
830
  setInboxListeners(inboxPath: `${string}${Rfc6570Expression<"identifier">}${string}` | `${string}${Rfc6570Expression<"handle">}${string}`, sharedInboxPath?: string): InboxListenerSetters<TContextData>;
829
831
  /**
@@ -1369,7 +1371,7 @@ interface Context<TContextData> {
1369
1371
  * @param cls The class of the object.
1370
1372
  * @param values The values to pass to the object dispatcher.
1371
1373
  * @returns The object's URI.
1372
- * @throws {RouteError} If no object dispatcher is available for the class.
1374
+ * @throws {RouterError} If no object dispatcher is available for the class.
1373
1375
  * @throws {TypeError} If values are invalid.
1374
1376
  * @since 0.7.0
1375
1377
  */
@@ -1601,7 +1603,7 @@ interface Context<TContextData> {
1601
1603
  handle: string;
1602
1604
  }, recipients: Recipient | Recipient[], activity: Activity, options?: SendActivityOptions): Promise<void>;
1603
1605
  /**
1604
- * Sends an activity to the outboxes of the sender's followers.
1606
+ * Sends an activity to the inboxes of the sender's followers.
1605
1607
  * @param sender The sender's identifier or the sender's username.
1606
1608
  * @param recipients In this case, it must be `"followers"`.
1607
1609
  * @param activity The activity to send.
@@ -1642,7 +1644,7 @@ interface Context<TContextData> {
1642
1644
  * @param name The name of the collection, which can be a string or a symbol.
1643
1645
  * @param values The values of the URI parameters.
1644
1646
  * @return The URI of the collection.
1645
- * @throws {RouteError} If no object dispatcher is available for the name.
1647
+ * @throws {RouterError} If no object dispatcher is available for the name.
1646
1648
  * @throws {TypeError} If values are invalid.
1647
1649
  * @since 1.8.0
1648
1650
  */
@@ -1921,7 +1923,7 @@ interface SendActivityOptions {
1921
1923
  /**
1922
1924
  * Whether to prefer the shared inbox for the recipients.
1923
1925
  */
1924
- preferSharedInbox?: boolean;
1926
+ readonly preferSharedInbox?: boolean;
1925
1927
  /**
1926
1928
  * Whether to send the activity immediately, without enqueuing it.
1927
1929
  * If `true`, the activity will be sent immediately and the retrial
@@ -1929,7 +1931,7 @@ interface SendActivityOptions {
1929
1931
  *
1930
1932
  * @since 0.3.0
1931
1933
  */
1932
- immediate?: boolean;
1934
+ readonly immediate?: boolean;
1933
1935
  /**
1934
1936
  * Determines how activities are queued when sent to multiple recipients.
1935
1937
  *
@@ -1946,7 +1948,7 @@ interface SendActivityOptions {
1946
1948
  * @default `"auto"`
1947
1949
  * @since 1.5.0
1948
1950
  */
1949
- fanout?: "auto" | "skip" | "force";
1951
+ readonly fanout?: "auto" | "skip" | "force";
1950
1952
  /**
1951
1953
  * The base URIs to exclude from the recipients' inboxes. It is useful
1952
1954
  * for excluding the recipients having the same shared inbox with the sender.
@@ -1956,6 +1958,20 @@ interface SendActivityOptions {
1956
1958
  * @since 0.9.0
1957
1959
  */
1958
1960
  readonly excludeBaseUris?: readonly URL[];
1961
+ /**
1962
+ * An optional key to ensure ordered delivery of activities. Activities with
1963
+ * the same `orderingKey` are guaranteed to be delivered in the order they
1964
+ * were enqueued, per recipient server.
1965
+ *
1966
+ * Typical use case: pass the object ID (e.g., `Note` ID) to ensure that
1967
+ * `Create`, `Update`, and `Delete` activities for the same object are
1968
+ * delivered in order.
1969
+ *
1970
+ * When omitted, no ordering is guaranteed (maximum parallelism).
1971
+ *
1972
+ * @since 2.0.0
1973
+ */
1974
+ readonly orderingKey?: string;
1959
1975
  }
1960
1976
  /**
1961
1977
  * Options for {@link Context.sendActivity} method when sending to a collection.
@@ -5,6 +5,6 @@
5
5
 
6
6
  import { testDefinitions } from "../dist-B5f6a8Tt.js";
7
7
  import "../router-D9eI0s4b.js";
8
- import { createInboxContext, createRequestContext } from "../context-Bns6uTJq.js";
8
+ import { createInboxContext, createRequestContext } from "../context-CZ5llAss.js";
9
9
 
10
10
  export { createInboxContext, createRequestContext, testDefinitions };
@@ -7,10 +7,10 @@ import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.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
- import "../deno-RfS7RWmL.js";
11
- import "../key-COCrawtF.js";
12
- import { verifyRequest } from "../http-CE72P83O.js";
13
- import { getAuthenticatedDocumentLoader } from "../docloader-DvECEZ5H.js";
10
+ import "../deno-fe0u4LiE.js";
11
+ import "../key-BGzsKfpZ.js";
12
+ import { verifyRequest } from "../http-oCBlFLKT.js";
13
+ import { getAuthenticatedDocumentLoader } from "../docloader-C9Dmxf-K.js";
14
14
  import "../std__assert-DWivtrGR.js";
15
15
  import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
16
16
  import "../assert_throws-BNXdRGWP.js";
@@ -4,7 +4,7 @@
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
6
  import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.js";
7
- import { MockKvStore, kvCache } from "../kv-cache-BEeqyGER.js";
7
+ import { MockKvStore, kvCache } from "../kv-cache-B__dHl7g.js";
8
8
  import { preloadedContexts } from "@fedify/vocab-runtime";
9
9
  import { deepStrictEqual, throws } from "node:assert";
10
10
 
@@ -2,8 +2,8 @@
2
2
  const { Temporal } = require("@js-temporal/polyfill");
3
3
  const { URLPattern } = require("urlpattern-polyfill");
4
4
 
5
- require('../http-8TlrsZoL.cjs');
6
- const require_kv_cache = require('../kv-cache-BV0LKQyf.cjs');
5
+ require('../http-DMi5iyiI.cjs');
6
+ const require_kv_cache = require('../kv-cache-C0AvpI7U.cjs');
7
7
  require('../utils-Db0ZmjcD.cjs');
8
8
 
9
9
  exports.getAuthenticatedDocumentLoader = require_kv_cache.getAuthenticatedDocumentLoader;
@@ -1,4 +1,4 @@
1
1
  import "../http-ClB3pLcL.cjs";
2
2
  import "../kv-B4vFhIYL.cjs";
3
- import { getAuthenticatedDocumentLoader, kvCache } from "../mod-0p9zUdzg.cjs";
3
+ import { getAuthenticatedDocumentLoader, kvCache } from "../mod-BHXq4Q3x.cjs";
4
4
  export { getAuthenticatedDocumentLoader, kvCache };
@@ -2,5 +2,5 @@ import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
3
  import "../http-DLBDPal9.js";
4
4
  import "../kv-CYySNrsn.js";
5
- import { getAuthenticatedDocumentLoader, kvCache } from "../mod-xc20HhMD.js";
5
+ import { getAuthenticatedDocumentLoader, kvCache } from "../mod-DZmuPaKv.js";
6
6
  export { getAuthenticatedDocumentLoader, kvCache };
package/dist/utils/mod.js CHANGED
@@ -2,8 +2,8 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import "../http-Cc7n4Qoh.js";
6
- import { getAuthenticatedDocumentLoader, kvCache } from "../kv-cache-DRGsvqdV.js";
5
+ import "../http-7r8B3dF_.js";
6
+ import { getAuthenticatedDocumentLoader, kvCache } from "../kv-cache-CETRZwoP.js";
7
7
  import "../utils-Wranxuoe.js";
8
8
 
9
9
  export { getAuthenticatedDocumentLoader, kvCache };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "2.0.0-dev.237+7f2bb1de",
3
+ "version": "2.0.0-dev.279+ce1bdc22",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -125,9 +125,9 @@
125
125
  "uri-template-router": "^1.0.0",
126
126
  "url-template": "^3.1.1",
127
127
  "urlpattern-polyfill": "^10.1.0",
128
- "@fedify/webfinger": "2.0.0-dev.237+7f2bb1de",
129
- "@fedify/vocab-runtime": "2.0.0-dev.237+7f2bb1de",
130
- "@fedify/vocab": "2.0.0-dev.237+7f2bb1de"
128
+ "@fedify/vocab-runtime": "2.0.0-dev.279+ce1bdc22",
129
+ "@fedify/vocab": "2.0.0-dev.279+ce1bdc22",
130
+ "@fedify/webfinger": "2.0.0-dev.279+ce1bdc22"
131
131
  },
132
132
  "devDependencies": {
133
133
  "@std/assert": "npm:@jsr/std__assert@^0.226.0",
@@ -140,13 +140,16 @@
140
140
  "typescript": "^5.9.3",
141
141
  "wrangler": "^4.17.0",
142
142
  "@fedify/fixture": "2.0.0",
143
- "@fedify/vocab-tools": "^2.0.0-dev.237+7f2bb1de"
143
+ "@fedify/vocab-tools": "^2.0.0-dev.279+ce1bdc22"
144
144
  },
145
145
  "scripts": {
146
- "build": "tsdown",
147
- "prepublish": "tsdown",
148
- "test": "tsdown && cd dist/ && node --test",
149
- "test:bun": "tsdown && cd dist/ && bun test --timeout 60000",
146
+ "build:self": "tsdown",
147
+ "build": "pnpm --filter @fedify/fedify... run build:self",
148
+ "prepublish": "pnpm build",
149
+ "pretest": "pnpm build",
150
+ "test": "cd dist/ && node --test",
151
+ "pretest:bun": "pnpm build",
152
+ "test:bun": "cd dist/ && bun test --timeout 60000",
150
153
  "test:cfworkers": "deno task codegen && wrangler deploy --dry-run --outdir src/cfworkers && node --import=tsx src/cfworkers/client.ts"
151
154
  }
152
155
  }
@@ -1,12 +0,0 @@
1
-
2
- const { Temporal } = require("@js-temporal/polyfill");
3
- const { URLPattern } = require("urlpattern-polyfill");
4
-
5
- require('./transformers-BjBg6Lag.cjs');
6
- require('./http-8TlrsZoL.cjs');
7
- const require_middleware = require('./middleware-DJQ_PWmN.cjs');
8
- require('./proof-Cu_UY89a.cjs');
9
- require('./types-B6z6CqIz.cjs');
10
- require('./kv-cache-BV0LKQyf.cjs');
11
-
12
- exports.FederationImpl = require_middleware.FederationImpl;