@metamask-previews/perps-controller 22.1.2-preview-08f21d38a → 22.2.0-preview-2ad7fb9

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 (2) hide show
  1. package/CHANGELOG.md +8 -1
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [22.2.0]
11
+
10
12
  ### Added
11
13
 
12
14
  - Export shared TP/SL calculations so Mobile, Extension and Terminal compute the same RoE and trigger prices ([#11343](https://github.com/MetaMask/core/pull/11343))
@@ -25,6 +27,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
25
27
  - Export `calculateAccountSummary` and `getCrossCollateral` to derive account ratio, account leverage and cross margin usage from `AccountState.crossMarginSummary`, with account leverage as cross notional over total account equity, isolated margin included, as Hyperliquid computes it ([#11343](https://github.com/MetaMask/core/pull/11343))
26
28
  - Types `PerpsAccountSummary`, `CalculateAccountSummaryParams` and `CrossMarginSummaryInput`
27
29
 
30
+ ### Changed
31
+
32
+ - Bump `@metamask/abi-utils` from `^2.0.4` to `^3.0.0` ([#11356](https://github.com/MetaMask/core/pull/11356))
33
+
28
34
  ## [22.1.2]
29
35
 
30
36
  ### Changed
@@ -1356,7 +1362,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1356
1362
 
1357
1363
  - Bump `@metamask/controller-utils` from `^11.18.0` to `^11.19.0` ([#7995](https://github.com/MetaMask/core/pull/7995))
1358
1364
 
1359
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/perps-controller@22.1.2...HEAD
1365
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/perps-controller@22.2.0...HEAD
1366
+ [22.2.0]: https://github.com/MetaMask/core/compare/@metamask/perps-controller@22.1.2...@metamask/perps-controller@22.2.0
1360
1367
  [22.1.2]: https://github.com/MetaMask/core/compare/@metamask/perps-controller@22.1.1...@metamask/perps-controller@22.1.2
1361
1368
  [22.1.1]: https://github.com/MetaMask/core/compare/@metamask/perps-controller@22.1.0...@metamask/perps-controller@22.1.1
1362
1369
  [22.1.0]: https://github.com/MetaMask/core/compare/@metamask/perps-controller@22.0.0...@metamask/perps-controller@22.1.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/perps-controller",
3
- "version": "22.1.2-preview-08f21d38a",
3
+ "version": "22.2.0-preview-2ad7fb9",
4
4
  "description": "Controller for perpetual trading functionality in MetaMask",
5
5
  "keywords": [
6
6
  "Ethereum",
@@ -76,7 +76,7 @@
76
76
  "test:watch": "vitest --watch"
77
77
  },
78
78
  "dependencies": {
79
- "@metamask/abi-utils": "^2.0.4",
79
+ "@metamask/abi-utils": "^3.0.0",
80
80
  "@metamask/base-controller": "^10.1.0",
81
81
  "@metamask/controller-utils": "^13.0.0",
82
82
  "@metamask/messenger": "^3.0.0",