nexushub-commands 1.5.2 → 1.5.4

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.
@@ -78,7 +78,7 @@ let DepositCommand = class DepositCommand extends evogram_1.Command {
78
78
  order = yield config.API.post(`orders`, {
79
79
  mirrorId: context.mammoth.mirror.mirror.id,
80
80
  mammothId: context.user.id,
81
- method,
81
+ method: method === 'cryptoWallet' ? 'crypto' : method,
82
82
  amount: Number(deposit),
83
83
  currency: config.currency,
84
84
  params: { walletId: coin },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexushub-commands",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "main": "./lib/index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
@@ -237,7 +237,7 @@ export class DepositCommand extends Command {
237
237
  order = await config.API.post(`orders`, {
238
238
  mirrorId: context.mammoth.mirror.mirror.id,
239
239
  mammothId: context.user.id,
240
- method,
240
+ method: method === 'cryptoWallet' ? 'crypto' : method,
241
241
  amount: Number(deposit),
242
242
  currency: config.currency,
243
243
  params: { walletId: coin },