@fedify/botkit 0.3.0-dev.131 → 0.3.0-dev.133

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.
@@ -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 hono_utils_html0 from "hono/utils/html";
5
+ import * as hono_utils_html1 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<hono_utils_html0.HtmlEscapedString>;
15
+ }: MessageProps): Promise<hono_utils_html1.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
@@ -4,7 +4,7 @@
4
4
 
5
5
  //#region deno.json
6
6
  var name = "@fedify/botkit";
7
- var version = "0.3.0-dev.131+c3b8be03";
7
+ var version = "0.3.0-dev.133+7022cda7";
8
8
  var license = "AGPL-3.0-only";
9
9
  var exports = {
10
10
  ".": "./src/mod.ts",
@@ -22,7 +22,6 @@ var exports = {
22
22
  var imports = {
23
23
  "@fedify/markdown-it-hashtag": "jsr:@fedify/markdown-it-hashtag@^0.3.0",
24
24
  "@fedify/markdown-it-mention": "jsr:@fedify/markdown-it-mention@^0.3.0",
25
- "@logtape/logtape": "jsr:@logtape/logtape@^1.0.0",
26
25
  "@phensley/language-tag": "npm:@phensley/language-tag@^1.12.2",
27
26
  "html-entities": "npm:html-entities@^2.6.0",
28
27
  "markdown-it": "npm:markdown-it@^14.1.0",
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.3.0-dev.131+c3b8be03\",\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 \"@logtape/logtape\": \"jsr:@logtape/logtape@^1.0.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 \"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,oBAAoB;CACpB,0BAA0B;CAC1B,iBAAiB;CACjB,eAAe;CACf,WAAW;CACX,UAAU;CACV,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"}
1
+ {"version":3,"file":"deno.js","names":[],"sources":["../deno.json"],"sourcesContent":["{\n \"name\": \"@fedify/botkit\",\n \"version\": \"0.3.0-dev.133+7022cda7\",\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 \"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,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;mBApDH;;;;;;;;;AAqDC"}
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 hono_types1 from "hono/types";
5
+ import * as hono_types0 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, hono_types1.BlankSchema, "/">;
15
+ declare const app: Hono<Env, hono_types0.BlankSchema, "/">;
16
16
  //# sourceMappingURL=pages.d.ts.map
17
17
 
18
18
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/botkit",
3
- "version": "0.3.0-dev.131+c3b8be03",
3
+ "version": "0.3.0-dev.133+7022cda7",
4
4
  "description": "A framework for creating ActivityPub bots",
5
5
  "license": "AGPL-3.0-only",
6
6
  "author": {
@@ -11,7 +11,8 @@
11
11
  "homepage": "https://botkit.fedify.dev/",
12
12
  "repository": {
13
13
  "type": "git",
14
- "url": "git+https://github.com/fedify-dev/botkit.git"
14
+ "url": "git+https://github.com/fedify-dev/botkit.git",
15
+ "directory": "packages/botkit"
15
16
  },
16
17
  "bugs": {
17
18
  "url": "https://github.com/fedify-dev/botkit/issues"
@@ -27,96 +28,51 @@
27
28
  },
28
29
  "type": "module",
29
30
  "module": "./dist/mod.js",
30
- "main": "./dist/mod.cjs",
31
31
  "types": "./dist/mod.d.ts",
32
32
  "exports": {
33
33
  ".": {
34
- "types": {
35
- "import": "./dist/mod.d.ts",
36
- "require": "./dist/mod.d.cts"
37
- },
38
- "import": "./dist/mod.js",
39
- "require": "./dist/mod.cjs"
34
+ "types": "./dist/mod.d.ts",
35
+ "import": "./dist/mod.js"
40
36
  },
41
37
  "./bot": {
42
- "types": {
43
- "import": "./dist/bot.d.ts",
44
- "require": "./dist/bot.d.cts"
45
- },
46
- "import": "./dist/bot.js",
47
- "require": "./dist/bot.cjs"
38
+ "types": "./dist/bot.d.ts",
39
+ "import": "./dist/bot.js"
48
40
  },
49
41
  "./emoji": {
50
- "types": {
51
- "import": "./dist/emoji.d.ts",
52
- "require": "./dist/emoji.d.cts"
53
- },
54
- "import": "./dist/emoji.js",
55
- "require": "./dist/emoji.cjs"
42
+ "types": "./dist/emoji.d.ts",
43
+ "import": "./dist/emoji.js"
56
44
  },
57
45
  "./events": {
58
- "types": {
59
- "import": "./dist/events.d.ts",
60
- "require": "./dist/events.d.cts"
61
- },
62
- "import": "./dist/events.js",
63
- "require": "./dist/events.cjs"
46
+ "types": "./dist/events.d.ts",
47
+ "import": "./dist/events.js"
64
48
  },
65
49
  "./follow": {
66
- "types": {
67
- "import": "./dist/follow.d.ts",
68
- "require": "./dist/follow.d.cts"
69
- },
70
- "import": "./dist/follow.js",
71
- "require": "./dist/follow.cjs"
50
+ "types": "./dist/follow.d.ts",
51
+ "import": "./dist/follow.js"
72
52
  },
73
53
  "./message": {
74
- "types": {
75
- "import": "./dist/message.d.ts",
76
- "require": "./dist/message.d.cts"
77
- },
78
- "import": "./dist/message.js",
79
- "require": "./dist/message.cjs"
54
+ "types": "./dist/message.d.ts",
55
+ "import": "./dist/message.js"
80
56
  },
81
57
  "./poll": {
82
- "types": {
83
- "import": "./dist/poll.d.ts",
84
- "require": "./dist/poll.d.cts"
85
- },
86
- "import": "./dist/poll.js",
87
- "require": "./dist/poll.cjs"
58
+ "types": "./dist/poll.d.ts",
59
+ "import": "./dist/poll.js"
88
60
  },
89
61
  "./reaction": {
90
- "types": {
91
- "import": "./dist/reaction.d.ts",
92
- "require": "./dist/reaction.d.cts"
93
- },
94
- "import": "./dist/reaction.js",
95
- "require": "./dist/reaction.cjs"
62
+ "types": "./dist/reaction.d.ts",
63
+ "import": "./dist/reaction.js"
96
64
  },
97
65
  "./repository": {
98
- "types": {
99
- "import": "./dist/repository.d.ts",
100
- "require": "./dist/repository.d.cts"
101
- },
102
- "import": "./dist/repository.js",
103
- "require": "./dist/repository.cjs"
66
+ "types": "./dist/repository.d.ts",
67
+ "import": "./dist/repository.js"
104
68
  },
105
69
  "./session": {
106
- "types": {
107
- "import": "./dist/session.d.ts",
108
- "require": "./dist/session.d.cts"
109
- },
110
- "import": "./dist/session.js",
111
- "require": "./dist/session.cjs"
70
+ "types": "./dist/session.d.ts",
71
+ "import": "./dist/session.js"
112
72
  },
113
73
  "./text": {
114
- "types": {
115
- "import": "./dist/text.d.ts",
116
- "require": "./dist/text.d.cts"
117
- },
118
- "import": "./dist/text.js",
119
- "require": "./dist/text.cjs"
74
+ "types": "./dist/text.d.ts",
75
+ "import": "./dist/text.js"
120
76
  },
121
77
  "./package.json": "./package.json"
122
78
  },
@@ -128,7 +84,7 @@
128
84
  "README.md"
129
85
  ],
130
86
  "dependencies": {
131
- "@fedify/fedify": "1.8.1-dev.1262",
87
+ "@fedify/fedify": "^1.8.3",
132
88
  "@fedify/markdown-it-hashtag": "^0.3.0",
133
89
  "@fedify/markdown-it-mention": "^0.3.0",
134
90
  "@js-temporal/polyfill": "^0.5.1",