Skip to content

Commit

Permalink
chore: bump
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed May 18, 2024
1 parent 70eb582 commit c93345e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ and GramIO customize your project the way you want it!
```typescript
import { Bot } from "gramio";

const bot = new Bot()
const bot = new Bot(process.env.TOKEN as string)
.command("start", (context) => context.send("Hello!"))
.onStart(({ info }) => console.log(`✨ Bot ${info.username} was started!`));

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gramio",
"version": "0.0.35",
"version": "0.0.36",
"description": "Powerful Telegram Bot API framework",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand All @@ -27,19 +27,19 @@
"license": "ISC",
"devDependencies": {
"@biomejs/biome": "1.7.3",
"@types/node": "^20.12.9",
"@types/node": "^20.12.12",
"typescript": "^5.4.5"
},
"dependencies": {
"@gramio/callback-data": "^0.0.3",
"@gramio/contexts": "^0.0.15",
"@gramio/files": "^0.0.8",
"@gramio/format": "^0.1.0",
"@gramio/format": "^0.1.1",
"@gramio/keyboards": "^0.3.1",
"@gramio/types": "^7.3.4",
"inspectable": "^3.0.1",
"middleware-io": "^2.8.1",
"undici": "^6.16.1"
"undici": "^6.17.0"
},
"files": [
"dist"
Expand Down
2 changes: 1 addition & 1 deletion src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export class Plugin<
}

/**
* This hook called when API return sucesfull response
* This hook called when API return successful response
*
* [Documentation](https://gramio.dev/hooks/on-response.html)
* */
Expand Down
4 changes: 1 addition & 3 deletions src/updates.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import {
type Context,
type MaybeArray,
type UpdateName,
contextsMappings,
} from "@gramio/contexts";
import type { APIMethodParams, TelegramUpdate } from "@gramio/types";
import { type CaughtMiddlewareHandler, noopNext } from "middleware-io";
import type { Bot } from "./bot";
import type { CaughtMiddlewareHandler } from "middleware-io";
import { Composer } from "./composer";
import type { AnyBot } from "./types";

Expand Down

0 comments on commit c93345e

Please sign in to comment.