@fedify/fedify 1.8.0-pr.278.951 → 1.8.0-pr.282.963

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 (77) hide show
  1. package/dist/{actor-BwamOVOs.js → actor-BH02gzS1.js} +3 -3
  2. package/dist/{actor-DuYja3s_.js → actor-xJX8eU65.js} +179 -179
  3. package/dist/{authdocloader-DAhh8Fj0.js → authdocloader-6eI9Jvjr.js} +3 -3
  4. package/dist/{authdocloader-COnJz2Gi.js → authdocloader-wYK__kbb.js} +3 -3
  5. package/dist/{builder-BqFNBlWO.js → builder-BLZheYmO.js} +3 -3
  6. package/dist/{client-DGzWjDhk.js → client-C3QJu9R1.js} +1 -1
  7. package/dist/compat/mod.d.ts +4 -4
  8. package/dist/compat/transformers.test.js +17 -17
  9. package/dist/{context-CutbDY_L.d.ts → context-CrSyJrIa.d.ts} +2 -2
  10. package/dist/{context-B6lp2Mp_.js → context-CwFp10US.js} +2 -2
  11. package/dist/{docloader-DZLBnsTj.js → docloader-B2aZfMYV.js} +2 -1
  12. package/dist/{docloader-DkAapQc_.js → docloader-BWdKdA_0.js} +2 -1
  13. package/dist/federation/builder.test.js +4 -4
  14. package/dist/federation/handler.test.js +19 -19
  15. package/dist/federation/inbox.test.js +3 -3
  16. package/dist/federation/keycache.test.js +3 -3
  17. package/dist/federation/middleware.test.js +18 -18
  18. package/dist/federation/mod.d.ts +3 -3
  19. package/dist/federation/mod.js +10 -10
  20. package/dist/federation/send.test.js +9 -9
  21. package/dist/{http-BDTHMKLY.js → http-Bjut8mo4.js} +3 -3
  22. package/dist/{http-_NLh4AQw.js → http-R4E9BnTd.js} +3 -3
  23. package/dist/{inbox-C1fucqgb.js → inbox-CdezVIVo.js} +2 -2
  24. package/dist/{key-DXdAlXWe.js → key-Bdp_Zd26.js} +4 -4
  25. package/dist/{key-BYYZAmsY.js → key-COt19bd9.js} +2 -2
  26. package/dist/{key-BLo_aRf-.js → key-DQWvbRZC.js} +5 -5
  27. package/dist/{key-C4cogquc.js → key-UPuSsywk.js} +3 -3
  28. package/dist/{keycache-SBjbS-RE.js → keycache-Cdhwdz8O.js} +1 -1
  29. package/dist/{keys-ur1F_g7P.js → keys-CXkrDSKt.js} +1 -1
  30. package/dist/{ld-DqPMDWzB.js → ld-BAK3C0Sy.js} +3 -3
  31. package/dist/{lookup-LMJC-TLp.js → lookup-BwPBu6aR.js} +4 -3
  32. package/dist/{lookup-tn6iksxL.js → lookup-CZy1GbWP.js} +4 -3
  33. package/dist/{lookup-Ceatq76e.js → lookup-DtZ-CBoe.js} +23 -17
  34. package/dist/{lookup-DHNtuVcT.d.ts → lookup-J_m4YZg0.d.ts} +6 -0
  35. package/dist/middleware-Bpsbya1e.js +17 -0
  36. package/dist/middleware-D51mkgEb.js +33 -0
  37. package/dist/{middleware-D9lp51Qo.js → middleware-DZmswCko.js} +10 -10
  38. package/dist/{middleware-BZp6TsV9.js → middleware-_mba7_wr.js} +15 -15
  39. package/dist/{mod-yjbK0F05.d.ts → mod-BFwgZ7_K.d.ts} +26 -17
  40. package/dist/{mod-DUH25XRb.d.ts → mod-DpE8T10I.d.ts} +1 -1
  41. package/dist/mod.d.ts +5 -5
  42. package/dist/mod.js +11 -11
  43. package/dist/nodeinfo/client.test.js +2 -2
  44. package/dist/nodeinfo/handler.test.js +18 -18
  45. package/dist/nodeinfo/mod.js +2 -2
  46. package/dist/{owner-H215iqvU.js → owner-B0JDV4g0.js} +3 -3
  47. package/dist/{proof-BKCny61f.js → proof-C6OzCGKq.js} +3 -3
  48. package/dist/{proof-f69jWqQJ.js → proof-C7qMEuCF.js} +3 -3
  49. package/dist/runtime/authdocloader.test.js +8 -8
  50. package/dist/runtime/docloader.test.js +1 -1
  51. package/dist/runtime/key.test.js +5 -5
  52. package/dist/runtime/mod.js +6 -6
  53. package/dist/{send-DvVUb-A7.js → send-D9LG0fpO.js} +2 -2
  54. package/dist/sig/http.test.js +7 -7
  55. package/dist/sig/key.test.js +6 -6
  56. package/dist/sig/ld.test.js +7 -7
  57. package/dist/sig/mod.js +6 -6
  58. package/dist/sig/owner.test.js +8 -8
  59. package/dist/sig/proof.test.js +7 -7
  60. package/dist/{types-CO3XVJo_.js → types-C7zRjUCC.js} +1 -1
  61. package/dist/vocab/actor.test.js +4 -4
  62. package/dist/vocab/lookup.test.js +4 -4
  63. package/dist/vocab/mod.d.ts +2 -2
  64. package/dist/vocab/mod.js +5 -5
  65. package/dist/vocab/type.test.js +2 -2
  66. package/dist/vocab/vocab.test.js +3 -3
  67. package/dist/{vocab-x1J4xmfs.js → vocab-6jfnAaoz.js} +178 -178
  68. package/dist/{vocab-BhuePG48.js → vocab-BbG5E6JQ.js} +33 -24
  69. package/dist/webfinger/handler.test.js +18 -18
  70. package/dist/webfinger/lookup.test.js +20 -2
  71. package/dist/webfinger/mod.d.ts +1 -1
  72. package/dist/webfinger/mod.js +2 -2
  73. package/dist/x/hono.d.ts +3 -3
  74. package/dist/x/sveltekit.d.ts +3 -3
  75. package/package.json +23 -12
  76. package/dist/middleware-3IJXQ5eC.js +0 -33
  77. package/dist/middleware-ft1ILMHe.js +0 -17
