@xoxno/types 1.0.332 → 1.0.334
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,4 +1,4 @@
|
|
|
1
|
-
import { PerpCoinTypes, PerpDepositAsset } from '../../enums/perp.enum';
|
|
1
|
+
import { PerpCoinTypes, PerpDepositAsset, SpotDepositAsset } from '../../enums/perp.enum';
|
|
2
2
|
import { MarginTable } from './margin-table';
|
|
3
3
|
import { ActiveSpotAssetCtx, ActivePerpAssetCtx } from './response';
|
|
4
4
|
export declare class PerpConfig {
|
|
@@ -13,7 +13,7 @@ export declare class PerpSingleCoin {
|
|
|
13
13
|
export declare class PerpSingleAgainstCoin {
|
|
14
14
|
identifier: string;
|
|
15
15
|
decimals: number;
|
|
16
|
-
symbol: PerpDepositAsset;
|
|
16
|
+
symbol: PerpDepositAsset | SpotDepositAsset;
|
|
17
17
|
}
|
|
18
18
|
export declare class PerpCoin {
|
|
19
19
|
symbol: string;
|
|
@@ -11,7 +11,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.PerpCoinExtendedSlim = exports.PerpSpotCoinExtendedSlim = exports.PerpCoinExtendedSlimWs = exports.PerpSpotCoinExtendedSlimWs = exports.PerpSpotCoinExtended = exports.PerpCoinExtended = exports.ActivePerpAssetCtxDocHydrated = exports.ActivePerpAssetCtxDoc = exports.ActiveSpotAssetCtxDoc = exports.PerpCoin = exports.PerpSingleAgainstCoin = exports.PerpSingleCoin = exports.PerpConfig = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const perp_enum_1 = require("../../enums/perp.enum");
|
|
15
14
|
const margin_table_1 = require("./margin-table");
|
|
16
15
|
const response_1 = require("./response");
|
|
17
16
|
class PerpConfig {
|
|
@@ -149,3 +149,7 @@ export declare enum PerpOrderDetailedStatus {
|
|
|
149
149
|
ORACLE_REJECTED = "oracleRejected",// Price too far from oracle
|
|
150
150
|
PERP_MAX_POSITION_REJECTED = "perpMaxPositionRejected"
|
|
151
151
|
}
|
|
152
|
+
export declare enum PerpTransferType {
|
|
153
|
+
SPOT = "Spot",
|
|
154
|
+
PERP = "Perps"
|
|
155
|
+
}
|
package/dist/enums/perp.enum.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PerpOrderDetailedStatus = exports.PerpOrderDirection = exports.PerpOrderDetailedType = exports.PerpOrderStatus = exports.PerpOrderType = exports.PerpOrderTpsl = exports.PerpOrderTimeInForce = exports.PerpOrderGrouping = exports.PerpDepositAsset = exports.SpotDepositAsset = exports.PerpPositionLeverageDirection = exports.PerpPositionLeverageType = exports.PerpAssetExchange = exports.PerpAssetSession = exports.PerpAssetType = exports.PerpAssetTimezone = exports.PerpAssetIntervals = exports.PerpCoinTypes = exports.PerpTradesSide = exports.PerpEnum = void 0;
|
|
3
|
+
exports.PerpTransferType = exports.PerpOrderDetailedStatus = exports.PerpOrderDirection = exports.PerpOrderDetailedType = exports.PerpOrderStatus = exports.PerpOrderType = exports.PerpOrderTpsl = exports.PerpOrderTimeInForce = exports.PerpOrderGrouping = exports.PerpDepositAsset = exports.SpotDepositAsset = exports.PerpPositionLeverageDirection = exports.PerpPositionLeverageType = exports.PerpAssetExchange = exports.PerpAssetSession = exports.PerpAssetType = exports.PerpAssetTimezone = exports.PerpAssetIntervals = exports.PerpCoinTypes = exports.PerpTradesSide = exports.PerpEnum = void 0;
|
|
4
4
|
var PerpEnum;
|
|
5
5
|
(function (PerpEnum) {
|
|
6
6
|
PerpEnum["L2BOOK"] = "l2Book";
|
|
@@ -177,3 +177,8 @@ var PerpOrderDetailedStatus;
|
|
|
177
177
|
PerpOrderDetailedStatus["ORACLE_REJECTED"] = "oracleRejected";
|
|
178
178
|
PerpOrderDetailedStatus["PERP_MAX_POSITION_REJECTED"] = "perpMaxPositionRejected";
|
|
179
179
|
})(PerpOrderDetailedStatus || (exports.PerpOrderDetailedStatus = PerpOrderDetailedStatus = {}));
|
|
180
|
+
var PerpTransferType;
|
|
181
|
+
(function (PerpTransferType) {
|
|
182
|
+
PerpTransferType["SPOT"] = "Spot";
|
|
183
|
+
PerpTransferType["PERP"] = "Perps";
|
|
184
|
+
})(PerpTransferType || (exports.PerpTransferType = PerpTransferType = {}));
|