@metamask-previews/perps-controller 13.1.0-preview-8c2a2eeb2 → 13.1.0-preview-4f4c98e

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 (716) hide show
  1. package/CHANGELOG.md +4 -1
  2. package/dist/{PerpsController-method-action-types.d.mts → PerpsController-method-action-types.d.ts} +2 -2
  3. package/dist/PerpsController-method-action-types.d.ts.map +1 -0
  4. package/dist/{PerpsController-method-action-types.mjs → PerpsController-method-action-types.js} +1 -1
  5. package/dist/PerpsController-method-action-types.js.map +1 -0
  6. package/dist/{PerpsController.d.mts → PerpsController.d.ts} +17 -17
  7. package/dist/PerpsController.d.ts.map +1 -0
  8. package/dist/{PerpsController.mjs → PerpsController.js} +33 -31
  9. package/dist/PerpsController.js.map +1 -0
  10. package/dist/aggregation/{SubscriptionMultiplexer.d.cts → SubscriptionMultiplexer.d.ts} +2 -2
  11. package/dist/aggregation/SubscriptionMultiplexer.d.ts.map +1 -0
  12. package/dist/aggregation/{SubscriptionMultiplexer.mjs → SubscriptionMultiplexer.js} +3 -3
  13. package/dist/aggregation/SubscriptionMultiplexer.js.map +1 -0
  14. package/dist/aggregation/index.d.ts +6 -0
  15. package/dist/aggregation/index.d.ts.map +1 -0
  16. package/dist/aggregation/index.js +5 -0
  17. package/dist/aggregation/index.js.map +1 -0
  18. package/dist/constants/{chartConfig.d.mts → chartConfig.d.ts} +34 -34
  19. package/dist/constants/chartConfig.d.ts.map +1 -0
  20. package/dist/constants/{chartConfig.mjs → chartConfig.js} +1 -1
  21. package/dist/constants/chartConfig.js.map +1 -0
  22. package/dist/constants/eventNames.d.ts +555 -0
  23. package/dist/constants/eventNames.d.ts.map +1 -0
  24. package/dist/constants/{eventNames.mjs → eventNames.js} +1 -1
  25. package/dist/constants/eventNames.js.map +1 -0
  26. package/dist/constants/{hyperLiquidConfig.d.cts → hyperLiquidConfig.d.ts} +12 -12
  27. package/dist/constants/hyperLiquidConfig.d.ts.map +1 -0
  28. package/dist/constants/{hyperLiquidConfig.mjs → hyperLiquidConfig.js} +4 -4
  29. package/dist/constants/hyperLiquidConfig.js.map +1 -0
  30. package/dist/constants/index.d.ts +12 -0
  31. package/dist/constants/index.d.ts.map +1 -0
  32. package/dist/constants/index.js +12 -0
  33. package/dist/constants/index.js.map +1 -0
  34. package/dist/constants/{myxConfig.d.mts → myxConfig.d.ts} +9 -8
  35. package/dist/constants/myxConfig.d.ts.map +1 -0
  36. package/dist/constants/{myxConfig.mjs → myxConfig.js} +2 -2
  37. package/dist/constants/myxConfig.js.map +1 -0
  38. package/dist/constants/{orderTypes.d.cts → orderTypes.d.ts} +7 -7
  39. package/dist/constants/orderTypes.d.ts.map +1 -0
  40. package/dist/constants/{orderTypes.mjs → orderTypes.js} +1 -1
  41. package/dist/constants/orderTypes.js.map +1 -0
  42. package/dist/constants/{performanceMetrics.d.cts → performanceMetrics.d.ts} +1 -1
  43. package/dist/constants/performanceMetrics.d.ts.map +1 -0
  44. package/dist/constants/{performanceMetrics.mjs → performanceMetrics.js} +1 -1
  45. package/dist/constants/performanceMetrics.js.map +1 -0
  46. package/dist/constants/{perpsConfig.d.mts → perpsConfig.d.ts} +56 -56
  47. package/dist/constants/perpsConfig.d.ts.map +1 -0
  48. package/dist/constants/{perpsConfig.mjs → perpsConfig.js} +1 -1
  49. package/dist/constants/perpsConfig.js.map +1 -0
  50. package/dist/constants/{transactionsHistoryConfig.d.cts → transactionsHistoryConfig.d.ts} +1 -1
  51. package/dist/constants/transactionsHistoryConfig.d.ts.map +1 -0
  52. package/dist/constants/{transactionsHistoryConfig.mjs → transactionsHistoryConfig.js} +1 -1
  53. package/dist/constants/transactionsHistoryConfig.js.map +1 -0
  54. package/dist/{index.d.mts → index.d.ts} +64 -64
  55. package/dist/index.d.ts.map +1 -0
  56. package/dist/{index.mjs → index.js} +41 -41
  57. package/dist/index.js.map +1 -0
  58. package/dist/perpsErrorCodes.d.ts +104 -0
  59. package/dist/perpsErrorCodes.d.ts.map +1 -0
  60. package/dist/{perpsErrorCodes.mjs → perpsErrorCodes.js} +1 -1
  61. package/dist/perpsErrorCodes.js.map +1 -0
  62. package/dist/providers/{AggregatedPerpsProvider.d.cts → AggregatedPerpsProvider.d.ts} +5 -5
  63. package/dist/providers/AggregatedPerpsProvider.d.ts.map +1 -0
  64. package/dist/providers/{AggregatedPerpsProvider.mjs → AggregatedPerpsProvider.js} +5 -5
  65. package/dist/providers/AggregatedPerpsProvider.js.map +1 -0
  66. package/dist/providers/{HyperLiquidProvider.d.mts → HyperLiquidProvider.d.ts} +7 -7
  67. package/dist/providers/HyperLiquidProvider.d.ts.map +1 -0
  68. package/dist/providers/{HyperLiquidProvider.mjs → HyperLiquidProvider.js} +48 -50
  69. package/dist/providers/HyperLiquidProvider.js.map +1 -0
  70. package/dist/routing/{ProviderRouter.d.mts → ProviderRouter.d.ts} +2 -2
  71. package/dist/routing/ProviderRouter.d.ts.map +1 -0
  72. package/dist/routing/{ProviderRouter.mjs → ProviderRouter.js} +1 -1
  73. package/dist/routing/ProviderRouter.js.map +1 -0
  74. package/dist/routing/index.d.ts +6 -0
  75. package/dist/routing/index.d.ts.map +1 -0
  76. package/dist/routing/index.js +5 -0
  77. package/dist/routing/index.js.map +1 -0
  78. package/dist/{selectors.d.mts → selectors.d.ts} +97 -97
  79. package/dist/selectors.d.ts.map +1 -0
  80. package/dist/{selectors.mjs → selectors.js} +4 -4
  81. package/dist/selectors.js.map +1 -0
  82. package/dist/services/{AccountService.d.cts → AccountService.d.ts} +4 -4
  83. package/dist/services/AccountService.d.ts.map +1 -0
  84. package/dist/services/{AccountService.mjs → AccountService.js} +9 -9
  85. package/dist/services/AccountService.js.map +1 -0
  86. package/dist/services/{AggregatedOrderBookConnection.d.cts → AggregatedOrderBookConnection.d.ts} +2 -2
  87. package/dist/services/AggregatedOrderBookConnection.d.ts.map +1 -0
  88. package/dist/services/{AggregatedOrderBookConnection.mjs → AggregatedOrderBookConnection.js} +3 -3
  89. package/dist/services/AggregatedOrderBookConnection.js.map +1 -0
  90. package/dist/services/{DataLakeService.d.cts → DataLakeService.d.ts} +4 -4
  91. package/dist/services/DataLakeService.d.ts.map +1 -0
  92. package/dist/services/{DataLakeService.mjs → DataLakeService.js} +7 -7
  93. package/dist/services/DataLakeService.js.map +1 -0
  94. package/dist/services/{DepositService.d.cts → DepositService.d.ts} +4 -4
  95. package/dist/services/DepositService.d.ts.map +1 -0
  96. package/dist/services/{DepositService.mjs → DepositService.js} +7 -7
  97. package/dist/services/DepositService.js.map +1 -0
  98. package/dist/services/{DexDiscoveryCacheManager.d.cts → DexDiscoveryCacheManager.d.ts} +2 -2
  99. package/dist/services/DexDiscoveryCacheManager.d.ts.map +1 -0
  100. package/dist/services/{DexDiscoveryCacheManager.mjs → DexDiscoveryCacheManager.js} +2 -2
  101. package/dist/services/DexDiscoveryCacheManager.js.map +1 -0
  102. package/dist/services/{EligibilityService.d.cts → EligibilityService.d.ts} +2 -2
  103. package/dist/services/EligibilityService.d.ts.map +1 -0
  104. package/dist/services/{EligibilityService.mjs → EligibilityService.js} +3 -3
  105. package/dist/services/EligibilityService.js.map +1 -0
  106. package/dist/services/{FeatureFlagConfigurationService.d.cts → FeatureFlagConfigurationService.d.ts} +3 -3
  107. package/dist/services/FeatureFlagConfigurationService.d.ts.map +1 -0
  108. package/dist/services/{FeatureFlagConfigurationService.mjs → FeatureFlagConfigurationService.js} +7 -7
  109. package/dist/services/FeatureFlagConfigurationService.js.map +1 -0
  110. package/dist/services/{HyperLiquidClientService.d.cts → HyperLiquidClientService.d.ts} +10 -10
  111. package/dist/services/HyperLiquidClientService.d.ts.map +1 -0
  112. package/dist/services/{HyperLiquidClientService.mjs → HyperLiquidClientService.js} +11 -11
  113. package/dist/services/HyperLiquidClientService.js.map +1 -0
  114. package/dist/services/{HyperLiquidSubscriptionService.d.cts → HyperLiquidSubscriptionService.d.ts} +6 -6
  115. package/dist/services/HyperLiquidSubscriptionService.d.ts.map +1 -0
  116. package/dist/services/{HyperLiquidSubscriptionService.mjs → HyperLiquidSubscriptionService.js} +12 -12
  117. package/dist/services/HyperLiquidSubscriptionService.js.map +1 -0
  118. package/dist/services/{HyperLiquidWalletService.d.cts → HyperLiquidWalletService.d.ts} +4 -4
  119. package/dist/services/HyperLiquidWalletService.d.ts.map +1 -0
  120. package/dist/services/{HyperLiquidWalletService.mjs → HyperLiquidWalletService.js} +5 -5
  121. package/dist/services/HyperLiquidWalletService.js.map +1 -0
  122. package/dist/services/{MarketDataService.d.cts → MarketDataService.d.ts} +5 -5
  123. package/dist/services/MarketDataService.d.ts.map +1 -0
  124. package/dist/services/{MarketDataService.mjs → MarketDataService.js} +9 -9
  125. package/dist/services/MarketDataService.js.map +1 -0
  126. package/dist/services/{RewardsIntegrationService.d.cts → RewardsIntegrationService.d.ts} +3 -3
  127. package/dist/services/RewardsIntegrationService.d.ts.map +1 -0
  128. package/dist/services/{RewardsIntegrationService.mjs → RewardsIntegrationService.js} +6 -6
  129. package/dist/services/RewardsIntegrationService.js.map +1 -0
  130. package/dist/services/{ServiceContext.d.cts → ServiceContext.d.ts} +3 -3
  131. package/dist/services/ServiceContext.d.ts.map +1 -0
  132. package/dist/services/ServiceContext.js +2 -0
  133. package/dist/services/ServiceContext.js.map +1 -0
  134. package/dist/services/{TerminalMarketService.d.cts → TerminalMarketService.d.ts} +2 -2
  135. package/dist/services/TerminalMarketService.d.ts.map +1 -0
  136. package/dist/services/{TerminalMarketService.mjs → TerminalMarketService.js} +9 -9
  137. package/dist/services/TerminalMarketService.js.map +1 -0
  138. package/dist/services/{TradingReadinessCache.d.mts → TradingReadinessCache.d.ts} +1 -1
  139. package/dist/services/TradingReadinessCache.d.ts.map +1 -0
  140. package/dist/services/{TradingReadinessCache.mjs → TradingReadinessCache.js} +1 -1
  141. package/dist/services/TradingReadinessCache.js.map +1 -0
  142. package/dist/services/{TradingService.d.cts → TradingService.d.ts} +4 -4
  143. package/dist/services/TradingService.d.ts.map +1 -0
  144. package/dist/services/{TradingService.mjs → TradingService.js} +10 -10
  145. package/dist/services/TradingService.js.map +1 -0
  146. package/dist/types/{config.d.cts → config.d.ts} +2 -2
  147. package/dist/types/config.d.ts.map +1 -0
  148. package/dist/types/config.js +2 -0
  149. package/dist/types/config.js.map +1 -0
  150. package/dist/types/{hyperliquid-types.d.cts → hyperliquid-types.d.ts} +6 -6
  151. package/dist/types/hyperliquid-types.d.ts.map +1 -0
  152. package/dist/types/{hyperliquid-types.mjs → hyperliquid-types.js} +1 -1
  153. package/dist/types/hyperliquid-types.js.map +1 -0
  154. package/dist/types/{index.d.cts → index.d.ts} +41 -41
  155. package/dist/types/index.d.ts.map +1 -0
  156. package/dist/types/{index.mjs → index.js} +3 -3
  157. package/dist/types/index.js.map +1 -0
  158. package/dist/types/{messenger.d.mts → messenger.d.ts} +11 -11
  159. package/dist/types/messenger.d.ts.map +1 -0
  160. package/dist/types/messenger.js +2 -0
  161. package/dist/types/messenger.js.map +1 -0
  162. package/dist/types/{myx-types.d.mts → myx-types.d.ts} +16 -16
  163. package/dist/types/myx-types.d.ts.map +1 -0
  164. package/dist/types/{myx-types.mjs → myx-types.js} +3 -3
  165. package/dist/types/myx-types.js.map +1 -0
  166. package/dist/types/{perps-types.d.cts → perps-types.d.ts} +4 -4
  167. package/dist/types/perps-types.d.ts.map +1 -0
  168. package/dist/types/perps-types.js +2 -0
  169. package/dist/types/perps-types.js.map +1 -0
  170. package/dist/types/{token.d.cts → token.d.ts} +2 -2
  171. package/dist/types/token.d.ts.map +1 -0
  172. package/dist/types/token.js +2 -0
  173. package/dist/types/token.js.map +1 -0
  174. package/dist/types/{transactionTypes.d.cts → transactionTypes.d.ts} +1 -1
  175. package/dist/types/transactionTypes.d.ts.map +1 -0
  176. package/dist/types/{transactionTypes.mjs → transactionTypes.js} +2 -2
  177. package/dist/types/transactionTypes.js.map +1 -0
  178. package/dist/utils/{accountUtils.d.cts → accountUtils.d.ts} +4 -4
  179. package/dist/utils/accountUtils.d.ts.map +1 -0
  180. package/dist/utils/{accountUtils.mjs → accountUtils.js} +2 -2
  181. package/dist/utils/accountUtils.js.map +1 -0
  182. package/dist/utils/{capabilitySymbols.d.mts → capabilitySymbols.d.ts} +1 -1
  183. package/dist/utils/capabilitySymbols.d.ts.map +1 -0
  184. package/dist/utils/{capabilitySymbols.mjs → capabilitySymbols.js} +1 -1
  185. package/dist/utils/capabilitySymbols.js.map +1 -0
  186. package/dist/utils/{coalescePerpsRestRequest.d.cts → coalescePerpsRestRequest.d.ts} +1 -1
  187. package/dist/utils/coalescePerpsRestRequest.d.ts.map +1 -0
  188. package/dist/utils/{coalescePerpsRestRequest.mjs → coalescePerpsRestRequest.js} +2 -2
  189. package/dist/utils/coalescePerpsRestRequest.js.map +1 -0
  190. package/dist/utils/{errorUtils.d.mts → errorUtils.d.ts} +1 -1
  191. package/dist/utils/errorUtils.d.ts.map +1 -0
  192. package/dist/utils/{errorUtils.mjs → errorUtils.js} +3 -3
  193. package/dist/utils/errorUtils.js.map +1 -0
  194. package/dist/utils/{hyperLiquidAbstraction.d.cts → hyperLiquidAbstraction.d.ts} +2 -2
  195. package/dist/utils/hyperLiquidAbstraction.d.ts.map +1 -0
  196. package/dist/utils/{hyperLiquidAbstraction.mjs → hyperLiquidAbstraction.js} +1 -1
  197. package/dist/utils/hyperLiquidAbstraction.js.map +1 -0
  198. package/dist/utils/{hyperLiquidAdapter.d.cts → hyperLiquidAdapter.d.ts} +4 -4
  199. package/dist/utils/hyperLiquidAdapter.d.ts.map +1 -0
  200. package/dist/utils/{hyperLiquidAdapter.mjs → hyperLiquidAdapter.js} +9 -9
  201. package/dist/utils/hyperLiquidAdapter.js.map +1 -0
  202. package/dist/utils/{hyperLiquidOrderBookProcessor.d.mts → hyperLiquidOrderBookProcessor.d.ts} +3 -3
  203. package/dist/utils/hyperLiquidOrderBookProcessor.d.ts.map +1 -0
  204. package/dist/utils/{hyperLiquidOrderBookProcessor.mjs → hyperLiquidOrderBookProcessor.js} +1 -1
  205. package/dist/utils/hyperLiquidOrderBookProcessor.js.map +1 -0
  206. package/dist/utils/{hyperLiquidValidation.d.cts → hyperLiquidValidation.d.ts} +4 -4
  207. package/dist/utils/hyperLiquidValidation.d.ts.map +1 -0
  208. package/dist/utils/{hyperLiquidValidation.mjs → hyperLiquidValidation.js} +6 -6
  209. package/dist/utils/hyperLiquidValidation.js.map +1 -0
  210. package/dist/utils/{idUtils.d.cts → idUtils.d.ts} +1 -1
  211. package/dist/utils/idUtils.d.ts.map +1 -0
  212. package/dist/utils/{idUtils.mjs → idUtils.js} +2 -2
  213. package/dist/utils/idUtils.js.map +1 -0
  214. package/dist/utils/index.d.ts +28 -0
  215. package/dist/utils/index.d.ts.map +1 -0
  216. package/dist/utils/{index.mjs → index.js} +21 -21
  217. package/dist/utils/index.js.map +1 -0
  218. package/dist/utils/{marketDataTransform.d.cts → marketDataTransform.d.ts} +3 -3
  219. package/dist/utils/marketDataTransform.d.ts.map +1 -0
  220. package/dist/utils/{marketDataTransform.mjs → marketDataTransform.js} +5 -5
  221. package/dist/utils/marketDataTransform.js.map +1 -0
  222. package/dist/utils/{marketSearch.d.cts → marketSearch.d.ts} +2 -2
  223. package/dist/utils/marketSearch.d.ts.map +1 -0
  224. package/dist/utils/{marketSearch.mjs → marketSearch.js} +1 -1
  225. package/dist/utils/marketSearch.js.map +1 -0
  226. package/dist/utils/{marketUtils.d.cts → marketUtils.d.ts} +3 -3
  227. package/dist/utils/marketUtils.d.ts.map +1 -0
  228. package/dist/utils/{marketUtils.mjs → marketUtils.js} +2 -2
  229. package/dist/utils/marketUtils.js.map +1 -0
  230. package/dist/utils/{myxAdapter.d.cts → myxAdapter.d.ts} +3 -3
  231. package/dist/utils/myxAdapter.d.ts.map +1 -0
  232. package/dist/utils/{myxAdapter.mjs → myxAdapter.js} +3 -3
  233. package/dist/utils/myxAdapter.js.map +1 -0
  234. package/dist/utils/{orderCalculations.d.cts → orderCalculations.d.ts} +4 -4
  235. package/dist/utils/orderCalculations.d.ts.map +1 -0
  236. package/dist/utils/{orderCalculations.mjs → orderCalculations.js} +6 -6
  237. package/dist/utils/orderCalculations.js.map +1 -0
  238. package/dist/utils/{orderTypes.d.mts → orderTypes.d.ts} +3 -3
  239. package/dist/utils/orderTypes.d.ts.map +1 -0
  240. package/dist/utils/{orderTypes.mjs → orderTypes.js} +1 -1
  241. package/dist/utils/orderTypes.js.map +1 -0
  242. package/dist/utils/{perpsConnectionAttemptContext.d.mts → perpsConnectionAttemptContext.d.ts} +1 -1
  243. package/dist/utils/perpsConnectionAttemptContext.d.ts.map +1 -0
  244. package/dist/utils/{perpsConnectionAttemptContext.mjs → perpsConnectionAttemptContext.js} +1 -1
  245. package/dist/utils/perpsConnectionAttemptContext.js.map +1 -0
  246. package/dist/utils/{perpsDiskPersistence.d.cts → perpsDiskPersistence.d.ts} +2 -2
  247. package/dist/utils/perpsDiskPersistence.d.ts.map +1 -0
  248. package/dist/utils/{perpsDiskPersistence.mjs → perpsDiskPersistence.js} +2 -2
  249. package/dist/utils/perpsDiskPersistence.js.map +1 -0
  250. package/dist/utils/{perpsFormatters.d.cts → perpsFormatters.d.ts} +1 -1
  251. package/dist/utils/perpsFormatters.d.ts.map +1 -0
  252. package/dist/utils/{perpsFormatters.mjs → perpsFormatters.js} +2 -2
  253. package/dist/utils/perpsFormatters.js.map +1 -0
  254. package/dist/utils/{rewardsUtils.d.cts → rewardsUtils.d.ts} +4 -4
  255. package/dist/utils/rewardsUtils.d.ts.map +1 -0
  256. package/dist/utils/{rewardsUtils.mjs → rewardsUtils.js} +4 -4
  257. package/dist/utils/rewardsUtils.js.map +1 -0
  258. package/dist/utils/{significantFigures.d.cts → significantFigures.d.ts} +1 -1
  259. package/dist/utils/significantFigures.d.ts.map +1 -0
  260. package/dist/utils/{significantFigures.mjs → significantFigures.js} +2 -2
  261. package/dist/utils/significantFigures.js.map +1 -0
  262. package/dist/utils/{sortMarkets.d.cts → sortMarkets.d.ts} +2 -2
  263. package/dist/utils/sortMarkets.d.ts.map +1 -0
  264. package/dist/utils/{sortMarkets.mjs → sortMarkets.js} +2 -2
  265. package/dist/utils/sortMarkets.js.map +1 -0
  266. package/dist/utils/{standaloneInfoClient.d.cts → standaloneInfoClient.d.ts} +3 -3
  267. package/dist/utils/standaloneInfoClient.d.ts.map +1 -0
  268. package/dist/utils/{standaloneInfoClient.mjs → standaloneInfoClient.js} +3 -3
  269. package/dist/utils/standaloneInfoClient.js.map +1 -0
  270. package/dist/utils/{stringParseUtils.d.cts → stringParseUtils.d.ts} +1 -1
  271. package/dist/utils/stringParseUtils.d.ts.map +1 -0
  272. package/dist/utils/{stringParseUtils.mjs → stringParseUtils.js} +1 -1
  273. package/dist/utils/stringParseUtils.js.map +1 -0
  274. package/dist/utils/{transferData.d.cts → transferData.d.ts} +1 -1
  275. package/dist/utils/transferData.d.ts.map +1 -0
  276. package/dist/utils/{transferData.mjs → transferData.js} +3 -3
  277. package/dist/utils/transferData.js.map +1 -0
  278. package/dist/utils/{wait.d.cts → wait.d.ts} +1 -1
  279. package/dist/utils/wait.d.ts.map +1 -0
  280. package/dist/utils/{wait.mjs → wait.js} +1 -1
  281. package/dist/utils/wait.js.map +1 -0
  282. package/package.json +20 -48
  283. package/dist/PerpsController-method-action-types.cjs +0 -7
  284. package/dist/PerpsController-method-action-types.cjs.map +0 -1
  285. package/dist/PerpsController-method-action-types.d.cts +0 -1163
  286. package/dist/PerpsController-method-action-types.d.cts.map +0 -1
  287. package/dist/PerpsController-method-action-types.d.mts.map +0 -1
  288. package/dist/PerpsController-method-action-types.mjs.map +0 -1
  289. package/dist/PerpsController.cjs +0 -5063
  290. package/dist/PerpsController.cjs.map +0 -1
  291. package/dist/PerpsController.d.cts +0 -1274
  292. package/dist/PerpsController.d.cts.map +0 -1
  293. package/dist/PerpsController.d.mts.map +0 -1
  294. package/dist/PerpsController.mjs.map +0 -1
  295. package/dist/aggregation/SubscriptionMultiplexer.cjs +0 -441
  296. package/dist/aggregation/SubscriptionMultiplexer.cjs.map +0 -1
  297. package/dist/aggregation/SubscriptionMultiplexer.d.cts.map +0 -1
  298. package/dist/aggregation/SubscriptionMultiplexer.d.mts +0 -171
  299. package/dist/aggregation/SubscriptionMultiplexer.d.mts.map +0 -1
  300. package/dist/aggregation/SubscriptionMultiplexer.mjs.map +0 -1
  301. package/dist/aggregation/index.cjs +0 -9
  302. package/dist/aggregation/index.cjs.map +0 -1
  303. package/dist/aggregation/index.d.cts +0 -6
  304. package/dist/aggregation/index.d.cts.map +0 -1
  305. package/dist/aggregation/index.d.mts +0 -6
  306. package/dist/aggregation/index.d.mts.map +0 -1
  307. package/dist/aggregation/index.mjs +0 -5
  308. package/dist/aggregation/index.mjs.map +0 -1
  309. package/dist/constants/chartConfig.cjs +0 -239
  310. package/dist/constants/chartConfig.cjs.map +0 -1
  311. package/dist/constants/chartConfig.d.cts +0 -228
  312. package/dist/constants/chartConfig.d.cts.map +0 -1
  313. package/dist/constants/chartConfig.d.mts.map +0 -1
  314. package/dist/constants/chartConfig.mjs.map +0 -1
  315. package/dist/constants/eventNames.cjs +0 -650
  316. package/dist/constants/eventNames.cjs.map +0 -1
  317. package/dist/constants/eventNames.d.cts +0 -555
  318. package/dist/constants/eventNames.d.cts.map +0 -1
  319. package/dist/constants/eventNames.d.mts +0 -555
  320. package/dist/constants/eventNames.d.mts.map +0 -1
  321. package/dist/constants/eventNames.mjs.map +0 -1
  322. package/dist/constants/hyperLiquidConfig.cjs +0 -607
  323. package/dist/constants/hyperLiquidConfig.cjs.map +0 -1
  324. package/dist/constants/hyperLiquidConfig.d.cts.map +0 -1
  325. package/dist/constants/hyperLiquidConfig.d.mts +0 -280
  326. package/dist/constants/hyperLiquidConfig.d.mts.map +0 -1
  327. package/dist/constants/hyperLiquidConfig.mjs.map +0 -1
  328. package/dist/constants/index.cjs +0 -28
  329. package/dist/constants/index.cjs.map +0 -1
  330. package/dist/constants/index.d.cts +0 -12
  331. package/dist/constants/index.d.cts.map +0 -1
  332. package/dist/constants/index.d.mts +0 -12
  333. package/dist/constants/index.d.mts.map +0 -1
  334. package/dist/constants/index.mjs +0 -12
  335. package/dist/constants/index.mjs.map +0 -1
  336. package/dist/constants/myxConfig.cjs +0 -253
  337. package/dist/constants/myxConfig.cjs.map +0 -1
  338. package/dist/constants/myxConfig.d.cts +0 -145
  339. package/dist/constants/myxConfig.d.cts.map +0 -1
  340. package/dist/constants/myxConfig.d.mts.map +0 -1
  341. package/dist/constants/myxConfig.mjs.map +0 -1
  342. package/dist/constants/orderTypes.cjs +0 -31
  343. package/dist/constants/orderTypes.cjs.map +0 -1
  344. package/dist/constants/orderTypes.d.cts.map +0 -1
  345. package/dist/constants/orderTypes.d.mts +0 -19
  346. package/dist/constants/orderTypes.d.mts.map +0 -1
  347. package/dist/constants/orderTypes.mjs.map +0 -1
  348. package/dist/constants/performanceMetrics.cjs +0 -63
  349. package/dist/constants/performanceMetrics.cjs.map +0 -1
  350. package/dist/constants/performanceMetrics.d.cts.map +0 -1
  351. package/dist/constants/performanceMetrics.d.mts +0 -46
  352. package/dist/constants/performanceMetrics.d.mts.map +0 -1
  353. package/dist/constants/performanceMetrics.mjs.map +0 -1
  354. package/dist/constants/perpsConfig.cjs +0 -553
  355. package/dist/constants/perpsConfig.cjs.map +0 -1
  356. package/dist/constants/perpsConfig.d.cts +0 -474
  357. package/dist/constants/perpsConfig.d.cts.map +0 -1
  358. package/dist/constants/perpsConfig.d.mts.map +0 -1
  359. package/dist/constants/perpsConfig.mjs.map +0 -1
  360. package/dist/constants/transactionsHistoryConfig.cjs +0 -38
  361. package/dist/constants/transactionsHistoryConfig.cjs.map +0 -1
  362. package/dist/constants/transactionsHistoryConfig.d.cts.map +0 -1
  363. package/dist/constants/transactionsHistoryConfig.d.mts +0 -35
  364. package/dist/constants/transactionsHistoryConfig.d.mts.map +0 -1
  365. package/dist/constants/transactionsHistoryConfig.mjs.map +0 -1
  366. package/dist/index.cjs +0 -344
  367. package/dist/index.cjs.map +0 -1
  368. package/dist/index.d.cts +0 -92
  369. package/dist/index.d.cts.map +0 -1
  370. package/dist/index.d.mts.map +0 -1
  371. package/dist/index.mjs.map +0 -1
  372. package/dist/perpsErrorCodes.cjs +0 -127
  373. package/dist/perpsErrorCodes.cjs.map +0 -1
  374. package/dist/perpsErrorCodes.d.cts +0 -104
  375. package/dist/perpsErrorCodes.d.cts.map +0 -1
  376. package/dist/perpsErrorCodes.d.mts +0 -104
  377. package/dist/perpsErrorCodes.d.mts.map +0 -1
  378. package/dist/perpsErrorCodes.mjs.map +0 -1
  379. package/dist/providers/AggregatedPerpsProvider.cjs +0 -689
  380. package/dist/providers/AggregatedPerpsProvider.cjs.map +0 -1
  381. package/dist/providers/AggregatedPerpsProvider.d.cts.map +0 -1
  382. package/dist/providers/AggregatedPerpsProvider.d.mts +0 -232
  383. package/dist/providers/AggregatedPerpsProvider.d.mts.map +0 -1
  384. package/dist/providers/AggregatedPerpsProvider.mjs.map +0 -1
  385. package/dist/providers/HyperLiquidProvider.cjs +0 -10416
  386. package/dist/providers/HyperLiquidProvider.cjs.map +0 -1
  387. package/dist/providers/HyperLiquidProvider.d.cts +0 -625
  388. package/dist/providers/HyperLiquidProvider.d.cts.map +0 -1
  389. package/dist/providers/HyperLiquidProvider.d.mts.map +0 -1
  390. package/dist/providers/HyperLiquidProvider.mjs.map +0 -1
  391. package/dist/routing/ProviderRouter.cjs +0 -154
  392. package/dist/routing/ProviderRouter.cjs.map +0 -1
  393. package/dist/routing/ProviderRouter.d.cts +0 -112
  394. package/dist/routing/ProviderRouter.d.cts.map +0 -1
  395. package/dist/routing/ProviderRouter.d.mts.map +0 -1
  396. package/dist/routing/ProviderRouter.mjs.map +0 -1
  397. package/dist/routing/index.cjs +0 -9
  398. package/dist/routing/index.cjs.map +0 -1
  399. package/dist/routing/index.d.cts +0 -6
  400. package/dist/routing/index.d.cts.map +0 -1
  401. package/dist/routing/index.d.mts +0 -6
  402. package/dist/routing/index.d.mts.map +0 -1
  403. package/dist/routing/index.mjs +0 -5
  404. package/dist/routing/index.mjs.map +0 -1
  405. package/dist/selectors.cjs +0 -264
  406. package/dist/selectors.cjs.map +0 -1
  407. package/dist/selectors.d.cts +0 -336
  408. package/dist/selectors.d.cts.map +0 -1
  409. package/dist/selectors.d.mts.map +0 -1
  410. package/dist/selectors.mjs.map +0 -1
  411. package/dist/services/AccountService.cjs +0 -324
  412. package/dist/services/AccountService.cjs.map +0 -1
  413. package/dist/services/AccountService.d.cts.map +0 -1
  414. package/dist/services/AccountService.d.mts +0 -56
  415. package/dist/services/AccountService.d.mts.map +0 -1
  416. package/dist/services/AccountService.mjs.map +0 -1
  417. package/dist/services/AggregatedOrderBookConnection.cjs +0 -405
  418. package/dist/services/AggregatedOrderBookConnection.cjs.map +0 -1
  419. package/dist/services/AggregatedOrderBookConnection.d.cts.map +0 -1
  420. package/dist/services/AggregatedOrderBookConnection.d.mts +0 -106
  421. package/dist/services/AggregatedOrderBookConnection.d.mts.map +0 -1
  422. package/dist/services/AggregatedOrderBookConnection.mjs.map +0 -1
  423. package/dist/services/DataLakeService.cjs +0 -233
  424. package/dist/services/DataLakeService.cjs.map +0 -1
  425. package/dist/services/DataLakeService.d.cts.map +0 -1
  426. package/dist/services/DataLakeService.d.mts +0 -51
  427. package/dist/services/DataLakeService.d.mts.map +0 -1
  428. package/dist/services/DataLakeService.mjs.map +0 -1
  429. package/dist/services/DepositService.cjs +0 -99
  430. package/dist/services/DepositService.cjs.map +0 -1
  431. package/dist/services/DepositService.d.cts.map +0 -1
  432. package/dist/services/DepositService.d.mts +0 -39
  433. package/dist/services/DepositService.d.mts.map +0 -1
  434. package/dist/services/DepositService.mjs.map +0 -1
  435. package/dist/services/DexDiscoveryCacheManager.cjs +0 -147
  436. package/dist/services/DexDiscoveryCacheManager.cjs.map +0 -1
  437. package/dist/services/DexDiscoveryCacheManager.d.cts.map +0 -1
  438. package/dist/services/DexDiscoveryCacheManager.d.mts +0 -52
  439. package/dist/services/DexDiscoveryCacheManager.d.mts.map +0 -1
  440. package/dist/services/DexDiscoveryCacheManager.mjs.map +0 -1
  441. package/dist/services/EligibilityService.cjs +0 -78
  442. package/dist/services/EligibilityService.cjs.map +0 -1
  443. package/dist/services/EligibilityService.d.cts.map +0 -1
  444. package/dist/services/EligibilityService.d.mts +0 -28
  445. package/dist/services/EligibilityService.d.mts.map +0 -1
  446. package/dist/services/EligibilityService.mjs.map +0 -1
  447. package/dist/services/FeatureFlagConfigurationService.cjs +0 -257
  448. package/dist/services/FeatureFlagConfigurationService.cjs.map +0 -1
  449. package/dist/services/FeatureFlagConfigurationService.d.cts.map +0 -1
  450. package/dist/services/FeatureFlagConfigurationService.d.mts +0 -73
  451. package/dist/services/FeatureFlagConfigurationService.d.mts.map +0 -1
  452. package/dist/services/FeatureFlagConfigurationService.mjs.map +0 -1
  453. package/dist/services/HyperLiquidClientService.cjs +0 -1045
  454. package/dist/services/HyperLiquidClientService.cjs.map +0 -1
  455. package/dist/services/HyperLiquidClientService.d.cts.map +0 -1
  456. package/dist/services/HyperLiquidClientService.d.mts +0 -239
  457. package/dist/services/HyperLiquidClientService.d.mts.map +0 -1
  458. package/dist/services/HyperLiquidClientService.mjs.map +0 -1
  459. package/dist/services/HyperLiquidSubscriptionService.cjs +0 -3196
  460. package/dist/services/HyperLiquidSubscriptionService.cjs.map +0 -1
  461. package/dist/services/HyperLiquidSubscriptionService.d.cts.map +0 -1
  462. package/dist/services/HyperLiquidSubscriptionService.d.mts +0 -227
  463. package/dist/services/HyperLiquidSubscriptionService.d.mts.map +0 -1
  464. package/dist/services/HyperLiquidSubscriptionService.mjs.map +0 -1
  465. package/dist/services/HyperLiquidWalletService.cjs +0 -186
  466. package/dist/services/HyperLiquidWalletService.cjs.map +0 -1
  467. package/dist/services/HyperLiquidWalletService.d.cts.map +0 -1
  468. package/dist/services/HyperLiquidWalletService.d.mts +0 -84
  469. package/dist/services/HyperLiquidWalletService.d.mts.map +0 -1
  470. package/dist/services/HyperLiquidWalletService.mjs.map +0 -1
  471. package/dist/services/MarketDataService.cjs +0 -1138
  472. package/dist/services/MarketDataService.cjs.map +0 -1
  473. package/dist/services/MarketDataService.d.cts.map +0 -1
  474. package/dist/services/MarketDataService.d.mts +0 -334
  475. package/dist/services/MarketDataService.d.mts.map +0 -1
  476. package/dist/services/MarketDataService.mjs.map +0 -1
  477. package/dist/services/RewardsIntegrationService.cjs +0 -391
  478. package/dist/services/RewardsIntegrationService.cjs.map +0 -1
  479. package/dist/services/RewardsIntegrationService.d.cts.map +0 -1
  480. package/dist/services/RewardsIntegrationService.d.mts +0 -84
  481. package/dist/services/RewardsIntegrationService.d.mts.map +0 -1
  482. package/dist/services/RewardsIntegrationService.mjs.map +0 -1
  483. package/dist/services/ServiceContext.cjs +0 -3
  484. package/dist/services/ServiceContext.cjs.map +0 -1
  485. package/dist/services/ServiceContext.d.cts.map +0 -1
  486. package/dist/services/ServiceContext.d.mts +0 -102
  487. package/dist/services/ServiceContext.d.mts.map +0 -1
  488. package/dist/services/ServiceContext.mjs +0 -2
  489. package/dist/services/ServiceContext.mjs.map +0 -1
  490. package/dist/services/TerminalMarketService.cjs +0 -623
  491. package/dist/services/TerminalMarketService.cjs.map +0 -1
  492. package/dist/services/TerminalMarketService.d.cts.map +0 -1
  493. package/dist/services/TerminalMarketService.d.mts +0 -45
  494. package/dist/services/TerminalMarketService.d.mts.map +0 -1
  495. package/dist/services/TerminalMarketService.mjs.map +0 -1
  496. package/dist/services/TradingReadinessCache.cjs +0 -329
  497. package/dist/services/TradingReadinessCache.cjs.map +0 -1
  498. package/dist/services/TradingReadinessCache.d.cts +0 -204
  499. package/dist/services/TradingReadinessCache.d.cts.map +0 -1
  500. package/dist/services/TradingReadinessCache.d.mts.map +0 -1
  501. package/dist/services/TradingReadinessCache.mjs.map +0 -1
  502. package/dist/services/TradingService.cjs +0 -1865
  503. package/dist/services/TradingService.cjs.map +0 -1
  504. package/dist/services/TradingService.d.cts.map +0 -1
  505. package/dist/services/TradingService.d.mts +0 -201
  506. package/dist/services/TradingService.d.mts.map +0 -1
  507. package/dist/services/TradingService.mjs.map +0 -1
  508. package/dist/types/config.cjs +0 -3
  509. package/dist/types/config.cjs.map +0 -1
  510. package/dist/types/config.d.cts.map +0 -1
  511. package/dist/types/config.d.mts +0 -49
  512. package/dist/types/config.d.mts.map +0 -1
  513. package/dist/types/config.mjs +0 -2
  514. package/dist/types/config.mjs.map +0 -1
  515. package/dist/types/hyperliquid-types.cjs +0 -45
  516. package/dist/types/hyperliquid-types.cjs.map +0 -1
  517. package/dist/types/hyperliquid-types.d.cts.map +0 -1
  518. package/dist/types/hyperliquid-types.d.mts +0 -67
  519. package/dist/types/hyperliquid-types.d.mts.map +0 -1
  520. package/dist/types/hyperliquid-types.mjs.map +0 -1
  521. package/dist/types/index.cjs +0 -151
  522. package/dist/types/index.cjs.map +0 -1
  523. package/dist/types/index.d.cts.map +0 -1
  524. package/dist/types/index.d.mts +0 -1951
  525. package/dist/types/index.d.mts.map +0 -1
  526. package/dist/types/index.mjs.map +0 -1
  527. package/dist/types/messenger.cjs +0 -3
  528. package/dist/types/messenger.cjs.map +0 -1
  529. package/dist/types/messenger.d.cts +0 -30
  530. package/dist/types/messenger.d.cts.map +0 -1
  531. package/dist/types/messenger.d.mts.map +0 -1
  532. package/dist/types/messenger.mjs +0 -2
  533. package/dist/types/messenger.mjs.map +0 -1
  534. package/dist/types/myx-types.cjs +0 -41
  535. package/dist/types/myx-types.cjs.map +0 -1
  536. package/dist/types/myx-types.d.cts +0 -94
  537. package/dist/types/myx-types.d.cts.map +0 -1
  538. package/dist/types/myx-types.d.mts.map +0 -1
  539. package/dist/types/myx-types.mjs.map +0 -1
  540. package/dist/types/perps-types.cjs +0 -7
  541. package/dist/types/perps-types.cjs.map +0 -1
  542. package/dist/types/perps-types.d.cts.map +0 -1
  543. package/dist/types/perps-types.d.mts +0 -184
  544. package/dist/types/perps-types.d.mts.map +0 -1
  545. package/dist/types/perps-types.mjs +0 -5
  546. package/dist/types/perps-types.mjs.map +0 -1
  547. package/dist/types/token.cjs +0 -3
  548. package/dist/types/token.cjs.map +0 -1
  549. package/dist/types/token.d.cts.map +0 -1
  550. package/dist/types/token.d.mts +0 -25
  551. package/dist/types/token.d.mts.map +0 -1
  552. package/dist/types/token.mjs +0 -2
  553. package/dist/types/token.mjs.map +0 -1
  554. package/dist/types/transactionTypes.cjs +0 -29
  555. package/dist/types/transactionTypes.cjs.map +0 -1
  556. package/dist/types/transactionTypes.d.cts.map +0 -1
  557. package/dist/types/transactionTypes.d.mts +0 -60
  558. package/dist/types/transactionTypes.d.mts.map +0 -1
  559. package/dist/types/transactionTypes.mjs.map +0 -1
  560. package/dist/utils/accountUtils.cjs +0 -236
  561. package/dist/utils/accountUtils.cjs.map +0 -1
  562. package/dist/utils/accountUtils.d.cts.map +0 -1
  563. package/dist/utils/accountUtils.d.mts +0 -72
  564. package/dist/utils/accountUtils.d.mts.map +0 -1
  565. package/dist/utils/accountUtils.mjs.map +0 -1
  566. package/dist/utils/capabilitySymbols.cjs +0 -25
  567. package/dist/utils/capabilitySymbols.cjs.map +0 -1
  568. package/dist/utils/capabilitySymbols.d.cts +0 -15
  569. package/dist/utils/capabilitySymbols.d.cts.map +0 -1
  570. package/dist/utils/capabilitySymbols.d.mts.map +0 -1
  571. package/dist/utils/capabilitySymbols.mjs.map +0 -1
  572. package/dist/utils/coalescePerpsRestRequest.cjs +0 -71
  573. package/dist/utils/coalescePerpsRestRequest.cjs.map +0 -1
  574. package/dist/utils/coalescePerpsRestRequest.d.cts.map +0 -1
  575. package/dist/utils/coalescePerpsRestRequest.d.mts +0 -32
  576. package/dist/utils/coalescePerpsRestRequest.d.mts.map +0 -1
  577. package/dist/utils/coalescePerpsRestRequest.mjs.map +0 -1
  578. package/dist/utils/errorUtils.cjs +0 -104
  579. package/dist/utils/errorUtils.cjs.map +0 -1
  580. package/dist/utils/errorUtils.d.cts +0 -50
  581. package/dist/utils/errorUtils.d.cts.map +0 -1
  582. package/dist/utils/errorUtils.d.mts.map +0 -1
  583. package/dist/utils/errorUtils.mjs.map +0 -1
  584. package/dist/utils/hyperLiquidAbstraction.cjs +0 -23
  585. package/dist/utils/hyperLiquidAbstraction.cjs.map +0 -1
  586. package/dist/utils/hyperLiquidAbstraction.d.cts.map +0 -1
  587. package/dist/utils/hyperLiquidAbstraction.d.mts +0 -11
  588. package/dist/utils/hyperLiquidAbstraction.d.mts.map +0 -1
  589. package/dist/utils/hyperLiquidAbstraction.mjs.map +0 -1
  590. package/dist/utils/hyperLiquidAdapter.cjs +0 -512
  591. package/dist/utils/hyperLiquidAdapter.cjs.map +0 -1
  592. package/dist/utils/hyperLiquidAdapter.d.cts.map +0 -1
  593. package/dist/utils/hyperLiquidAdapter.d.mts +0 -77
  594. package/dist/utils/hyperLiquidAdapter.d.mts.map +0 -1
  595. package/dist/utils/hyperLiquidAdapter.mjs.map +0 -1
  596. package/dist/utils/hyperLiquidOrderBookProcessor.cjs +0 -83
  597. package/dist/utils/hyperLiquidOrderBookProcessor.cjs.map +0 -1
  598. package/dist/utils/hyperLiquidOrderBookProcessor.d.cts +0 -55
  599. package/dist/utils/hyperLiquidOrderBookProcessor.d.cts.map +0 -1
  600. package/dist/utils/hyperLiquidOrderBookProcessor.d.mts.map +0 -1
  601. package/dist/utils/hyperLiquidOrderBookProcessor.mjs.map +0 -1
  602. package/dist/utils/hyperLiquidValidation.cjs +0 -799
  603. package/dist/utils/hyperLiquidValidation.cjs.map +0 -1
  604. package/dist/utils/hyperLiquidValidation.d.cts.map +0 -1
  605. package/dist/utils/hyperLiquidValidation.d.mts +0 -192
  606. package/dist/utils/hyperLiquidValidation.d.mts.map +0 -1
  607. package/dist/utils/hyperLiquidValidation.mjs.map +0 -1
  608. package/dist/utils/idUtils.cjs +0 -18
  609. package/dist/utils/idUtils.cjs.map +0 -1
  610. package/dist/utils/idUtils.d.cts.map +0 -1
  611. package/dist/utils/idUtils.d.mts +0 -6
  612. package/dist/utils/idUtils.d.mts.map +0 -1
  613. package/dist/utils/idUtils.mjs.map +0 -1
  614. package/dist/utils/index.cjs +0 -65
  615. package/dist/utils/index.cjs.map +0 -1
  616. package/dist/utils/index.d.cts +0 -28
  617. package/dist/utils/index.d.cts.map +0 -1
  618. package/dist/utils/index.d.mts +0 -28
  619. package/dist/utils/index.d.mts.map +0 -1
  620. package/dist/utils/index.mjs.map +0 -1
  621. package/dist/utils/marketDataTransform.cjs +0 -250
  622. package/dist/utils/marketDataTransform.cjs.map +0 -1
  623. package/dist/utils/marketDataTransform.d.cts.map +0 -1
  624. package/dist/utils/marketDataTransform.d.mts +0 -71
  625. package/dist/utils/marketDataTransform.d.mts.map +0 -1
  626. package/dist/utils/marketDataTransform.mjs.map +0 -1
  627. package/dist/utils/marketSearch.cjs +0 -111
  628. package/dist/utils/marketSearch.cjs.map +0 -1
  629. package/dist/utils/marketSearch.d.cts.map +0 -1
  630. package/dist/utils/marketSearch.d.mts +0 -48
  631. package/dist/utils/marketSearch.d.mts.map +0 -1
  632. package/dist/utils/marketSearch.mjs.map +0 -1
  633. package/dist/utils/marketUtils.cjs +0 -266
  634. package/dist/utils/marketUtils.cjs.map +0 -1
  635. package/dist/utils/marketUtils.d.cts.map +0 -1
  636. package/dist/utils/marketUtils.d.mts +0 -73
  637. package/dist/utils/marketUtils.d.mts.map +0 -1
  638. package/dist/utils/marketUtils.mjs.map +0 -1
  639. package/dist/utils/myxAdapter.cjs +0 -569
  640. package/dist/utils/myxAdapter.cjs.map +0 -1
  641. package/dist/utils/myxAdapter.d.cts.map +0 -1
  642. package/dist/utils/myxAdapter.d.mts +0 -168
  643. package/dist/utils/myxAdapter.d.mts.map +0 -1
  644. package/dist/utils/myxAdapter.mjs.map +0 -1
  645. package/dist/utils/orderCalculations.cjs +0 -823
  646. package/dist/utils/orderCalculations.cjs.map +0 -1
  647. package/dist/utils/orderCalculations.d.cts.map +0 -1
  648. package/dist/utils/orderCalculations.d.mts +0 -298
  649. package/dist/utils/orderCalculations.d.mts.map +0 -1
  650. package/dist/utils/orderCalculations.mjs.map +0 -1
  651. package/dist/utils/orderTypes.cjs +0 -301
  652. package/dist/utils/orderTypes.cjs.map +0 -1
  653. package/dist/utils/orderTypes.d.cts +0 -166
  654. package/dist/utils/orderTypes.d.cts.map +0 -1
  655. package/dist/utils/orderTypes.d.mts.map +0 -1
  656. package/dist/utils/orderTypes.mjs.map +0 -1
  657. package/dist/utils/perpsConnectionAttemptContext.cjs +0 -20
  658. package/dist/utils/perpsConnectionAttemptContext.cjs.map +0 -1
  659. package/dist/utils/perpsConnectionAttemptContext.d.cts +0 -7
  660. package/dist/utils/perpsConnectionAttemptContext.d.cts.map +0 -1
  661. package/dist/utils/perpsConnectionAttemptContext.d.mts.map +0 -1
  662. package/dist/utils/perpsConnectionAttemptContext.mjs.map +0 -1
  663. package/dist/utils/perpsDiskPersistence.cjs +0 -259
  664. package/dist/utils/perpsDiskPersistence.cjs.map +0 -1
  665. package/dist/utils/perpsDiskPersistence.d.cts.map +0 -1
  666. package/dist/utils/perpsDiskPersistence.d.mts +0 -112
  667. package/dist/utils/perpsDiskPersistence.d.mts.map +0 -1
  668. package/dist/utils/perpsDiskPersistence.mjs.map +0 -1
  669. package/dist/utils/perpsFormatters.cjs +0 -509
  670. package/dist/utils/perpsFormatters.cjs.map +0 -1
  671. package/dist/utils/perpsFormatters.d.cts.map +0 -1
  672. package/dist/utils/perpsFormatters.d.mts +0 -204
  673. package/dist/utils/perpsFormatters.d.mts.map +0 -1
  674. package/dist/utils/perpsFormatters.mjs.map +0 -1
  675. package/dist/utils/rewardsUtils.cjs +0 -98
  676. package/dist/utils/rewardsUtils.cjs.map +0 -1
  677. package/dist/utils/rewardsUtils.d.cts.map +0 -1
  678. package/dist/utils/rewardsUtils.d.mts +0 -33
  679. package/dist/utils/rewardsUtils.d.mts.map +0 -1
  680. package/dist/utils/rewardsUtils.mjs.map +0 -1
  681. package/dist/utils/significantFigures.cjs +0 -88
  682. package/dist/utils/significantFigures.cjs.map +0 -1
  683. package/dist/utils/significantFigures.d.cts.map +0 -1
  684. package/dist/utils/significantFigures.d.mts +0 -25
  685. package/dist/utils/significantFigures.d.mts.map +0 -1
  686. package/dist/utils/significantFigures.mjs.map +0 -1
  687. package/dist/utils/sortMarkets.cjs +0 -93
  688. package/dist/utils/sortMarkets.cjs.map +0 -1
  689. package/dist/utils/sortMarkets.d.cts.map +0 -1
  690. package/dist/utils/sortMarkets.d.mts +0 -25
  691. package/dist/utils/sortMarkets.d.mts.map +0 -1
  692. package/dist/utils/sortMarkets.mjs.map +0 -1
  693. package/dist/utils/standaloneInfoClient.cjs +0 -70
  694. package/dist/utils/standaloneInfoClient.cjs.map +0 -1
  695. package/dist/utils/standaloneInfoClient.d.cts.map +0 -1
  696. package/dist/utils/standaloneInfoClient.d.mts +0 -37
  697. package/dist/utils/standaloneInfoClient.d.mts.map +0 -1
  698. package/dist/utils/standaloneInfoClient.mjs.map +0 -1
  699. package/dist/utils/stringParseUtils.cjs +0 -34
  700. package/dist/utils/stringParseUtils.cjs.map +0 -1
  701. package/dist/utils/stringParseUtils.d.cts.map +0 -1
  702. package/dist/utils/stringParseUtils.d.mts +0 -11
  703. package/dist/utils/stringParseUtils.d.mts.map +0 -1
  704. package/dist/utils/stringParseUtils.mjs.map +0 -1
  705. package/dist/utils/transferData.cjs +0 -33
  706. package/dist/utils/transferData.cjs.map +0 -1
  707. package/dist/utils/transferData.d.cts.map +0 -1
  708. package/dist/utils/transferData.d.mts +0 -9
  709. package/dist/utils/transferData.d.mts.map +0 -1
  710. package/dist/utils/transferData.mjs.map +0 -1
  711. package/dist/utils/wait.cjs +0 -6
  712. package/dist/utils/wait.cjs.map +0 -1
  713. package/dist/utils/wait.d.cts.map +0 -1
  714. package/dist/utils/wait.d.mts +0 -2
  715. package/dist/utils/wait.d.mts.map +0 -1
  716. package/dist/utils/wait.mjs.map +0 -1
