Skip to content

Commit

Permalink
feat: add support for 7.8 Telegram Bot API
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed Jul 31, 2024
1 parent 81dc79f commit 8dc2a4b
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 78 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div align="center">

[![Bot API](https://img.shields.io/badge/Bot%20API-7.7-blue?logo=telegram&style=flat&labelColor=000&color=3b82f6)](https://core.telegram.org/bots/api)
[![Bot API](https://img.shields.io/badge/Bot%20API-7.8-blue?logo=telegram&style=flat&labelColor=000&color=3b82f6)](https://core.telegram.org/bots/api)
[![npm](https://img.shields.io/npm/v/gramio?logo=npm&style=flat&labelColor=000&color=3b82f6)](https://www.npmjs.org/package/@gramio/core)
[![JSR](https://jsr.io/badges/@gramio/core)](https://jsr.io/@gramio/core)
[![JSR Score](https://jsr.io/badges/@gramio/core/score)](https://jsr.io/@gramio/core)
Expand Down
43 changes: 19 additions & 24 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
{
"name": "@gramio/core",
"version": "0.0.33",
"exports": "./src/index.ts",
"publish": {
"include": [
"deno.json",
"src",
"README.md",
"tsconfig.json"
]
},
"imports": {
"@gramio/types": "jsr:@gramio/types@^7.7.0",
"@gramio/callback-data": "jsr:@gramio/callback-data@^0.0.3",
"@gramio/contexts": "jsr:@gramio/contexts@^0.0.20",
"@gramio/files": "jsr:@gramio/files@^0.0.10",
"@gramio/format": "jsr:@gramio/format@^0.1.3",
"@gramio/keyboards": "jsr:@gramio/keyboards@^0.3.3",
"inspectable": "npm:inspectable@^3.0.2",
"middleware-io": "npm:middleware-io@^2.8.1",
"undici": "npm:undici@^6.19.2",
"debug": "npm:debug@^4.3.5"
}
}
"name": "@gramio/core",
"version": "0.0.33",
"exports": "./src/index.ts",
"publish": {
"include": ["deno.json", "src", "README.md", "tsconfig.json"]
},
"imports": {
"@gramio/types": "jsr:@gramio/types@^7.8.0",
"@gramio/callback-data": "jsr:@gramio/callback-data@^0.0.3",
"@gramio/contexts": "jsr:@gramio/contexts@^0.0.21",
"@gramio/files": "jsr:@gramio/files@^0.0.10",
"@gramio/format": "jsr:@gramio/format@^0.1.3",
"@gramio/keyboards": "jsr:@gramio/keyboards@^0.3.3",
"inspectable": "npm:inspectable@^3.0.2",
"middleware-io": "npm:middleware-io@^2.8.1",
"undici": "npm:undici@^6.19.2",
"debug": "npm:debug@^4.3.5"
}
}
101 changes: 48 additions & 53 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,54 +1,49 @@
{
"name": "gramio",
"type": "commonjs",
"version": "0.0.46",
"description": "Powerful, extensible and really type-safe Telegram Bot API framework",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"keywords": [
"telegram",
"telegram-bot",
"telegram-bot-api",
"bot",
"framework",
"types",
"client",
"webhook",
"long-polling"
],
"scripts": {
"type": "tsc --noEmit",
"lint": "bunx @biomejs/biome check ./src",
"lint:fix": "bun lint --apply",
"prepublishOnly": "tsc",
"jsr": "bun scripts/release-jsr.ts",
"try-deno": "deno publish --unstable-sloppy-imports --dry-run --allow-slow-types --allow-dirty"
},
"author": "kravets",
"license": "ISC",
"devDependencies": {
"@biomejs/biome": "1.7.3",
"@types/bun": "^1.1.6",
"@types/debug": "^4.1.12",
"@types/node": "^20.14.10",
"typescript": "^5.5.3"
},
"dependencies": {
"@gramio/callback-data": "^0.0.3",
"@gramio/contexts": "^0.0.20",
"@gramio/files": "^0.0.11",
"@gramio/format": "^0.1.3",
"@gramio/keyboards": "^0.3.3",
"@gramio/types": "^7.7.1",
"debug": "^4.3.5",
"inspectable": "^3.0.2",
"middleware-io": "^2.8.1",
"undici": "^6.19.2"
},
"overrides": {
"@gramio/types": "^7.7.1"
},
"files": [
"dist"
]
}
"name": "gramio",
"type": "commonjs",
"version": "0.0.47",
"description": "Powerful, extensible and really type-safe Telegram Bot API framework",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"keywords": [
"telegram",
"telegram-bot",
"telegram-bot-api",
"bot",
"framework",
"types",
"client",
"webhook",
"long-polling"
],
"scripts": {
"type": "tsc --noEmit",
"lint": "bunx @biomejs/biome check ./src",
"lint:fix": "bun lint --apply",
"prepublishOnly": "tsc",
"jsr": "bun scripts/release-jsr.ts",
"try-deno": "deno publish --unstable-sloppy-imports --dry-run --allow-slow-types --allow-dirty"
},
"author": "kravets",
"license": "ISC",
"devDependencies": {
"@biomejs/biome": "1.7.3",
"@types/bun": "^1.1.6",
"@types/debug": "^4.1.12",
"@types/node": "^20.14.13",
"typescript": "^5.5.4"
},
"dependencies": {
"@gramio/callback-data": "^0.0.3",
"@gramio/contexts": "^0.0.21",
"@gramio/files": "^0.0.11",
"@gramio/format": "^0.1.3",
"@gramio/keyboards": "^0.3.3",
"@gramio/types": "^7.8.0",
"debug": "^4.3.6",
"inspectable": "^3.0.2",
"middleware-io": "^2.8.1",
"undici": "^6.19.5"
},
"files": ["dist"]
}

0 comments on commit 8dc2a4b

Please sign in to comment.