zklighter-perps 1.0.137 → 1.0.139

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/Deposit.ts CHANGED
@@ -109,6 +109,12 @@ export interface Deposit {
109
109
  * @memberof Deposit
110
110
  */
111
111
  is_external_deposit: boolean;
112
+ /**
113
+ *
114
+ * @type {boolean}
115
+ * @memberof Deposit
116
+ */
117
+ is_next_bridge_fast: boolean;
112
118
  }
113
119
 
114
120
  /**
@@ -129,6 +135,7 @@ export function instanceOfDeposit(value: object): value is Deposit {
129
135
  if (!('created_at' in value) || value['created_at'] === undefined) return false;
130
136
  if (!('updated_at' in value) || value['updated_at'] === undefined) return false;
131
137
  if (!('is_external_deposit' in value) || value['is_external_deposit'] === undefined) return false;
138
+ if (!('is_next_bridge_fast' in value) || value['is_next_bridge_fast'] === undefined) return false;
132
139
  return true;
133
140
  }
134
141
 
@@ -157,6 +164,7 @@ export function DepositFromJSONTyped(json: any, ignoreDiscriminator: boolean): D
157
164
  'created_at': json['created_at'],
158
165
  'updated_at': json['updated_at'],
159
166
  'is_external_deposit': json['is_external_deposit'],
167
+ 'is_next_bridge_fast': json['is_next_bridge_fast'],
160
168
  };
161
169
  }
162
170
 
@@ -181,6 +189,7 @@ export function DepositToJSON(value?: Deposit | null): any {
181
189
  'created_at': value['created_at'],
182
190
  'updated_at': value['updated_at'],
183
191
  'is_external_deposit': value['is_external_deposit'],
192
+ 'is_next_bridge_fast': value['is_next_bridge_fast'],
184
193
  };
185
194
  }
186
195
 
@@ -43,6 +43,12 @@ export interface TransferHistoryItem {
43
43
  * @memberof TransferHistoryItem
44
44
  */
45
45
  type: TransferHistoryItemTypeEnum;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof TransferHistoryItem
50
+ */
51
+ l1_address: string;
46
52
  /**
47
53
  *
48
54
  * @type {number}
@@ -68,8 +74,8 @@ export interface TransferHistoryItem {
68
74
  * @export
69
75
  */
70
76
  export const TransferHistoryItemTypeEnum = {
71
- Inflow: 'l2_transfer_inflow',
72
- Outflow: 'l2_transfer_outflow'
77
+ L2TransferInflow: 'L2TransferInflow',
78
+ L2TransferOutflow: 'L2TransferOutflow'
73
79
  } as const;
74
80
  export type TransferHistoryItemTypeEnum = typeof TransferHistoryItemTypeEnum[keyof typeof TransferHistoryItemTypeEnum];
75
81
 
@@ -82,6 +88,7 @@ export function instanceOfTransferHistoryItem(value: object): value is TransferH
82
88
  if (!('amount' in value) || value['amount'] === undefined) return false;
83
89
  if (!('timestamp' in value) || value['timestamp'] === undefined) return false;
84
90
  if (!('type' in value) || value['type'] === undefined) return false;
91
+ if (!('l1_address' in value) || value['l1_address'] === undefined) return false;
85
92
  if (!('from_account_index' in value) || value['from_account_index'] === undefined) return false;
86
93
  if (!('to_account_index' in value) || value['to_account_index'] === undefined) return false;
87
94
  if (!('tx_hash' in value) || value['tx_hash'] === undefined) return false;
@@ -102,6 +109,7 @@ export function TransferHistoryItemFromJSONTyped(json: any, ignoreDiscriminator:
102
109
  'amount': json['amount'],
103
110
  'timestamp': json['timestamp'],
104
111
  'type': json['type'],
112
+ 'l1_address': json['l1_address'],
105
113
  'from_account_index': json['from_account_index'],
106
114
  'to_account_index': json['to_account_index'],
107
115
  'tx_hash': json['tx_hash'],
@@ -118,6 +126,7 @@ export function TransferHistoryItemToJSON(value?: TransferHistoryItem | null): a
118
126
  'amount': value['amount'],
119
127
  'timestamp': value['timestamp'],
120
128
  'type': value['type'],
129
+ 'l1_address': value['l1_address'],
121
130
  'from_account_index': value['from_account_index'],
122
131
  'to_account_index': value['to_account_index'],
123
132
  'tx_hash': value['tx_hash'],
package/openapi.json CHANGED
@@ -3892,6 +3892,10 @@
3892
3892
  "is_external_deposit": {
3893
3893
  "type": "boolean",
3894
3894
  "format": "boolean"
3895
+ },
3896
+ "is_next_bridge_fast": {
3897
+ "type": "boolean",
3898
+ "format": "boolean"
3895
3899
  }
3896
3900
  },
3897
3901
  "title": "Deposit",
@@ -3909,7 +3913,8 @@
3909
3913
  "description",
3910
3914
  "created_at",
3911
3915
  "updated_at",
3912
- "is_external_deposit"
3916
+ "is_external_deposit",
3917
+ "is_next_bridge_fast"
3913
3918
  ]
3914
3919
  },
3915
3920
  "DepositHistory": {
@@ -7739,10 +7744,14 @@
7739
7744
  "type": {
7740
7745
  "type": "string",
7741
7746
  "enum": [
7742
- "l2_transfer_inflow",
7743
- "l2_transfer_outflow"
7747
+ "L2TransferInflow",
7748
+ "L2TransferOutflow"
7744
7749
  ]
7745
7750
  },
7751
+ "l1_address": {
7752
+ "type": "string",
7753
+ "example": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
7754
+ },
7746
7755
  "from_account_index": {
7747
7756
  "type": "integer",
7748
7757
  "format": "int64",
@@ -7764,6 +7773,7 @@
7764
7773
  "amount",
7765
7774
  "timestamp",
7766
7775
  "type",
7776
+ "l1_address",
7767
7777
  "from_account_index",
7768
7778
  "to_account_index",
7769
7779
  "tx_hash"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zklighter-perps",
3
- "version": "1.0.137",
3
+ "version": "1.0.139",
4
4
  "description": "zkLighter Perps SDK",
5
5
  "main": "index.ts",
6
6
  "directories": {