@metamask-previews/connectivity-controller 0.1.0-preview-55f19615e → 0.2.0-preview-4f74a56
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.
- package/CHANGELOG.md +6 -1
- package/package.json +3 -3
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
|
+
## [0.2.0]
|
|
11
|
+
|
|
10
12
|
### Added
|
|
11
13
|
|
|
12
14
|
- Add `init` method to asynchronously fetch and set the initial connectivity status from the adapter ([#7679](https://github.com/MetaMask/core/pull/7679))
|
|
@@ -20,6 +22,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
20
22
|
- **BREAKING:** `ConnectivityAdapter.getStatus()` must now return a `Promise<ConnectivityStatus>` (async) ([#7679](https://github.com/MetaMask/core/pull/7679))
|
|
21
23
|
- Adapter implementations must update their `getStatus()` method to return a Promise
|
|
22
24
|
- This change enables asynchronous initialization of the controller via the `init()` method
|
|
25
|
+
- Bump `@metamask/base-controller` from `^9.0.0` to `^9.0.1` ([#8317](https://github.com/MetaMask/core/pull/8317))
|
|
26
|
+
- Bump `@metamask/messenger` from `^0.3.0` to `^1.0.0` ([#8317](https://github.com/MetaMask/core/pull/8317))
|
|
23
27
|
|
|
24
28
|
## [0.1.0]
|
|
25
29
|
|
|
@@ -27,5 +31,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
27
31
|
|
|
28
32
|
- Initial release ([#7623](https://github.com/MetaMask/core/pull/7623))
|
|
29
33
|
|
|
30
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/connectivity-controller@0.
|
|
34
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/connectivity-controller@0.2.0...HEAD
|
|
35
|
+
[0.2.0]: https://github.com/MetaMask/core/compare/@metamask/connectivity-controller@0.1.0...@metamask/connectivity-controller@0.2.0
|
|
31
36
|
[0.1.0]: https://github.com/MetaMask/core/releases/tag/@metamask/connectivity-controller@0.1.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/connectivity-controller",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0-preview-4f74a56",
|
|
4
4
|
"description": "ConnectivityController stores the device's internet connectivity status",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@metamask/base-controller": "^9.0.
|
|
52
|
-
"@metamask/messenger": "^0.
|
|
51
|
+
"@metamask/base-controller": "^9.0.1",
|
|
52
|
+
"@metamask/messenger": "^1.0.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@metamask/auto-changelog": "^3.4.4",
|