@metamask-previews/perps-controller 6.2.0-preview-4678f2f94 → 6.3.0-preview-6235c3779

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 +5 -1
  2. package/package.json +41 -1
package/CHANGELOG.md CHANGED
@@ -7,11 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [6.3.0]
11
+
10
12
  ### Added
11
13
 
12
14
  - Add slippage controls so users can configure per-order slippage tolerance for market trades ([#8871](https://github.com/MetaMask/core/pull/8871))
13
15
  - Track `vip_tier` and `vip_discount` properties on perps trading events for fee analytics ([#8871](https://github.com/MetaMask/core/pull/8871))
14
16
  - Surface an in-app banner during an ongoing HyperLiquid outage so users see degraded trading status ([#8871](https://github.com/MetaMask/core/pull/8871))
17
+ - Expose subpath `exports` for `./constants`, `./constants/*`, `./types`, and `./utils/*` so consumers using legacy `node` module resolution can deep-import compiled entry points without losing tree-shaking ([#8883](https://github.com/MetaMask/core/pull/8883))
15
18
 
16
19
  ### Fixed
17
20
 
@@ -317,7 +320,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
317
320
 
318
321
  - Bump `@metamask/controller-utils` from `^11.18.0` to `^11.19.0` ([#7995](https://github.com/MetaMask/core/pull/7995))
319
322
 
320
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/perps-controller@6.2.0...HEAD
323
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/perps-controller@6.3.0...HEAD
324
+ [6.3.0]: https://github.com/MetaMask/core/compare/@metamask/perps-controller@6.2.0...@metamask/perps-controller@6.3.0
321
325
  [6.2.0]: https://github.com/MetaMask/core/compare/@metamask/perps-controller@6.1.0...@metamask/perps-controller@6.2.0
322
326
  [6.1.0]: https://github.com/MetaMask/core/compare/@metamask/perps-controller@6.0.1...@metamask/perps-controller@6.1.0
323
327
  [6.0.1]: https://github.com/MetaMask/core/compare/@metamask/perps-controller@6.0.0...@metamask/perps-controller@6.0.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/perps-controller",
3
- "version": "6.2.0-preview-4678f2f94",
3
+ "version": "6.3.0-preview-6235c3779",
4
4
  "description": "Controller for perpetual trading functionality in MetaMask",
5
5
  "keywords": [
6
6
  "Ethereum",
@@ -35,6 +35,46 @@
35
35
  "default": "./dist/index.cjs"
36
36
  }
37
37
  },
38
+ "./constants": {
39
+ "import": {
40
+ "types": "./dist/constants/index.d.mts",
41
+ "default": "./dist/constants/index.mjs"
42
+ },
43
+ "require": {
44
+ "types": "./dist/constants/index.d.cts",
45
+ "default": "./dist/constants/index.cjs"
46
+ }
47
+ },
48
+ "./constants/*": {
49
+ "import": {
50
+ "types": "./dist/constants/*.d.mts",
51
+ "default": "./dist/constants/*.mjs"
52
+ },
53
+ "require": {
54
+ "types": "./dist/constants/*.d.cts",
55
+ "default": "./dist/constants/*.cjs"
56
+ }
57
+ },
58
+ "./types": {
59
+ "import": {
60
+ "types": "./dist/types/index.d.mts",
61
+ "default": "./dist/types/index.mjs"
62
+ },
63
+ "require": {
64
+ "types": "./dist/types/index.d.cts",
65
+ "default": "./dist/types/index.cjs"
66
+ }
67
+ },
68
+ "./utils/*": {
69
+ "import": {
70
+ "types": "./dist/utils/*.d.mts",
71
+ "default": "./dist/utils/*.mjs"
72
+ },
73
+ "require": {
74
+ "types": "./dist/utils/*.d.cts",
75
+ "default": "./dist/utils/*.cjs"
76
+ }
77
+ },
38
78
  "./package.json": "./package.json"
39
79
  },
40
80
  "publishConfig": {