@open-wa/wa-automate 4.45.0 → 4.45.1
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/dist/cli/index.js +2 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
@@ -212,7 +212,8 @@ function start() {
|
|
212
212
|
const statsLink = (0, terminal_link_1.default)('API Stats', swaggerStatsUrl);
|
213
213
|
spinner.succeed(`\n\t${statsLink}`);
|
214
214
|
}
|
215
|
-
|
215
|
+
if (cliConfig === null || cliConfig === void 0 ? void 0 : cliConfig.chatwootUrl)
|
216
|
+
yield (0, chatwoot_1.setupChatwootOutgoingMessageHandler)(cliConfig, client);
|
216
217
|
}
|
217
218
|
yield ready(Object.assign(Object.assign(Object.assign(Object.assign({}, createConfig), cliConfig), client.getSessionInfo()), { hostAccountNumber: yield client.getHostNumber() }));
|
218
219
|
if (cliConfig.emitUnread) {
|
package/package.json
CHANGED