@automattic/jetpack-shared-extension-utils 0.15.18 → 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,14 @@ 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
+
12
+ ## [0.15.19] - 2024-11-26
13
+ ### Changed
14
+ - Update dependencies. [#40231]
15
+
8
16
  ## [0.15.18] - 2024-11-25
9
17
  ### Changed
10
18
  - Updated package dependencies. [#40288]
@@ -490,6 +498,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
490
498
  ### Changed
491
499
  - Core: prepare utility for release
492
500
 
501
+ [0.15.20]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.19...0.15.20
502
+ [0.15.19]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.18...0.15.19
493
503
  [0.15.18]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.17...0.15.18
494
504
  [0.15.17]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.16...0.15.17
495
505
  [0.15.16]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.15...0.15.16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-shared-extension-utils",
3
- "version": "0.15.18",
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": {
@@ -19,8 +19,8 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@automattic/jetpack-analytics": "^0.1.33",
22
- "@automattic/jetpack-components": "^0.62.0",
23
- "@automattic/jetpack-connection": "^0.35.19",
22
+ "@automattic/jetpack-components": "^0.63.0",
23
+ "@automattic/jetpack-connection": "^0.35.20",
24
24
  "@wordpress/api-fetch": "7.12.0",
25
25
  "@wordpress/compose": "7.12.0",
26
26
  "@wordpress/data": "10.12.0",
@@ -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 {boolean} Whether the module is active.
9
+ * @return {object} Module status/control object.
10
10
  */
11
11
  const useModuleStatus = name => {
12
12
  const { isModuleActive, isChangingStatus, isLoadingModules } = useSelect(