@codebam/cf-workers-telegram-bot 7.13.0 → 7.14.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.
package/README.md CHANGED
@@ -19,7 +19,9 @@ CF Workers Telegram Bot
19
19
  npm i @codebam/cf-workers-telegram-bot
20
20
  ```
21
21
 
22
- See `worker.ts` for an example of what a bot might look like. Just import from `@codebam/cf-workers-telegram-bot`.
22
+ See [cwtb-consumer](https://github.com/codebam/cwtb-consumer) for an example of what a bot might look like. Just import from `@codebam/cf-workers-telegram-bot`.
23
+
24
+ See [my blog post](https://seanbehan.ca/posts/cf-workers-telegram-bot) for a more in-depth guide for how to set up a bot.
23
25
 
24
26
  - `npm create cloudflare@latest`
25
27
  - `npx wrangler login`
package/dist/main.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import TelegramExecutionContext from './ctx';
2
2
  import TelegramBot from './telegram_bot';
3
3
  import * as Types from './types';
4
+ export default TelegramBot;
4
5
  export { TelegramBot, Types, TelegramExecutionContext };
package/dist/main.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import TelegramExecutionContext from './ctx';
2
2
  import TelegramBot from './telegram_bot';
3
3
  import * as Types from './types';
4
+ export default TelegramBot;
4
5
  export { TelegramBot, Types, TelegramExecutionContext };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codebam/cf-workers-telegram-bot",
3
- "version": "7.13.0",
3
+ "version": "7.14.0",
4
4
  "description": "serverless telegram bot on cf workers",
5
5
  "main": "./dist/main.js",
6
6
  "module": "./dist/main.js",
@@ -44,5 +44,5 @@
44
44
  "typescript-eslint": "^7.8.0",
45
45
  "vitest": "^1.6.0"
46
46
  },
47
- "gitHead": "b7df0c8cb49e4a36f4c7ab14209e1f91af5f8732"
47
+ "gitHead": "447e42420100756926c4c3aa1ea41f4405ad465c"
48
48
  }