typed-hyperliquid 2.2.0__tar.gz → 2.3.1__tar.gz

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.
Files changed (196) hide show
  1. {typed_hyperliquid-2.2.0/src/typed_hyperliquid.egg-info → typed_hyperliquid-2.3.1}/PKG-INFO +1 -1
  2. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/pyproject.toml +1 -1
  3. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/candle_snapshot.py +23 -7
  4. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/funding_history.py +19 -8
  5. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/user_fills.py +2 -0
  6. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/user_fills_by_time.py +21 -8
  7. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/user_funding.py +19 -8
  8. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/user_non_funding_ledger_updates.py +19 -8
  9. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/schemas.py +1 -1
  10. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/user_fills.py +4 -2
  11. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1/src/typed_hyperliquid.egg-info}/PKG-INFO +1 -1
  12. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/LICENSE +0 -0
  13. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/README.md +0 -0
  14. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/setup.cfg +0 -0
  15. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/__init__.py +0 -0
  16. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/__init__.pyi +0 -0
  17. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/core/__init__.py +0 -0
  18. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/core/__init__.pyi +0 -0
  19. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/core/base.py +0 -0
  20. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/core/endpoint/__init__.py +0 -0
  21. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/core/endpoint/rpc.py +0 -0
  22. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/core/endpoint/stream.py +0 -0
  23. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/core/exc.py +0 -0
  24. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/core/types.py +0 -0
  25. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/core/urls.py +0 -0
  26. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/core/wire.py +0 -0
  27. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/core/ws/__init__.py +0 -0
  28. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/core/ws/client.py +0 -0
  29. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/__init__.py +0 -0
  30. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/agent_enable_dex_abstraction.py +0 -0
  31. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/agent_send_asset.py +0 -0
  32. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/agent_set_abstraction.py +0 -0
  33. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/approve_agent.py +0 -0
  34. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/approve_builder_fee.py +0 -0
  35. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/authorize_aqav2_role.py +0 -0
  36. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/cancel.py +0 -0
  37. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/cancel_by_cloid.py +0 -0
  38. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/claim_rewards.py +0 -0
  39. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/core/__init__.py +0 -0
  40. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/core/auth.py +0 -0
  41. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/core/envelope.py +0 -0
  42. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/core/transport/__init__.py +0 -0
  43. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/core/transport/http.py +0 -0
  44. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/core/transport/ws.py +0 -0
  45. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/gossip_priority_bid.py +0 -0
  46. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/hip3_liquidator_transfer.py +0 -0
  47. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/modify_order.py +0 -0
  48. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/modify_orders.py +0 -0
  49. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/noop.py +0 -0
  50. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/order.py +0 -0
  51. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/outcome_deployer/__init__.py +0 -0
  52. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/outcome_deployer/activate_outcome_deployer.py +0 -0
  53. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/outcome_deployer/register_and_associate_named_outcome_from_template.py +0 -0
  54. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/outcome_deployer/register_question_from_template.py +0 -0
  55. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/outcome_deployer/register_standalone_outcome_from_template.py +0 -0
  56. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/outcome_deployer/settle_outcome.py +0 -0
  57. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/outcome_deployer/settle_question2.py +0 -0
  58. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/perp_deploy/__init__.py +0 -0
  59. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/perp_deploy/disable_dex.py +0 -0
  60. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/perp_deploy/halt_trading.py +0 -0
  61. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/perp_deploy/register_asset.py +0 -0
  62. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/perp_deploy/register_asset2.py +0 -0
  63. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/perp_deploy/set_deployer_fees.py +0 -0
  64. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/perp_deploy/set_fee_recipient.py +0 -0
  65. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/perp_deploy/set_funding_interest_rates.py +0 -0
  66. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/perp_deploy/set_funding_multipliers.py +0 -0
  67. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/perp_deploy/set_margin_modes.py +0 -0
  68. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/perp_deploy/set_margin_table_ids.py +0 -0
  69. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/perp_deploy/set_open_interest_caps.py +0 -0
  70. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/perp_deploy/set_oracle.py +0 -0
  71. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/perp_deploy/set_perp_annotation.py +0 -0
  72. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/perp_deploy/set_sub_deployers.py +0 -0
  73. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/reserve_request_weight.py +0 -0
  74. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/schedule_cancel.py +0 -0
  75. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/send_asset.py +0 -0
  76. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/send_to_evm_with_data.py +0 -0
  77. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/spot_deploy/__init__.py +0 -0
  78. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/spot_deploy/disable_aligned_quote_token.py +0 -0
  79. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/spot_deploy/disable_quote_token.py +0 -0
  80. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/spot_deploy/enable_aligned_quote_token.py +0 -0
  81. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/spot_deploy/enable_quote_token.py +0 -0
  82. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/spot_deploy/genesis.py +0 -0
  83. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/spot_deploy/register_hyperliquidity.py +0 -0
  84. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/spot_deploy/register_spot.py +0 -0
  85. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/spot_deploy/register_token2.py +0 -0
  86. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/spot_deploy/set_deployer_trading_fee_share.py +0 -0
  87. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/spot_deploy/user_genesis.py +0 -0
  88. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/spot_transfer.py +0 -0
  89. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/staking_deposit.py +0 -0
  90. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/staking_withdraw.py +0 -0
  91. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/token_delegate.py +0 -0
  92. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/top_up_isolated_only_margin.py +0 -0
  93. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/twap_cancel.py +0 -0
  94. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/twap_order.py +0 -0
  95. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/update_isolated_margin.py +0 -0
  96. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/update_leverage.py +0 -0
  97. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/usd_class_transfer.py +0 -0
  98. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/usdc_transfer.py +0 -0
  99. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/user_dex_abstraction.py +0 -0
  100. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/user_outcome/__init__.py +0 -0
  101. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/user_outcome/merge_outcome.py +0 -0
  102. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/user_outcome/merge_question.py +0 -0
  103. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/user_outcome/negate_outcome.py +0 -0
  104. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/user_outcome/split_outcome.py +0 -0
  105. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/user_set_abstraction.py +0 -0
  106. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/validator_l1_stream.py +0 -0
  107. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/vault_transfer.py +0 -0
  108. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/exchange/withdraw3.py +0 -0
  109. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/__init__.py +0 -0
  110. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/active_asset_data.py +0 -0
  111. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/aligned_quote_token_info.py +0 -0
  112. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/all_borrow_lend_reserve_states.py +0 -0
  113. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/all_mids.py +0 -0
  114. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/all_perp_metas.py +0 -0
  115. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/approved_builders.py +0 -0
  116. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/borrow_lend_reserve_state.py +0 -0
  117. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/borrow_lend_user_state.py +0 -0
  118. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/builder_fee_approved.py +0 -0
  119. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/clearinghouse_state.py +0 -0
  120. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/core/__init__.py +0 -0
  121. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/core/transport/__init__.py +0 -0
  122. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/core/transport/http.py +0 -0
  123. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/core/transport/ws.py +0 -0
  124. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/exchange_status.py +0 -0
  125. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/frontend_open_orders.py +0 -0
  126. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/gossip_priority_auction_status.py +0 -0
  127. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/l2_book.py +0 -0
  128. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/open_orders.py +0 -0
  129. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/order_status.py +0 -0
  130. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/outcome_meta.py +0 -0
  131. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/outcome_templates.py +0 -0
  132. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/perp_annotation.py +0 -0
  133. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/perp_categories.py +0 -0
  134. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/perp_concise_annotations.py +0 -0
  135. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/perp_deploy_auction_status.py +0 -0
  136. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/perp_dex_limits.py +0 -0
  137. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/perp_dex_status.py +0 -0
  138. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/perp_dexs.py +0 -0
  139. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/perp_meta.py +0 -0
  140. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/perp_meta_and_asset_ctxs.py +0 -0
  141. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/perps_at_open_interest_cap.py +0 -0
  142. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/predicted_fundings.py +0 -0
  143. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/settled_outcome.py +0 -0
  144. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/spot_clearinghouse_state.py +0 -0
  145. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/spot_deploy_state.py +0 -0
  146. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/spot_meta.py +0 -0
  147. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/spot_meta_and_asset_ctxs.py +0 -0
  148. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/spot_pair_deploy_auction_status.py +0 -0
  149. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/staking_delegations.py +0 -0
  150. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/staking_history.py +0 -0
  151. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/staking_rewards.py +0 -0
  152. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/staking_summary.py +0 -0
  153. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/sub_accounts.py +0 -0
  154. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/token_details.py +0 -0
  155. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/user_abstraction.py +0 -0
  156. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/user_dex_abstraction.py +0 -0
  157. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/user_fees.py +0 -0
  158. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/user_historical_orders.py +0 -0
  159. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/user_portfolio.py +0 -0
  160. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/user_rate_limit.py +0 -0
  161. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/user_referral.py +0 -0
  162. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/user_role.py +0 -0
  163. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/user_twap_slice_fills.py +0 -0
  164. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/user_vault_equities.py +0 -0
  165. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/info/vault_details.py +0 -0
  166. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/main.py +0 -0
  167. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/py.typed +0 -0
  168. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/__init__.py +0 -0
  169. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/active_asset_ctx.py +0 -0
  170. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/active_asset_data.py +0 -0
  171. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/all_dexs_asset_ctxs.py +0 -0
  172. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/all_dexs_clearinghouse_state.py +0 -0
  173. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/all_mids.py +0 -0
  174. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/bbo.py +0 -0
  175. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/candle.py +0 -0
  176. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/clearinghouse_state.py +0 -0
  177. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/core.py +0 -0
  178. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/fast_asset_ctxs.py +0 -0
  179. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/l2_book.py +0 -0
  180. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/notification.py +0 -0
  181. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/open_orders.py +0 -0
  182. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/order_updates.py +0 -0
  183. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/outcome_meta_updates.py +0 -0
  184. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/spot_state.py +0 -0
  185. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/trades.py +0 -0
  186. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/twap_states.py +0 -0
  187. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/user_events.py +0 -0
  188. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/user_fundings.py +0 -0
  189. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/user_non_funding_ledger_updates.py +0 -0
  190. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/user_twap_history.py +0 -0
  191. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/user_twap_slice_fills.py +0 -0
  192. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid/streams/web_data3.py +0 -0
  193. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid.egg-info/SOURCES.txt +0 -0
  194. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid.egg-info/dependency_links.txt +0 -0
  195. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid.egg-info/requires.txt +0 -0
  196. {typed_hyperliquid-2.2.0 → typed_hyperliquid-2.3.1}/src/typed_hyperliquid.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: typed-hyperliquid
