zklighter-perps 1.0.31 → 1.0.32

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/openapi.json CHANGED
@@ -1773,6 +1773,7 @@
1773
1773
  },
1774
1774
  "title": "Account",
1775
1775
  "required": [
1776
+ "code",
1776
1777
  "account_type",
1777
1778
  "index",
1778
1779
  "l1_address",
@@ -1802,6 +1803,7 @@
1802
1803
  },
1803
1804
  "title": "AccountApiKeys",
1804
1805
  "required": [
1806
+ "code",
1805
1807
  "api_keys"
1806
1808
  ]
1807
1809
  },
@@ -1873,6 +1875,7 @@
1873
1875
  },
1874
1876
  "title": "AccountPnL",
1875
1877
  "required": [
1878
+ "code",
1876
1879
  "resolution",
1877
1880
  "pnl"
1878
1881
  ]
@@ -1991,6 +1994,7 @@
1991
1994
  },
1992
1995
  "title": "Accounts",
1993
1996
  "required": [
1997
+ "code",
1994
1998
  "total",
1995
1999
  "accounts"
1996
2000
  ]
@@ -2119,6 +2123,7 @@
2119
2123
  },
2120
2124
  "title": "Blocks",
2121
2125
  "required": [
2126
+ "code",
2122
2127
  "total",
2123
2128
  "blocks"
2124
2129
  ]
@@ -2197,6 +2202,7 @@
2197
2202
  },
2198
2203
  "title": "Candlesticks",
2199
2204
  "required": [
2205
+ "code",
2200
2206
  "resolution",
2201
2207
  "candlesticks"
2202
2208
  ]
@@ -2237,6 +2243,7 @@
2237
2243
  },
2238
2244
  "title": "CurrentHeight",
2239
2245
  "required": [
2246
+ "code",
2240
2247
  "height"
2241
2248
  ]
2242
2249
  },
@@ -2318,6 +2325,14 @@
2318
2325
  },
2319
2326
  "title": "DetailedAccount",
2320
2327
  "required": [
2328
+ "code",
2329
+ "account_type",
2330
+ "index",
2331
+ "l1_address",
2332
+ "cancel_all_time",
2333
+ "open_order_count",
2334
+ "status",
2335
+ "collateral",
2321
2336
  "positions",
2322
2337
  "total_asset_value",
2323
2338
  "market_stats",
@@ -2349,6 +2364,7 @@
2349
2364
  },
2350
2365
  "title": "DetailedAccounts",
2351
2366
  "required": [
2367
+ "code",
2352
2368
  "total",
2353
2369
  "accounts"
2354
2370
  ]
@@ -2445,9 +2461,23 @@
2445
2461
  },
2446
2462
  "title": "EnrichedTx",
2447
2463
  "required": [
2464
+ "code",
2465
+ "hash",
2466
+ "type",
2467
+ "info",
2468
+ "event_info",
2469
+ "status",
2470
+ "transaction_index",
2471
+ "l1_address",
2472
+ "account_index",
2473
+ "nonce",
2474
+ "expire_at",
2475
+ "block_height",
2476
+ "created_at",
2477
+ "executed_at",
2478
+ "sequence_index",
2448
2479
  "committed_at",
2449
- "verified_at",
2450
- "executed_at"
2480
+ "verified_at"
2451
2481
  ]
2452
2482
  },
2453
2483
  "ExchangeStats": {
@@ -2486,6 +2516,7 @@
2486
2516
  },
2487
2517
  "title": "ExchangeStats",
2488
2518
  "required": [
2519
+ "code",
2489
2520
  "total",
2490
2521
  "order_book_stats",
2491
2522
  "daily_usd_volume",
@@ -2545,6 +2576,7 @@
2545
2576
  },
2546
2577
  "title": "Fundings",
2547
2578
  "required": [
2579
+ "code",
2548
2580
  "resolution",
2549
2581
  "fundings"
2550
2582
  ]
@@ -2631,6 +2663,7 @@
2631
2663
  },
2632
2664
  "title": "Layer1BasicInfo",
2633
2665
  "required": [
2666
+ "code",
2634
2667
  "l1_providers",
2635
2668
  "l1_providers_health",
2636
2669
  "validator_info",
@@ -2669,6 +2702,7 @@
2669
2702
  },
2670
2703
  "title": "Layer2BasicInfo",
2671
2704
  "required": [
2705
+ "code",
2672
2706
  "block_committed",
2673
2707
  "block_verified",
2674
2708
  "total_transaction_count"
@@ -2794,6 +2828,7 @@
2794
2828
  },
