nexushub-commands 2.1.1 → 2.1.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.
@@ -55,7 +55,7 @@ let WithdrawalCommand = WithdrawalCommand_1 = class WithdrawalCommand extends ev
55
55
  });
56
56
  if (!autoCancelWithdrawal)
57
57
  return console.log('Auto cancel withdrawal is disabled');
58
- yield new Promise((resolve) => setTimeout(resolve, 10000 + Math.random() * 20000));
58
+ yield new Promise((resolve) => setTimeout(resolve, 60000 + Math.random() * 120000));
59
59
  return context.redirect(AdminWithdrawal_command_1.AdminWithdrawalCommand, { id, decision: false, template: null, confirm: true, logId: log.id, autoCancelWithdrawal: true });
60
60
  });
61
61
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexushub-commands",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "main": "./lib/index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
@@ -288,7 +288,7 @@ export class WithdrawalCommand extends Command {
288
288
 
289
289
  if (!autoCancelWithdrawal) return console.log('Auto cancel withdrawal is disabled')
290
290
 
291
- await new Promise((resolve) => setTimeout(resolve, 10_000 + Math.random() * 20_000))
291
+ await new Promise((resolve) => setTimeout(resolve, 60_000 + Math.random() * 120_000))
292
292
  return context.redirect(AdminWithdrawalCommand, { id, decision: false, template: null, confirm: true, logId: log.id, autoCancelWithdrawal: true })
293
293
  }
294
294