3
- Version: 2.2.0
3
+ Version: 2.3.1
4
4
  Summary: A fully typed, validated async client for the Hyperliquid API.
5
5
  Author-email: Marcel Claramunt <marcel@tribulnation.com>
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "typed-hyperliquid"
7
- version = "2.2.0"
7
+ version = "2.3.1"
8
8
  authors = [
9
9
  {name="Marcel Claramunt", email="marcel@tribulnation.com"}
10
10
  ]
@@ -105,7 +105,7 @@ class CandleSnapshot(InfoCore):
105
105
  ) -> PaginatedResponse[Candle, tuple[TimestampMillis, list[Candle]]]:
106
106
  """Retrieve OHLCV candles for a coin at a given interval over a time range.
107
107
 
108
- Paged variant of `candle_snapshot`: Walks forwards by moving `start_time` to the latest `t` of each page that came back full, never past the caller's own `end_time` and stops on the first page shorter than the venue's row cap. Awaitable (flattens every page) or async-iterable (one page at a time).
108
+ Paged variant of `candle_snapshot`: Walks forwards by moving `start_time` to the latest `t` of each page that came back full, never past the caller's own `end_time` (rows beyond it are dropped) and stops once a page reaches the caller's own `end_time`, or on the first page shorter than the venue's row cap. Awaitable (flattens every page) or async-iterable (one page at a time).
109
109
 
110
110
  The boundary row a venue re-serves is dropped by its `t` value, so no row is duplicated or skipped whichever way the venue bounds its ranges.
111
111
 
@@ -147,8 +147,18 @@ class CandleSnapshot(InfoCore):
147
147
  )
148
148
  rows = response
149
149
  keys = [key_of(item) for item in rows]
150
+ far_key = (
151
+ None
152
+ if end_time is None
153
+ else timestamp_millis.parse(timestamp_millis.dump(end_time))
154
+ )
150
155
  carried_keys = [key_of(item) for item in carried]
151
- fresh = [item for item, key in zip(rows, keys) if key not in carried_keys]
156
+ fresh = [
157
+ item
158
+ for item, key in zip(rows, keys)
159
+ if key not in carried_keys
160
+ and (far_key is None or key is None or key <= far_key)
161
+ ]
152
162
  values = [key for key in keys if key is not None]
153
163
  extreme = max(values) if values else None
154
164
  if cap is not None and len(rows) >= cap:
@@ -156,11 +166,17 @@ class CandleSnapshot(InfoCore):
156
166
  raise LogicError(
157
167
  f'`candle_snapshot_paged` requested from {pos} and the venue returned a full page of {len(rows)} rows all sharing one `t` value; the rest of that value is unreachable and advancing would drop it.'
158
168
  )
159
- return fresh, (
160
- extreme,
161
- [item for item, key in zip(rows, keys) if key == extreme],
162
- )
163
- if cap is None and extreme is not None and extreme != pos:
169
+ if not (far_key is not None and extreme >= far_key):
170
+ return fresh, (
171
+ extreme,
172
+ [item for item, key in zip(rows, keys) if key == extreme],
173
+ )
174
+ elif (
175
+ cap is None
176
+ and extreme is not None
177
+ and extreme != pos
178
+ and not (far_key is not None and extreme >= far_key)
179
+ ):
164
180
  return fresh, (
165
181
  extreme,
166
182
  [item for item, key in zip(rows, keys) if key == extreme],
@@ -47,7 +47,7 @@ class FundingHistory(InfoCore):
47
47
  ]:
48
48
  """Retrieve historical hourly funding rate and premium events for a coin over a time range.
