zklighter-perps 1.0.172 → 1.0.173

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.
@@ -43,6 +43,12 @@ export interface MarketConfig {
43
43
  * @memberof MarketConfig
44
44
  */
45
45
  force_reduce_only: boolean;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof MarketConfig
50
+ */
51
+ trading_hours: string;
46
52
  }
47
53
 
48
54
  /**
@@ -53,6 +59,7 @@ export function instanceOfMarketConfig(value: object): value is MarketConfig {
53
59
  if (!('insurance_fund_account_index' in value) || value['insurance_fund_account_index'] === undefined) return false;
54
60
  if (!('liquidation_mode' in value) || value['liquidation_mode'] === undefined) return false;
55
61
  if (!('force_reduce_only' in value) || value['force_reduce_only'] === undefined) return false;
62
+ if (!('trading_hours' in value) || value['trading_hours'] === undefined) return false;
56
63
  return true;
57
64
  }
58
65
 
@@ -70,6 +77,7 @@ export function MarketConfigFromJSONTyped(json: any, ignoreDiscriminator: boolea
70
77
  'insurance_fund_account_index': json['insurance_fund_account_index'],
71
78
  'liquidation_mode': json['liquidation_mode'],
72
79
  'force_reduce_only': json['force_reduce_only'],
80
+ 'trading_hours': json['trading_hours'],
73
81
  };
74
82
  }
75
83
 
@@ -83,6 +91,7 @@ export function MarketConfigToJSON(value?: MarketConfig | null): any {
83
91
  'insurance_fund_account_index': value['insurance_fund_account_index'],
84
92
  'liquidation_mode': value['liquidation_mode'],
85
93
  'force_reduce_only': value['force_reduce_only'],
94
+ 'trading_hours': value['trading_hours'],
86
95
  };
87
96
  }
88
97
 
package/openapi.json CHANGED
@@ -1873,7 +1873,7 @@
1873
1873
  "type": "integer",
1874
1874
  "format": "int64",
1875
1875
  "minimum": 1,
1876
- "maximum": 100
1876
+ "maximum": 250
1877
1877
  }
1878
1878
  ],
1879
1879
  "tags": [
@@ -5204,6 +5204,9 @@
5204
5204
  "force_reduce_only": {
5205
5205
  "type": "boolean",
5206
5206
  "format": "boolean"
5207
+ },
5208
+ "trading_hours": {
5209
+ "type": "string"
5207
5210
  }
5208
5211
  },
5209
5212
  "title": "MarketConfig",
@@ -5211,7 +5214,8 @@
5211
5214
  "market_margin_mode",
5212
5215
  "insurance_fund_account_index",
5213
5216
  "liquidation_mode",
5214
- "force_reduce_only"
5217
+ "force_reduce_only",
5218
+ "trading_hours"
5215
5219
  ]
5216
5220
  },
5217
5221
  "MarketInfo": {
@@ -7191,7 +7195,7 @@
7191
7195
  "limit": {
7192
7196
  "type": "integer",
7193
7197
  "format": "int64",
7194
- "maximum": 100,
7198
+ "maximum": 250,
7195
7199
  "minimum": 1
7196
7200
  }
7197
7201
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zklighter-perps",
3
- "version": "1.0.172",
3
+ "version": "1.0.173",
4
4
  "description": "zkLighter Perps SDK",
5
5
  "main": "index.ts",
6
6
  "directories": {