zklighter-perps 1.0.183 → 1.0.184

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/models/Account.ts CHANGED
@@ -61,6 +61,12 @@ export interface Account {
61
61
  * @memberof Account
62
62
  */
63
63
  total_order_count: number;
64
+ /**
65
+ *
66
+ * @type {number}
67
+ * @memberof Account
68
+ */
69
+ total_isolated_order_count: number;
64
70
  /**
65
71
  *
66
72
  * @type {number}
@@ -97,6 +103,7 @@ export function instanceOfAccount(value: object): value is Account {
97
103
  if (!('l1_address' in value) || value['l1_address'] === undefined) return false;
98
104
  if (!('cancel_all_time' in value) || value['cancel_all_time'] === undefined) return false;
99
105
  if (!('total_order_count' in value) || value['total_order_count'] === undefined) return false;
106
+ if (!('total_isolated_order_count' in value) || value['total_isolated_order_count'] === undefined) return false;
100
107
  if (!('pending_order_count' in value) || value['pending_order_count'] === undefined) return false;
101
108
  if (!('available_balance' in value) || value['available_balance'] === undefined) return false;
102
109
  if (!('status' in value) || value['status'] === undefined) return false;
@@ -121,6 +128,7 @@ export function AccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): A
121
128
  'l1_address': json['l1_address'],
122
129
  'cancel_all_time': json['cancel_all_time'],
123
130
  'total_order_count': json['total_order_count'],
131
+ 'total_isolated_order_count': json['total_isolated_order_count'],
124
132
  'pending_order_count': json['pending_order_count'],
125
133
  'available_balance': json['available_balance'],
126
134
  'status': json['status'],
@@ -141,6 +149,7 @@ export function AccountToJSON(value?: Account | null): any {
141
149
  'l1_address': value['l1_address'],
142
150
  'cancel_all_time': value['cancel_all_time'],
143
151
  'total_order_count': value['total_order_count'],
152
+ 'total_isolated_order_count': value['total_isolated_order_count'],
144
153
  'pending_order_count': value['pending_order_count'],
145
154
  'available_balance': value['available_balance'],
146
155
  'status': value['status'],
@@ -86,6 +86,12 @@ export interface DetailedAccount {
86
86
  * @memberof DetailedAccount
87
87
  */
88
88
  total_order_count: number;
89
+ /**
90
+ *
91
+ * @type {number}
92
+ * @memberof DetailedAccount
93
+ */
94
+ total_isolated_order_count: number;
89
95
  /**
90
96
  *
91
97
  * @type {number}
@@ -188,6 +194,7 @@ export function instanceOfDetailedAccount(value: object): value is DetailedAccou
188
194
  if (!('l1_address' in value) || value['l1_address'] === undefined) return false;
189
195
  if (!('cancel_all_time' in value) || value['cancel_all_time'] === undefined) return false;
190
196
  if (!('total_order_count' in value) || value['total_order_count'] === undefined) return false;
197
+ if (!('total_isolated_order_count' in value) || value['total_isolated_order_count'] === undefined) return false;
191
198
  if (!('pending_order_count' in value) || value['pending_order_count'] === undefined) return false;
192
199
  if (!('available_balance' in value) || value['available_balance'] === undefined) return false;
193
200
  if (!('status' in value) || value['status'] === undefined) return false;
@@ -223,6 +230,7 @@ export function DetailedAccountFromJSONTyped(json: any, ignoreDiscriminator: boo
223
230
  'l1_address': json['l1_address'],
224
231
  'cancel_all_time': json['cancel_all_time'],
225
232
  'total_order_count': json['total_order_count'],
233
+ 'total_isolated_order_count': json['total_isolated_order_count'],
226
234
  'pending_order_count': json['pending_order_count'],
227
235
  'available_balance': json['available_balance'],
228
236
  'status': json['status'],
@@ -254,6 +262,7 @@ export function DetailedAccountToJSON(value?: DetailedAccount | null): any {
254
262
  'l1_address': value['l1_address'],
255
263
  'cancel_all_time': value['cancel_all_time'],
256
264
  'total_order_count': value['total_order_count'],
265
+ 'total_isolated_order_count': value['total_isolated_order_count'],
257
266
  'pending_order_count': value['pending_order_count'],
258
267
  'available_balance': value['available_balance'],
259
268
  'status': value['status'],
@@ -37,6 +37,12 @@ export interface TransferHistoryItem {
37
37
  * @memberof TransferHistoryItem
38
38
  */
39
39
  amount: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof TransferHistoryItem
44
+ */
45
+ fee: string;
40
46
  /**
41
47
  *
42
48
  * @type {number}
@@ -134,6 +140,7 @@ export function instanceOfTransferHistoryItem(value: object): value is TransferH
134
140
  if (!('id' in value) || value['id'] === undefined) return false;
135
141
  if (!('asset_id' in value) || value['asset_id'] === undefined) return false;
136
142
  if (!('amount' in value) || value['amount'] === undefined) return false;
143
+ if (!('fee' in value) || value['fee'] === undefined) return false;
137
144
  if (!('timestamp' in value) || value['timestamp'] === undefined) return false;
138
145
  if (!('type' in value) || value['type'] === undefined) return false;
139
146
  if (!('from_l1_address' in value) || value['from_l1_address'] === undefined) return false;
@@ -159,6 +166,7 @@ export function TransferHistoryItemFromJSONTyped(json: any, ignoreDiscriminator:
159
166
  'id': json['id'],
160
167
  'asset_id': json['asset_id'],
161
168
  'amount': json['amount'],
169
+ 'fee': json['fee'],
162
170
  'timestamp': json['timestamp'],
163
171
  'type': json['type'],
164
172
  'from_l1_address': json['from_l1_address'],
@@ -180,6 +188,7 @@ export function TransferHistoryItemToJSON(value?: TransferHistoryItem | null): a
180
188
  'id': value['id'],
181
189
  'asset_id': value['asset_id'],
182
190
  'amount': value['amount'],
191
+ 'fee': value['fee'],
183
192
  'timestamp': value['timestamp'],
184
193
  'type': value['type'],
185
194
  'from_l1_address': value['from_l1_address'],
package/openapi.json CHANGED
@@ -3255,6 +3255,11 @@
3255
3255
  "format": "int64",
3256
3256
  "example": "100"
3257
3257
  },
3258
+ "total_isolated_order_count": {
3259
+ "type": "integer",
3260
+ "format": "int64",
3261
+ "example": "100"
3262
+ },
3258
3263
  "pending_order_count": {
3259
3264
  "type": "integer",
3260
3265
  "format": "int64",
@@ -3282,6 +3287,7 @@
3282
3287
  "l1_address",
3283
3288
  "cancel_all_time",
3284
3289
  "total_order_count",
3290
+ "total_isolated_order_count",
3285
3291
  "pending_order_count",
3286
3292
  "available_balance",
3287
3293
  "status",
@@ -4569,6 +4575,11 @@
4569
4575
  "format": "int64",
4570
4576
  "example": "100"
4571
4577
  },
4578
+ "total_isolated_order_count": {
4579
+ "type": "integer",
4580
+ "format": "int64",
4581
+ "example": "100"
4582
+ },
4572
4583
  "pending_order_count": {
4573
4584
  "type": "integer",
4574
4585
  "format": "int64",
@@ -4644,6 +4655,7 @@
4644
4655
  "l1_address",
4645
4656
  "cancel_all_time",
4646
4657
  "total_order_count",
4658
+ "total_isolated_order_count",
4647
4659
  "pending_order_count",
4648
4660
  "available_balance",
4649
4661
  "status",
@@ -9193,6 +9205,10 @@
9193
9205
  "type": "string",
9194
9206
  "example": "0.1"
9195
9207
  },
9208
+ "fee": {
9209
+ "type": "string",
9210
+ "example": "3"
9211
+ },
9196
9212
  "timestamp": {
9197
9213
  "type": "integer",
9198
9214
  "format": "int64",
@@ -9252,6 +9268,7 @@
9252
9268
  "id",
9253
9269
  "asset_id",
9254
9270
  "amount",
9271
+ "fee",
9255
9272
  "timestamp",
9256
9273
  "type",
9257
9274
  "from_l1_address",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zklighter-perps",
3
- "version": "1.0.183",
3
+ "version": "1.0.184",
4
4
  "description": "zkLighter Perps SDK",
5
5
  "main": "index.ts",
6
6
  "directories": {