@fedify/fedify 1.9.0-pr.428.1588 → 1.9.0-pr.431.1597
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/dist/actor-CHOM_AN3.d.cts +128 -0
- package/dist/actor-CfaqWvJb.cjs +37783 -0
- package/dist/{actor-CdM_sJLC.js → actor-Detmisdi.js} +190 -190
- package/dist/{actor-ByOSf9n9.js → actor-Dw7av4Zk.js} +1 -1
- package/dist/{authdocloader-VVd0U8Qg.js → authdocloader-5UJ5Gme-.js} +6 -6
- package/dist/authdocloader-BVYv0Ct8.cjs +58 -0
- package/dist/{authdocloader-CfP6lfxM.js → authdocloader-ZlLoXSxM.js} +3 -3
- package/dist/{builder-mfXmda-W.js → builder-BbKfqPmR.js} +4 -4
- package/dist/chunk-DqRYRqnO.cjs +34 -0
- package/dist/{client-DB8N2RwI.js → client-DgRjF0ha.js} +1 -1
- package/dist/client-DjT_tegg.d.cts +294 -0
- package/dist/compat/mod.cjs +10 -0
- package/dist/compat/mod.d.cts +13 -0
- package/dist/compat/mod.js +5 -5
- package/dist/compat/transformers.test.js +16 -16
- package/dist/compat-DmDDELst.cjs +4 -0
- package/dist/compat-nxUqe4Z-.js +4 -0
- package/dist/context-KXVF2AhH.d.cts +2261 -0
- package/dist/{docloader-XJzCMWY-.js → docloader-BKf9RWX4.js} +4 -4
- package/dist/docloader-D-MrRyHl.d.cts +219 -0
- package/dist/docloader-eqgyMp7h.cjs +4682 -0
- package/dist/{esm-BVYQVacR.js → esm-B_ZjJ1sB.js} +1 -1
- package/dist/federation/builder.test.js +5 -5
- package/dist/federation/collection.test.js +3 -3
- package/dist/federation/handler.test.js +17 -17
- package/dist/federation/inbox.test.js +4 -4
- package/dist/federation/keycache.test.js +4 -4
- package/dist/federation/kv.test.js +3 -3
- package/dist/federation/middleware.test.js +18 -18
- package/dist/federation/mod.cjs +29 -0
- package/dist/federation/mod.d.cts +13 -0
- package/dist/federation/mod.js +15 -15
- package/dist/federation/mq.test.js +3 -3
- package/dist/federation/retry.test.js +3 -3
- package/dist/federation/router.test.js +3 -3
- package/dist/federation/send.test.js +10 -10
- package/dist/{federation-CMX7WzeL.js → federation-D1U8YY9t.js} +3 -3
- package/dist/federation-H2_En3j5.cjs +244 -0
- package/dist/http-B_zBcsai.d.cts +253 -0
- package/dist/{http-B_bBrm6N.js → http-C5XLveZw.js} +2 -2
- package/dist/{http-DYB4M8Pr.js → http-CwlUFNG4.js} +6 -6
- package/dist/http-_vjuGcXn.cjs +826 -0
- package/dist/{inbox-B4k2JQpE.js → inbox-sVXiVBbT.js} +1 -1
- package/dist/key-19P2dWvf.cjs +290 -0
- package/dist/{key-BdBFUTr5.js → key-BCWvPOkD.js} +5 -5
- package/dist/key-CsQ7J8-m.js +10 -0
- package/dist/key-Dt7qJaQT.cjs +10 -0
- package/dist/{key-feGm-IP3.js → key-Jrnr66vx.js} +2 -2
- package/dist/{key-BcVEPl--.js → key-lpATOAE4.js} +3 -3
- package/dist/{keycache-b7FYgzB9.js → keycache-ogQInQck.js} +1 -1
- package/dist/{keys-B7uX1KoX.js → keys-DcGsKtHW.js} +1 -1
- package/dist/kv-63Cil1MD.d.cts +81 -0
- package/dist/{ld-DJCemZO2.js → ld-BSE4jnyK.js} +2 -2
- package/dist/lookup-D96ipStp.cjs +137 -0
- package/dist/{lookup-CIsbr_Qi.js → lookup-D_-F1hLw.js} +4 -4
- package/dist/{lookup-CXaZBmuy.js → lookup-DdxOle8f.js} +1 -1
- package/dist/middleware-B0f850Ei.cjs +17 -0
- package/dist/middleware-B2DFqtJ-.cjs +4240 -0
- package/dist/middleware-COHAbwGs.js +17 -0
- package/dist/{middleware-D5JRdsEc.js → middleware-CuTcPjfP.js} +13 -13
- package/dist/middleware-Dt7C7qpw.js +26 -0
- package/dist/{middleware-e_Gw7sQy.js → middleware-T_y4Bnvw.js} +14 -14
- package/dist/mod-C2tOeRkN.d.cts +1 -0
- package/dist/mod-C3CGxYoF.d.cts +102 -0
- package/dist/mod-COw_caPC.d.cts +266 -0
- package/dist/mod-FZd39qVq.d.cts +1 -0
- package/dist/mod-NKH_G-IY.d.cts +289 -0
- package/dist/mod-YfAcrVbP.d.cts +80 -0
- package/dist/mod-jQ4OODsl.d.cts +113 -0
- package/dist/mod.cjs +152 -0
- package/dist/mod.d.cts +17 -0
- package/dist/mod.js +20 -20
- package/dist/mq-B7R1Q-M5.d.cts +140 -0
- package/dist/nodeinfo/client.test.js +5 -5
- package/dist/nodeinfo/handler.test.js +16 -16
- package/dist/nodeinfo/mod.cjs +13 -0
- package/dist/nodeinfo/mod.d.cts +5 -0
- package/dist/nodeinfo/mod.js +6 -6
- package/dist/nodeinfo/semver.test.js +3 -3
- package/dist/nodeinfo/types.test.js +3 -3
- package/dist/nodeinfo-Co9lJrWl.cjs +4 -0
- package/dist/nodeinfo-DfycQ8Wf.js +4 -0
- package/dist/owner-C9Ry0TOI.d.cts +67 -0
- package/dist/{owner-i9FkgZwa.js → owner-DJtc8evi.js} +2 -2
- package/dist/{proof-Bvtdd-Ul.js → proof-9OMp0o4n.js} +2 -2
- package/dist/{proof-DKGUTtBt.js → proof-BuPk23Er.js} +6 -6
- package/dist/proof-CRHppbRk.cjs +673 -0
- package/dist/runtime/authdocloader.test.js +9 -9
- package/dist/runtime/docloader.test.js +4 -4
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/langstr.test.js +3 -3
- package/dist/runtime/mod.cjs +25 -0
- package/dist/runtime/mod.d.cts +6 -0
- package/dist/runtime/mod.js +10 -10
- package/dist/runtime/multibase/multibase.test.js +3 -3
- package/dist/runtime/url.test.js +3 -3
- package/dist/runtime-C58AJWSv.cjs +4 -0
- package/dist/runtime-DPYEDf-o.js +4 -0
- package/dist/{send-Cuw-wTCx.js → send-cXerEJm9.js} +2 -2
- package/dist/sig/http.test.js +8 -8
- package/dist/sig/key.test.js +6 -6
- package/dist/sig/ld.test.js +7 -7
- package/dist/sig/mod.cjs +30 -0
- package/dist/sig/mod.d.cts +8 -0
- package/dist/sig/mod.js +10 -10
- package/dist/sig/owner.test.js +7 -7
- package/dist/sig/proof.test.js +7 -7
- package/dist/sig-ByHXzqUi.cjs +4 -0
- package/dist/sig-Cj3tk-ig.js +4 -0
- package/dist/testing/docloader.test.js +3 -3
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-DUFWSgSt.js → testing-BX6IA3LR.js} +2 -2
- package/dist/{transformers-Dna8Fg7k.js → transformers-BFT6d7J5.js} +3 -3
- package/dist/transformers-CoBS-oFG.cjs +116 -0
- package/dist/{type-DDwsy8fI.js → type-DF9yoIpt.js} +186 -186
- package/dist/types-DcKQIzdO.cjs +488 -0
- package/dist/{types-CuvNqe2X.js → types-Q17QxOOC.js} +4 -4
- package/dist/vocab/actor.test.js +5 -5
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.cjs +87 -0
- package/dist/vocab/mod.d.cts +6 -0
- package/dist/vocab/mod.js +7 -7
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +4 -4
- package/dist/{vocab-CEXwobaS.js → vocab-BUc_4ZsW.js} +6 -6
- package/dist/vocab-BzGg7ltX.d.cts +14629 -0
- package/dist/vocab-Du8FV6H1.cjs +282 -0
- package/dist/webfinger/handler.test.js +16 -16
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.cjs +9 -0
- package/dist/webfinger/mod.d.cts +4 -0
- package/dist/webfinger/mod.js +6 -6
- package/dist/webfinger-BjOEdFPs.cjs +4 -0
- package/dist/webfinger-De_bU0iE.js +4 -0
- package/dist/x/cfworkers.cjs +100 -0
- package/dist/x/cfworkers.d.cts +59 -0
- package/dist/x/cfworkers.js +3 -3
- package/dist/x/cfworkers.test.js +3 -3
- package/dist/x/hono.cjs +61 -0
- package/dist/x/hono.d.cts +54 -0
- package/dist/x/hono.js +3 -3
- package/dist/x/sveltekit.cjs +69 -0
- package/dist/x/sveltekit.d.cts +46 -0
- package/dist/x/sveltekit.js +3 -3
- package/package.json +68 -12
- package/dist/compat-Bb5myD13.js +0 -4
- package/dist/key-0hFXQUQz.js +0 -10
- package/dist/middleware-BhQdOVAF.js +0 -17
- package/dist/middleware-DVy3ms0C.js +0 -26
- package/dist/nodeinfo-CyEbLjHs.js +0 -4
- package/dist/runtime-BSkOVUWM.js +0 -4
- package/dist/sig-BXJO--F9.js +0 -4
- package/dist/webfinger-C3GIyXIg.js +0 -4
@@ -0,0 +1,54 @@
|
|
1
|
+
import "../kv-63Cil1MD.cjs";
|
2
|
+
import "../docloader-D-MrRyHl.cjs";
|
3
|
+
import "../client-DjT_tegg.cjs";
|
4
|
+
import "../vocab-BzGg7ltX.cjs";
|
5
|
+
import "../actor-CHOM_AN3.cjs";
|
6
|
+
import "../http-B_zBcsai.cjs";
|
7
|
+
import "../owner-C9Ry0TOI.cjs";
|
8
|
+
import "../mod-NKH_G-IY.cjs";
|
9
|
+
import "../mod-jQ4OODsl.cjs";
|
10
|
+
import { Federation } from "../context-KXVF2AhH.cjs";
|
11
|
+
import "../mq-B7R1Q-M5.cjs";
|
12
|
+
|
13
|
+
//#region src/x/hono.d.ts
|
14
|
+
interface HonoRequest {
|
15
|
+
raw: Request;
|
16
|
+
}
|
17
|
+
interface HonoContext {
|
18
|
+
req: HonoRequest;
|
19
|
+
res: Response;
|
20
|
+
}
|
21
|
+
type HonoMiddleware<THonoContext extends HonoContext> = (ctx: THonoContext, next: () => Promise<void>) => Promise<Response | void>;
|
22
|
+
/**
|
23
|
+
* A factory function to create a context data for the {@link Federation}
|
24
|
+
* object.
|
25
|
+
*
|
26
|
+
* @deprecated This type has been moved to `@fedify/hono` package.
|
27
|
+
* Import `ContextDataFactory` from `@fedify/hono` instead.
|
28
|
+
* This type will be removed in Fedify v2.0.
|
29
|
+
*
|
30
|
+
* @template TContextData A type of the context data for the {@link Federation}
|
31
|
+
* object.
|
32
|
+
* @template THonoContext A type of the Hono context.
|
33
|
+
* @param context A Hono context object.
|
34
|
+
* @returns A context data for the {@link Federation} object.
|
35
|
+
*/
|
36
|
+
type ContextDataFactory<TContextData, THonoContext> = (context: THonoContext) => TContextData | Promise<TContextData>;
|
37
|
+
/**
|
38
|
+
* Create a Hono middleware to integrate with the {@link Federation} object.
|
39
|
+
*
|
40
|
+
* @deprecated This function has been moved to `@fedify/hono` package.
|
41
|
+
* Import `federation` from `@fedify/hono` instead.
|
42
|
+
* This function will be removed in Fedify v2.0.
|
43
|
+
*
|
44
|
+
* @template TContextData A type of the context data for the {@link Federation}
|
45
|
+
* object.
|
46
|
+
* @template THonoContext A type of the Hono context.
|
47
|
+
* @param federation A {@link Federation} object to integrate with Hono.
|
48
|
+
* @param contextDataFactory A function to create a context data for the
|
49
|
+
* {@link Federation} object.
|
50
|
+
* @returns A Hono middleware.
|
51
|
+
*/
|
52
|
+
declare function federation<TContextData, THonoContext extends HonoContext>(federation: Federation<TContextData>, contextDataFactory: ContextDataFactory<TContextData, THonoContext>): HonoMiddleware<THonoContext>;
|
53
|
+
//#endregion
|
54
|
+
export { ContextDataFactory, federation };
|
package/dist/x/hono.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
import { Temporal } from "@js-temporal/polyfill";
|
3
|
+
import { URLPattern } from "urlpattern-polyfill";
|
4
|
+
|
5
5
|
import { getLogger } from "@logtape/logtape";
|
6
6
|
|
7
7
|
//#region src/x/hono.ts
|
@@ -0,0 +1,69 @@
|
|
1
|
+
|
2
|
+
const { Temporal } = require("@js-temporal/polyfill");
|
3
|
+
const { URLPattern } = require("urlpattern-polyfill");
|
4
|
+
|
5
|
+
const require_chunk = require('../chunk-DqRYRqnO.cjs');
|
6
|
+
const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
|
7
|
+
|
8
|
+
//#region src/x/sveltekit.ts
|
9
|
+
/**
|
10
|
+
* Create a SvelteKit hook handler to integrate with the {@link Federation}
|
11
|
+
* object.
|
12
|
+
*
|
13
|
+
* @deprecated This function has been moved to `@fedify/sveltekit` package.
|
14
|
+
* Import `fedifyHook` from `@fedify/sveltekit` instead.
|
15
|
+
* This function will be removed in Fedify v2.0.
|
16
|
+
*
|
17
|
+
* @example hooks.server.ts
|
18
|
+
* ``` typescript
|
19
|
+
* import { federation } from "./federation"; // Import the `Federation` object
|
20
|
+
*
|
21
|
+
* export const handle = fedifyHook(federation, () => undefined);
|
22
|
+
* ```
|
23
|
+
*
|
24
|
+
* @template TContextData A type of the context data for the {@link Federation}
|
25
|
+
* object.
|
26
|
+
* @param federation A {@link Federation} object to integrate with SvelteKit.
|
27
|
+
* @param createContextData A function to create a context data for the
|
28
|
+
* {@link Federation} object.
|
29
|
+
* @returns A SvelteKit hook handler.
|
30
|
+
* @since 1.3.0
|
31
|
+
*/
|
32
|
+
function fedifyHook(federation, createContextData) {
|
33
|
+
const logger = (0, __logtape_logtape.getLogger)([
|
34
|
+
"fedify",
|
35
|
+
"federation",
|
36
|
+
"sveltekit"
|
37
|
+
]);
|
38
|
+
logger.warn("The `@fedify/fedify/x/sveltekit` module is deprecated; use `fedifyHook` from `@fedify/sveltekit` package instead.");
|
39
|
+
return async ({ event, resolve }) => {
|
40
|
+
return await federation.fetch(event.request, {
|
41
|
+
contextData: await createContextData(event),
|
42
|
+
...integrateFetchOptions({
|
43
|
+
event,
|
44
|
+
resolve
|
45
|
+
})
|
46
|
+
});
|
47
|
+
};
|
48
|
+
}
|
49
|
+
function integrateFetchOptions({ event, resolve }) {
|
50
|
+
return {
|
51
|
+
async onNotFound() {
|
52
|
+
return await resolve(event);
|
53
|
+
},
|
54
|
+
async onNotAcceptable() {
|
55
|
+
const res = await resolve(event);
|
56
|
+
if (res.status !== 404) return res;
|
57
|
+
return new Response("Not acceptable", {
|
58
|
+
status: 406,
|
59
|
+
headers: {
|
60
|
+
"Content-Type": "text/plain",
|
61
|
+
Vary: "Accept"
|
62
|
+
}
|
63
|
+
});
|
64
|
+
}
|
65
|
+
};
|
66
|
+
}
|
67
|
+
|
68
|
+
//#endregion
|
69
|
+
exports.fedifyHook = fedifyHook;
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import "../kv-63Cil1MD.cjs";
|
2
|
+
import "../docloader-D-MrRyHl.cjs";
|
3
|
+
import "../client-DjT_tegg.cjs";
|
4
|
+
import "../vocab-BzGg7ltX.cjs";
|
5
|
+
import "../actor-CHOM_AN3.cjs";
|
6
|
+
import "../http-B_zBcsai.cjs";
|
7
|
+
import "../owner-C9Ry0TOI.cjs";
|
8
|
+
import "../mod-NKH_G-IY.cjs";
|
9
|
+
import "../mod-jQ4OODsl.cjs";
|
10
|
+
import { Federation } from "../context-KXVF2AhH.cjs";
|
11
|
+
import "../mq-B7R1Q-M5.cjs";
|
12
|
+
|
13
|
+
//#region src/x/sveltekit.d.ts
|
14
|
+
type RequestEvent = {
|
15
|
+
request: Request;
|
16
|
+
};
|
17
|
+
type HookParams = {
|
18
|
+
event: RequestEvent;
|
19
|
+
resolve: (event: RequestEvent) => Promise<Response>;
|
20
|
+
};
|
21
|
+
/**
|
22
|
+
* Create a SvelteKit hook handler to integrate with the {@link Federation}
|
23
|
+
* object.
|
24
|
+
*
|
25
|
+
* @deprecated This function has been moved to `@fedify/sveltekit` package.
|
26
|
+
* Import `fedifyHook` from `@fedify/sveltekit` instead.
|
27
|
+
* This function will be removed in Fedify v2.0.
|
28
|
+
*
|
29
|
+
* @example hooks.server.ts
|
30
|
+
* ``` typescript
|
31
|
+
* import { federation } from "./federation"; // Import the `Federation` object
|
32
|
+
*
|
33
|
+
* export const handle = fedifyHook(federation, () => undefined);
|
34
|
+
* ```
|
35
|
+
*
|
36
|
+
* @template TContextData A type of the context data for the {@link Federation}
|
37
|
+
* object.
|
38
|
+
* @param federation A {@link Federation} object to integrate with SvelteKit.
|
39
|
+
* @param createContextData A function to create a context data for the
|
40
|
+
* {@link Federation} object.
|
41
|
+
* @returns A SvelteKit hook handler.
|
42
|
+
* @since 1.3.0
|
43
|
+
*/
|
44
|
+
declare function fedifyHook<TContextData>(federation: Federation<TContextData>, createContextData: (event: RequestEvent) => TContextData | Promise<TContextData>): (params: HookParams) => Promise<Response>;
|
45
|
+
//#endregion
|
46
|
+
export { fedifyHook };
|
package/dist/x/sveltekit.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
import { Temporal } from "@js-temporal/polyfill";
|
3
|
+
import { URLPattern } from "urlpattern-polyfill";
|
4
|
+
|
5
5
|
import { getLogger } from "@logtape/logtape";
|
6
6
|
|
7
7
|
//#region src/x/sveltekit.ts
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fedify/fedify",
|
3
|
-
"version": "1.9.0-pr.
|
3
|
+
"version": "1.9.0-pr.431.1597+5eff12ff",
|
4
4
|
"description": "An ActivityPub server framework",
|
5
5
|
"keywords": [
|
6
6
|
"ActivityPub",
|
@@ -35,61 +35,117 @@
|
|
35
35
|
"dist"
|
36
36
|
],
|
37
37
|
"module": "./dist/mod.js",
|
38
|
+
"main": "./dist/mod.cjs",
|
38
39
|
"types": "./dist/mod.d.ts",
|
39
40
|
"exports": {
|
40
41
|
".": {
|
41
|
-
"types":
|
42
|
+
"types": {
|
43
|
+
"import": "./dist/mod.d.ts",
|
44
|
+
"require": "./dist/mod.d.cts",
|
45
|
+
"default": "./dist/mod.d.ts"
|
46
|
+
},
|
42
47
|
"import": "./dist/mod.js",
|
48
|
+
"require": "./dist/mod.cjs",
|
43
49
|
"default": "./dist/mod.js"
|
44
50
|
},
|
45
51
|
"./compat": {
|
46
|
-
"types":
|
52
|
+
"types": {
|
53
|
+
"import": "./dist/compat/mod.d.ts",
|
54
|
+
"require": "./dist/compat/mod.d.cts",
|
55
|
+
"default": "./dist/compat/mod.d.ts"
|
56
|
+
},
|
47
57
|
"import": "./dist/compat/mod.js",
|
58
|
+
"require": "./dist/compat/mod.cjs",
|
48
59
|
"default": "./dist/compat/mod.js"
|
49
60
|
},
|
50
61
|
"./federation": {
|
51
|
-
"types":
|
62
|
+
"types": {
|
63
|
+
"import": "./dist/federation/mod.d.ts",
|
64
|
+
"require": "./dist/federation/mod.d.cts",
|
65
|
+
"default": "./dist/federation/mod.d.ts"
|
66
|
+
},
|
52
67
|
"import": "./dist/federation/mod.js",
|
68
|
+
"require": "./dist/federation/mod.cjs",
|
53
69
|
"default": "./dist/federation/mod.js"
|
54
70
|
},
|
55
71
|
"./nodeinfo": {
|
56
|
-
"types":
|
72
|
+
"types": {
|
73
|
+
"import": "./dist/nodeinfo/mod.d.ts",
|
74
|
+
"require": "./dist/nodeinfo/mod.d.cts",
|
75
|
+
"default": "./dist/nodeinfo/mod.d.ts"
|
76
|
+
},
|
57
77
|
"import": "./dist/nodeinfo/mod.js",
|
78
|
+
"require": "./dist/nodeinfo/mod.cjs",
|
58
79
|
"default": "./dist/nodeinfo/mod.js"
|
59
80
|
},
|
60
81
|
"./runtime": {
|
61
|
-
"types":
|
82
|
+
"types": {
|
83
|
+
"import": "./dist/runtime/mod.d.ts",
|
84
|
+
"require": "./dist/runtime/mod.d.cts",
|
85
|
+
"default": "./dist/runtime/mod.d.ts"
|
86
|
+
},
|
62
87
|
"import": "./dist/runtime/mod.js",
|
88
|
+
"require": "./dist/runtime/mod.cjs",
|
63
89
|
"default": "./dist/runtime/mod.js"
|
64
90
|
},
|
65
91
|
"./sig": {
|
66
|
-
"types":
|
92
|
+
"types": {
|
93
|
+
"import": "./dist/sig/mod.d.ts",
|
94
|
+
"require": "./dist/sig/mod.d.cts",
|
95
|
+
"default": "./dist/sig/mod.d.ts"
|
96
|
+
},
|
67
97
|
"import": "./dist/sig/mod.js",
|
98
|
+
"require": "./dist/sig/mod.cjs",
|
68
99
|
"default": "./dist/sig/mod.js"
|
69
100
|
},
|
70
101
|
"./vocab": {
|
71
|
-
"types":
|
102
|
+
"types": {
|
103
|
+
"import": "./dist/vocab/mod.d.ts",
|
104
|
+
"require": "./dist/vocab/mod.d.cts",
|
105
|
+
"default": "./dist/vocab/mod.d.ts"
|
106
|
+
},
|
72
107
|
"import": "./dist/vocab/mod.js",
|
108
|
+
"require": "./dist/vocab/mod.cjs",
|
73
109
|
"default": "./dist/vocab/mod.js"
|
74
110
|
},
|
75
111
|
"./webfinger": {
|
76
|
-
"types":
|
112
|
+
"types": {
|
113
|
+
"import": "./dist/webfinger/mod.d.ts",
|
114
|
+
"require": "./dist/webfinger/mod.d.cts",
|
115
|
+
"default": "./dist/webfinger/mod.d.ts"
|
116
|
+
},
|
77
117
|
"import": "./dist/webfinger/mod.js",
|
118
|
+
"require": "./dist/webfinger/mod.cjs",
|
78
119
|
"default": "./dist/webfinger/mod.js"
|
79
120
|
},
|
80
121
|
"./x/cfworkers": {
|
81
|
-
"types":
|
122
|
+
"types": {
|
123
|
+
"import": "./dist/x/cfworkers.d.ts",
|
124
|
+
"require": "./dist/x/cfworkers.d.cts",
|
125
|
+
"default": "./dist/x/cfworkers.d.ts"
|
126
|
+
},
|
82
127
|
"import": "./dist/x/cfworkers.js",
|
128
|
+
"require": "./dist/x/cfworkers.cjs",
|
83
129
|
"default": "./dist/x/cfworkers.js"
|
84
130
|
},
|
85
131
|
"./x/hono": {
|
86
|
-
"types":
|
132
|
+
"types": {
|
133
|
+
"import": "./dist/x/hono.d.ts",
|
134
|
+
"require": "./dist/x/hono.d.cts",
|
135
|
+
"default": "./dist/x/hono.d.ts"
|
136
|
+
},
|
87
137
|
"import": "./dist/x/hono.js",
|
138
|
+
"require": "./dist/x/hono.cjs",
|
88
139
|
"default": "./dist/x/hono.js"
|
89
140
|
},
|
90
141
|
"./x/sveltekit": {
|
91
|
-
"types":
|
142
|
+
"types": {
|
143
|
+
"import": "./dist/x/sveltekit.d.ts",
|
144
|
+
"require": "./dist/x/sveltekit.d.cts",
|
145
|
+
"default": "./dist/x/sveltekit.d.ts"
|
146
|
+
},
|
92
147
|
"import": "./dist/x/sveltekit.js",
|
148
|
+
"require": "./dist/x/sveltekit.cjs",
|
93
149
|
"default": "./dist/x/sveltekit.js"
|
94
150
|
}
|
95
151
|
},
|
package/dist/compat-Bb5myD13.js
DELETED
package/dist/key-0hFXQUQz.js
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import "./docloader-XJzCMWY-.js";
|
6
|
-
import "./actor-CdM_sJLC.js";
|
7
|
-
import "./lookup-CIsbr_Qi.js";
|
8
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-BdBFUTr5.js";
|
9
|
-
|
10
|
-
export { validateCryptoKey };
|
@@ -1,17 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import "./transformers-Dna8Fg7k.js";
|
6
|
-
import "./docloader-XJzCMWY-.js";
|
7
|
-
import "./actor-CdM_sJLC.js";
|
8
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-e_Gw7sQy.js";
|
9
|
-
import "./lookup-CIsbr_Qi.js";
|
10
|
-
import "./key-BdBFUTr5.js";
|
11
|
-
import "./http-DYB4M8Pr.js";
|
12
|
-
import "./proof-DKGUTtBt.js";
|
13
|
-
import "./types-CuvNqe2X.js";
|
14
|
-
import "./authdocloader-VVd0U8Qg.js";
|
15
|
-
import "./vocab-CEXwobaS.js";
|
16
|
-
|
17
|
-
export { FederationImpl };
|
@@ -1,26 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
globalThis.addEventListener = () => {};
|
5
|
-
|
6
|
-
import "./type-DDwsy8fI.js";
|
7
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-D5JRdsEc.js";
|
8
|
-
import "./semver-dArNLkR9.js";
|
9
|
-
import "./client-DB8N2RwI.js";
|
10
|
-
import "./lookup-CXaZBmuy.js";
|
11
|
-
import "./types-BIgY6c-l.js";
|
12
|
-
import "./actor-ByOSf9n9.js";
|
13
|
-
import "./key-feGm-IP3.js";
|
14
|
-
import "./http-B_bBrm6N.js";
|
15
|
-
import "./authdocloader-CfP6lfxM.js";
|
16
|
-
import "./ld-DJCemZO2.js";
|
17
|
-
import "./owner-i9FkgZwa.js";
|
18
|
-
import "./proof-Bvtdd-Ul.js";
|
19
|
-
import "./inbox-B4k2JQpE.js";
|
20
|
-
import "./builder-mfXmda-W.js";
|
21
|
-
import "./collection-CSzG2j1P.js";
|
22
|
-
import "./keycache-b7FYgzB9.js";
|
23
|
-
import "./retry-D4GJ670a.js";
|
24
|
-
import "./send-Cuw-wTCx.js";
|
25
|
-
|
26
|
-
export { FederationImpl };
|
package/dist/runtime-BSkOVUWM.js
DELETED
package/dist/sig-BXJO--F9.js
DELETED