@@ -1,650 +0,0 @@
1
- "use strict";
2
- /**
3
- * Perps event property keys and values - matching dashboard requirements exactly
4
- * Event names are defined in MetaMetrics.events.ts as the single source of truth
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.PERPS_EVENT_VALUE = exports.PERPS_EVENT_PROPERTY = void 0;
8
- /**
9
- * Event property keys - ensures consistent property naming
10
- */
11
- exports.PERPS_EVENT_PROPERTY = {
12
- // Common properties
13
- TIMESTAMP: 'timestamp',
14
- ASSET: 'asset',
15
- DIRECTION: 'direction',
16
- SOURCE: 'source',
17
- TAB_NAME: 'tab_name',
18
- LOCATION: 'location',
19
- // Trade properties
20
- LEVERAGE: 'leverage',
21
- LEVERAGE_USED: 'leverage_used',
22
- // Perp UI Interaction `leverage_changed`: prior leverage before the user change
23
- PREVIOUS_LEVERAGE: 'previous_leverage',
24
- ORDER_SIZE: 'order_size',
25
- MARGIN_USED: 'margin_used',
26
- ORDER_TYPE: 'order_type', // lowercase per dashboard
27
- ORDER_TIMESTAMP: 'order_timestamp',
28
- LIMIT_PRICE: 'limit_price',
29
- FEES: 'fees',
30
- FEE: 'fee',
31
- METAMASK_FEE: 'metamask_fee',
32
- METAMASK_FEE_RATE: 'metamask_fee_rate',
33
- DISCOUNT_PERCENTAGE: 'discount_percentage',
34
- ESTIMATED_REWARDS: 'estimated_rewards',
35
- ASSET_PRICE: 'asset_price',
36
- COMPLETION_DURATION: 'completion_duration',
37
- // Position properties
38
- OPEN_POSITION: 'open_position',
39
- OPEN_ORDER: 'open_order',
40
- OPEN_POSITION_SIZE: 'open_position_size',
41
- UNREALIZED_PNL_DOLLAR: 'unrealized_dollar_pnl',
42
- UNREALIZED_PNL_PERCENT: 'unrealized_percent_pnl',
43
- CLOSE_VALUE: 'close_value',
44
- CLOSE_PERCENTAGE: 'close_percentage',
45
- CLOSE_TYPE: 'close_type',
46
- PERCENTAGE_CLOSED: 'percentage_closed',
47
- PNL_DOLLAR: 'dollar_pnl',
48
- PNL_PERCENT: 'percent_pnl',
49
- RECEIVED_AMOUNT: 'received_amount',
50
- // Order type variations
51
- CURRENT_ORDER_TYPE: 'current_order_type',
52
- SELECTED_ORDER_TYPE: 'selected_order_type',
53
- // Funding properties
54
- SOURCE_CHAIN: 'source_chain',
55
- SOURCE_ASSET: 'source_asset',
56
- SOURCE_AMOUNT: 'source_amount',
57
- DESTINATION_AMOUNT: 'destination_amount',
58
- NETWORK_FEE: 'network_fee',
59
- WITHDRAWAL_AMOUNT: 'withdrawal_amount',
60
- // Chart properties
61
- INTERACTION_TYPE: 'interaction_type',
62
- TIME_SERIE_SELECTED: 'time_serie_selected',
63
- CANDLE_PERIOD: 'candle_period',
64
- CHART_LIBRARY: 'chart_library',
65
- ASSET_TYPE: 'asset_type',
66
- // Risk management properties
67
- STOP_LOSS_PRICE: 'stop_loss_price',
68
- STOP_LOSS_PERCENT: 'stop_loss_percent',
69
- TAKE_PROFIT_PRICE: 'take_profit_price',
70
- TAKE_PROFIT_PERCENT: 'take_profit_percent',
71
- POSITION_SIZE: 'position_size',
72
- POSITION_AGE: 'position_age',
73
- LIQUIDATION_DISTANCE_OLD: 'liquidation_distance_old',
74
- LIQUIDATION_DISTANCE_NEW: 'liquidation_distance_new',
75
- // Notification properties
76
- NOTIFICATION_TYPE: 'notification_type',
77
- // Other properties
78
- INPUT_METHOD: 'input_method', // camelCase per requirements
79
- ACTION_TYPE: 'action_type',
80
- SETTING_TYPE: 'setting_type',
81
- FAILURE_REASON: 'failure_reason',
82
- WARNING_TYPE: 'warning_type',
83
- WARNING_MESSAGE: 'warning_message',
84
- ERROR_TYPE: 'error_type',
85
- ERROR_MESSAGE: 'error_message',
86
- AB_TESTS: 'ab_tests',
87
- COMPLETION_DURATION_TUTORIAL: 'completion_duration_tutorial',
88
- STEPS_VIEWED: 'steps_viewed',
89
- VIEW_OCCURRENCES: 'view_occurrences',
90
- AMOUNT_FILLED: 'amount_filled',
91
- REMAINING_AMOUNT: 'remaining_amount',
92
- NUMBER_POSITIONS_CLOSED: 'number_positions_closed',
93
- // Tutorial carousel navigation properties
94
- PREVIOUS_SCREEN: 'previous_screen',
95
- CURRENT_SCREEN: 'current_screen',
96
- SCREEN_POSITION: 'screen_position',
97
- TOTAL_SCREENS: 'total_screens',
98
- NAVIGATION_METHOD: 'navigation_method',
99
- STATUS: 'status',
100
- SCREEN_TYPE: 'screen_type',
101
- SCREEN_NAME: 'screen_name',
102
- ACTION: 'action',
103
- RETRY_ATTEMPTS: 'retry_attempts',
104
- SHOW_BACK_BUTTON: 'show_back_button',
105
- ATTEMPT_NUMBER: 'attempt_number',
106
- // PnL Hero Card properties
107
- IMAGE_SELECTED: 'image_selected',
108
- TAB_NUMBER: 'tab_number',
109
- // VIP rewards properties
110
- VIP_TIER: 'vip_tier',
111
- VIP_DISCOUNT: 'vip_discount',
112
- // A/B testing properties (flat per test for multiple concurrent tests)
113
- // Only include AB test properties when test is enabled (event not sent when disabled)
114
- // Button color test
115
- AB_TEST_BUTTON_COLOR: 'ab_test_button_color',
116
- // Future tests: add as AB_TEST_{TEST_NAME} (no _ENABLED property needed)
117
- // Entry point tracking properties
118
- BUTTON_CLICKED: 'button_clicked',
119
- BUTTON_LOCATION: 'button_location',
120
- // Balance properties
121
- HAS_PERP_BALANCE: 'has_perp_balance',
122
- // Service interruption banner
123
- OUTAGE_BANNER_SHOWN: 'outage_banner_shown',
124
- // Geo-blocking properties (TAT-2337: track geo-blocked withdrawals for monitoring)
125
- IS_GEO_BLOCKED: 'is_geo_blocked',
126
- // TP/SL differentiation properties
127
- HAS_TAKE_PROFIT: 'has_take_profit',
128
- HAS_STOP_LOSS: 'has_stop_loss',
129
- TAKE_PROFIT_PERCENTAGE: 'take_profit_percentage',
130
- STOP_LOSS_PERCENTAGE: 'stop_loss_percentage',
131
- // Auto Close TP/SL RoE sign toggle (`'+'` | `'-'`)
132
- ROE_SIGN: 'roe_sign',
133
- // Watchlist/Favorites properties
134
- FAVORITES_COUNT: 'favorites_count',
135
- // Scroll tracking properties
136
- SECTION_VIEWED: 'section_viewed',
137
- // Discovery analytics properties
138
- SOURCE_SECTION: 'source_section',
139
- RESULT_COUNT: 'result_count',
140
- SECTION_NAME: 'section_name',
141
- SECTION_INDEX: 'section_index',
142
- SECTIONS_DISPLAYED: 'sections_displayed',
143
- WATCHLIST_COUNT: 'watchlist_count',
144
- WATCHLIST_MARKETS: 'watchlist_markets',
145
- // Order value (USD $ value of the order)
146
- ORDER_VALUE: 'order_value',
147
- // Market category filter (for market list screen)
148
- MARKET_CATEGORY: 'market_category',
149
- // Pay with any token (PERPS_TRADE_TRANSACTION)
150
- TRADE_WITH_TOKEN: 'trade_with_token',
151
- MM_PAY_TOKEN_SELECTED: 'mm_pay_token_selected',
152
- MM_PAY_NETWORK_SELECTED: 'mm_pay_network_selected',
153
- // Pay-with UI (PERPS_UI_INTERACTION)
154
- INITIAL_PAYMENT_METHOD: 'initial_payment_method',
155
- NEW_PAYMENT_METHOD: 'new_payment_method',
156
- // Slippage properties
157
- MAX_SLIPPAGE_PCT: 'max_slippage_pct',
158
- MAX_SLIPPAGE_SOURCE: 'max_slippage_source',
159
- ESTIMATED_SLIPPAGE_PCT: 'estimated_slippage_pct',
160
- // Account setup / abstraction mode (PERPS_ACCOUNT_SETUP)
161
- ABSTRACTION_MODE: 'abstraction_mode',
162
- PREVIOUS_ABSTRACTION_MODE: 'previous_abstraction_mode',
163
- // Entry point / discovery attribution
164
- ENTRY_POINT: 'entry_point',
165
- DISCOVERY_SOURCE: 'discovery_source',
166
- PERP_DISCOVERY_SOURCE: 'perp_discovery_source',
167
- // UTM attribution context
168
- UTM_SOURCE: 'utm_source',
169
- UTM_MEDIUM: 'utm_medium',
170
- UTM_CAMPAIGN: 'utm_campaign',
171
- UTM_CONTENT: 'utm_content',
172
- UTM_TERM: 'utm_term',
173
- // Watchlist membership at event time
174
- WATCHLISTED: 'watchlisted',
175
- // HyperLiquid protocol fee rate on trade + close
176
- HL_FEE_RATE: 'hl_fee_rate',
177
- // Bulk action correlation id for batch close/cancel
178
- BULK_ACTION_ID: 'bulk_action_id',
179
- // Client environment (Extension supplies value)
180
- ENVIRONMENT_TYPE: 'environment_type',
181
- // Order funnel / consideration + quote properties
182
- ORDER_CONTEXT: 'order_context',
183
- ORDER_SIZE_PERCENT: 'order_size_percent',
184
- LIMIT_PRICE_INPUT_TYPE: 'limit_price_input_type',
185
- LIMIT_PRICE_INPUT_PRESET: 'limit_price_input_preset',
186
- ORDER_HAS_TP: 'order_has_tp',
187
- ORDER_HAS_SL: 'order_has_sl',
188
- QUOTE_LATENCY_MS: 'quote_latency_ms',
189
- ERROR_REASON: 'error_reason',
190
- SAVED_ORDER: 'saved_order',
191
- DEFAULT_PAYMENT_TOKEN: 'default_payment_token',
192
- DEFAULT_SIZE_AMOUNT: 'default_size_amount',
193
- DEFAULT_LEVERAGE: 'default_leverage',
194
- DEFAULT_AUTO_CLOSE: 'default_auto_close',
195
- ORDER_EXECUTION_LATENCY_MS: 'order_execution_latency_ms',
196
- SCREEN_CONTEXT: 'screen_context',
197
- FROM_TOKEN: 'from_token',
198
- FROM_CHAIN: 'from_chain',
199
- TO_TOKEN: 'to_token',
200
- TO_CHAIN: 'to_chain',
201
- // Search / discovery query properties
202
- SEARCH_QUERY: 'search_query',
203
- RESULTS_COUNT: 'results_count',
204
- RESULT_RANK: 'result_rank',
205
- // Search intent (`discovery` / `intent` / `browse`) — not Lite/Pro UI mode
206
- MODE: 'mode',
207
- CURRENT_TOKEN: 'current_token',
208
- // Lite/Pro interface mode (`'lite' | 'pro'`)
209
- PERPS_MODE: 'perps_mode',
210
- // Sort / filter properties
211
- SORT_FIELD: 'sort_field',
212
- SORT_DIRECTION: 'sort_direction',
213
- FILTER_CATEGORY: 'filter_category',
214
- // Time-on-screen for abandon tracking
215
- TIME_ON_SCREEN_MS: 'time_on_screen_ms',
216
- };
217
- /**
218
- * Property value constants
219
- */
220
- exports.PERPS_EVENT_VALUE = {
221
- DIRECTION: {
222
- LONG: 'long',
223
- SHORT: 'short',
224
- },
225
- ORDER_TYPE: {
226
- MARKET: 'market',
227
- LIMIT: 'limit',
228
- // Trigger placements are emitted verbatim by TradingService, so the enum has
229
- // to list them for dashboards keyed on `order_type`.
230
- STOP_MARKET: 'stop_market',
231
- STOP_LIMIT: 'stop_limit',
232
- TAKE_PROFIT_MARKET: 'take_profit_market',
233
- TAKE_PROFIT_LIMIT: 'take_profit_limit',
234
- // Strategy placements, likewise emitted verbatim.
235
- TWAP: 'twap',
236
- SCALE: 'scale',
237
- CHASE: 'chase',
238
- },
239
- ORDER_TYPE_CAPITALIZED: {
240
- MARKET: 'market',
241
- LIMIT: 'limit',
242
- },
243
- CHART_LIBRARY: {
244
- LIGHTWEIGHT: 'lightweight',
245
- ADVANCED: 'advanced',
246
- },
247
- ASSET_TYPE: {
248
- SPOT: 'spot',
249
- PERP: 'perp',
250
- },
251
- INPUT_METHOD: {
252
- SLIDER: 'slider',
253
- KEYBOARD: 'keyboard',
254
- PRESET: 'preset',
255
- MANUAL: 'manual',
256
- PERCENTAGE_BUTTON: 'percentage_button',
257
- },
258
- SOURCE: {
259
- BANNER: 'banner',
260
- NOTIFICATION: 'notification',
261
- MAIN_ACTION_BUTTON: 'main_action_button',
262
- POSITION_TAB: 'position_tab',
263
- PERP_MARKETS: 'perp_markets',
264
- DEEPLINK: 'deeplink',
265
- TUTORIAL: 'tutorial',
266
- TRADE_SCREEN: 'trade_screen',
267
- HOMESCREEN_TAB: 'homescreen_tab',
268
- PERP_ASSET_SCREEN: 'perp_asset_screen',
269
- PERP_MARKET: 'perp_market',
270
- PERP_MARKET_SEARCH: 'perp_market_search',
271
- POSITION_SCREEN: 'position_screen',
272
- BOTTOM_NAV_BAR: 'bottom_nav_bar',
273
- TP_SL_VIEW: 'tp_sl_view',
274
- PERPS_HOME: 'perps_home',
275
- PERPS_TUTORIAL: 'perps_tutorial',
276
- PERPS_HOME_EMPTY_STATE: 'perps_home_empty_state',
277
- PERPS_ASSET_SCREEN_NO_FUNDS: 'perps_asset_screen_no_funds',
278
- TRADE_MENU_ACTION: 'trade_menu_action',
279
- WALLET_HOME: 'wallet_home',
280
- HOME_SECTION: 'home_section',
281
- TOOLTIP: 'tooltip',
282
- MAGNIFYING_GLASS: 'magnifying_glass',
283
- CRYPTO_BUTTON: 'crypto_button',
284
- STOCKS_BUTTON: 'stocks_button',
285
- CLOSE_TOAST: 'close_toast',
286
- // Perps home section sources (for navigation tracking)
287
- PERPS_HOME_POSITION: 'perps_home_position',
288
- PERPS_HOME_ORDERS: 'perps_home_orders',
289
- PERPS_HOME_WATCHLIST: 'perps_home_watchlist',
290
- PERPS_HOME_EXPLORE_CRYPTO: 'perps_home_explore_crypto',
291
- PERPS_HOME_EXPLORE_STOCKS: 'perps_home_explore_stocks',
292
- PERPS_HOME_ACTIVITY: 'perps_home_activity',
293
- // Explore/Trending page source
294
- EXPLORE: 'explore',
295
- // Market list tab sources
296
- PERPS_MARKET_LIST_ALL: 'perps_market_list_all',
297
- PERPS_MARKET_LIST_CRYPTO: 'perps_market_list_crypto',
298
- PERPS_MARKET_LIST_STOCKS: 'perps_market_list_stocks',
299
- // Other navigation sources
300
- PERPS_TAB: 'perps_tab',
301
- WALLET_MAIN_ACTION_MENU: 'wallet_main_action_menu',
302
- PUSH_NOTIFICATION: 'push_notification',
303
- ORDER_BOOK: 'order_book',
304
- FULL_SCREEN_CHART: 'full_screen_chart',
305
- STOP_LOSS_PROMPT_BANNER: 'stop_loss_prompt_banner',
306
- // Position management sources
307
- OPEN_POSITION: 'open_position',
308
- POSITION_CLOSE_TOAST: 'position_close_toast',
309
- TRADE_DETAILS: 'trade_details',
310
- // Geo-block trigger sources (for tracking what action was blocked)
311
- DEPOSIT_BUTTON: 'deposit_button',
312
- WITHDRAW_BUTTON: 'withdraw_button',
313
- TRADE_ACTION: 'trade_action',
314
- ADD_FUNDS_ACTION: 'add_funds_action',
315
- CANCEL_ORDER: 'cancel_order',
316
- ASSET_DETAIL_SCREEN: 'asset_detail_screen',
317
- MARKET_INSIGHTS: 'market_insights',
318
- // TAT-2449: Geo-block sources for close/modify actions
319
- CLOSE_POSITION_ACTION: 'close_position_action',
320
- MODIFY_POSITION_ACTION: 'modify_position_action',
321
- // Geo-block sources for order book actions
322
- ORDER_BOOK_LONG_BUTTON: 'order_book_long_button',
323
- ORDER_BOOK_SHORT_BUTTON: 'order_book_short_button',
324
- ORDER_BOOK_CLOSE_BUTTON: 'order_book_close_button',
325
- ORDER_BOOK_MODIFY_BUTTON: 'order_book_modify_button',
326
- // Geo-block sources for position management actions
327
- AUTO_CLOSE_ACTION: 'auto_close_action',
328
- ADJUST_MARGIN_ACTION: 'adjust_margin_action',
329
- STOP_LOSS_PROMPT_ADD_MARGIN: 'stop_loss_prompt_add_margin',
330
- STOP_LOSS_PROMPT_SET_SL: 'stop_loss_prompt_set_sl',
331
- // Geo-block sources for bulk actions
332
- CLOSE_ALL_POSITIONS_BUTTON: 'close_all_positions_button',
333
- CANCEL_ALL_ORDERS_BUTTON: 'cancel_all_orders_button',
334
- },
335
- WARNING_TYPE: {
336
- MINIMUM_DEPOSIT: 'minimum_deposit',
337
- MINIMUM_ORDER_SIZE: 'minimum_order_size',
338
- INSUFFICIENT_BALANCE: 'insufficient_balance',
339
- },
340
- ERROR_TYPE: {
341
- NETWORK: 'network',
342
- APP_CRASH: 'app_crash',
343
- BACKEND: 'backend',
344
- VALIDATION: 'validation',
345
- WARNING: 'warning',
346
- },
347
- // Standardized error message keys for PERP_ERROR events
348
- // These should be used instead of localized strings for consistent analytics
349
- ERROR_MESSAGE_KEY: {
350
- ORDER_CHANGED_FROM_LIMIT_TO_MARKET: 'order_changed_from_limit_to_market',
351
- OPEN_CROSS_MARGIN_POSITION_DETECTED: 'open_cross_margin_position_detected',
352
- INSUFFICIENT_BALANCE: 'insufficient_balance',
353
- ORDER_FAILED: 'order_failed',
354
- GEO_RESTRICTION: 'geo_restriction',
355
- MINIMUM_ORDER_SIZE: 'minimum_order_size',
356
- MAXIMUM_LEVERAGE_EXCEEDED: 'maximum_leverage_exceeded',
357
- PRICE_DEVIATION_TOO_HIGH: 'price_deviation_too_high',
358
- MARKET_AT_CAPACITY: 'market_at_capacity',
359
- NETWORK_ERROR: 'network_error',
360
- CONNECTION_FAILED: 'connection_failed',
361
- POSITION_UPDATE_FAILED: 'position_update_failed',
362
- TP_SL_UPDATE_FAILED: 'tp_sl_update_failed',
363
- MARGIN_UPDATE_FAILED: 'margin_update_failed',
364
- UNKNOWN: 'unknown',
365
- },
366
- SOURCE_SECTION: {
367
- // Home sections
368
- POSITIONS: 'positions',
369
- ORDERS: 'orders',
370
- WATCHLIST: 'watchlist',
371
- WHATS_HAPPENING: 'whats_happening',
372
- PRODUCTS: 'products',
373
- TOP_GAINERS: 'top_gainers',
374
- TOP_LOSERS: 'top_losers',
375
- CRYPTO: 'crypto',
376
- COMMODITY: 'commodity',
377
- STOCK: 'stock',
378
- FOREX: 'forex',
379
- // Explore sections
380
- PERPS_MOVERS: 'perps_movers',
381
- PERPS_CRYPTO: 'perps_crypto',
382
- PERPS_STOCKS_COMMODITIES: 'perps_stocks_commodities',
383
- PERPS_MARKETS: 'perps_markets',
384
- // Market list sections
385
- ALL_MARKETS: 'all_markets',
386
- NEW: 'new',
387
- ACTIVE_SEARCH: 'active_search',
388
- },
389
- SECTION_NAME: {
390
- BALANCE: 'balance',
391
- POSITIONS: 'positions',
392
- ORDERS: 'orders',
393
- WATCHLIST: 'watchlist',
394
- WHATS_HAPPENING: 'whats_happening',
395
- PRODUCTS: 'products',
396
- TOP_MOVERS: 'top_movers',
397
- EXPLORE_CRYPTO: 'explore_crypto',
398
- EXPLORE_COMMODITIES: 'explore_commodities',
399
- EXPLORE_STOCKS: 'explore_stocks',
400
- EXPLORE_FOREX: 'explore_forex',
401
- RECENT_ACTIVITY: 'recent_activity',
402
- },
403
- INTERACTION_TYPE: {
404
- TAP: 'tap',
405
- ZOOM: 'zoom',
406
- SLIDE: 'slide',
407
- SEARCH_CLICKED: 'search_clicked',
408
- ORDER_TYPE_VIEWED: 'order_type_viewed',
409
- ORDER_TYPE_SELECTED: 'order_type_selected',
410
- /** @deprecated Use LEVERAGE_CHANGED instead for clarity */
411
- SETTING_CHANGED: 'setting_changed',
412
- /**
413
- * Perp UI Interaction `leverage_changed`. Properties include `leverage`
414
- * and `previous_leverage`.
415
- */
416
- LEVERAGE_CHANGED: 'leverage_changed',
417
- TUTORIAL_STARTED: 'tutorial_started',
418
- TUTORIAL_COMPLETED: 'tutorial_completed',
419
- TUTORIAL_NAVIGATION: 'tutorial_navigation',
420
- CANDLE_PERIOD_VIEWED: 'candle_period_viewed',
421
- CANDLE_PERIOD_CHANGED: 'candle_period_changed',
422
- FAVORITE_TOGGLED: 'favorite_toggled',
423
- BUTTON_CLICKED: 'button_clicked',
424
- // Position management interactions
425
- CONTACT_SUPPORT: 'contact_support',
426
- STOP_LOSS_ONE_CLICK_PROMPT: 'stop_loss_one_click_prompt',
427
- ADD_MARGIN: 'add_margin',
428
- REMOVE_MARGIN: 'remove_margin',
429
- INCREASE_EXPOSURE: 'increase_exposure',
430
- REDUCE_EXPOSURE: 'reduce_exposure',
431
- FLIP_POSITION: 'flip_position',
432
- // Hero card interactions
433
- DISPLAY_HERO_CARD: 'display_hero_card',
434
- SHARE_PNL_HERO_CARD: 'share_pnl_hero_card',
435
- // Chart interactions
436
- FULL_SCREEN_CHART: 'full_screen_chart',
437
- // Pay-with interactions
438
- PAYMENT_TOKEN_SELECTOR: 'payment_token_selector',
439
- PAYMENT_METHOD_CHANGED: 'payment_method_changed',
440
- // Deposit + order (pay-with token) cancel
441
- CANCEL_TRADE_WITH_TOKEN: 'cancel_trade_with_token',
442
- // Slippage interactions
443
- SLIPPAGE_CONFIG_OPENED: 'slippage_config_opened',
444
- SLIPPAGE_CONFIG_CHANGED: 'slippage_config_changed',
445
- SLIPPAGE_LIMIT_BLOCKED_ORDER: 'slippage_limit_blocked_order',
446
- // Auto Close TP/SL RoE sign toggle
447
- TPSL_ROE_SIGN_TOGGLED: 'tpsl_roe_sign_toggled',
448
- // Discovery analytics
449
- MARKET_LIST_FILTER: 'market_list_filter',
450
- // Sort / filter interactions
451
- SORT_APPLIED: 'sort_applied',
452
- FILTER_APPLIED: 'filter_applied',
453
- // Chase interactions
454
- CHASE_BACKGROUNDED_CONVERTED: 'chase_backgrounded_converted',
455
- CHASE_TERMINATED: 'chase_terminated',
456
- // Search interactions
457
- SEARCH_RESULT_TAPPED: 'search_result_tapped',
458
- SEARCH_CHIP_TAPPED: 'search_chip_tapped',
459
- SEARCH_SIGNAL_TILE_TAPPED: 'search_signal_tile_tapped',
460
- // Pay-with token selector dismissed
461
- PAYMENT_TOKEN_SELECTOR_DISMISSED: 'payment_token_selector_dismissed',
462
- },
463
- MAX_SLIPPAGE_SOURCE: {
464
- DEFAULT: 'default',
465
- USER_CONFIGURED: 'user_configured',
466
- },
467
- ACTION_TYPE: {
468
- START_TRADING: 'start_trading',
469
- SKIP: 'skip',
470
- STOP_LOSS_SET: 'stop_loss_set',
471
- TAKE_PROFIT_SET: 'take_profit_set',
472
- ADL_LEARN_MORE: 'adl_learn_more',
473
- LEARN_MORE: 'learn_more',
474
- FAVORITE_MARKET: 'favorite_market',
475
- UNFAVORITE_MARKET: 'unfavorite_market',
476
- },
477
- NOTIFICATION_TYPE: {
478
- POSITION_LIQUIDATED: 'position_liquidated',
479
- TP_EXECUTED: 'tp_executed',
480
- SL_EXECUTED: 'sl_executed',
481
- LIMIT_ORDER_EXECUTED: 'limit_order_executed',
482
- // Analytics schema value for the app-background conversion notification.
483
- CHASE_BACKGROUNDED: 'chase_backgrounded',
484
- },
485
- CLOSE_TYPE: {
486
- FULL: 'full',
487
- PARTIAL: 'partial',
488
- },
489
- NAVIGATION_METHOD: {
490
- SWIPE: 'swipe',
491
- CONTINUE_BUTTON: 'continue_button',
492
- PROGRESS_DOT: 'progress_dot',
493
- },
494
- STATUS: {
495
- VIEWED: 'viewed',
496
- STARTED: 'started',
497
- COMPLETED: 'completed',
498
- INITIATED: 'initiated',
499
- SUBMITTED: 'submitted',
500
- EXECUTED: 'executed',
501
- PARTIALLY_FILLED: 'partially_filled',
502
- FAILED: 'failed',
503
- SUCCESS: 'success',
504
- ALREADY_ENABLED: 'already_enabled',
505
- MIGRATION_REQUIRED: 'migration_required',
506
- // Emitted when a migration attempt is skipped because it is not applicable
507
- // (e.g. the user has no Hyperliquid account yet — nothing to migrate).
508
- // Distinguishes expected no-ops from real failures in dashboards.
509
- NOT_APPLICABLE: 'not_applicable',
510
- },
511
- SCREEN_TYPE: {
512
- MARKETS: 'markets',
513
- MARKET_LIST: 'market_list',
514
- ASSET_DETAILS: 'asset_details',
515
- TRADING: 'trading',
516
- /** @deprecated Use PERPS_HOME or WALLET_HOME_PERPS_TAB instead */
517
- HOMESCREEN: 'homescreen',
518
- PERPS_HOME: 'perps_home',
519
- WALLET_HOME_PERPS_TAB: 'wallet_home_perps_tab',
520
- POSITION_CLOSE: 'position_close',
521
- LEVERAGE: 'leverage',
522
- TUTORIAL: 'tutorial',
523
- WITHDRAWAL: 'withdrawal',
524
- TP_SL: 'tp_sl',
525
- CREATE_TPSL: 'create_tpsl',
526
- EDIT_TPSL: 'edit_tpsl',
527
- DEPOSIT_INPUT: 'deposit_input',
528
- DEPOSIT_REVIEW: 'deposit_review',
529
- CLOSE_ALL_POSITIONS: 'close_all_positions',
530
- CANCEL_ALL_ORDERS: 'cancel_all_orders',
531
- PNL_HERO_CARD: 'pnl_hero_card',
532
- ORDER_BOOK: 'order_book',
533
- ERROR: 'error',
534
- // Market list tab screen types
535
- MARKET_LIST_ALL: 'market_list_all',
536
- MARKET_LIST_CRYPTO: 'market_list_crypto',
537
- MARKET_LIST_STOCKS: 'market_list_stocks',
538
- // Additional screens
539
- FULL_SCREEN_CHART: 'full_screen_chart',
540
- ACTIVITY: 'activity',
541
- INCREASE_EXPOSURE: 'increase_exposure',
542
- ADD_MARGIN: 'add_margin',
543
- REMOVE_MARGIN: 'remove_margin',
544
- GEO_BLOCK_NOTIF: 'geo_block_notif',
545
- COMPLIANCE_BLOCK_NOTIF: 'compliance_block_notif',
546
- // Deposit + order (pay-with token) cancel toast
547
- CANCEL_TRADE_WITH_TOKEN_TOAST: 'cancel_trade_with_token_toast',
548
- // Search result screen states
549
- SEARCH_RESULTS_SHOWN: 'search_results_shown',
550
- SEARCH_NO_RESULTS: 'search_no_results',
551
- },
552
- SETTING_TYPE: {
553
- LEVERAGE: 'leverage',
554
- SLIPPAGE: 'slippage',
555
- },
556
- SCREEN_NAME: {
557
- CONNECTION_ERROR: 'connection_error',
558
- PERPS_HERO_CARD: 'perps_hero_card',
559
- PERPS_ACTIVITY_HISTORY: 'perps_activity_history',
560
- PERPS_HOME: 'perps_home',
561
- PERPS_MARKET_DETAILS: 'perps_market_details',
562
- PERPS_ORDER: 'perps_order',
563
- },
564
- ACTION: {
565
- CONNECTION_RETRY: 'connection_retry',
566
- CONNECTION_GO_BACK: 'connection_go_back',
567
- SHARE: 'share',
568
- // Risk management actions
569
- ADD_MARGIN: 'add_margin',
570
- REMOVE_MARGIN: 'remove_margin',
571
- EDIT_TP_SL: 'edit_tp_sl',
572
- CREATE_TP_SL: 'create_tp_sl',
573
- // TP/SL specific actions for risk management events
574
- TP: 'tp',
575
- SL: 'sl',
576
- TPSL: 'tpsl',
577
- // Trade transaction actions - differentiates new position from adding to existing
578
- CREATE_POSITION: 'create_position',
579
- INCREASE_EXPOSURE: 'increase_exposure',
580
- // Flip position actions with direction specificity
581
- FLIP_LONG_TO_SHORT: 'flip_long_to_short',
582
- FLIP_SHORT_TO_LONG: 'flip_short_to_long',
583
- // Order funnel abandonment
584
- ABANDON_ORDER: 'abandon_order',
585
- },
586
- // Risk management sources
587
- RISK_MANAGEMENT_SOURCE: {
588
- TRADE_SCREEN: 'trade_screen',
589
- POSITION_SCREEN: 'position_screen',
590
- STOP_LOSS_PROMPT_BANNER: 'stop_loss_prompt_banner',
591
- },
592
- PERPS_HISTORY_TABS: {
593
- TRADES: 'trades',
594
- ORDERS: 'orders',
595
- FUNDING: 'funding',
596
- DEPOSITS: 'deposits',
597
- },
598
- /** Value for mm_pay_token_selected when user pays with Perps balance (not a token) */
599
- MM_PAY_TOKEN: {
600
- PERPS_BALANCE: 'Perps Balance',
601
- },
602
- // A/B testing values
603
- AB_TEST: {
604
- // Test IDs
605
- BUTTON_COLOR_TEST: 'button_color_test',
606
- // Button color test variants
607
- CONTROL: 'control',
608
- MONOCHROME: 'monochrome',
609
- },
610
- BUTTON_CLICKED: {
611
- DEPOSIT: 'deposit',
612
- WITHDRAW: 'withdraw',
613
- PERPS_HOME: 'perps_home',
614
- TUTORIAL: 'tutorial',
615
- TOOLTIP: 'tooltip',
616
- MARKET_LIST: 'market_list',
617
- OPEN_POSITION: 'open_position',
618
- MAGNIFYING_GLASS: 'magnifying_glass',
619
- CRYPTO: 'crypto',
620
- STOCKS: 'stocks',
621
- COMMODITIES: 'commodities',
622
- FOREX: 'forex',
623
- NEW: 'new',
624
- GIVE_FEEDBACK: 'give_feedback',
625
- WATCHLIST: 'watchlist',
626
- TOP_MOVERS: 'top_movers',
627
- WHATS_HAPPENING: 'whats_happening',
628
- // Order + position management CTAs
629
- PLACE_ORDER: 'place_order',
630
- CLOSE: 'close',
631
- REDUCE_EXPOSURE: 'reduce_exposure',
632
- },
633
- BUTTON_LOCATION: {
634
- PERPS_HOME: 'perps_home',
635
- PERPS_TUTORIAL: 'perps_tutorial',
636
- PERPS_HOME_EMPTY_STATE: 'perps_home_empty_state',
637
- PERPS_ASSET_SCREEN: 'perps_asset_screen',
638
- PERPS_TAB: 'perps_tab',
639
- TRADE_MENU_ACTION: 'trade_menu_action',
640
- WALLET_HOME: 'wallet_home',
641
- MARKET_LIST: 'market_list',
642
- SCREEN: 'screen',
643
- TOOLTIP: 'tooltip',
644
- PERP_MARKET_DETAILS: 'perp_market_details',
645
- ORDER_BOOK: 'order_book',
646
- FULL_SCREEN_CHART: 'full_screen_chart',
647
- ASSET_DETAILS: 'asset_details',
648
- },
649
- };
650
- //# sourceMappingURL=eventNames.cjs.map