@metamask/ramps-controller 8.0.0 → 8.1.0

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 (46) hide show
  1. package/CHANGELOG.md +14 -1
  2. package/dist/RampsController.cjs +618 -116
  3. package/dist/RampsController.cjs.map +1 -1
  4. package/dist/RampsController.d.cts +261 -12
  5. package/dist/RampsController.d.cts.map +1 -1
  6. package/dist/RampsController.d.mts +261 -12
  7. package/dist/RampsController.d.mts.map +1 -1
  8. package/dist/RampsController.mjs +618 -116
  9. package/dist/RampsController.mjs.map +1 -1
  10. package/dist/RampsService.cjs.map +1 -1
  11. package/dist/RampsService.d.cts +4 -0
  12. package/dist/RampsService.d.cts.map +1 -1
  13. package/dist/RampsService.d.mts +4 -0
  14. package/dist/RampsService.d.mts.map +1 -1
  15. package/dist/RampsService.mjs.map +1 -1
  16. package/dist/RequestCache.cjs.map +1 -1
  17. package/dist/RequestCache.d.cts +2 -0
  18. package/dist/RequestCache.d.cts.map +1 -1
  19. package/dist/RequestCache.d.mts +2 -0
  20. package/dist/RequestCache.d.mts.map +1 -1
  21. package/dist/RequestCache.mjs.map +1 -1
  22. package/dist/TransakService-method-action-types.cjs +7 -0
  23. package/dist/TransakService-method-action-types.cjs.map +1 -0
  24. package/dist/TransakService-method-action-types.d.cts +106 -0
  25. package/dist/TransakService-method-action-types.d.cts.map +1 -0
  26. package/dist/TransakService-method-action-types.d.mts +106 -0
  27. package/dist/TransakService-method-action-types.d.mts.map +1 -0
  28. package/dist/TransakService-method-action-types.mjs +6 -0
  29. package/dist/TransakService-method-action-types.mjs.map +1 -0
  30. package/dist/TransakService.cjs +588 -0
  31. package/dist/TransakService.cjs.map +1 -0
  32. package/dist/TransakService.d.cts +329 -0
  33. package/dist/TransakService.d.cts.map +1 -0
  34. package/dist/TransakService.d.mts +329 -0
  35. package/dist/TransakService.d.mts.map +1 -0
  36. package/dist/TransakService.mjs +582 -0
  37. package/dist/TransakService.mjs.map +1 -0
  38. package/dist/index.cjs +6 -1
  39. package/dist/index.cjs.map +1 -1
  40. package/dist/index.d.cts +4 -1
  41. package/dist/index.d.cts.map +1 -1
  42. package/dist/index.d.mts +4 -1
  43. package/dist/index.d.mts.map +1 -1
  44. package/dist/index.mjs +1 -0
  45. package/dist/index.mjs.map +1 -1
  46. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [8.1.0]
11
+
12
+ ### Added
13
+
14
+ - Add `widgetUrl` resource state that automatically fetches and stores the buy widget URL whenever the selected quote changes ([#7920](https://github.com/MetaMask/core/pull/7920))
15
+ - Add `TransakService` for native Transak deposit flow with OTP auth, KYC, quoting, order lifecycle, and payment widget URL generation ([#7922](https://github.com/MetaMask/core/pull/7922))
16
+ - Add `nativeProviders.transak` state slice and controller convenience methods for driving the Transak native deposit flow ([#7922](https://github.com/MetaMask/core/pull/7922))
17
+
18
+ ### Changed
19
+
20
+ - Refactor: Consolidate reset logic with a shared resetResource helper and fix abort handling for dependent resources ([#7818](https://github.com/MetaMask/core/pull/7818))
21
+
10
22
  ## [8.0.0]
11
23
 
12
24
  ### Changed
@@ -141,7 +153,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
141
153
  - Add `OnRampService` for interacting with the OnRamp API
142
154
  - Add geolocation detection via IP address lookup
143
155
 
144
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/ramps-controller@8.0.0...HEAD
156
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/ramps-controller@8.1.0...HEAD
157
+ [8.1.0]: https://github.com/MetaMask/core/compare/@metamask/ramps-controller@8.0.0...@metamask/ramps-controller@8.1.0
145
158
  [8.0.0]: https://github.com/MetaMask/core/compare/@metamask/ramps-controller@7.1.0...@metamask/ramps-controller@8.0.0
146
159
  [7.1.0]: https://github.com/MetaMask/core/compare/@metamask/ramps-controller@7.0.0...@metamask/ramps-controller@7.1.0
147
160
  [7.0.0]: https://github.com/MetaMask/core/compare/@metamask/ramps-controller@6.0.0...@metamask/ramps-controller@7.0.0