@automattic/jetpack-shared-extension-utils 0.15.19 → 0.15.20
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
|
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.15.20] - 2024-12-02
|
|
9
|
+
### Fixed
|
|
10
|
+
- Fix wrong output type on use-module-status hook. [#40364]
|
|
11
|
+
|
|
8
12
|
## [0.15.19] - 2024-11-26
|
|
9
13
|
### Changed
|
|
10
14
|
- Update dependencies. [#40231]
|
|
@@ -494,6 +498,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
494
498
|
### Changed
|
|
495
499
|
- Core: prepare utility for release
|
|
496
500
|
|
|
501
|
+
[0.15.20]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.19...0.15.20
|
|
497
502
|
[0.15.19]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.18...0.15.19
|
|
498
503
|
[0.15.18]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.17...0.15.18
|
|
499
504
|
[0.15.17]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.16...0.15.17
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/jetpack-shared-extension-utils",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.20",
|
|
4
4
|
"description": "Utility functions used by the block editor extensions",
|
|
5
5
|
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/shared-extension-utils/#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -6,7 +6,7 @@ import { JETPACK_MODULES_STORE_ID } from '../../modules-state';
|
|
|
6
6
|
* Manage a Jetpack module's status (get and set).
|
|
7
7
|
*
|
|
8
8
|
* @param {string} name - The module's name.
|
|
9
|
-
* @return {
|
|
9
|
+
* @return {object} Module status/control object.
|
|
10
10
|
*/
|
|
11
11
|
const useModuleStatus = name => {
|
|
12
12
|
const { isModuleActive, isChangingStatus, isLoadingModules } = useSelect(
|