rubika 1.0.0 → 1.0.2

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 CHANGED
@@ -1,13 +1,13 @@
1
1
  <p align="center">
2
- <h1 style="color:#fff;">› rubika-bot Framework</h1>
2
+ <h1 style="color:#fff;">› rubika Framework</h1>
3
3
  <p><b>فریم‌ورک قدرتمند و پرسرعت جاوااسکریپت برای ربات‌های روبیکا</b></p>
4
4
  </p>
5
5
 
6
6
  ---
7
7
 
8
- ## › معرفی rubika-bot
8
+ ## › معرفی rubika
9
9
 
10
- **rubika-bot** یک فریم‌ورک سبک، مدرن و کاملاً **غیرهمزمان** برای توسعه ربات‌های روبیکا است.
10
+ **rubika** یک فریم‌ورک سبک، مدرن و کاملاً **غیرهمزمان** برای توسعه ربات‌های روبیکا است.
11
11
  با معماری **Filter-Base** و **Type-Safe**، شما می‌توانید:
12
12
 
13
13
  - ربات‌هایی سریع و کم‌حجم بسازید
@@ -19,15 +19,15 @@
19
19
  ## › نصب و شروع سریع
20
20
 
21
21
  ```bash
22
- bun add rubika-bot
22
+ bun add rubika
23
23
  ```
24
24
 
25
25
  ## › نمونه کد ساده
26
26
 
27
27
  ```js
28
- const { Bot, Filters } = require("rubika-bot");
28
+ const { Bot, Filters } = require("rubika");
29
29
 
30
- const bot = new Bot("rubika-bot");
30
+ const bot = new Bot("rubika");
31
31
 
32
32
  bot.command("/start", async (ctx, bot) => {
33
33
  await bot.sendMessage(ctx.chat_id, "🤖 ربات استارت شد");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rubika",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "author": "Hadi Rostami",
5
5
  "main": "src/index.ts",
6
6
  "description": "A modern library for Rubika built with Bun.",
package/src/index.ts CHANGED
@@ -2,7 +2,8 @@ import Bot from "./bot";
2
2
  import Utils from "./utils";
3
3
  import Filters from "./filters";
4
4
  import type * as Enums from "./types/enums";
5
+ import { Update, InlineMessage } from "./types/interfaces";
5
6
 
6
7
  export default Bot;
7
8
  export { Bot, Filters, Utils };
8
- export type { Enums };
9
+ export type { Enums, Update, InlineMessage };