@cubexch/client
Advanced tools
Comparing version 1.1.11 to 1.1.12
@@ -8,8 +8,8 @@ export declare const protobufPackage = "codes"; | ||
DO_NOT_USE = 0, | ||
ON_WAITLIST = 600, | ||
INCOMPLETE_KYC = 601, | ||
UNAPPROVED_KYC = 602, | ||
BAD_MESSAGE = 700, | ||
NO_HEARTBEAT = 701, | ||
UNSPECIFIED = 999 | ||
ON_WAITLIST = 4600, | ||
INCOMPLETE_KYC = 4601, | ||
UNAPPROVED_KYC = 4602, | ||
BAD_MESSAGE = 4700, | ||
NO_HEARTBEAT = 4701, | ||
UNSPECIFIED = 4999 | ||
} |
@@ -13,8 +13,8 @@ "use strict"; | ||
CloseCode[CloseCode["DO_NOT_USE"] = 0] = "DO_NOT_USE"; | ||
CloseCode[CloseCode["ON_WAITLIST"] = 600] = "ON_WAITLIST"; | ||
CloseCode[CloseCode["INCOMPLETE_KYC"] = 601] = "INCOMPLETE_KYC"; | ||
CloseCode[CloseCode["UNAPPROVED_KYC"] = 602] = "UNAPPROVED_KYC"; | ||
CloseCode[CloseCode["BAD_MESSAGE"] = 700] = "BAD_MESSAGE"; | ||
CloseCode[CloseCode["NO_HEARTBEAT"] = 701] = "NO_HEARTBEAT"; | ||
CloseCode[CloseCode["UNSPECIFIED"] = 999] = "UNSPECIFIED"; | ||
CloseCode[CloseCode["ON_WAITLIST"] = 4600] = "ON_WAITLIST"; | ||
CloseCode[CloseCode["INCOMPLETE_KYC"] = 4601] = "INCOMPLETE_KYC"; | ||
CloseCode[CloseCode["UNAPPROVED_KYC"] = 4602] = "UNAPPROVED_KYC"; | ||
CloseCode[CloseCode["BAD_MESSAGE"] = 4700] = "BAD_MESSAGE"; | ||
CloseCode[CloseCode["NO_HEARTBEAT"] = 4701] = "NO_HEARTBEAT"; | ||
CloseCode[CloseCode["UNSPECIFIED"] = 4999] = "UNSPECIFIED"; | ||
})(CloseCode = exports.CloseCode || (exports.CloseCode = {})); |
@@ -1,2 +0,3 @@ | ||
export * as Md from './md'; | ||
export * as Codes from './codes'; | ||
export * as Md from './market_data'; | ||
export * as Trade from './trade'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Trade = exports.Md = void 0; | ||
exports.Md = require("./md"); | ||
exports.Trade = exports.Md = exports.Codes = void 0; | ||
exports.Codes = require("./codes"); | ||
exports.Md = require("./market_data"); | ||
exports.Trade = require("./trade"); |
@@ -10,18 +10,18 @@ "use strict"; | ||
return codes_1.CloseCode.DO_NOT_USE; | ||
case 600: | ||
case 4600: | ||
case "ON_WAITLIST": | ||
return codes_1.CloseCode.ON_WAITLIST; | ||
case 601: | ||
case 4601: | ||
case "INCOMPLETE_KYC": | ||
return codes_1.CloseCode.INCOMPLETE_KYC; | ||
case 602: | ||
case 4602: | ||
case "UNAPPROVED_KYC": | ||
return codes_1.CloseCode.UNAPPROVED_KYC; | ||
case 700: | ||
case 4700: | ||
case "BAD_MESSAGE": | ||
return codes_1.CloseCode.BAD_MESSAGE; | ||
case 701: | ||
case 4701: | ||
case "NO_HEARTBEAT": | ||
return codes_1.CloseCode.NO_HEARTBEAT; | ||
case 999: | ||
case 4999: | ||
case "UNSPECIFIED": | ||
@@ -28,0 +28,0 @@ return codes_1.CloseCode.UNSPECIFIED; |
@@ -125,3 +125,3 @@ export declare const protobufPackage = "trade"; | ||
* of orders for accounts with common ownership. Currently, STP only applies for | ||
* orders with the same subaccountId. STP will only be applied when a match is | ||
* orders with the same subaccount_id. STP will only be applied when a match is | ||
* about to occur between the two orders. That is, if the aggressing order is | ||
@@ -229,3 +229,3 @@ * fully filled before reaching the resting order in FIFO order, no STP cancels | ||
* Note that this can be done before the order is acknowledged (an aggressive | ||
* cancel) since the identifying field is the `clientOrderId`. | ||
* cancel) since the identifying field is the `client_order_id`. | ||
*/ | ||
@@ -298,3 +298,3 @@ export interface CancelOrder { | ||
* value, comes from the order service and not the matching engine. Matching | ||
* engine timestamps can be extracted from `transactTime` (below). | ||
* engine timestamps can be extracted from `transact_time` (below). | ||
* | ||
@@ -364,3 +364,3 @@ * Latency can be estimated from this, but only the relative difference between | ||
* the initiated cancel action. For a mass cancel, each cancel order ack will | ||
* have the MassCancel's requestId. | ||
* have the MassCancel's request_id. | ||
*/ | ||
@@ -367,0 +367,0 @@ requestId: bigint; |
@@ -132,3 +132,3 @@ "use strict"; | ||
* of orders for accounts with common ownership. Currently, STP only applies for | ||
* orders with the same subaccountId. STP will only be applied when a match is | ||
* orders with the same subaccount_id. STP will only be applied when a match is | ||
* about to occur between the two orders. That is, if the aggressing order is | ||
@@ -135,0 +135,0 @@ * fully filled before reaching the resting order in FIFO order, no STP cancels |
{ | ||
"name": "@cubexch/client", | ||
"version": "1.1.11", | ||
"version": "1.1.12", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "build": "tsc" |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
371710
19
9202
0