bump version

This commit is contained in:
undefined committed 2025-04-03 02:32:22 +08:00
1 parent 8af621222c
commit 6aef4695f2
43 files changed
+96 -53

No files matched your search

+2
View File
@@ -13,6 +13,7 @@ export default class TelegramService extends Service {
token: Schema.string().role('secret').required(),
botLogin: Schema.string().required(),
endpoint: Schema.string().default('https://api.telegram.org/bot'),
canRegister: Schema.boolean().default(false),
});
constructor(ctx: Context, config: ReturnType<typeof TelegramService.Config>) {
@@ -21,6 +22,7 @@ export default class TelegramService extends Service {
text: 'Login with Telegram',
name: 'Telegram',
icon,
canRegister: config.canRegister,
callback: async function callback({ payload }) {
const parsed = JSON.parse(payload);
const hash = parsed.hash;
+1 -1
View File
@@ -1,4 +1,4 @@
{
"name": "@hydrooj/telegram",
"version": "0.0.1"
"version": "0.0.2-beta.0"
}