@@ -2,34 +2,38 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { deno_default, getDocumentLoader } from "./docloader-DZLBnsTj.js";
6
- import { Object as Object$1, getTypeId } from "./actor-DuYja3s_.js";
7
- import { lookupWebFinger } from "./lookup-LMJC-TLp.js";
5
+ import { deno_default, getDocumentLoader } from "./docloader-B2aZfMYV.js";
6
+ import { Object as Object$1, getTypeId } from "./actor-xJX8eU65.js";
7
+ import { lookupWebFinger } from "./lookup-BwPBu6aR.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
  import { SpanStatusCode, trace } from "@opentelemetry/api";
10
10
  import { delay } from "es-toolkit";
11
11
 
12
12
  //#region vocab/handle.ts
13
13
  /**
14
- * Regular expression to match a fediverse handle in the format `@user@server` or `user@server`.
15
- * The `user` part can contain alphanumeric characters and some special characters except `@`.
16
- * The `server` part is all characters after the `@` symbol in the middle.
14
+ * Regular expression to match a fediverse handle in the format `@user@server`
15
+ * or `user@server`. The `user` part can contain alphanumeric characters and
16
+ * some special characters except `@`. The `server` part is all characters
17
+ * after the `@` symbol in the middle.
17
18
  */
18
19
  const handleRegexp = /^@?((?:[-A-Za-z0-9._~!$&'()*+,;=]|%[A-Fa-f0-9]{2})+)@([^@]+)$/;
19
20
  /**
20
21
  * Parses a fediverse handle in the format `@user@server` or `user@server`.
21
- * The `user` part can contain alphanumeric characters and some special characters except `@`.
22
- * The `server` part is all characters after the `@` symbol in the middle.
22
+ * The `user` part can contain alphanumeric characters and some special
23
+ * characters except `@`. The `server` part is all characters after the `@`
24
+ * symbol in the middle.
23
25
  *
24
- * @param handle - The fediverse handle string to parse.
25
- * @returns A {@link FediverseHandle} object with `username` and `host` if the input is valid; otherwise `null`.
26
- * @since 1.8.0
27
26
  * @example
28
27
  * ```typescript
29
28
  * const handle = parseFediverseHandle("@username@example.com");
30
29
  * console.log(handle?.username); // "username"
31
30
  * console.log(handle?.host); // "example.com"
32
31
  * ```
32
+ *
33
+ * @param handle - The fediverse handle string to parse.
34
+ * @returns A {@link FediverseHandle} object with `username` and `host`
35
+ * if the input is valid; otherwise `null`.
36
+ * @since 1.8.0
33
37
  */
34
38
  function parseFediverseHandle(handle) {
35
39
  const match = handleRegexp.exec(handle);
@@ -40,19 +44,22 @@ function parseFediverseHandle(handle) {
40
44
  return null;
41
45
  }
42
46
  /**
43
- * Checks if a string is a valid fediverse handle in the format `@user@server` or `user@server`.
44
- * The `user` part can contain alphanumeric characters and some special characters except `@`.
45
- * The `server` part is all characters after the `@` symbol in the middle.
47
+ * Checks if a string is a valid fediverse handle in the format `@user@server`
48
+ * or `user@server`. The `user` part can contain alphanumeric characters and
49
+ * some special characters except `@`. The `server` part is all characters
50
+ * after the `@` symbol in the middle.
46
51
  *
47
- * @param handle - The string to test as a fediverse handle.
48
- * @returns `true` if the string matches the fediverse handle pattern; otherwise `false`.
49
- * @since 1.8.0
50
52
  * @example
51
53
  * ```typescript
52
54
  * console.log(isFediverseHandle("@username@example.com")); // true
53
55
  * console.log(isFediverseHandle("username@example.com")); // true
54
56
  * console.log(isFediverseHandle("@username@")); // false
55
57
  * ```
58
+ *
59
+ * @param handle - The string to test as a fediverse handle.
60
+ * @returns `true` if the string matches the fediverse handle pattern;
61
+ * otherwise `false`.
62
+ * @since 1.8.0
56
63
  */
57
64
  function isFediverseHandle(handle) {
58
65
  return handleRegexp.test(handle);
@@ -61,16 +68,18 @@ function isFediverseHandle(handle) {
61
68
  * Converts a fediverse handle in the format `@user@server` or `user@server`
62
69
  * to an `acct:` URI, which is a URL-like identifier for ActivityPub actors.
63
70
  *
64
- * @param handle - The fediverse handle string to convert.
65
- * @returns A `URL` object representing the `acct:` URI if conversion succeeds; otherwise `null`.
66
- * @since 1.8.0
67
71
  * @example
68
72
  * ```typescript
69
- * const identifier = convertFediverseHandle("@username@example.com");
73
+ * const identifier = toAcctUrl("@username@example.com");
70
74
  * console.log(identifier?.href); // "acct:username@example.com"
71
75
  * ```
76
+ *
77
+ * @param handle - The fediverse handle string to convert.
78
+ * @returns A `URL` object representing the `acct:` URI if conversion succeeds;
79
+ * otherwise `null`.
80
+ * @since 1.8.0
72
81
  */
73
- function convertFediverseHandle(handle) {
82
+ function toAcctUrl(handle) {
74
83
  const parsed = parseFediverseHandle(handle);
75
84
  if (!parsed) return null;
76
85
  const identifier = new URL(`acct:${parsed.username}@${parsed.host}`);
@@ -142,7 +151,7 @@ async function lookupObject(identifier, options = {}) {
142
151
  }
143
152
  async function lookupObjectInternal(identifier, options = {}) {
144
153
  const documentLoader = options.documentLoader ?? getDocumentLoader({ userAgent: options.userAgent });
145
- if (typeof identifier === "string") identifier = convertFediverseHandle(identifier) ?? new URL(identifier);
154
+ if (typeof identifier === "string") identifier = toAcctUrl(identifier) ?? new URL(identifier);
146
155
  let document = null;
147
156
  if (identifier.protocol === "http:" || identifier.protocol === "https:") try {
148
157
  const remoteDoc = await documentLoader(identifier.href);
@@ -233,4 +242,4 @@ async function* traverseCollection(collection, options = {}) {
233
242
  const PUBLIC_COLLECTION = new URL("https://www.w3.org/ns/activitystreams#Public");
234
243
 
235
244
  //#endregion
236
- export { PUBLIC_COLLECTION, convertFediverseHandle, isFediverseHandle, lookupObject, parseFediverseHandle, traverseCollection };
245
+ export { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection };
@@ -7,32 +7,32 @@ import { assertEquals } from "../assert_equals-C5gKCm6A.js";
7
7
  import "../assert-DwEa6glZ.js";
8
8
  import "../assert_instance_of-C9QtN-X9.js";
9
9
  import { MemoryKvStore } from "../kv-D7Yt6pnB.js";
10
- import { createFederation, handleWebFinger } from "../middleware-BZp6TsV9.js";
11
- import "../docloader-DkAapQc_.js";
10
+ import { createFederation, handleWebFinger } from "../middleware-_mba7_wr.js";
11
+ import "../docloader-BWdKdA_0.js";
12
12
  import "../url-kTAI6_KP.js";
13
13
  import "../semver-DWClQt_5.js";
14
- import "../client-DGzWjDhk.js";
14
+ import "../client-C3QJu9R1.js";
15
15
  import "../router-D3UybECj.js";
16
16
  import "../types-C7C_l-jz.js";
17
17
  import "../multibase-DeCHcK8L.js";
18
- import { Image, Link, Person } from "../vocab-x1J4xmfs.js";
18
+ import { Image, Link, Person } from "../vocab-6jfnAaoz.js";
19
19
  import "../langstr-DbWheeIS.js";
20
- import "../lookup-tn6iksxL.js";
20
+ import "../lookup-CZy1GbWP.js";
21
21
  import "../type-D2s5lmbZ.js";
22
- import "../actor-BwamOVOs.js";
23
- import "../key-C4cogquc.js";
24
- import "../http-_NLh4AQw.js";
25
- import "../authdocloader-DAhh8Fj0.js";
26
- import "../ld-DqPMDWzB.js";
27
- import "../owner-H215iqvU.js";
28
- import "../proof-BKCny61f.js";
29
- import "../lookup-Ceatq76e.js";
30
- import "../inbox-C1fucqgb.js";
31
- import "../builder-BqFNBlWO.js";
22
+ import "../actor-BH02gzS1.js";
23
+ import "../key-UPuSsywk.js";
24
+ import "../http-R4E9BnTd.js";
25
+ import "../authdocloader-6eI9Jvjr.js";
26
+ import "../ld-BAK3C0Sy.js";
27
+ import "../owner-B0JDV4g0.js";
28
+ import "../proof-C6OzCGKq.js";
29
+ import "../lookup-DtZ-CBoe.js";
30
+ import "../inbox-CdezVIVo.js";
31
+ import "../builder-BLZheYmO.js";
32
32
  import "../collection-Dfb0TPno.js";
33
- import "../keycache-SBjbS-RE.js";
33
+ import "../keycache-Cdhwdz8O.js";
34
34
  import "../retry-BiIhZWgD.js";
35
- import "../send-DvVUb-A7.js";
35
+ import "../send-D9LG0fpO.js";
36
36
  import { test } from "../testing-BZ0dJ4qn.js";
37
37
  import "../std__assert-B3iAixc-.js";
38
38
  import "../assert_rejects-DceVjUlD.js";
@@ -40,7 +40,7 @@ import "../assert_is_error-DQdKoRgb.js";
40
40
  import "../assert_not_equals-7pyUM3Ib.js";
41
41
  import "../assert_throws-DTDC_gwN.js";
42
42
  import "../docloader-09nVWLAZ.js";
43
- import { createRequestContext } from "../context-B6lp2Mp_.js";
43
+ import { createRequestContext } from "../context-CwFp10US.js";
44
44
 
45
45
  //#region webfinger/handler.test.ts
46
46
  test("handleWebFinger()", async (t) => {
@@ -6,9 +6,9 @@
6
6
  import { assertEquals } from "../assert_equals-C5gKCm6A.js";
7
7
  import "../assert-DwEa6glZ.js";
8
8
  import "../assert_instance_of-C9QtN-X9.js";
9
- import "../docloader-DkAapQc_.js";
9
+ import "../docloader-BWdKdA_0.js";
10
10
  import "../url-kTAI6_KP.js";
11
- import { lookupWebFinger } from "../lookup-tn6iksxL.js";
11
+ import { lookupWebFinger } from "../lookup-CZy1GbWP.js";
12
12
  import { test } from "../testing-BZ0dJ4qn.js";
13
13
  import "../std__assert-B3iAixc-.js";
14
14
  import "../assert_rejects-DceVjUlD.js";
@@ -117,6 +117,24 @@ test({
117
117
  await t.step("redirection to private address", async () => {
118
118
  assertEquals(await lookupWebFinger("acct:johndoe@example.com"), null);
119
119
  });
120
+ esm_default.removeRoutes();
121
+ let redirectCount = 0;
122
+ esm_default.get("begin:https://example.com/.well-known/webfinger", () => {
123
+ redirectCount++;
124
+ if (redirectCount < 3) return {
125
+ status: 302,
126
+ headers: { Location: `/.well-known/webfinger?redirect=${redirectCount}` }
127
+ };
128
+ return { body: expected };
129
+ });
130
+ await t.step("custom maxRedirection", async () => {
131
+ redirectCount = 0;
132
+ assertEquals(await lookupWebFinger("acct:johndoe@example.com", { maxRedirection: 2 }), null);
133
+ redirectCount = 0;
134
+ assertEquals(await lookupWebFinger("acct:johndoe@example.com", { maxRedirection: 3 }), expected);
135
+ redirectCount = 0;
136
+ assertEquals(await lookupWebFinger("acct:johndoe@example.com"), expected);
137
+ });
120
138
  esm_default.hardReset();
121
139
  }
122
140
  });
@@ -2,6 +2,6 @@ import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
3
  import "../kv-DDdb1hMa.js";
4
4
  import "../docloader-BeCtcTOJ.js";
5
- import { Link, LookupWebFingerOptions, ResourceDescriptor, lookupWebFinger } from "../lookup-DHNtuVcT.js";
5
+ import { Link, LookupWebFingerOptions, ResourceDescriptor, lookupWebFinger } from "../lookup-J_m4YZg0.js";
6
6
  import "../mod-GIh5OYxW.js";
7
7
  export { Link, LookupWebFingerOptions, ResourceDescriptor, lookupWebFinger };
@@ -2,8 +2,8 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import "../docloader-DZLBnsTj.js";
6
- import { lookupWebFinger } from "../lookup-LMJC-TLp.js";
5
+ import "../docloader-B2aZfMYV.js";
6
+ import { lookupWebFinger } from "../lookup-BwPBu6aR.js";
7
7
  import "../webfinger-C3GIyXIg.js";
8
8
 
9
9
  export { lookupWebFinger };
package/dist/x/hono.d.ts CHANGED
@@ -7,9 +7,9 @@ import "../vocab-By6mpzr-.js";
7
7
  import "../actor-B4TBtqRP.js";
8
8
  import "../http-CP2ZUALI.js";
9
9
  import "../owner-CEv_PfyK.js";
10
- import "../mod-yjbK0F05.js";
11
- import "../lookup-DHNtuVcT.js";
12
- import { Federation } from "../context-CutbDY_L.js";
10
+ import "../mod-BFwgZ7_K.js";
11
+ import "../lookup-J_m4YZg0.js";
12
+ import { Federation } from "../context-CrSyJrIa.js";
13
13
  import "../mq-DYKDDJmp.js";
14
14
 
15
15
  //#region x/hono.d.ts
@@ -7,9 +7,9 @@ import "../vocab-By6mpzr-.js";
7
7
  import "../actor-B4TBtqRP.js";
8
8
  import "../http-CP2ZUALI.js";
9
9
  import "../owner-CEv_PfyK.js";
10
- import "../mod-yjbK0F05.js";
11
- import "../lookup-DHNtuVcT.js";
12
- import { Federation } from "../context-CutbDY_L.js";
10
+ import "../mod-BFwgZ7_K.js";
11
+ import "../lookup-J_m4YZg0.js";
12
+ import { Federation } from "../context-CrSyJrIa.js";
13
13
  import "../mq-DYKDDJmp.js";
14
14
 
15
15
  //#region x/sveltekit.d.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.8.0-pr.278.951+2a7b461d",
3
+ "version": "1.8.0-pr.282.963+ed118dc2",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -39,47 +39,58 @@
39
39
  "exports": {
40
40
  ".": {
41
41
  "types": "./dist/mod.d.ts",
42
- "import": "./dist/mod.js"
42
+ "import": "./dist/mod.js",
43
+ "default": "./dist/mod.js"
43
44
  },
44
45
  "./compat": {
45
46
  "types": "./dist/compat/mod.d.ts",
46
- "import": "./dist/compat/mod.js"
47
+ "import": "./dist/compat/mod.js",
48
+ "default": "./dist/compat/mod.js"
47
49
  },
48
50
  "./federation": {
49
51
  "types": "./dist/federation/mod.d.ts",
50
- "import": "./dist/federation/mod.js"
52
+ "import": "./dist/federation/mod.js",
53
+ "default": "./dist/federation/mod.js"
51
54
  },
52
55
  "./nodeinfo": {
53
56
  "types": "./dist/nodeinfo/mod.d.ts",
54
- "import": "./dist/nodeinfo/mod.js"
57
+ "import": "./dist/nodeinfo/mod.js",
58
+ "default": "./dist/nodeinfo/mod.js"
55
59
  },
56
60
  "./runtime": {
57
61
  "types": "./dist/runtime/mod.d.ts",
58
- "import": "./dist/runtime/mod.js"
62
+ "import": "./dist/runtime/mod.js",
63
+ "default": "./dist/runtime/mod.js"
59
64
  },
60
65
  "./sig": {
61
66
  "types": "./dist/sig/mod.d.ts",
62
- "import": "./dist/sig/mod.js"
67
+ "import": "./dist/sig/mod.js",
68
+ "default": "./dist/sig/mod.js"
63
69
  },
64
70
  "./vocab": {
65
71
  "types": "./dist/vocab/mod.d.ts",
66
- "import": "./dist/vocab/mod.js"
72
+ "import": "./dist/vocab/mod.js",
73
+ "default": "./dist/vocab/mod.js"
67
74
  },
68
75
  "./webfinger": {
69
76
  "types": "./dist/webfinger/mod.d.ts",
70
- "import": "./dist/webfinger/mod.js"
77
+ "import": "./dist/webfinger/mod.js",
78
+ "default": "./dist/webfinger/mod.js"
71
79
  },
72
80
  "./x/cfworkers": {
73
81
  "types": "./dist/x/cfworkers.d.ts",
74
- "import": "./dist/x/cfworkers.js"
82
+ "import": "./dist/x/cfworkers.js",
83
+ "default": "./dist/x/cfworkers.js"
75
84
  },
76
85
  "./x/hono": {
77
86
  "types": "./dist/x/hono.d.ts",
78
- "import": "./dist/x/hono.js"
87
+ "import": "./dist/x/hono.js",
88
+ "default": "./dist/x/hono.js"
79
89
  },
80
90
  "./x/sveltekit": {
81
91
  "types": "./dist/x/sveltekit.d.ts",
82
- "import": "./dist/x/sveltekit.js"
92
+ "import": "./dist/x/sveltekit.js",
93
+ "default": "./dist/x/sveltekit.js"
83
94
  }
84
95
  },
85
96
  "dependencies": {
@@ -1,33 +0,0 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
- globalThis.addEventListener = () => {};
5
-
6
- import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-BZp6TsV9.js";
7
- import "./docloader-DkAapQc_.js";
8
- import "./url-kTAI6_KP.js";
9
- import "./semver-DWClQt_5.js";
10
- import "./client-DGzWjDhk.js";
11
- import "./router-D3UybECj.js";
12
- import "./types-C7C_l-jz.js";
13
- import "./multibase-DeCHcK8L.js";
14
- import "./vocab-x1J4xmfs.js";
15
- import "./langstr-DbWheeIS.js";
16
- import "./lookup-tn6iksxL.js";
17
- import "./type-D2s5lmbZ.js";
18
- import "./actor-BwamOVOs.js";
19
- import "./key-C4cogquc.js";
20
- import "./http-_NLh4AQw.js";
21
- import "./authdocloader-DAhh8Fj0.js";
22
- import "./ld-DqPMDWzB.js";
23
- import "./owner-H215iqvU.js";
24
- import "./proof-BKCny61f.js";
25
- import "./lookup-Ceatq76e.js";
26
- import "./inbox-C1fucqgb.js";
27
- import "./builder-BqFNBlWO.js";
28
- import "./collection-Dfb0TPno.js";
29
- import "./keycache-SBjbS-RE.js";
30
- import "./retry-BiIhZWgD.js";
31
- import "./send-DvVUb-A7.js";
32
-
33
- export { FederationImpl };
@@ -1,17 +0,0 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
-
5
- import "./transformers-ghwJuzGY.js";
6
- import "./docloader-DZLBnsTj.js";
7
- import "./actor-DuYja3s_.js";
8
- import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-D9lp51Qo.js";
9
- import "./lookup-LMJC-TLp.js";
10
- import "./key-BYYZAmsY.js";
11
- import "./http-BDTHMKLY.js";
12
- import "./proof-f69jWqQJ.js";
13
- import "./types-CO3XVJo_.js";
14
- import "./authdocloader-COnJz2Gi.js";
15
- import "./vocab-BhuePG48.js";
16
-
17
- export { FederationImpl };