49
49
 
50
- Paged variant of `funding_history`: Walks forwards by moving `start_time` to the latest `time` of each page that came back full, never past the caller's own `end_time` and stops on the first page shorter than the venue's row cap. Awaitable (flattens every page) or async-iterable (one page at a time).
50
+ Paged variant of `funding_history`: Walks forwards by moving `start_time` to the latest `time` of each page that came back full, never past the caller's own `end_time` (rows beyond it are dropped) and stops once a page passes the caller's own `end_time`, or on the first page shorter than the venue's row cap. Awaitable (flattens every page) or async-iterable (one page at a time).
51
51
 
52
52
  Rows sharing the boundary `time` value are re-fetched and dropped by content, so a value shared by more than one row is never duplicated or skipped. Raises `LogicError` if a row already yielded is genuinely missing from the next page (not merely reordered), or if a full page shares one `time` value, since the rest of it would then be unreachable.
53
53
 
@@ -86,12 +86,17 @@ class FundingHistory(InfoCore):
86
86
  )
87
87
  rows = response
88
88
  keys = [key_of(item) for item in rows]
89
+ far_key = (
90
+ None
91
+ if end_time is None
92
+ else timestamp_millis.parse(timestamp_millis.dump(end_time))
93
+ )
89
94
  remaining = list(carried)