2795
2829
  "title": "NextNonce",
2796
2830
  "required": [
2831
+ "code",
2797
2832
  "nonce"
2798
2833
  ]
2799
2834
  },
@@ -3035,6 +3070,7 @@
3035
3070
  },
3036
3071
  "title": "OrderBookDepth",
3037
3072
  "required": [
3073
+ "code",
3038
3074
  "asks",
3039
3075
  "bids",
3040
3076
  "offset"
@@ -3181,6 +3217,17 @@
3181
3217
  },
3182
3218
  "title": "OrderBookDetail",
3183
3219
  "required": [
3220
+ "symbol",
3221
+ "market_id",
3222
+ "status",
3223
+ "taker_fee",
3224
+ "maker_fee",
3225
+ "liquidation_fee",
3226
+ "min_base_amount",
3227
+ "min_quote_amount",
3228
+ "supported_size_decimals",
3229
+ "supported_price_decimals",
3230
+ "supported_quote_decimals",
3184
3231
  "size_decimals",
3185
3232
  "price_decimals",
3186
3233
  "quote_multiplier",
@@ -3219,6 +3266,7 @@
3219
3266
  },
3220
3267
  "title": "OrderBookDetails",
3221
3268
  "required": [
3269
+ "code",
3222
3270
  "order_book_details"
3223
3271
  ]
3224
3272
  },
@@ -3258,6 +3306,7 @@
3258
3306
  },
3259
3307
  "title": "OrderBookOrders",
3260
3308
  "required": [
3309
+ "code",
3261
3310
  "total_asks",
3262
3311
  "asks",
3263
3312
  "total_bids",
@@ -3327,6 +3376,7 @@
3327
3376
  },
3328
3377
  "title": "OrderBooks",
3329
3378
  "required": [
3379
+ "code",
3330
3380
  "order_books"
3331
3381
  ]
3332
3382
  },
@@ -3353,6 +3403,7 @@
3353
3403
  },
3354
3404
  "title": "Orders",
3355
3405
  "required": [
3406
+ "code",
3356
3407
  "orders"
3357
3408
  ]
3358
3409
  },
@@ -3375,6 +3426,7 @@
3375
3426
  },
3376
3427
  "title": "Permission",
3377
3428
  "required": [
3429
+ "code",
3378
3430
  "permit"
3379
3431
  ]
3380
3432
  },
@@ -4251,6 +4303,7 @@
4251
4303
  },
4252
4304
  "title": "Rollbacks",
4253
4305
  "required": [
4306
+ "code",
4254
4307
  "total",
4255
4308
  "rollbacks"
4256
4309
  ]
@@ -4274,6 +4327,7 @@
4274
4327
  },
4275
4328
  "title": "Search",
4276
4329
  "required": [
4330
+ "code",
4277
4331
  "data_type"
4278
4332
  ]
4279
4333
  },
@@ -4295,6 +4349,7 @@
4295
4349
  },
4296
4350
  "title": "SignBody",
4297
4351
  "required": [
4352
+ "code",
4298
4353
  "sign_body"
4299
4354
  ]
4300
4355
  },
@@ -4384,6 +4439,7 @@
4384
4439
  },
4385
4440
  "title": "SubAccounts",
4386
4441
  "required": [
4442
+ "code",
4387
4443
  "l1_address",
4388
4444
  "sub_accounts"
4389
4445
  ]
@@ -4495,6 +4551,7 @@
4495
4551
  },
4496
4552
  "title": "Trades",
4497
4553
  "required": [
4554
+ "code",
4498
4555
  "trades"
4499
4556
  ]
4500
4557
  },
@@ -4606,6 +4663,7 @@
4606
4663
  },
4607
4664
  "title": "TxHash",
4608
4665
  "required": [
4666
+ "code",
4609
4667
  "tx_hash"
4610
4668
  ]
4611
4669
  },
@@ -4629,6 +4687,7 @@
4629
4687
  },
4630
4688
  "title": "TxHashes",
4631
4689
  "required": [
4690
+ "code",
4632
4691
  "tx_hash"
4633
4692
  ]
4634
4693
  },
@@ -4652,6 +4711,7 @@
4652
4711
  },
4653
4712
  "title": "Txs",
4654
4713
  "required": [
4714
+ "code",
4655
4715
  "txs"
4656
4716
  ]
4657
4717
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zklighter-perps",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
4
4
  "description": "zkLighter Perps SDK",
5
5
  "main": "index.ts",
6
6
  "directories": {