zklighter-perps 1.0.212 → 1.0.214

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.
@@ -60,7 +60,7 @@ export interface LeaseEntry {
60
60
  * @type {string}
61
61
  * @memberof LeaseEntry
62
62
  */
63
- status: string;
63
+ status: LeaseEntryStatusEnum;
64
64
  /**
65
65
  *
66
66
  * @type {string}
@@ -69,6 +69,19 @@ export interface LeaseEntry {
69
69
  error: string;
70
70
  }
71
71
 
72
+
73
+ /**
74
+ * @export
75
+ */
76
+ export const LeaseEntryStatusEnum = {
77
+ WaitingFee: 'waiting_fee',
78
+ Leased: 'leased',
79
+ Expired: 'expired',
80
+ Canceled: 'canceled'
81
+ } as const;
82
+ export type LeaseEntryStatusEnum = typeof LeaseEntryStatusEnum[keyof typeof LeaseEntryStatusEnum];
83
+
84
+
72
85
  /**
73
86
  * Check if a given object implements the LeaseEntry interface.
74
87
  */
package/openapi.json CHANGED
@@ -6652,7 +6652,13 @@
6652
6652
  "format": "int64"
6653
6653
  },
6654
6654
  "status": {
6655
- "type": "string"
6655
+ "type": "string",
6656
+ "enum": [
6657
+ "waiting_fee",
6658
+ "leased",
6659
+ "expired",
6660
+ "canceled"
6661
+ ]
6656
6662
  },
6657
6663
  "error": {
6658
6664
  "type": "string"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zklighter-perps",
3
- "version": "1.0.212",
3
+ "version": "1.0.214",
4
4
  "description": "zkLighter Perps SDK",
5
5
  "main": "index.ts",
6
6
  "directories": {