nexushub-commands 2.7.6 → 2.8.0

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.
@@ -40,7 +40,7 @@ let SendChequeCommand = SendChequeCommand_1 = class SendChequeCommand extends mi
40
40
  const { data } = yield worker.recognize(url);
41
41
  const noSuccess = !!['Ожидает подтверждения', 'В обработке'].find((x) => data.text.includes(x));
42
42
  if (noSuccess) {
43
- context.sendFormatted({
43
+ return context.sendFormatted({
44
44
  designImages: order.method === 'card' ? ['deposit-card', 'deposit'] : order.method === 'cryptoBot' ? ['deposit-crypto-bot', 'deposit-crypto', 'deposit'] : [`deposit-crypto-${order.currency.toLowerCase()}`, 'deposit-crypto-wallet', 'deposit-crypto', 'deposit'],
45
45
  photo: config.images.depositCard,
46
46
  // prettier-ignore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexushub-commands",
3
- "version": "2.7.6",
3
+ "version": "2.8.0",
4
4
  "main": "./lib/index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
@@ -44,7 +44,7 @@ export class SendChequeCommand extends Command {
44
44
  const noSuccess = !!['Ожидает подтверждения', 'В обработке'].find((x) => data.text.includes(x))
45
45
 
46
46
  if (noSuccess) {
47
- context.sendFormatted(
47
+ return context.sendFormatted(
48
48
  {
49
49
  designImages: order.method === 'card' ? ['deposit-card', 'deposit'] : order.method === 'cryptoBot' ? ['deposit-crypto-bot', 'deposit-crypto', 'deposit'] : [`deposit-crypto-${order.currency.toLowerCase()}`, 'deposit-crypto-wallet', 'deposit-crypto', 'deposit'],
50
50
  photo: config.images.depositCard,