You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
@metamask/perps-controller 16.0.0
Added
Add reduce_only intent to every Perp Trade Transaction lifecycle event while preserving canonical order_type values (#10091)
Add POSITION_NOT_FOUND as the provider-neutral error code for operations targeting a position the venue no longer holds (#10083)
Changed
Bump @metamask/transaction-controller from ^69.7.0 to ^69.8.0 (#10080)
Bump @metamask/utils from ^11.11.0 to ^11.12.0 (#10076)
Removed
BREAKING: Remove all MYX protocol support (#10038)
PerpsProviderType is now 'hyperliquid' | 'lighter'. Drop any 'myx' case from exhaustive switches, and stop passing activeProvider: 'myx' or providerId: 'myx'.
Removes the MYXCredentials type and the providerCredentials.myx option from PerpsControllerOptions, all MYX_* exports (chain ids, endpoints, decimals, fees, asset configs), the getMYXChainId / getMYXHttpEndpoint helpers, the fromMYX* / toMYX* converters, the MYX-only USDT_BNB_TESTNET / USDT_BNB_MAINNET addresses, and PROVIDER_CONFIG.MYX_TESTNET_ONLY.
No migration is required for stored client state: an activeProvider value naming a removed venue falls back to 'hyperliquid' and is rewritten on next launch.
The perpsMyxProviderEnabled remote feature flag and the MM_PERPS_MYX_PROVIDER_ENABLED env override are no longer read; clients can retire both.