nexushub-commands 1.0.1 → 1.0.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.
@@ -10,7 +10,7 @@ let GetDepositOrderCommand = class GetDepositOrderCommand extends evogram_1.Comm
10
10
  execute(context, orderId) {
11
11
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
12
12
  const config = Client_1.Client.config(context);
13
- const order = yield config.API.get(`/orders/deposit/${orderId}`)
13
+ const order = yield config.API.get(`/orders/${orderId}`)
14
14
  .then((x) => x.data)
15
15
  .catch(() => null);
16
16
  if (!order)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexushub-commands",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "main": "./lib/index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
@@ -7,7 +7,7 @@ import { CheckPaidOrderCommand } from './CheckPaidOrder.command';
7
7
  export class GetDepositOrderCommand extends Command {
8
8
  public async execute(context: CommandContext, @CommandArgument('orderId') orderId: string) {
9
9
  const config = Client.config(context);
10
- const order = await config.API.get(`/orders/deposit/${orderId}`)
10
+ const order = await config.API.get(`/orders/${orderId}`)
11
11
  .then((x) => x.data)
12
12
  .catch(() => null);
13
13