zklighter-perps 1.0.74 → 1.0.75

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.
@@ -37,12 +37,6 @@ export interface BridgeSupportedNetwork {
37
37
  * @memberof BridgeSupportedNetwork
38
38
  */
39
39
  explorer: string;
40
- /**
41
- *
42
- * @type {boolean}
43
- * @memberof BridgeSupportedNetwork
44
- */
45
- is_cex: boolean;
46
40
  }
47
41
 
48
42
  /**
@@ -52,7 +46,6 @@ export function instanceOfBridgeSupportedNetwork(value: object): value is Bridge
52
46
  if (!('name' in value) || value['name'] === undefined) return false;
53
47
  if (!('chain_id' in value) || value['chain_id'] === undefined) return false;
54
48
  if (!('explorer' in value) || value['explorer'] === undefined) return false;
55
- if (!('is_cex' in value) || value['is_cex'] === undefined) return false;
56
49
  return true;
57
50
  }
58
51
 
@@ -69,7 +62,6 @@ export function BridgeSupportedNetworkFromJSONTyped(json: any, ignoreDiscriminat
69
62
  'name': json['name'],
70
63
  'chain_id': json['chain_id'],
71
64
  'explorer': json['explorer'],
72
- 'is_cex': json['is_cex'],
73
65
  };
74
66
  }
75
67
 
@@ -82,7 +74,6 @@ export function BridgeSupportedNetworkToJSON(value?: BridgeSupportedNetwork | nu
82
74
  'name': value['name'],
83
75
  'chain_id': value['chain_id'],
84
76
  'explorer': value['explorer'],
85
- 'is_cex': value['is_cex'],
86
77
  };
87
78
  }
88
79
 
package/models/Deposit.ts CHANGED
@@ -37,6 +37,30 @@ export interface Deposit {
37
37
  * @memberof Deposit
38
38
  */
39
39
  source: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof Deposit
44
+ */
45
+ source_chain_id: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof Deposit
50
+ */
51
+ fast_bridge_tx_hash: string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof Deposit
56
+ */
57
+ batch_claim_tx_hash: string;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof Deposit
62
+ */
63
+ cctp_burn_tx_hash: string;
40
64
  /**
41
65
  *
42
66
  * @type {string}
@@ -93,6 +117,10 @@ export interface Deposit {
93
117
  export function instanceOfDeposit(value: object): value is Deposit {
94
118
  if (!('code' in value) || value['code'] === undefined) return false;
95
119
  if (!('source' in value) || value['source'] === undefined) return false;
120
+ if (!('source_chain_id' in value) || value['source_chain_id'] === undefined) return false;
121
+ if (!('fast_bridge_tx_hash' in value) || value['fast_bridge_tx_hash'] === undefined) return false;
122
+ if (!('batch_claim_tx_hash' in value) || value['batch_claim_tx_hash'] === undefined) return false;
123
+ if (!('cctp_burn_tx_hash' in value) || value['cctp_burn_tx_hash'] === undefined) return false;
96
124
  if (!('amount' in value) || value['amount'] === undefined) return false;
97
125
  if (!('intent_address' in value) || value['intent_address'] === undefined) return false;
98
126
  if (!('status' in value) || value['status'] === undefined) return false;
@@ -117,6 +145,10 @@ export function DepositFromJSONTyped(json: any, ignoreDiscriminator: boolean): D
117
145
  'code': json['code'],
118
146
  'message': json['message'] == null ? undefined : json['message'],
119
147
  'source': json['source'],
148
+ 'source_chain_id': json['source_chain_id'],
149
+ 'fast_bridge_tx_hash': json['fast_bridge_tx_hash'],
150
+ 'batch_claim_tx_hash': json['batch_claim_tx_hash'],
151
+ 'cctp_burn_tx_hash': json['cctp_burn_tx_hash'],
120
152
  'amount': json['amount'],
121
153
  'intent_address': json['intent_address'],
122
154
  'status': json['status'],
@@ -137,6 +169,10 @@ export function DepositToJSON(value?: Deposit | null): any {
137
169
  'code': value['code'],
138
170
  'message': value['message'],
139
171
  'source': value['source'],
172
+ 'source_chain_id': value['source_chain_id'],
173
+ 'fast_bridge_tx_hash': value['fast_bridge_tx_hash'],
174
+ 'batch_claim_tx_hash': value['batch_claim_tx_hash'],
175
+ 'cctp_burn_tx_hash': value['cctp_burn_tx_hash'],
140
176
  'amount': value['amount'],
141
177
  'intent_address': value['intent_address'],
142
178
  'status': value['status'],
package/openapi.json CHANGED
@@ -2504,19 +2504,13 @@
2504
2504
  "explorer": {
2505
2505
  "type": "string",
2506
2506
  "example": "https://arbiscan.io/"
2507
- },
2508
- "is_cex": {
2509
- "type": "boolean",
2510
- "format": "boolean",
2511
- "example": "false"
2512
2507
  }
2513
2508
  },
2514
2509
  "title": "BridgeSupportedNetwork",
2515
2510
  "required": [
2516
2511
  "name",
2517
2512
  "chain_id",
2518
- "explorer",
2519
- "is_cex"
2513
+ "explorer"
2520
2514
  ]
2521
2515
  },
2522
2516
  "BridgeSupportedNetworks": {
@@ -2713,6 +2707,22 @@
2713
2707
  "type": "string",
2714
2708
  "example": "Arbitrum"
2715
2709
  },
2710
+ "source_chain_id": {
2711
+ "type": "string",
2712
+ "example": "42161"
2713
+ },
2714
+ "fast_bridge_tx_hash": {
2715
+ "type": "string",
2716
+ "example": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
2717
+ },
2718
+ "batch_claim_tx_hash": {
2719
+ "type": "string",
2720
+ "example": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
2721
+ },
2722
+ "cctp_burn_tx_hash": {
2723
+ "type": "string",
2724
+ "example": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
2725
+ },
2716
2726
  "amount": {
2717
2727
  "type": "string"
2718
2728
  },
@@ -2745,6 +2755,10 @@
2745
2755
  "required": [
2746
2756
  "code",
2747
2757
  "source",
2758
+ "source_chain_id",
2759
+ "fast_bridge_tx_hash",
2760
+ "batch_claim_tx_hash",
2761
+ "cctp_burn_tx_hash",
2748
2762
  "amount",
2749
2763
  "intent_address",
2750
2764
  "status",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zklighter-perps",
3
- "version": "1.0.74",
3
+ "version": "1.0.75",
4
4
  "description": "zkLighter Perps SDK",
5
5
  "main": "index.ts",
6
6
  "directories": {