@fedify/botkit 0.4.0-dev.167 → 0.4.0-dev.170
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Temporal, toTemporalInstant } from "@js-temporal/polyfill";
|
|
2
2
|
Date.prototype.toTemporalInstant = toTemporalInstant;
|
|
3
3
|
import { BotImpl } from "../bot-impl.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as hono_jsx_jsx_dev_runtime1 from "hono/jsx/jsx-dev-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/FollowButton.d.ts
|
|
7
7
|
interface FollowButtonProps {
|
|
@@ -9,7 +9,7 @@ interface FollowButtonProps {
|
|
|
9
9
|
}
|
|
10
10
|
declare function FollowButton({
|
|
11
11
|
bot
|
|
12
|
-
}: FollowButtonProps):
|
|
12
|
+
}: FollowButtonProps): hono_jsx_jsx_dev_runtime1.JSX.Element;
|
|
13
13
|
//# sourceMappingURL=FollowButton.d.ts.map
|
|
14
14
|
|
|
15
15
|
//#endregion
|
|
@@ -2,7 +2,7 @@ import { Temporal, toTemporalInstant } from "@js-temporal/polyfill";
|
|
|
2
2
|
Date.prototype.toTemporalInstant = toTemporalInstant;
|
|
3
3
|
import { Session } from "../session.js";
|
|
4
4
|
import { Actor } from "@fedify/fedify/vocab";
|
|
5
|
-
import * as
|
|
5
|
+
import * as hono_utils_html0 from "hono/utils/html";
|
|
6
6
|
|
|
7
7
|
//#region src/components/Follower.d.ts
|
|
8
8
|
interface FollowerProps {
|
|
@@ -12,7 +12,7 @@ interface FollowerProps {
|
|
|
12
12
|
declare function Follower({
|
|
13
13
|
actor,
|
|
14
14
|
session
|
|
15
|
-
}: FollowerProps): Promise<
|
|
15
|
+
}: FollowerProps): Promise<hono_utils_html0.HtmlEscapedString>;
|
|
16
16
|
//# sourceMappingURL=Follower.d.ts.map
|
|
17
17
|
|
|
18
18
|
//#endregion
|
|
@@ -2,7 +2,7 @@ import { Temporal, toTemporalInstant } from "@js-temporal/polyfill";
|
|
|
2
2
|
Date.prototype.toTemporalInstant = toTemporalInstant;
|
|
3
3
|
import { MessageClass } from "../message.js";
|
|
4
4
|
import { Session } from "../session.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as hono_utils_html3 from "hono/utils/html";
|
|
6
6
|
|
|
7
7
|
//#region src/components/Message.d.ts
|
|
8
8
|
interface MessageProps {
|
|
@@ -12,7 +12,7 @@ interface MessageProps {
|
|
|
12
12
|
declare function Message({
|
|
13
13
|
session,
|
|
14
14
|
message
|
|
15
|
-
}: MessageProps): Promise<
|
|
15
|
+
}: MessageProps): Promise<hono_utils_html3.HtmlEscapedString>;
|
|
16
16
|
declare function renderCustomEmojis(html: string, emojis: Record<string, string>): string;
|
|
17
17
|
//# sourceMappingURL=Message.d.ts.map
|
|
18
18
|
|
package/dist/deno.js
CHANGED
package/dist/deno.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deno.js","names":[],"sources":["../deno.json"],"sourcesContent":["{\n \"name\": \"@fedify/botkit\",\n \"version\": \"0.4.0-dev.
|
|
1
|
+
{"version":3,"file":"deno.js","names":[],"sources":["../deno.json"],"sourcesContent":["{\n \"name\": \"@fedify/botkit\",\n \"version\": \"0.4.0-dev.170+765d25d4\",\n \"license\": \"AGPL-3.0-only\",\n \"exports\": {\n \".\": \"./src/mod.ts\",\n \"./bot\": \"./src/bot.ts\",\n \"./emoji\": \"./src/emoji.ts\",\n \"./events\": \"./src/events.ts\",\n \"./follow\": \"./src/follow.ts\",\n \"./message\": \"./src/message.ts\",\n \"./poll\": \"./src/poll.ts\",\n \"./reaction\": \"./src/reaction.ts\",\n \"./repository\": \"./src/repository.ts\",\n \"./session\": \"./src/session.ts\",\n \"./text\": \"./src/text.ts\"\n },\n \"imports\": {\n \"@fedify/markdown-it-hashtag\": \"jsr:@fedify/markdown-it-hashtag@^0.3.0\",\n \"@fedify/markdown-it-mention\": \"jsr:@fedify/markdown-it-mention@^0.3.0\",\n \"@phensley/language-tag\": \"npm:@phensley/language-tag@^1.12.2\",\n \"html-entities\": \"npm:html-entities@^2.6.0\",\n \"markdown-it\": \"npm:markdown-it@^14.1.0\",\n \"mime-db\": \"npm:mime-db@^1.54.0\",\n \"tsdown\": \"npm:tsdown@^0.12.8\",\n \"url-template\": \"npm:url-template@^3.1.1\",\n \"uuid\": \"npm:uuid@^11.1.0\",\n \"xss\": \"npm:xss@^1.0.15\"\n },\n \"exclude\": [\n \"dist\",\n \"junit.xml\",\n \"src/css\"\n ],\n \"fmt\": {\n \"exclude\": [\n \"*.md\",\n \"*.yaml\",\n \"*.yml\",\n \"src/static/*.ts\"\n ]\n },\n \"tasks\": {\n \"test\": \"deno test --allow-env=NODE_V8_COVERAGE,JEST_WORKER_ID --allow-net=hollo.social --parallel\",\n \"test:node\": \"pnpm install && pnpm test\",\n \"test-all\": {\n \"dependencies\": [\n \"check\",\n \"test\",\n \"test:node\"\n ]\n },\n \"coverage\": \"deno task test --coverage --clean && deno coverage --html\"\n }\n}\n"],"mappings":";;;;;WACU;cACG;cACA;cACA;CACT,KAAK;CACL,SAAS;CACT,WAAW;CACX,YAAY;CACZ,YAAY;CACZ,aAAa;CACb,UAAU;CACV,cAAc;CACd,gBAAgB;CAChB,aAAa;CACb,UAAU;AACX;cACU;CACT,+BAA+B;CAC/B,+BAA+B;CAC/B,0BAA0B;CAC1B,iBAAiB;CACjB,eAAe;CACf,WAAW;CACX,UAAU;CACV,gBAAgB;CAChB,QAAQ;CACR,OAAO;AACR;cACU;CACT;CACA;CACA;AACD;UACM,EACL,WAAW;CACT;CACA;CACA;CACA;AACD,EACF;YACQ;CACP,QAAQ;CACR,aAAa;CACb,YAAY,EACV,gBAAgB;EACd;EACA;EACA;CACD,EACF;CACD,YAAY;AACb;mBArDH;;;;;;;;;AAsDC"}
|
package/dist/pages.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Temporal, toTemporalInstant } from "@js-temporal/polyfill";
|
|
|
2
2
|
Date.prototype.toTemporalInstant = toTemporalInstant;
|
|
3
3
|
import { BotImpl } from "./bot-impl.js";
|
|
4
4
|
import { Hono } from "hono";
|
|
5
|
-
import * as
|
|
5
|
+
import * as hono_types2 from "hono/types";
|
|
6
6
|
|
|
7
7
|
//#region src/pages.d.ts
|
|
8
8
|
interface Bindings {
|
|
@@ -12,7 +12,7 @@ interface Bindings {
|
|
|
12
12
|
interface Env {
|
|
13
13
|
readonly Bindings: Bindings;
|
|
14
14
|
}
|
|
15
|
-
declare const app: Hono<Env,
|
|
15
|
+
declare const app: Hono<Env, hono_types2.BlankSchema, "/">;
|
|
16
16
|
//# sourceMappingURL=pages.d.ts.map
|
|
17
17
|
|
|
18
18
|
//#endregion
|