@xoxno/types 1.0.270 → 1.0.271
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 @@ export declare class L2BookPerpResponse extends L2BookPerpEvent {
|
|
|
10
10
|
bid: L2BookPerpResponseSingle[];
|
|
11
11
|
ask: L2BookPerpResponseSingle[];
|
|
12
12
|
}
|
|
13
|
-
export declare class
|
|
13
|
+
export declare class TradesPerpResponseSingle {
|
|
14
14
|
side: PerpTradesSide;
|
|
15
15
|
px: string;
|
|
16
16
|
sz: string;
|
|
@@ -18,6 +18,9 @@ export declare class TradesPerpResponse extends TradesPerpEvent {
|
|
|
18
18
|
hash: string;
|
|
19
19
|
users: string[];
|
|
20
20
|
}
|
|
21
|
+
export declare class TradesPerpResponse extends TradesPerpEvent {
|
|
22
|
+
trades: TradesPerpResponseSingle[];
|
|
23
|
+
}
|
|
21
24
|
export declare class PerpResponse {
|
|
22
25
|
event: L2BookPerpResponse | TradesPerpResponse;
|
|
23
26
|
}
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.PerpResponse = exports.TradesPerpResponse = exports.L2BookPerpResponse = exports.L2BookPerpResponseSingle = void 0;
|
|
12
|
+
exports.PerpResponse = exports.TradesPerpResponse = exports.TradesPerpResponseSingle = exports.L2BookPerpResponse = exports.L2BookPerpResponseSingle = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const perp_enum_1 = require("../../enums/perp.enum");
|
|
15
15
|
const request_1 = require("./request");
|
|
@@ -43,33 +43,40 @@ __decorate([
|
|
|
43
43
|
(0, swagger_1.ApiProperty)(),
|
|
44
44
|
__metadata("design:type", Array)
|
|
45
45
|
], L2BookPerpResponse.prototype, "ask", void 0);
|
|
46
|
-
class
|
|
46
|
+
class TradesPerpResponseSingle {
|
|
47
47
|
}
|
|
48
|
-
exports.
|
|
48
|
+
exports.TradesPerpResponseSingle = TradesPerpResponseSingle;
|
|
49
49
|
__decorate([
|
|
50
50
|
(0, swagger_1.ApiProperty)(),
|
|
51
51
|
__metadata("design:type", String)
|
|
52
|
-
],
|
|
52
|
+
], TradesPerpResponseSingle.prototype, "side", void 0);
|
|
53
53
|
__decorate([
|
|
54
54
|
(0, swagger_1.ApiProperty)(),
|
|
55
55
|
__metadata("design:type", String)
|
|
56
|
-
],
|
|
56
|
+
], TradesPerpResponseSingle.prototype, "px", void 0);
|
|
57
57
|
__decorate([
|
|
58
58
|
(0, swagger_1.ApiProperty)(),
|
|
59
59
|
__metadata("design:type", String)
|
|
60
|
-
],
|
|
60
|
+
], TradesPerpResponseSingle.prototype, "sz", void 0);
|
|
61
61
|
__decorate([
|
|
62
62
|
(0, swagger_1.ApiProperty)(),
|
|
63
63
|
__metadata("design:type", Number)
|
|
64
|
-
],
|
|
64
|
+
], TradesPerpResponseSingle.prototype, "time", void 0);
|
|
65
65
|
__decorate([
|
|
66
66
|
(0, swagger_1.ApiProperty)(),
|
|
67
67
|
__metadata("design:type", String)
|
|
68
|
-
],
|
|
68
|
+
], TradesPerpResponseSingle.prototype, "hash", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, swagger_1.ApiProperty)(),
|
|
71
|
+
__metadata("design:type", Array)
|
|
72
|
+
], TradesPerpResponseSingle.prototype, "users", void 0);
|
|
73
|
+
class TradesPerpResponse extends request_1.TradesPerpEvent {
|
|
74
|
+
}
|
|
75
|
+
exports.TradesPerpResponse = TradesPerpResponse;
|
|
69
76
|
__decorate([
|
|
70
77
|
(0, swagger_1.ApiProperty)(),
|
|
71
78
|
__metadata("design:type", Array)
|
|
72
|
-
], TradesPerpResponse.prototype, "
|
|
79
|
+
], TradesPerpResponse.prototype, "trades", void 0);
|
|
73
80
|
let PerpResponse = class PerpResponse {
|
|
74
81
|
};
|
|
75
82
|
exports.PerpResponse = PerpResponse;
|