natureco-cli 2.8.1 → 2.8.2
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/package.json
CHANGED
|
@@ -211,7 +211,7 @@ body::before{
|
|
|
211
211
|
<div class="header-bot-name" id="header-bot-name">Nature Bot</div>
|
|
212
212
|
<div class="header-bot-model" id="header-bot-model">NatureCo</div>
|
|
213
213
|
</div>
|
|
214
|
-
<div class="version-badge" id="version-badge">v2.8.
|
|
214
|
+
<div class="version-badge" id="version-badge">v2.8.2</div>
|
|
215
215
|
</div>
|
|
216
216
|
<div class="messages" id="messages"></div>
|
|
217
217
|
<div class="input-area">
|
|
@@ -341,7 +341,7 @@ function dashboard(action) {
|
|
|
341
341
|
apiKey: cfg.apiKey,
|
|
342
342
|
defaultBot: cfg.defaultBot,
|
|
343
343
|
defaultBotId: cfg.defaultBotId,
|
|
344
|
-
version: 'v2.8.
|
|
344
|
+
version: 'v2.8.2',
|
|
345
345
|
bots: cfg.bots || [],
|
|
346
346
|
telegramToken: cfg.telegramToken || null,
|
|
347
347
|
whatsappConnected: cfg.whatsappConnected || false,
|
|
@@ -10,7 +10,6 @@ const LOG_FILE = path.join(os.homedir(), '.natureco', 'gateway.log');
|
|
|
10
10
|
// WhatsApp imports
|
|
11
11
|
let makeWASocket, useMultiFileAuthState, DisconnectReason, fetchLatestBaileysVersion, Browsers;
|
|
12
12
|
const pino = require('pino');
|
|
13
|
-
const logger = pino({ level: 'silent' });
|
|
14
13
|
|
|
15
14
|
// Lazy load Baileys
|
|
16
15
|
function loadBaileys() {
|
|
@@ -128,7 +127,7 @@ async function startGateway() {
|
|
|
128
127
|
|
|
129
128
|
async function runGatewayWorker() {
|
|
130
129
|
// This runs in the background
|
|
131
|
-
log('gateway', 'Starting NatureCo Gateway v2.8.
|
|
130
|
+
log('gateway', 'Starting NatureCo Gateway v2.8.2...', 'green');
|
|
132
131
|
|
|
133
132
|
// Load config
|
|
134
133
|
const { getConfig } = require('../utils/config');
|
|
@@ -208,7 +207,7 @@ async function startWhatsAppProvider(sessionDir, config) {
|
|
|
208
207
|
version,
|
|
209
208
|
auth: state,
|
|
210
209
|
printQRInTerminal: false,
|
|
211
|
-
logger:
|
|
210
|
+
logger: pino({ level: 'silent' }),
|
|
212
211
|
browser: Browsers.ubuntu('Chrome'),
|
|
213
212
|
connectTimeoutMs: 60000,
|
|
214
213
|
defaultQueryTimeoutMs: 60000,
|