@grom.js/bot-api-spec 0.6.0 → 0.6.1

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.
Files changed (2) hide show
  1. package/README.md +2 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
  [![npm](https://img.shields.io/npm/v/%40grom.js%2Fbot-api-spec?style=flat&logo=npm&logoColor=%23BB443E&logoSize=auto&label=%C2%A0&labelColor=%23fff&color=%23BB443E)](https://www.npmjs.com/package/@grom.js/tgx)
3
3
  [![jsr](https://img.shields.io/jsr/v/%40grom/bot-api-spec?style=flat&logo=jsr&logoColor=%231B3646&logoSize=auto&label=%C2%A0&labelColor=%23F3E051&color=%231B3646)](https://jsr.io/@grom/tgx)
4
4
 
5
- [Telegram Bot API](https://core.telegram.org/bots/api) specification as a collection of JavaScript objects in a [custom format](#format).
5
+ [Telegram Bot API][bot-api] specification as a collection of JavaScript objects in a [custom format](#format).
6
6
 
7
7
  ## Motivation
8
8
 
@@ -20,10 +20,7 @@ deno add jsr:@grom/bot-api-spec
20
20
 
21
21
  ## Usage
22
22
 
23
- Root module exports two objects:
24
-
25
- 1. `types` — definition of all Bot API types
26
- 2. `methods` — definition of all Bot API methods
23
+ Root module exports two objects: `types` and `methods`, containing definitions of all Bot API types and methods respectively.
27
24
 
28
25
  ```ts
29
26
  import { types, methods } from '@grom.js/bot-api-spec' // '@grom/bot-api-spec' for JSR
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@grom.js/bot-api-spec",
3
3
  "type": "module",
4
- "version": "0.6.0",
4
+ "version": "0.6.1",
5
5
  "description": "Telegram Bot API specification as a collection of JavaScript objects in a custom format.",
6
6
  "license": "MIT",
7
7
  "repository": {