nexushub-commands 2.5.4 → 2.5.5

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.
@@ -44,7 +44,7 @@ let WithdrawalCommand = WithdrawalCommand_1 = class WithdrawalCommand extends ev
44
44
  context.sendFormatted({
45
45
  photo: method === 'crypto' ? config.images.withdrawalCrypto : config.images.withdrawal,
46
46
  //@ts-ignore
47
- designImages: [...({ card: ['withdrawal-success-card'], sbp: ['withdrawal-success-sbp'] }[args.method] || ['withdrawal-success-crypto']), 'withdrawal-success', ...({ card: ['withdrawal-card'], sbp: ['withdrawal-sbp'] }[args.method] || ['withdrawal-crypto']), 'withdrawal', 'profile', 'banner'],
47
+ designImages: [...({ card: ['withdrawal-success-card'], sbp: ['withdrawal-success-sbp'] }[method] || ['withdrawal-success-crypto']), 'withdrawal-success', ...({ card: ['withdrawal-card'], sbp: ['withdrawal-sbp'] }[method] || ['withdrawal-crypto']), 'withdrawal', 'profile', 'banner'],
48
48
  header: '<blockquote><b>💸 Создана заявка на вывод средств</b></blockquote>\n\n' +
49
49
  `<i>— Сумма: {{ ${amount.toLocaleString('ru')} ${config.currency.toUpperCase()} }}</i>\n` +
50
50
  `<i>— Реквизиты: {{ ${method === 'crypto' ? requisites.wallet : requisites.phone || requisites.card || requisites.formatted} }}</i>\n` +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexushub-commands",
3
- "version": "2.5.4",
3
+ "version": "2.5.5",
4
4
  "main": "./lib/index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
@@ -282,7 +282,7 @@ export class WithdrawalCommand extends Command {
282
282
  context.sendFormatted({
283
283
  photo: method === 'crypto' ? config.images.withdrawalCrypto : config.images.withdrawal,
284
284
  //@ts-ignore
285
- designImages: [...({ card: ['withdrawal-success-card'], sbp: ['withdrawal-success-sbp'] }[args.method] || ['withdrawal-success-crypto']), 'withdrawal-success', ...({ card: ['withdrawal-card'], sbp: ['withdrawal-sbp'] }[args.method] || ['withdrawal-crypto']), 'withdrawal', 'profile', 'banner'],
285
+ designImages: [...({ card: ['withdrawal-success-card'], sbp: ['withdrawal-success-sbp'] }[method] || ['withdrawal-success-crypto']), 'withdrawal-success', ...({ card: ['withdrawal-card'], sbp: ['withdrawal-sbp'] }[method] || ['withdrawal-crypto']), 'withdrawal', 'profile', 'banner'],
286
286
  header:
287
287
  '<blockquote><b>💸 Создана заявка на вывод средств</b></blockquote>\n\n' +
288
288