@codebam/cf-workers-telegram-bot 4.3.0 → 4.5.0

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.
@@ -1,4 +1,4 @@
1
- export default class TelegramCommands {
1
+ class TelegramCommands {
2
2
  static ping = async (bot, update, args) => bot.ping(update, args);
3
3
  static toss = async (bot, update) => bot.toss(update);
4
4
  static epoch = async (bot, update) => bot.epoch(update);
@@ -14,3 +14,4 @@ export default class TelegramCommands {
14
14
  static code = async (bot, update) => bot.code(update);
15
15
  static commandList = async (bot, update) => bot.commandList(update);
16
16
  }
17
+ export default TelegramCommands;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codebam/cf-workers-telegram-bot",
3
- "version": "4.3.0",
3
+ "version": "4.5.0",
4
4
  "description": "serverless telegram bot on cf workers",
5
5
  "main": "./dist/main/src/main.js",
6
6
  "module": "./dist/main/src/main.js",
@@ -28,18 +28,15 @@
28
28
  "type": "git",
29
29
  "url": "https://github.com/codebam/cf-workers-telegram-bot.git"
30
30
  },
31
- "dependencies": {
32
- "worker": "^4.3.0"
33
- },
34
31
  "devDependencies": {
35
- "@cloudflare/workers-types": "^4.20230221.0",
36
- "@typescript-eslint/eslint-plugin": "^5.54.0",
37
- "@typescript-eslint/parser": "^5.54.0",
38
- "eslint": "^8.35.0",
39
- "eslint-config-prettier": "^8.6.0",
32
+ "@cloudflare/workers-types": "^4.20230307.0",
33
+ "@typescript-eslint/eslint-plugin": "^5.56.0",
34
+ "@typescript-eslint/parser": "^5.56.0",
35
+ "eslint": "^8.36.0",
36
+ "eslint-config-prettier": "^8.8.0",
40
37
  "lerna": "^6.5.1",
41
- "prettier": "^2.8.4",
42
- "typescript": "^4.9.5"
38
+ "prettier": "^2.8.6",
39
+ "typescript": "^5.0.2"
43
40
  },
44
- "gitHead": "50f18f12801dd88245757cb2ecca932cae3066ae"
41
+ "gitHead": "eda17de4e414e614b6eb2c6cc2cd166e9a860ff0"
45
42
  }