90
95
  fresh = []
91
- for item in rows:
96
+ for item, key in zip(rows, keys):
92
97
  if item in remaining:
93
98
  remaining.remove(item)
94
- else:
99
+ elif far_key is None or key is None or key <= far_key:
95
100
  fresh.append(item)
96
101
  if remaining:
97
102
  raise LogicError(
@@ -104,11 +109,17 @@ class FundingHistory(InfoCore):
104
109
  raise LogicError(
105
110
  f'`funding_history_paged` requested from {pos} and the venue returned a full page of {len(rows)} rows all sharing one `time` value; the rest of that value is unreachable and advancing would drop it.'
106
111
  )
107
- return fresh, (
108
- extreme,
109
- [item for item, key in zip(rows, keys) if key == extreme],
110
- )
111
- if cap is None and extreme is not None and extreme != pos:
112
+ if not (far_key is not None and extreme > far_key):
113
+ return fresh, (
114
+ extreme,
115
+ [item for item, key in zip(rows, keys) if key == extreme],
116
+ )
117
+ elif (
118
+ cap is None
119
+ and extreme is not None
120
+ and extreme != pos
121
+ and not (far_key is not None and extreme > far_key)
122
+ ):
112
123
  return fresh, (
113
124
  extreme,
114
125
  [item for item, key in zip(rows, keys) if key == extreme],
@@ -35,6 +35,8 @@ class UserFill(TypedDict):
35
35
  """L1 transaction hash of the fill."""
36
36
  oid: int
37
37
  """Id of the order that produced this fill."""
38
+ cloid: NotRequired[str]
39
+ """Client order id of the order this fill belongs to (128-bit hex, `0x` + 32 hex digits). Present only on fills of orders placed with a `cloid`; absent otherwise."""
38
40
  crossed: bool
39
41
  """Whether this fill was the taker side of the trade (crossed the book)."""
40
42
  fee: Decimal
@@ -42,6 +42,8 @@ class UserFill(TypedDict):
42
42
  """L1 transaction hash of the fill."""
43
43
  oid: int
44
44
  """Id of the order that produced this fill."""
45
+ cloid: NotRequired[str]
46
+ """Client order id of the order this fill belongs to (128-bit hex, `0x` + 32 hex digits). Present only on fills of orders placed with a `cloid`; absent otherwise."""
45
47
  crossed: bool
46
48
  """Whether this fill was the taker side of the trade (crossed the book)."""
47
49
  fee: Decimal
@@ -74,7 +76,7 @@ class UserFillsByTime(InfoCore):
74
76
  ) -> PaginatedResponse[UserFill, tuple[TimestampMillis, list[UserFill]]]:
75
77
  """Retrieve a user's fills within a time range. Returns at most 2000 fills per response, and only the 10000 most recent fills are available.
76
78
 
77
- Paged variant of `user_fills_by_time`: Walks forwards by moving `start_time` to the latest `time` of each page that came back full, never past the caller's own `end_time` and stops on the first page shorter than the venue's row cap. Awaitable (flattens every page) or async-iterable (one page at a time).
79
+ Paged variant of `user_fills_by_time`: Walks forwards by moving `start_time` to the latest `time` of each page that came back full, never past the caller's own `end_time` (rows beyond it are dropped) and stops once a page passes the caller's own `end_time`, or on the first page shorter than the venue's row cap. Awaitable (flattens every page) or async-iterable (one page at a time).
78
80
 
79
81
  Rows sharing the boundary `time` value are re-fetched and dropped by content, so a value shared by more than one row is never duplicated or skipped. Raises `LogicError` if a row already yielded is genuinely missing from the next page (not merely reordered), or if a full page shares one `time` value, since the rest of it would then be unreachable.
80
82
 
@@ -116,12 +118,17 @@ class UserFillsByTime(InfoCore):
116
118
  )
117
119
  rows = response
118
120
  keys = [key_of(item) for item in rows]
121
+ far_key = (
122
+ None
123
+ if end_time is None
124
+ else timestamp_millis.parse(timestamp_millis.dump(end_time))
125
+ )
119
126
  remaining = list(carried)
120
127
  fresh = []
121
- for item in rows:
128
+ for item, key in zip(rows, keys):
122
129
  if item in remaining:
123
130
  remaining.remove(item)
124
- else:
131
+ elif far_key is None or key is None or key <= far_key:
125
132
  fresh.append(item)
126
133
  if remaining:
127
134
  raise LogicError(
@@ -134,11 +141,17 @@ class UserFillsByTime(InfoCore):
134
141
  raise LogicError(
135
142
  f'`user_fills_by_time_paged` requested from {pos} and the venue returned a full page of {len(rows)} rows all sharing one `time` value; the rest of that value is unreachable and advancing would drop it.'
136
143
  )
137
- return fresh, (
138
- extreme,
139
- [item for item, key in zip(rows, keys) if key == extreme],
140
- )
141
- if cap is None and extreme is not None and extreme != pos:
144
+ if not (far_key is not None and extreme > far_key):
145
+ return fresh, (
146
+ extreme,
147
+ [item for item, key in zip(rows, keys) if key == extreme],
148
+ )
149
+ elif (
150
+ cap is None
151
+ and extreme is not None
152
+ and extreme != pos
153
+ and not (far_key is not None and extreme > far_key)
154
+ ):
142
155
  return fresh, (
143
156
  extreme,
144
157
  [item for item, key in zip(rows, keys) if key == extreme],
@@ -63,7 +63,7 @@ class UserFunding(InfoCore):
63
63
  ]:
64
64
  """Retrieve a user's funding payment history within a time range. Responses that take a time range return at most 500 elements or distinct blocks of data; to query a larger range, repeat the call using the last returned entry's `time` as the next `start_time`.
65
65
 
66
- Paged variant of `user_funding`: Walks forwards by moving `start_time` to the latest `time` of each page that came back full, never past the caller's own `end_time` and stops on the first page shorter than the venue's row cap. Awaitable (flattens every page) or async-iterable (one page at a time).
66
+ Paged variant of `user_funding`: Walks forwards by moving `start_time` to the latest `time` of each page that came back full, never past the caller's own `end_time` (rows beyond it are dropped) and stops once a page passes the caller's own `end_time`, or on the first page shorter than the venue's row cap. Awaitable (flattens every page) or async-iterable (one page at a time).
67
67
 
68
68
  Rows sharing the boundary `time` value are re-fetched and dropped by content, so a value shared by more than one row is never duplicated or skipped. Raises `LogicError` if a row already yielded is genuinely missing from the next page (not merely reordered), or if a full page shares one `time` value, since the rest of it would then be unreachable.
69
69
 
@@ -101,12 +101,17 @@ class UserFunding(InfoCore):
101
101
  )
