halbot 1991.1.5 → 1991.1.6

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 +4 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -262,8 +262,10 @@ const config = {
262
262
  provider: [[POSTGRESQL || MARIADB || MYSQL || REDIS]],
263
263
  get: async (key) => { /* Return session object by chatId. */ },
264
264
  set: async (key, session) => { /* Save session object by chatId. */ },
265
- query: async (topic) => { /* Search history and session by topic. */ },
266
- upsert: async (event) => { /* Save event for history and session. */ },
265
+ client: { /* Customized database client / pool. */ },
266
+ query: async (topic) => { /* Search history and session by topic. */ },
267
+ upsert: async (event) => { /* Save event for history and session. */ },
268
+ },
267
269
  },
268
270
 
269
271
  // OPTIONAL, function.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "halbot",
3
3
  "description": "Just another `ChatGPT` / `Gemini` / `Mistral (by ollama)` Telegram bob, which is simple design, easy to use, extendable and fun.",
4
- "version": "1991.1.5",
4
+ "version": "1991.1.6",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/halbot",
7
7
  "type": "module",