@grom.js/bot-api-spec 0.6.2 → 0.7.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.
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.2",
4
+ "version": "0.7.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": {
@@ -26,26 +26,25 @@
26
26
  "node": ">=22.18"
27
27
  },
28
28
  "devDependencies": {
29
- "@antfu/eslint-config": "7.0.1",
30
- "@types/node": "22.19.7",
29
+ "@antfu/eslint-config": "7.3.0",
30
+ "@types/node": "22.19.10",
31
31
  "@types/turndown": "5.0.6",
32
- "bumpp": "10.4.0",
33
- "cheerio": "1.1.2",
32
+ "bumpp": "10.4.1",
33
+ "cheerio": "1.2.0",
34
34
  "domhandler": "5.0.3",
35
35
  "eslint": "9.39.2",
36
- "eslint-plugin-format": "1.3.1",
36
+ "eslint-plugin-format": "1.4.0",
37
37
  "taze": "19.9.2",
38
38
  "turndown": "7.2.2",
39
39
  "typescript": "5.9.3",
40
- "zod": "4.3.5"
40
+ "zod": "4.3.6"
41
41
  },
42
42
  "scripts": {
43
43
  "typecheck": "tsc --build --noEmit",
44
44
  "build": "tsc --build",
45
45
  "lint": "eslint .",
46
46
  "lint:fix": "eslint . --fix",
47
- "gen:spec": "node ./scripts/gen.ts",
48
- "gen:return-types": "node --env-file=./.env ./scripts/gen-return-types.ts",
47
+ "gen": "node ./scripts/generate.ts",
49
48
  "deps": "taze --write --interactive --include-locked minor",
50
49
  "release": "bumpp"
51
50
  }
package/src/format.ts CHANGED
@@ -107,11 +107,6 @@ export interface FieldOrParam {
107
107
  * Description of the field/parameter.
108
108
  */
109
109
  description: Description
110
-
111
- /**
112
- * Whether this field/parameter should be JSON-serialized.
113
- */
114
- jsonSerialized: boolean
115
110
  }
116
111
 
117
112
  /**