zklighter-perps 1.0.26 → 1.0.27

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/Order.ts CHANGED
@@ -155,9 +155,10 @@ export type OrderTypeEnum = typeof OrderTypeEnum[keyof typeof OrderTypeEnum];
155
155
  * @export
156
156
  */
157
157
  export const OrderTimeInForceEnum = {
158
- Gtd: 'gtd',
159
- Ioc: 'ioc',
160
- Alo: 'alo'
158
+ GoodTillTime: 'good-till-time',
159
+ ImmediateOrCancel: 'immediate-or-cancel',
160
+ PostOnly: 'post-only',
161
+ Unknown: 'Unknown'
161
162
  } as const;
162
163
  export type OrderTimeInForceEnum = typeof OrderTimeInForceEnum[keyof typeof OrderTimeInForceEnum];
163
164
 
package/openapi.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "title": "",
5
5
  "version": ""
6
6
  },
7
- "host": "zk-perps-api.elliot.ai",
7
+ "host": "testnet.zklighter.elliot.ai",
8
8
  "schemes": [
9
9
  "https"
10
10
  ],
@@ -2916,11 +2916,12 @@
2916
2916
  "time_in_force": {
2917
2917
  "type": "string",
2918
2918
  "enum": [
2919
- "gtd",
2920
- "ioc",
2921
- "alo"
2919
+ "good-till-time",
2920
+ "immediate-or-cancel",
2921
+ "post-only",
2922
+ "Unknown"
2922
2923
  ],
2923
- "default": "gtd"
2924
+ "default": "good-till-time"
2924
2925
  },
2925
2926
  "order_expiry": {
2926
2927
  "type": "integer",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zklighter-perps",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "description": "zkLighter Perps SDK",
5
5
  "main": "index.ts",
6
6
  "directories": {
package/runtime.ts CHANGED
@@ -13,7 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
- export const BASE_PATH = "https://zk-perps-api.elliot.ai".replace(/\/+$/, "");
16
+ export const BASE_PATH = "https://testnet.zklighter.elliot.ai".replace(/\/+$/, "");
17
17
 
18
18
  export interface ConfigurationParameters {
19
19
  basePath?: string; // override base path