teh-bot 1.0.4 → 1.0.5
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 +571 -349
- package/{index.js → dist/index.cjs} +95 -167
- package/{index.d.ts → dist/index.d.ts} +518 -23
- package/dist/index.mjs +1002 -0
- package/package.json +27 -11
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "teh-bot",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Lightweight, high-performance Telegram Bot API
|
|
3
|
+
"version": "1.0.5",
|
|
4
|
+
"description": "Lightweight, high-performance Telegram Bot API library with zero dependencies. Supports polling, webhooks, and all Telegram Bot API methods.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"telegram",
|
|
7
7
|
"bot",
|
|
@@ -9,7 +9,12 @@
|
|
|
9
9
|
"telegram-bot",
|
|
10
10
|
"telegram-bot-api",
|
|
11
11
|
"lightweight",
|
|
12
|
-
"polling"
|
|
12
|
+
"polling",
|
|
13
|
+
"webhook",
|
|
14
|
+
"nodejs",
|
|
15
|
+
"typescript",
|
|
16
|
+
"esm",
|
|
17
|
+
"cjs"
|
|
13
18
|
],
|
|
14
19
|
"homepage": "https://github.com/kazedevid/teh#readme",
|
|
15
20
|
"bugs": {
|
|
@@ -21,16 +26,27 @@
|
|
|
21
26
|
},
|
|
22
27
|
"license": "MIT",
|
|
23
28
|
"author": "KazeDevID",
|
|
24
|
-
"type": "
|
|
25
|
-
"
|
|
26
|
-
|
|
29
|
+
"type": "module",
|
|
30
|
+
"exports": {
|
|
31
|
+
".": {
|
|
32
|
+
"import": "./dist/index.mjs",
|
|
33
|
+
"require": "./dist/index.cjs",
|
|
34
|
+
"types": "./dist/index.d.ts"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"main": "./dist/index.cjs",
|
|
38
|
+
"module": "./dist/index.mjs",
|
|
39
|
+
"types": "dist/index.d.ts",
|
|
27
40
|
"files": [
|
|
28
|
-
"
|
|
29
|
-
"index.d.ts",
|
|
41
|
+
"dist",
|
|
30
42
|
"README.md",
|
|
31
|
-
"LICENSE"
|
|
43
|
+
"LICENSE",
|
|
44
|
+
"CHANGELOG.md"
|
|
32
45
|
],
|
|
33
46
|
"scripts": {
|
|
34
|
-
"
|
|
47
|
+
"build": "node scripts/build.cjs",
|
|
48
|
+
"dev": "node examples/simple-bot.js",
|
|
49
|
+
"prepublish": "npm run build",
|
|
50
|
+
"test": "node scripts/test.cjs"
|
|
35
51
|
}
|
|
36
|
-
}
|
|
52
|
+
}
|