@grvt/client 1.6.31 → 1.6.33
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.
- package/MDG/index.d.ts +2 -1
- package/MDG/index.js +7 -1
- package/TDG/index.d.ts +6 -1
- package/TDG/index.js +17 -0
- package/interfaces/codegen/data.interface.d.ts +5358 -2214
- package/interfaces/codegen/enums/cluster-config-type.d.ts +2 -1
- package/interfaces/codegen/enums/cluster-config-type.js +4 -1
- package/package.json +2 -2
|
@@ -83,6 +83,7 @@ export declare enum EClusterConfigType {
|
|
|
83
83
|
FLAG_PUBLISH_PRICE_DATA = "FLAG_PUBLISH_PRICE_DATA",
|
|
84
84
|
FLAG_DEVIATION_PENALTY = "FLAG_DEVIATION_PENALTY",
|
|
85
85
|
CASH_CURRENCIES = "CASH_CURRENCIES",
|
|
86
|
-
FLAG_SPOT_CANDLESTICK_PUB_FREQUENCY = "FLAG_SPOT_CANDLESTICK_PUB_FREQUENCY"
|
|
86
|
+
FLAG_SPOT_CANDLESTICK_PUB_FREQUENCY = "FLAG_SPOT_CANDLESTICK_PUB_FREQUENCY",
|
|
87
|
+
FLAG_FIX_AGGREGATE_TAKERS_ON_ECN_STOP = "FLAG_FIX_AGGREGATE_TAKERS_ON_ECN_STOP"
|
|
87
88
|
}
|
|
88
89
|
export declare const EClusterConfigTypeInt: Record<EClusterConfigType, number>;
|
|
@@ -173,6 +173,8 @@ var EClusterConfigType;
|
|
|
173
173
|
EClusterConfigType["CASH_CURRENCIES"] = "CASH_CURRENCIES";
|
|
174
174
|
// Configurable candlestick broadcast frequency (in seconds) for spot swap instruments. 0 means disabled.
|
|
175
175
|
EClusterConfigType["FLAG_SPOT_CANDLESTICK_PUB_FREQUENCY"] = "FLAG_SPOT_CANDLESTICK_PUB_FREQUENCY";
|
|
176
|
+
// Aggregate matches with the same taker when stopping ECN requests to avoid duplicate replays
|
|
177
|
+
EClusterConfigType["FLAG_FIX_AGGREGATE_TAKERS_ON_ECN_STOP"] = "FLAG_FIX_AGGREGATE_TAKERS_ON_ECN_STOP";
|
|
176
178
|
})(EClusterConfigType || (exports.EClusterConfigType = EClusterConfigType = {}));
|
|
177
179
|
exports.EClusterConfigTypeInt = Object.freeze({
|
|
178
180
|
[EClusterConfigType.CLIENT_TIER]: 1,
|
|
@@ -259,5 +261,6 @@ exports.EClusterConfigTypeInt = Object.freeze({
|
|
|
259
261
|
[EClusterConfigType.FLAG_PUBLISH_PRICE_DATA]: 82,
|
|
260
262
|
[EClusterConfigType.FLAG_DEVIATION_PENALTY]: 83,
|
|
261
263
|
[EClusterConfigType.CASH_CURRENCIES]: 84,
|
|
262
|
-
[EClusterConfigType.FLAG_SPOT_CANDLESTICK_PUB_FREQUENCY]: 85
|
|
264
|
+
[EClusterConfigType.FLAG_SPOT_CANDLESTICK_PUB_FREQUENCY]: 85,
|
|
265
|
+
[EClusterConfigType.FLAG_FIX_AGGREGATE_TAKERS_ON_ECN_STOP]: 86
|
|
263
266
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grvt/client",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.33",
|
|
4
4
|
"description": "Node.js & JavaScript client for GRVT REST APIs & WebSockets",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"start": "tsc --watch",
|
|
25
25
|
"prebuild": "rimraf dist",
|
|
26
26
|
"build": "tsc",
|
|
27
|
-
"postbuild": "cp package.json dist/ && cp README.md dist/ && cp LICENSE dist/",
|
|
27
|
+
"postbuild": "cp package.json dist/ && cp README.md dist/ && cp LICENSE dist/ && cp src/interfaces/codegen/data.interface.ts dist/interfaces/codegen/data.interface.d.ts",
|
|
28
28
|
"prerelease": "npm run build",
|
|
29
29
|
"release": "cd dist/ && npm publish --access public",
|
|
30
30
|
"link-local": "cp package.json dist/ && cd dist/ && npm link && cd ..",
|