grammy-tools 1.36.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/LICENSE +21 -0
- package/README.md +339 -0
- package/out/bot.d.ts +314 -0
- package/out/bot.js +669 -0
- package/out/composer.d.ts +764 -0
- package/out/composer.js +704 -0
- package/out/context.d.ts +1618 -0
- package/out/context.js +1976 -0
- package/out/convenience/constants.d.ts +98 -0
- package/out/convenience/constants.js +37 -0
- package/out/convenience/frameworks.d.ts +216 -0
- package/out/convenience/frameworks.js +370 -0
- package/out/convenience/inline_query.d.ts +401 -0
- package/out/convenience/inline_query.js +461 -0
- package/out/convenience/input_media.d.ts +72 -0
- package/out/convenience/input_media.js +82 -0
- package/out/convenience/keyboard.d.ts +763 -0
- package/out/convenience/keyboard.js +935 -0
- package/out/convenience/session.d.ts +345 -0
- package/out/convenience/session.js +455 -0
- package/out/convenience/webhook.d.ts +59 -0
- package/out/convenience/webhook.js +80 -0
- package/out/core/api.d.ts +1628 -0
- package/out/core/api.js +1907 -0
- package/out/core/client.d.ts +180 -0
- package/out/core/client.js +226 -0
- package/out/core/error.d.ts +53 -0
- package/out/core/error.js +87 -0
- package/out/core/payload.d.ts +39 -0
- package/out/core/payload.js +199 -0
- package/out/filter.d.ts +959 -0
- package/out/filter.js +378 -0
- package/out/mod.d.ts +14 -0
- package/out/mod.js +43 -0
- package/out/platform.node.d.ts +16 -0
- package/out/platform.node.js +43 -0
- package/out/shim.node.d.ts +2 -0
- package/out/shim.node.js +7 -0
- package/out/types.d.ts +1 -0
- package/out/types.js +17 -0
- package/out/types.node.d.ts +78 -0
- package/out/types.node.js +107 -0
- package/out/web.d.ts +1 -0
- package/out/web.mjs +5172 -0
- package/package.json +71 -0
package/package.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "grammy-tools",
|
|
3
|
+
"description": "The Telegram Bot Framework.",
|
|
4
|
+
"version": "1.36.2",
|
|
5
|
+
"author": "KnorpelSenf",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": "^12.20.0 || >=14.13.1"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://grammy.dev/",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/grammyjs/grammY"
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"prepare": "npm run backport",
|
|
17
|
+
"backport": "deno2node tsconfig.json"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@grammyjs/types": "3.19.0",
|
|
21
|
+
"abort-controller": "^3.0.0",
|
|
22
|
+
"debug": "^4.4.0",
|
|
23
|
+
"node-fetch": "^2.7.0"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@types/debug": "^4.1.12",
|
|
27
|
+
"@types/node": "^12.20.55",
|
|
28
|
+
"@types/node-fetch": "2.6.2",
|
|
29
|
+
"deno2node": "^1.15.0"
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"out/"
|
|
33
|
+
],
|
|
34
|
+
"main": "./out/mod.js",
|
|
35
|
+
"types": "./out/mod.d.ts",
|
|
36
|
+
"exports": {
|
|
37
|
+
".": {
|
|
38
|
+
"types": "./out/mod.d.ts",
|
|
39
|
+
"node": "./out/mod.js",
|
|
40
|
+
"browser": "./out/web.mjs",
|
|
41
|
+
"default": "./out/web.mjs"
|
|
42
|
+
},
|
|
43
|
+
"./types": {
|
|
44
|
+
"types": "./out/types.d.ts",
|
|
45
|
+
"default": "./out/types.js"
|
|
46
|
+
},
|
|
47
|
+
"./web": {
|
|
48
|
+
"types": "./out/web.d.ts",
|
|
49
|
+
"default": "./out/web.mjs"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"typesVersions": {
|
|
53
|
+
"*": {
|
|
54
|
+
"web": [
|
|
55
|
+
"out/web"
|
|
56
|
+
],
|
|
57
|
+
"types": [
|
|
58
|
+
"out/types"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"keywords": [
|
|
63
|
+
"telegram",
|
|
64
|
+
"bot",
|
|
65
|
+
"api",
|
|
66
|
+
"client",
|
|
67
|
+
"framework",
|
|
68
|
+
"library",
|
|
69
|
+
"grammy"
|
|
70
|
+
]
|
|
71
|
+
}
|