@metamask-previews/subscription-controller 2.0.0-preview-ab0ad568 → 2.1.0-preview-0458fe94
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
CHANGED
|
@@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
11
11
|
|
|
12
12
|
- **BREAKING:** Use new `Messenger` from `@metamask/messenger` ([#6444](https://github.com/MetaMask/core/pull/6444))
|
|
13
13
|
- Previously, `SubscriptionController` accepted a `RestrictedMessenger` instance from `@metamask/base-controller`.
|
|
14
|
+
- Bump `@metamask/polling-controller` from `^14.0.1` to `^14.0.2` ([#6940](https://github.com/MetaMask/core/pull/6940))
|
|
15
|
+
|
|
16
|
+
## [2.1.0]
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
14
20
|
- Make `getCryptoApproveTransactionParams` synchronous ([#6930](https://github.com/MetaMask/core/pull/6930))
|
|
15
21
|
- Bump `@metamask/base-controller` from `^8.4.1` to `^8.4.2` ([#6917](https://github.com/MetaMask/core/pull/6917))
|
|
16
22
|
|
|
@@ -109,7 +115,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
109
115
|
- Bump `@metamask/controller-utils` from `^11.12.0` to `^11.14.0` ([#6620](https://github.com/MetaMask/core/pull/6620), [#6629](https://github.com/MetaMask/core/pull/6629))
|
|
110
116
|
- Bump `@metamask/utils` from `^11.4.2` to `^11.8.0` ([#6588](https://github.com/MetaMask/core/pull/6588))
|
|
111
117
|
|
|
112
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/subscription-controller@2.
|
|
118
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/subscription-controller@2.1.0...HEAD
|
|
119
|
+
[2.1.0]: https://github.com/MetaMask/core/compare/@metamask/subscription-controller@2.0.0...@metamask/subscription-controller@2.1.0
|
|
113
120
|
[2.0.0]: https://github.com/MetaMask/core/compare/@metamask/subscription-controller@1.1.0...@metamask/subscription-controller@2.0.0
|
|
114
121
|
[1.1.0]: https://github.com/MetaMask/core/compare/@metamask/subscription-controller@1.0.1...@metamask/subscription-controller@1.1.0
|
|
115
122
|
[1.0.1]: https://github.com/MetaMask/core/compare/@metamask/subscription-controller@1.0.0...@metamask/subscription-controller@1.0.1
|
|
@@ -81,8 +81,8 @@ export type SubscriptionControllerOptions = {
|
|
|
81
81
|
*/
|
|
82
82
|
export declare function getDefaultSubscriptionControllerState(): SubscriptionControllerState;
|
|
83
83
|
declare const SubscriptionController_base: (abstract new (...args: any[]) => {
|
|
84
|
-
readonly "__#
|
|
85
|
-
"__#
|
|
84
|
+
readonly "__#14@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
85
|
+
"__#14@#intervalLength": number | undefined;
|
|
86
86
|
setIntervalLength(intervalLength: number): void;
|
|
87
87
|
getIntervalLength(): number | undefined;
|
|
88
88
|
_startPolling(input: import("@metamask/utils").Json): void;
|
|
@@ -81,8 +81,8 @@ export type SubscriptionControllerOptions = {
|
|
|
81
81
|
*/
|
|
82
82
|
export declare function getDefaultSubscriptionControllerState(): SubscriptionControllerState;
|
|
83
83
|
declare const SubscriptionController_base: (abstract new (...args: any[]) => {
|
|
84
|
-
readonly "__#
|
|
85
|
-
"__#
|
|
84
|
+
readonly "__#14@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
85
|
+
"__#14@#intervalLength": number | undefined;
|
|
86
86
|
setIntervalLength(intervalLength: number): void;
|
|
87
87
|
getIntervalLength(): number | undefined;
|
|
88
88
|
_startPolling(input: import("@metamask/utils").Json): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/subscription-controller",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0-preview-0458fe94",
|
|
4
4
|
"description": "Handle user subscription",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"@metamask/base-controller": "^8.4.2",
|
|
51
51
|
"@metamask/controller-utils": "^11.14.1",
|
|
52
52
|
"@metamask/messenger": "^0.3.0",
|
|
53
|
-
"@metamask/polling-controller": "^14.0.
|
|
53
|
+
"@metamask/polling-controller": "^14.0.2",
|
|
54
54
|
"@metamask/utils": "^11.8.1"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@metamask/auto-changelog": "^3.4.4",
|
|
58
|
-
"@metamask/profile-sync-controller": "^25.1.
|
|
58
|
+
"@metamask/profile-sync-controller": "^25.1.2",
|
|
59
59
|
"@types/jest": "^27.4.1",
|
|
60
60
|
"deepmerge": "^4.2.2",
|
|
61
61
|
"jest": "^27.5.1",
|