chz-telegram-bot 0.1.7 → 0.1.8

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.
@@ -36,7 +36,7 @@ class BotInstance {
36
36
  new jsonFileStorage_1.JsonFileStorage(options.name, actions, options.storagePath);
37
37
  this.api = new telegramApi_1.TelegramApiService(this.name, this.telegraf.telegram, this.storage, this.logger);
38
38
  this.initializeMessageProcessing(options.verboseLoggingForIncomingMessage ?? false);
39
- this.initializeInlineQueryProcessing(500);
39
+ this.initializeInlineQueryProcessing(1000);
40
40
  this.initializeScheduledProcessing(options.scheduledPeriod ?? (0, timeConvertions_1.hoursToSeconds)(1));
41
41
  this.storage.saveMetadata(actions, this.name);
42
42
  this.logger.logWithTraceId(this.name, (0, traceFactory_1.createTrace)(this, this.name, 'Start'), 'System', 'Starting bot...');
@@ -80,7 +80,7 @@ export class BotInstance {
80
80
  this.initializeMessageProcessing(
81
81
  options.verboseLoggingForIncomingMessage ?? false
82
82
  );
83
- this.initializeInlineQueryProcessing(500 as Milliseconds);
83
+ this.initializeInlineQueryProcessing(1000 as Milliseconds);
84
84
  this.initializeScheduledProcessing(
85
85
  options.scheduledPeriod ?? hoursToSeconds(1 as Hours)
86
86
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chz-telegram-bot",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "async-sema": "^3.1.1",