102
102
  rows = response
103
103
  keys = [key_of(item) for item in rows]
104
+ far_key = (
105
+ None
106
+ if end_time is None
107
+ else timestamp_millis.parse(timestamp_millis.dump(end_time))
108
+ )
104
109
  remaining = list(carried)
105
110
  fresh = []
106
- for item in rows:
111
+ for item, key in zip(rows, keys):
107
112
  if item in remaining:
108
113
  remaining.remove(item)
109
- else:
114
+ elif far_key is None or key is None or key <= far_key:
110
115
  fresh.append(item)
111
116
  if remaining:
112
117
  raise LogicError(
@@ -119,11 +124,17 @@ class UserFunding(InfoCore):
119
124
  raise LogicError(
120
125
  f'`user_funding_paged` requested from {pos} and the venue returned a full page of {len(rows)} rows all sharing one `time` value; the rest of that value is unreachable and advancing would drop it.'
121
126
  )
122
- return fresh, (
123
- extreme,
124
- [item for item, key in zip(rows, keys) if key == extreme],
125
- )
126
- if cap is None and extreme is not None and extreme != pos:
127
+ if not (far_key is not None and extreme > far_key):
128
+ return fresh, (
129
+ extreme,
130
+ [item for item, key in zip(rows, keys) if key == extreme],
131
+ )
132
+ elif (
133
+ cap is None
134
+ and extreme is not None
135
+ and extreme != pos
136
+ and not (far_key is not None and extreme > far_key)
137
+ ):
127
138
  return fresh, (
128
139
  extreme,
129
140
  [item for item, key in zip(rows, keys) if key == extreme],
@@ -359,7 +359,7 @@ class UserNonFundingLedgerUpdates(InfoCore):
359
359
  ]:
360
360
  """Retrieve a user's non-funding ledger updates within a time range: deposits, withdrawals, transfers, vault flows, liquidations, staking, and rewards. Responses that take a time range return at most 500 elements or distinct blocks of data; to query a larger range, repeat the call using the last returned entry's `time` as the next `start_time`.
361
361
 
362
- Paged variant of `user_non_funding_ledger_updates`: Walks forwards by moving `start_time` to the latest `time` of each page that came back full, never past the caller's own `end_time` and stops on the first page shorter than the venue's row cap. Awaitable (flattens every page) or async-iterable (one page at a time).
362
+ Paged variant of `user_non_funding_ledger_updates`: Walks forwards by moving `start_time` to the latest `time` of each page that came back full, never past the caller's own `end_time` (rows beyond it are dropped) and stops once a page passes the caller's own `end_time`, or on the first page shorter than the venue's row cap. Awaitable (flattens every page) or async-iterable (one page at a time).
363
363
 
364
364
  Rows sharing the boundary `time` value are re-fetched and dropped by content, so a value shared by more than one row is never duplicated or skipped. Raises `LogicError` if a row already yielded is genuinely missing from the next page (not merely reordered), or if a full page shares one `time` value, since the rest of it would then be unreachable.
365
365
 
@@ -398,12 +398,17 @@ class UserNonFundingLedgerUpdates(InfoCore):
398
398
  )
399
399
  rows = response
400
400
  keys = [key_of(item) for item in rows]
401
+ far_key = (
402
+ None
403
+ if end_time is None
404
+ else timestamp_millis.parse(timestamp_millis.dump(end_time))
405
+ )
401
406
  remaining = list(carried)
402
407
  fresh = []
403
- for item in rows:
408
+ for item, key in zip(rows, keys):
404
409
  if item in remaining:
405
410
  remaining.remove(item)
406
- else:
411
+ elif far_key is None or key is None or key <= far_key:
407
412
  fresh.append(item)
408
413
  if remaining:
409
414
  raise LogicError(
@@ -416,11 +421,17 @@ class UserNonFundingLedgerUpdates(InfoCore):
416
421
  raise LogicError(
417
422
  f'`user_non_funding_ledger_updates_paged` requested from {pos} and the venue returned a full page of {len(rows)} rows all sharing one `time` value; the rest of that value is unreachable and advancing would drop it.'
418
423
  )
419
- return fresh, (
420
- extreme,
421
- [item for item, key in zip(rows, keys) if key == extreme],
422
- )
423
- if cap is None and extreme is not None and extreme != pos:
424
+ if not (far_key is not None and extreme > far_key):
425
+ return fresh, (
426
+ extreme,
427
+ [item for item, key in zip(rows, keys) if key == extreme],
428
+ )
429
+ elif (
430
+ cap is None
431
+ and extreme is not None
432
+ and extreme != pos
433
+ and not (far_key is not None and extreme > far_key)
434
+ ):
424
435
  return fresh, (
425
436
  extreme,
426
437
  [item for item, key in zip(rows, keys) if key == extreme],
@@ -1,5 +1,5 @@
1
1
  # Generated by typed-dev — see CONTRIBUTING.md.
2
- """Shapes shared by two or more endpoints under the client root, generated from `spec/schemas.json`."""
2
+ """Shapes shared by several endpoints of this client."""
3
3
 
4
4
  from typing_extensions import Literal, TypedDict
5
5
 
@@ -49,6 +49,8 @@ class UserFill(TypedDict):
49
49
  """L1 transaction hash."""
50
50
  oid: int
51
51
  """Order id."""
52
+ cloid: NotRequired[str]
53
+ """Client order id of the order this fill belongs to (128-bit hex, `0x` + 32 hex digits). Present only on fills of orders placed with a `cloid`; absent otherwise."""
52
54
  crossed: bool
53
55
  """Whether the order crossed the spread (was taker)."""
54
56
  fee: Decimal
@@ -69,8 +71,8 @@ class UserFills(TypedDict):
69
71
 
70
72
  fills: list[UserFill]
71
73
  """The fills in this snapshot or update."""
72
- isSnapshot: bool
73
- """True on the first message (a snapshot of recent fills), false on every following streamed update."""
74
+ isSnapshot: NotRequired[bool]
75
+ """When present, true marks the initial snapshot and false marks a streamed update."""
74
76
  user: str
75
77
  """Address whose fills are reported."""
76
78
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: typed-hyperliquid
3
- Version: 2.2.0
3
+ Version: 2.3.1
4
4
  Summary: A fully typed, validated async client for the Hyperliquid API.
5
5
  Author-email: Marcel Claramunt <marcel@tribulnation.com>
6
6
  License-Expression: MIT