qwen-alpha 1.0.1 → 1.0.3
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/bin/qwen-alpha.js +1 -1
- package/package.json +1 -1
- package/src/services/db/index.js +2 -2
package/bin/qwen-alpha.js
CHANGED
|
@@ -26,7 +26,7 @@ program
|
|
|
26
26
|
.version(packageJson.version);
|
|
27
27
|
|
|
28
28
|
program
|
|
29
|
-
.
|
|
29
|
+
.option('--token <TOKEN>', 'Telegram Bot API токен (получите у @BotFather)')
|
|
30
30
|
.option('--log-level <LEVEL>', 'Уровень логирования (debug, info, warn, error)', 'info')
|
|
31
31
|
.option('--allowed-users <USERS>', 'Whitelist user_id через запятую (опционально)', '')
|
|
32
32
|
.option('--init-only', 'Только инициализация хранилищ и выход', false)
|
package/package.json
CHANGED
package/src/services/db/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const fs = require('fs');
|
|
2
2
|
const path = require('path');
|
|
3
|
-
const { DB_FILES, initDirectories } = require('
|
|
4
|
-
const { logger } = require('
|
|
3
|
+
const { DB_FILES, initDirectories } = require('../../utils/paths');
|
|
4
|
+
const { logger } = require('../../utils/logger');
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Базовый класс для JSON хранилища
|