zklighter-perps 1.0.368 → 1.0.369

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.
@@ -174,10 +174,6 @@ export class TransactionApi extends runtime.BaseAPI {
174
174
  queryParameters['value'] = requestParameters['value'];
175
175
  }
176
176
 
177
- if (requestParameters['authorization'] != null) {
178
- queryParameters['authorization'] = requestParameters['authorization'];
179
- }
180
-
181
177
  if (requestParameters['auth'] != null) {
182
178
  queryParameters['auth'] = requestParameters['auth'];
183
179
  }
@@ -188,6 +184,10 @@ export class TransactionApi extends runtime.BaseAPI {
188
184
 
189
185
  const headerParameters: runtime.HTTPHeaders = {};
190
186
 
187
+ if (requestParameters['authorization'] != null) {
188
+ headerParameters['authorization'] = String(requestParameters['authorization']);
189
+ }
190
+
191
191
  const response = await this.request({
192
192
  path: `/api/v1/accountTxs`,
193
193
  method: 'GET',
@@ -278,10 +278,6 @@ export class TransactionApi extends runtime.BaseAPI {
278
278
 
279
279
  const queryParameters: any = {};
280
280
 
281
- if (requestParameters['authorization'] != null) {
282
- queryParameters['authorization'] = requestParameters['authorization'];
283
- }
284
-
285
281
  if (requestParameters['auth'] != null) {
286
282
  queryParameters['auth'] = requestParameters['auth'];
287
283
  }
@@ -304,6 +300,10 @@ export class TransactionApi extends runtime.BaseAPI {
304
300
 
305
301
  const headerParameters: runtime.HTTPHeaders = {};
306
302
 
303
+ if (requestParameters['authorization'] != null) {
304
+ headerParameters['authorization'] = String(requestParameters['authorization']);
305
+ }
306
+
307
307
  const response = await this.request({
308
308
  path: `/api/v1/deposit/history`,
309
309
  method: 'GET',
@@ -616,10 +616,6 @@ export class TransactionApi extends runtime.BaseAPI {
616
616
 
617
617
  const queryParameters: any = {};
618
618
 
619
- if (requestParameters['authorization'] != null) {
620
- queryParameters['authorization'] = requestParameters['authorization'];
621
- }
622
-
623
619
  if (requestParameters['auth'] != null) {
624
620
  queryParameters['auth'] = requestParameters['auth'];
625
621
  }
@@ -638,6 +634,10 @@ export class TransactionApi extends runtime.BaseAPI {
638
634
 
639
635
  const headerParameters: runtime.HTTPHeaders = {};
640
636
 
637
+ if (requestParameters['authorization'] != null) {
638
+ headerParameters['authorization'] = String(requestParameters['authorization']);
639
+ }
640
+
641
641
  const response = await this.request({
642
642
  path: `/api/v1/transfer/history`,
643
643
  method: 'GET',
@@ -803,10 +803,6 @@ export class TransactionApi extends runtime.BaseAPI {
803
803
 
804
804
  const queryParameters: any = {};
805
805
 
806
- if (requestParameters['authorization'] != null) {
807
- queryParameters['authorization'] = requestParameters['authorization'];
808
- }
809
-
810
806
  if (requestParameters['auth'] != null) {
811
807
  queryParameters['auth'] = requestParameters['auth'];
812
808
  }
@@ -825,6 +821,10 @@ export class TransactionApi extends runtime.BaseAPI {
825
821
 
826
822
  const headerParameters: runtime.HTTPHeaders = {};
827
823
 
824
+ if (requestParameters['authorization'] != null) {
825
+ headerParameters['authorization'] = String(requestParameters['authorization']);
826
+ }
827
+
828
828
  const response = await this.request({
829
829
  path: `/api/v1/withdraw/history`,
830
830
  method: 'GET',
@@ -32,7 +32,7 @@ export interface ReqGetAccountMetadata {
32
32
  */
33
33
  value: string;
34
34
  /**
35
- *
35
+ * made optional to support header auth clients
36
36
  * @type {string}
37
37
  * @memberof ReqGetAccountMetadata
38
38
  */
@@ -26,7 +26,7 @@ export interface ReqGetAirdropAllocations {
26
26
  */
27
27
  l1_address: string;
28
28
  /**
29
- *
29
+ * made optional to support header auth clients
30
30
  * @type {string}
31
31
  * @memberof ReqGetAirdropAllocations
32
32
  */
@@ -20,7 +20,7 @@ import { mapValues } from '../runtime';
20
20
  */
21
21
  export interface ReqGetGuildDuelMine {
22
22
  /**
23
- *
23
+ * made optional to support header auth clients
24
24
  * @type {string}
25
25
  * @memberof ReqGetGuildDuelMine
26
26
  */
@@ -20,7 +20,7 @@ import { mapValues } from '../runtime';
20
20
  */
21
21
  export interface ReqGetGuildDuelMineDetail {
22
22
  /**
23
- *
23
+ * made optional to support header auth clients
24
24
  * @type {string}
25
25
  * @memberof ReqGetGuildDuelMineDetail
26
26
  */
@@ -38,7 +38,7 @@ export interface ReqGetLeaderboard {
38
38
  */
39
39
  competition_id?: string;
40
40
  /**
41
- *
41
+ * made optional to support header auth clients
42
42
  * @type {string}
43
43
  * @memberof ReqGetLeaderboard
44
44
  */
@@ -20,7 +20,7 @@ import { mapValues } from '../runtime';
20
20
  */
21
21
  export interface ReqGetMakerOnlyApiKeys {
22
22
  /**
23
- *
23
+ * made optional to support header auth clients
24
24
  * @type {string}
25
25
  * @memberof ReqGetMakerOnlyApiKeys
26
26
  */
@@ -20,7 +20,7 @@ import { mapValues } from '../runtime';
20
20
  */
21
21
  export interface ReqGetRFQ {
22
22
  /**
23
- *
23
+ * made optional to support header auth clients
24
24
  * @type {string}
25
25
  * @memberof ReqGetRFQ
26
26
  */
@@ -20,7 +20,7 @@ import { mapValues } from '../runtime';
20
20
  */
21
21
  export interface ReqGetReferralStats {
22
22
  /**
23
- *
23
+ * made optional to support header auth clients
24
24
  * @type {string}
25
25
  * @memberof ReqGetReferralStats
26
26
  */
@@ -20,7 +20,7 @@ import { mapValues } from '../runtime';
20
20
  */
21
21
  export interface ReqGetUserReferrals {
22
22
  /**
23
- *
23
+ * made optional to support header auth clients
24
24
  * @type {string}
25
25
  * @memberof ReqGetUserReferrals
26
26
  */
@@ -20,7 +20,7 @@ import { mapValues } from '../runtime';
20
20
  */
21
21
  export interface ReqListRFQs {
22
22
  /**
23
- *
23
+ * made optional to support header auth clients
24
24
  * @type {string}
25
25
  * @memberof ReqListRFQs
26
26
  */