@xoxno/types 1.0.344 → 1.0.346

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.
@@ -1,15 +1,13 @@
1
1
  import { PerpOrderType, PerpTransferType } from '../../enums';
2
2
  import { PerpWithdrawWithdraw } from './withdraw';
3
- declare type PerpTransferTransfer_base = Omit<PerpWithdrawWithdraw, "type">;
3
+ declare type PerpTransferTransfer_base = Omit<PerpWithdrawWithdraw, "type" | "destinationChainId">;
4
4
  export declare type PerpTransferTransfer = PerpTransferTransfer_base & {
5
5
  type: PerpOrderType.SEND_ASSET;
6
- sourceDex: PerpTransferType;
7
6
  destinationDex: PerpTransferType;
8
7
  };
9
- declare const PerpTransferTransferNest_base: import("@nestjs/common").Type<Omit<PerpWithdrawWithdraw, "type">>;
8
+ declare const PerpTransferTransferNest_base: import("@nestjs/common").Type<Omit<PerpWithdrawWithdraw, "type" | "destinationChainId">>;
10
9
  export declare class PerpTransferTransferNest extends PerpTransferTransferNest_base {
11
10
  type: PerpOrderType.SEND_ASSET;
12
- sourceDex: PerpTransferType;
13
11
  destinationDex: PerpTransferType;
14
12
  }
15
13
  export declare class PerpTransfer {
@@ -15,6 +15,7 @@ const enums_1 = require("../../enums");
15
15
  const withdraw_1 = require("./withdraw");
16
16
  class PerpTransferTransfer extends (0, swagger_1.OmitType)(withdraw_1.PerpWithdrawWithdraw, [
17
17
  'type',
18
+ 'destinationChainId',
18
19
  ]) {
19
20
  }
20
21
  exports.PerpTransferTransfer = PerpTransferTransfer;
@@ -22,10 +23,6 @@ __decorate([
22
23
  (0, swagger_1.ApiProperty)(),
23
24
  __metadata("design:type", String)
24
25
  ], PerpTransferTransfer.prototype, "type", void 0);
25
- __decorate([
26
- (0, swagger_1.ApiProperty)(),
27
- __metadata("design:type", String)
28
- ], PerpTransferTransfer.prototype, "sourceDex", void 0);
29
26
  __decorate([
30
27
  (0, swagger_1.ApiProperty)(),
31
28
  __metadata("design:type", String)
@@ -1,9 +1,11 @@
1
- import { PerpOrderType } from '../../enums';
1
+ import { PerpOrderType, PerpTransferType } from '../../enums';
2
2
  export declare class PerpWithdrawWithdraw {
3
3
  type: PerpOrderType.WITHDRAW_ASSET;
4
4
  destination: string;
5
+ destinationChainId: string;
5
6
  symbol: string;
6
7
  amount: string;
8
+ sourceDex: PerpTransferType;
7
9
  }
8
10
  export declare class PerpWithdraw {
9
11
  action: PerpWithdrawWithdraw;
@@ -23,6 +23,10 @@ __decorate([
23
23
  (0, swagger_1.ApiProperty)(),
24
24
  __metadata("design:type", String)
25
25
  ], PerpWithdrawWithdraw.prototype, "destination", void 0);
26
+ __decorate([
27
+ (0, swagger_1.ApiProperty)(),
28
+ __metadata("design:type", String)
29
+ ], PerpWithdrawWithdraw.prototype, "destinationChainId", void 0);
26
30
  __decorate([
27
31
  (0, swagger_1.ApiProperty)(),
28
32
  __metadata("design:type", String)
@@ -31,6 +35,10 @@ __decorate([
31
35
  (0, swagger_1.ApiProperty)(),
32
36
  __metadata("design:type", String)
33
37
  ], PerpWithdrawWithdraw.prototype, "amount", void 0);
38
+ __decorate([
39
+ (0, swagger_1.ApiProperty)(),
40
+ __metadata("design:type", String)
41
+ ], PerpWithdrawWithdraw.prototype, "sourceDex", void 0);
34
42
  class PerpWithdraw {
35
43
  }
36
44
  exports.PerpWithdraw = PerpWithdraw;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.344",
3
+ "version": "1.0.346",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {