zklighter-perps 0.573.0-circleci.a75a652.devin-1790172978-integer-enum-postprocess → 0.573.0-circleci.b3eec85.devin-1790172978-integer-enum-postprocess
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/apis/AccountApi.ts +1 -9
- package/models/AtomicOrderLeg.ts +2 -2
- package/models/Bridge.ts +2 -2
- package/openapi.json +11 -3
- package/package.json +1 -1
package/apis/AccountApi.ts
CHANGED
|
@@ -288,7 +288,7 @@ export interface PublicPoolsMetadataRequest {
|
|
|
288
288
|
|
|
289
289
|
export interface RfqCreateRequest {
|
|
290
290
|
market_index: number;
|
|
291
|
-
direction:
|
|
291
|
+
direction: number;
|
|
292
292
|
authorization?: string;
|
|
293
293
|
auth?: string;
|
|
294
294
|
base_amount?: string;
|
|
@@ -2596,14 +2596,6 @@ export const PublicPoolsMetadataFilterEnum = {
|
|
|
2596
2596
|
Stake: 'stake'
|
|
2597
2597
|
} as const;
|
|
2598
2598
|
export type PublicPoolsMetadataFilterEnum = typeof PublicPoolsMetadataFilterEnum[keyof typeof PublicPoolsMetadataFilterEnum];
|
|
2599
|
-
/**
|
|
2600
|
-
* @export
|
|
2601
|
-
*/
|
|
2602
|
-
export const RfqCreateDirectionEnum = {
|
|
2603
|
-
NUMBER_0: 0,
|
|
2604
|
-
NUMBER_1: 1
|
|
2605
|
-
} as const;
|
|
2606
|
-
export type RfqCreateDirectionEnum = typeof RfqCreateDirectionEnum[keyof typeof RfqCreateDirectionEnum];
|
|
2607
2599
|
/**
|
|
2608
2600
|
* @export
|
|
2609
2601
|
*/
|
package/models/AtomicOrderLeg.ts
CHANGED
|
@@ -50,8 +50,8 @@ export interface AtomicOrderLeg {
|
|
|
50
50
|
* @export
|
|
51
51
|
*/
|
|
52
52
|
export const AtomicOrderLegIsAskEnum = {
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
Bid: 0,
|
|
54
|
+
Ask: 1
|
|
55
55
|
} as const;
|
|
56
56
|
export type AtomicOrderLegIsAskEnum = typeof AtomicOrderLegIsAskEnum[keyof typeof AtomicOrderLegIsAskEnum];
|
|
57
57
|
|
package/models/Bridge.ts
CHANGED
|
@@ -116,8 +116,8 @@ export interface Bridge {
|
|
|
116
116
|
* @export
|
|
117
117
|
*/
|
|
118
118
|
export const BridgeVersionEnum = {
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
V1: 1,
|
|
120
|
+
V2: 2
|
|
121
121
|
} as const;
|
|
122
122
|
export type BridgeVersionEnum = typeof BridgeVersionEnum[keyof typeof BridgeVersionEnum];
|
|
123
123
|
|
package/openapi.json
CHANGED
|
@@ -8353,6 +8353,10 @@
|
|
|
8353
8353
|
"enum": [
|
|
8354
8354
|
0,
|
|
8355
8355
|
1
|
|
8356
|
+
],
|
|
8357
|
+
"x-enum-varnames": [
|
|
8358
|
+
"Bid",
|
|
8359
|
+
"Ask"
|
|
8356
8360
|
]
|
|
8357
8361
|
},
|
|
8358
8362
|
"base_amount": {
|
|
@@ -8697,6 +8701,10 @@
|
|
|
8697
8701
|
"enum": [
|
|
8698
8702
|
1,
|
|
8699
8703
|
2
|
|
8704
|
+
],
|
|
8705
|
+
"x-enum-varnames": [
|
|
8706
|
+
"V1",
|
|
8707
|
+
"V2"
|
|
8700
8708
|
]
|
|
8701
8709
|
},
|
|
8702
8710
|
"source": {
|
|
@@ -14283,10 +14291,10 @@
|
|
|
14283
14291
|
},
|
|
14284
14292
|
"direction": {
|
|
14285
14293
|
"type": "integer",
|
|
14286
|
-
"format": "
|
|
14294
|
+
"format": "int16",
|
|
14287
14295
|
"enum": [
|
|
14288
|
-
0,
|
|
14289
|
-
1
|
|
14296
|
+
"0",
|
|
14297
|
+
"1"
|
|
14290
14298
|
]
|
|
14291
14299
|
},
|
|
14292
14300
|
"metadata": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zklighter-perps",
|
|
3
|
-
"version": "0.573.0-circleci.
|
|
3
|
+
"version": "0.573.0-circleci.b3eec85.devin-1790172978-integer-enum-postprocess",
|
|
4
4
|
"description": "Lighter Perps SDK",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"directories": {
|