gramio 0.0.8 → 0.0.9
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 +6 -0
- package/dist/updates.d.ts +1 -1
- package/dist/updates.js +1 -1
- package/package.json +7 -6
package/README.md
CHANGED
package/dist/updates.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare class Updates {
|
|
|
11
11
|
on<T extends UpdateNames>(updateName: T, handler: THandler<InstanceType<(typeof contextsMappings)[T]>>): this;
|
|
12
12
|
use(handler: THandler<Context>): this;
|
|
13
13
|
handleUpdate(data: TelegramUpdate): Promise<void>;
|
|
14
|
-
startPolling(): Promise<
|
|
14
|
+
startPolling(): Promise<void>;
|
|
15
15
|
startFetchLoop(): Promise<void>;
|
|
16
16
|
stopPolling(): void;
|
|
17
17
|
}
|
package/dist/updates.js
CHANGED
package/package.json
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gramio",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "WIP",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
|
+
"type": "tsc --noEmit",
|
|
8
9
|
"lint": "bun check ./src",
|
|
9
|
-
"lint:fix": "bun lint --apply"
|
|
10
|
+
"lint:fix": "bun lint --apply",
|
|
11
|
+
"prepublishOnly": "tsc"
|
|
10
12
|
},
|
|
11
13
|
"author": "kravets",
|
|
12
14
|
"license": "ISC",
|
|
13
15
|
"devDependencies": {
|
|
14
16
|
"@biomejs/biome": "1.5.3",
|
|
15
|
-
"@gramio/types": "^7.0
|
|
16
|
-
"@types/node": "^20.11.
|
|
17
|
+
"@gramio/types": "^7.1.0",
|
|
18
|
+
"@types/node": "^20.11.19"
|
|
17
19
|
},
|
|
18
20
|
"dependencies": {
|
|
19
|
-
"@gramio/contexts": "^0.0.
|
|
21
|
+
"@gramio/contexts": "^0.0.2",
|
|
20
22
|
"@gramio/files": "^0.0.3",
|
|
21
23
|
"@gramio/format": "^0.0.7",
|
|
22
24
|
"@gramio/keyboards": "^0.1.6",
|
|
23
|
-
"common-tags": "^1.8.2",
|
|
24
25
|
"form-data-encoder": "^4.0.2",
|
|
25
26
|
"inspectable": "^2.1.0",
|
|
26
27
|
"middleware-io": "^2.8.1",
|