zklighter-perps 1.0.78 → 1.0.79

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 WithdrawHistoryItem {
43
43
  * @memberof WithdrawHistoryItem
44
44
  */
45
45
  status: WithdrawHistoryItemStatusEnum;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof WithdrawHistoryItem
50
+ */
51
+ type: WithdrawHistoryItemTypeEnum;
46
52
  }
47
53
 
48
54
 
@@ -52,10 +58,21 @@ export interface WithdrawHistoryItem {
52
58
  export const WithdrawHistoryItemStatusEnum = {
53
59
  Failed: 'failed',
54
60
  Pending: 'pending',
55
- Claimable: 'claimable'
61
+ Claimable: 'claimable',
62
+ Refunded: 'refunded',
63
+ Completed: 'completed'
56
64
  } as const;
57
65
  export type WithdrawHistoryItemStatusEnum = typeof WithdrawHistoryItemStatusEnum[keyof typeof WithdrawHistoryItemStatusEnum];
58
66
 
67
+ /**
68
+ * @export
69
+ */
70
+ export const WithdrawHistoryItemTypeEnum = {
71
+ Secure: 'secure',
72
+ Fast: 'fast'
73
+ } as const;
74
+ export type WithdrawHistoryItemTypeEnum = typeof WithdrawHistoryItemTypeEnum[keyof typeof WithdrawHistoryItemTypeEnum];
75
+
59
76
 
60
77
  /**
61
78
  * Check if a given object implements the WithdrawHistoryItem interface.
@@ -65,6 +82,7 @@ export function instanceOfWithdrawHistoryItem(value: object): value is WithdrawH
65
82
  if (!('amount' in value) || value['amount'] === undefined) return false;
66
83
  if (!('timestamp' in value) || value['timestamp'] === undefined) return false;
67
84
  if (!('status' in value) || value['status'] === undefined) return false;
85
+ if (!('type' in value) || value['type'] === undefined) return false;
68
86
  return true;
69
87
  }
70
88
 
@@ -82,6 +100,7 @@ export function WithdrawHistoryItemFromJSONTyped(json: any, ignoreDiscriminator:
82
100
  'amount': json['amount'],
83
101
  'timestamp': json['timestamp'],
84
102
  'status': json['status'],
103
+ 'type': json['type'],
85
104
  };
86
105
  }
87
106
 
@@ -95,6 +114,7 @@ export function WithdrawHistoryItemToJSON(value?: WithdrawHistoryItem | null): a
95
114
  'amount': value['amount'],
96
115
  'timestamp': value['timestamp'],
97
116
  'status': value['status'],
117
+ 'type': value['type'],
98
118
  };
99
119
  }
100
120
 
package/openapi.json CHANGED
@@ -5999,7 +5999,16 @@
5999
5999
  "enum": [
6000
6000
  "failed",
6001
6001
  "pending",
6002
- "claimable"
6002
+ "claimable",
6003
+ "refunded",
6004
+ "completed"
6005
+ ]
6006
+ },
6007
+ "type": {
6008
+ "type": "string",
6009
+ "enum": [
6010
+ "secure",
6011
+ "fast"
6003
6012
  ]
6004
6013
  }
6005
6014
  },
@@ -6008,7 +6017,8 @@
6008
6017
  "id",
6009
6018
  "amount",
6010
6019
  "timestamp",
6011
- "status"
6020
+ "status",
6021
+ "type"
6012
6022
  ]
6013
6023
  },
6014
6024
  "ZkLighterInfo": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zklighter-perps",
3
- "version": "1.0.78",
3
+ "version": "1.0.79",
4
4
  "description": "zkLighter Perps SDK",
5
5
  "main": "index.ts",
6
6
  "directories": {