@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 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
- yield (0, chatwoot_1.setupChatwootOutgoingMessageHandler)(cliConfig, client);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate",
3
- "version": "4.45.0",
3
+ "version": "4.45.1",
4
4
  "licenseCheckUrl": "https://funcs.openwa.dev/license-check",
5
5
  "brokenMethodReportUrl": "https://funcs.openwa.dev/report-bm",
6
6
  "patches": "https://cdn.openwa.dev/patches.json",