@fedify/fedify 1.8.0-dev.938 → 1.8.0-dev.955
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{actor-B0nJwkfS.js → actor-BBNX2iin.js} +3 -3
- package/dist/{actor-DPJoyFl7.js → actor-CBeFHn58.js} +179 -179
- package/dist/{authdocloader-BrGk58xP.js → authdocloader-BQea-C8q.js} +3 -3
- package/dist/{authdocloader-DnwV7OLZ.js → authdocloader-a6SFhSoj.js} +3 -3
- package/dist/{builder-D1noMKha.js → builder-kgS4fcQG.js} +3 -3
- package/dist/{client-iTi32EJl.js → client-BdGjFA8O.js} +1 -1
- package/dist/compat/mod.d.ts +3 -3
- package/dist/compat/transformers.test.js +17 -17
- package/dist/{context-y90aX3KP.d.ts → context-BRIf4bt7.d.ts} +1 -1
- package/dist/{context-Dgz676Q_.js → context-DxZmwaWK.js} +2 -2
- package/dist/{docloader-tZ6hfKON.js → docloader-C1p4hcZh.js} +2 -1
- package/dist/{docloader-BznLkHDl.js → docloader-COdyz_hE.js} +2 -1
- package/dist/federation/builder.test.js +4 -4
- package/dist/federation/handler.test.js +19 -19
- package/dist/federation/inbox.test.js +3 -3
- package/dist/federation/keycache.test.js +3 -3
- package/dist/federation/middleware.test.js +18 -18
- package/dist/federation/mod.d.ts +2 -2
- package/dist/federation/mod.js +10 -10
- package/dist/federation/send.test.js +9 -9
- package/dist/{http-CsCwqNJR.js → http-BuOvzL3j.js} +3 -3
- package/dist/{http-VI3RQeEY.js → http-CcTgpQTe.js} +3 -3
- package/dist/{inbox-CR6UrNCg.js → inbox-C3Dqtty9.js} +2 -2
- package/dist/{key-DmJZx4DR.js → key-BBfdU8O1.js} +5 -5
- package/dist/{key-DNS6l4Bf.js → key-BKa6LUKn.js} +3 -3
- package/dist/{key-DgtYhNU-.js → key-BsUPcX5c.js} +4 -4
- package/dist/{key-RnvWJG7i.js → key-CUUNKU04.js} +2 -2
- package/dist/{keycache-DyGd40q1.js → keycache-Be2iUcxZ.js} +1 -1
- package/dist/{keys-LuWl53vu.js → keys-Bm-REG0i.js} +1 -1
- package/dist/{ld-bhhSrC1E.js → ld-D8W0sK5u.js} +3 -3
- package/dist/{lookup-BqaAXWgo.js → lookup-BBIBMJMW.js} +1 -1
- package/dist/{lookup-VXTcuxz0.js → lookup-CjiXiLHr.js} +1 -1
- package/dist/{lookup-CX5Tb4C7.js → lookup-i0w8oyqI.js} +61 -9
- package/dist/{middleware-CDFOjbFt.js → middleware-Aj4Aipev.js} +15 -15
- package/dist/{middleware-Dy3_Tr82.js → middleware-B-pNPoWJ.js} +10 -10
- package/dist/middleware-B45mAes5.js +17 -0
- package/dist/middleware-_mJMW7Dl.js +33 -0
- package/dist/{mod-CaGwZaei.d.ts → mod-B8p4fzWu.d.ts} +1 -1
- package/dist/{mod-BzLUzgBJ.d.ts → mod-BFwgZ7_K.d.ts} +75 -1
- package/dist/mod.d.ts +4 -4
- package/dist/mod.js +11 -11
- package/dist/nodeinfo/client.test.js +2 -2
- package/dist/nodeinfo/handler.test.js +18 -18
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/{owner-C5yXOt_d.js → owner-m_iHLHvB.js} +3 -3
- package/dist/{proof-iAiMkAsB.js → proof-DFAPxBIn.js} +3 -3
- package/dist/{proof-CBKgLwEL.js → proof-VlYFbdZH.js} +3 -3
- package/dist/runtime/authdocloader.test.js +8 -8
- package/dist/runtime/docloader.test.js +1 -1
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/mod.js +6 -6
- package/dist/{send-CbR1KxzV.js → send-IbnPrZ-l.js} +2 -2
- package/dist/sig/http.test.js +7 -7
- package/dist/sig/key.test.js +6 -6
- package/dist/sig/ld.test.js +7 -7
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +8 -8
- package/dist/sig/proof.test.js +7 -7
- package/dist/{types-CqpxfEhB.js → types-BXDdVms7.js} +1 -1
- package/dist/vocab/actor.test.js +4 -4
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.d.ts +2 -2
- package/dist/vocab/mod.js +5 -5
- package/dist/vocab/type.test.js +2 -2
- package/dist/vocab/vocab.test.js +3 -3
- package/dist/{vocab-Bs5UyVPo.js → vocab-CKbd7bbv.js} +178 -178
- package/dist/{vocab-vQM5hfU4.js → vocab-_zju-sjw.js} +83 -10
- package/dist/webfinger/handler.test.js +18 -18
- package/dist/webfinger/lookup.test.js +2 -2
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/hono.d.ts +2 -2
- package/dist/x/sveltekit.d.ts +2 -2
- package/package.json +23 -12
- package/dist/middleware-1kcyuedf.js +0 -17
- package/dist/middleware-BaQrFpbm.js +0 -33
|
@@ -2,20 +2,97 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { deno_default, getDocumentLoader } from "./docloader-
|
|
6
|
-
import { Object as Object$1, getTypeId } from "./actor-
|
|
7
|
-
import { lookupWebFinger } from "./lookup-
|
|
5
|
+
import { deno_default, getDocumentLoader } from "./docloader-C1p4hcZh.js";
|
|
6
|
+
import { Object as Object$1, getTypeId } from "./actor-CBeFHn58.js";
|
|
7
|
+
import { lookupWebFinger } from "./lookup-BBIBMJMW.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
|
+
//#region vocab/handle.ts
|
|
13
|
+
/**
|
|
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.
|
|
18
|
+
*/
|
|
19
|
+
const handleRegexp = /^@?((?:[-A-Za-z0-9._~!$&'()*+,;=]|%[A-Fa-f0-9]{2})+)@([^@]+)$/;
|
|
20
|
+
/**
|
|
21
|
+
* Parses a fediverse handle in the format `@user@server` or `user@server`.
|
|
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.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```typescript
|
|
28
|
+
* const handle = parseFediverseHandle("@username@example.com");
|
|
29
|
+
* console.log(handle?.username); // "username"
|
|
30
|
+
* console.log(handle?.host); // "example.com"
|
|
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
|
|
37
|
+
*/
|
|
38
|
+
function parseFediverseHandle(handle) {
|
|
39
|
+
const match = handleRegexp.exec(handle);
|
|
40
|
+
if (match) return {
|
|
41
|
+
username: match[1],
|
|
42
|
+
host: match[2]
|
|
43
|
+
};
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
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.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```typescript
|
|
54
|
+
* console.log(isFediverseHandle("@username@example.com")); // true
|
|
55
|
+
* console.log(isFediverseHandle("username@example.com")); // true
|
|
56
|
+
* console.log(isFediverseHandle("@username@")); // false
|
|
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
|
|
63
|
+
*/
|
|
64
|
+
function isFediverseHandle(handle) {
|
|
65
|
+
return handleRegexp.test(handle);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Converts a fediverse handle in the format `@user@server` or `user@server`
|
|
69
|
+
* to an `acct:` URI, which is a URL-like identifier for ActivityPub actors.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* ```typescript
|
|
73
|
+
* const identifier = toAcctUrl("@username@example.com");
|
|
74
|
+
* console.log(identifier?.href); // "acct:username@example.com"
|
|
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
|
|
81
|
+
*/
|
|
82
|
+
function toAcctUrl(handle) {
|
|
83
|
+
const parsed = parseFediverseHandle(handle);
|
|
84
|
+
if (!parsed) return null;
|
|
85
|
+
const identifier = new URL(`acct:${parsed.username}@${parsed.host}`);
|
|
86
|
+
return identifier;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
//#endregion
|
|
12
90
|
//#region vocab/lookup.ts
|
|
13
91
|
const logger = getLogger([
|
|
14
92
|
"fedify",
|
|
15
93
|
"vocab",
|
|
16
94
|
"lookup"
|
|
17
95
|
]);
|
|
18
|
-
const handleRegexp = /^@?((?:[-A-Za-z0-9._~!$&'()*+,;=]|%[A-Fa-f0-9]{2})+)@([^@]+)$/;
|
|
19
96
|
/**
|
|
20
97
|
* Looks up an ActivityStreams object by its URI (including `acct:` URIs)
|
|
21
98
|
* or a fediverse handle (e.g., `@user@server` or `user@server`).
|
|
@@ -74,11 +151,7 @@ async function lookupObject(identifier, options = {}) {
|
|
|
74
151
|
}
|
|
75
152
|
async function lookupObjectInternal(identifier, options = {}) {
|
|
76
153
|
const documentLoader = options.documentLoader ?? getDocumentLoader({ userAgent: options.userAgent });
|
|
77
|
-
if (typeof identifier === "string")
|
|
78
|
-
const match = handleRegexp.exec(identifier);
|
|
79
|
-
if (match) identifier = `acct:${match[1]}@${match[2]}`;
|
|
80
|
-
identifier = new URL(identifier);
|
|
81
|
-
}
|
|
154
|
+
if (typeof identifier === "string") identifier = toAcctUrl(identifier) ?? new URL(identifier);
|
|
82
155
|
let document = null;
|
|
83
156
|
if (identifier.protocol === "http:" || identifier.protocol === "https:") try {
|
|
84
157
|
const remoteDoc = await documentLoader(identifier.href);
|
|
@@ -169,4 +242,4 @@ async function* traverseCollection(collection, options = {}) {
|
|
|
169
242
|
const PUBLIC_COLLECTION = new URL("https://www.w3.org/ns/activitystreams#Public");
|
|
170
243
|
|
|
171
244
|
//#endregion
|
|
172
|
-
export { PUBLIC_COLLECTION, lookupObject, 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-
|
|
11
|
-
import "../docloader-
|
|
10
|
+
import { createFederation, handleWebFinger } from "../middleware-Aj4Aipev.js";
|
|
11
|
+
import "../docloader-COdyz_hE.js";
|
|
12
12
|
import "../url-kTAI6_KP.js";
|
|
13
13
|
import "../semver-DWClQt_5.js";
|
|
14
|
-
import "../client-
|
|
14
|
+
import "../client-BdGjFA8O.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-
|
|
18
|
+
import { Image, Link, Person } from "../vocab-CKbd7bbv.js";
|
|
19
19
|
import "../langstr-DbWheeIS.js";
|
|
20
|
-
import "../lookup-
|
|
20
|
+
import "../lookup-CjiXiLHr.js";
|
|
21
21
|
import "../type-D2s5lmbZ.js";
|
|
22
|
-
import "../actor-
|
|
23
|
-
import "../key-
|
|
24
|
-
import "../http-
|
|
25
|
-
import "../authdocloader-
|
|
26
|
-
import "../ld-
|
|
27
|
-
import "../owner-
|
|
28
|
-
import "../proof-
|
|
29
|
-
import "../lookup-
|
|
30
|
-
import "../inbox-
|
|
31
|
-
import "../builder-
|
|
22
|
+
import "../actor-BBNX2iin.js";
|
|
23
|
+
import "../key-BKa6LUKn.js";
|
|
24
|
+
import "../http-BuOvzL3j.js";
|
|
25
|
+
import "../authdocloader-a6SFhSoj.js";
|
|
26
|
+
import "../ld-D8W0sK5u.js";
|
|
27
|
+
import "../owner-m_iHLHvB.js";
|
|
28
|
+
import "../proof-DFAPxBIn.js";
|
|
29
|
+
import "../lookup-i0w8oyqI.js";
|
|
30
|
+
import "../inbox-C3Dqtty9.js";
|
|
31
|
+
import "../builder-kgS4fcQG.js";
|
|
32
32
|
import "../collection-Dfb0TPno.js";
|
|
33
|
-
import "../keycache-
|
|
33
|
+
import "../keycache-Be2iUcxZ.js";
|
|
34
34
|
import "../retry-BiIhZWgD.js";
|
|
35
|
-
import "../send-
|
|
35
|
+
import "../send-IbnPrZ-l.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-
|
|
43
|
+
import { createRequestContext } from "../context-DxZmwaWK.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-
|
|
9
|
+
import "../docloader-COdyz_hE.js";
|
|
10
10
|
import "../url-kTAI6_KP.js";
|
|
11
|
-
import { lookupWebFinger } from "../lookup-
|
|
11
|
+
import { lookupWebFinger } from "../lookup-CjiXiLHr.js";
|
|
12
12
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
13
13
|
import "../std__assert-B3iAixc-.js";
|
|
14
14
|
import "../assert_rejects-DceVjUlD.js";
|
package/dist/webfinger/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 "../docloader-
|
|
6
|
-
import { lookupWebFinger } from "../lookup-
|
|
5
|
+
import "../docloader-C1p4hcZh.js";
|
|
6
|
+
import { lookupWebFinger } from "../lookup-BBIBMJMW.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-
|
|
10
|
+
import "../mod-BFwgZ7_K.js";
|
|
11
11
|
import "../lookup-DHNtuVcT.js";
|
|
12
|
-
import { Federation } from "../context-
|
|
12
|
+
import { Federation } from "../context-BRIf4bt7.js";
|
|
13
13
|
import "../mq-DYKDDJmp.js";
|
|
14
14
|
|
|
15
15
|
//#region x/hono.d.ts
|
package/dist/x/sveltekit.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-
|
|
10
|
+
import "../mod-BFwgZ7_K.js";
|
|
11
11
|
import "../lookup-DHNtuVcT.js";
|
|
12
|
-
import { Federation } from "../context-
|
|
12
|
+
import { Federation } from "../context-BRIf4bt7.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-dev.
|
|
3
|
+
"version": "1.8.0-dev.955+0e336a3a",
|
|
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,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-tZ6hfKON.js";
|
|
7
|
-
import "./actor-DPJoyFl7.js";
|
|
8
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-Dy3_Tr82.js";
|
|
9
|
-
import "./lookup-BqaAXWgo.js";
|
|
10
|
-
import "./key-RnvWJG7i.js";
|
|
11
|
-
import "./http-VI3RQeEY.js";
|
|
12
|
-
import "./proof-CBKgLwEL.js";
|
|
13
|
-
import "./types-CqpxfEhB.js";
|
|
14
|
-
import "./authdocloader-BrGk58xP.js";
|
|
15
|
-
import "./vocab-vQM5hfU4.js";
|
|
16
|
-
|
|
17
|
-
export { FederationImpl };
|
|
@@ -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-CDFOjbFt.js";
|
|
7
|
-
import "./docloader-BznLkHDl.js";
|
|
8
|
-
import "./url-kTAI6_KP.js";
|
|
9
|
-
import "./semver-DWClQt_5.js";
|
|
10
|
-
import "./client-iTi32EJl.js";
|
|
11
|
-
import "./router-D3UybECj.js";
|
|
12
|
-
import "./types-C7C_l-jz.js";
|
|
13
|
-
import "./multibase-DeCHcK8L.js";
|
|
14
|
-
import "./vocab-Bs5UyVPo.js";
|
|
15
|
-
import "./langstr-DbWheeIS.js";
|
|
16
|
-
import "./lookup-VXTcuxz0.js";
|
|
17
|
-
import "./type-D2s5lmbZ.js";
|
|
18
|
-
import "./actor-B0nJwkfS.js";
|
|
19
|
-
import "./key-DNS6l4Bf.js";
|
|
20
|
-
import "./http-CsCwqNJR.js";
|
|
21
|
-
import "./authdocloader-DnwV7OLZ.js";
|
|
22
|
-
import "./ld-bhhSrC1E.js";
|
|
23
|
-
import "./owner-C5yXOt_d.js";
|
|
24
|
-
import "./proof-iAiMkAsB.js";
|
|
25
|
-
import "./lookup-CX5Tb4C7.js";
|
|
26
|
-
import "./inbox-CR6UrNCg.js";
|
|
27
|
-
import "./builder-D1noMKha.js";
|
|
28
|
-
import "./collection-Dfb0TPno.js";
|
|
29
|
-
import "./keycache-DyGd40q1.js";
|
|
30
|
-
import "./retry-BiIhZWgD.js";
|
|
31
|
-
import "./send-CbR1KxzV.js";
|
|
32
|
-
|
|
33
|
-
export { FederationImpl };
|