@automattic/jetpack-shared-extension-utils 0.11.1 → 0.11.2
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,13 @@ 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.11.2] - 2023-08-21
|
|
9
|
+
### Changed
|
|
10
|
+
- Use the new method to render Connection initial state. [#32499]
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- Add a stub module to avoid the native mobile editor importing incompatible web modules. [#32468]
|
|
14
|
+
|
|
8
15
|
## [0.11.1] - 2023-08-09
|
|
9
16
|
### Changed
|
|
10
17
|
- Updated package dependencies. [#32166]
|
|
@@ -229,6 +236,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
229
236
|
### Changed
|
|
230
237
|
- Core: prepare utility for release
|
|
231
238
|
|
|
239
|
+
[0.11.2]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.11.1...0.11.2
|
|
232
240
|
[0.11.1]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.11.0...0.11.1
|
|
233
241
|
[0.11.0]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.10.9...0.11.0
|
|
234
242
|
[0.10.9]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.10.8...0.10.9
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/jetpack-shared-extension-utils",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
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": {
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"test": "jest"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@automattic/jetpack-analytics": "
|
|
20
|
+
"@automattic/jetpack-analytics": "^0.1.26",
|
|
21
21
|
"@automattic/jetpack-components": "^0.41.1",
|
|
22
|
-
"@automattic/jetpack-connection": "
|
|
22
|
+
"@automattic/jetpack-connection": "^0.29.8",
|
|
23
23
|
"@wordpress/api-fetch": "6.35.0",
|
|
24
24
|
"@wordpress/compose": "6.15.0",
|
|
25
25
|
"@wordpress/element": "5.15.0",
|
package/src/hooks/readme.md
CHANGED
|
@@ -7,7 +7,7 @@ This library is only useful when the logged in user is connected to WordPress.co
|
|
|
7
7
|
```php
|
|
8
8
|
use Automattic\Jetpack\Connection\Initial_State as Connection_Initial_State;
|
|
9
9
|
// Adds Connection package initial state.
|
|
10
|
-
|
|
10
|
+
Connection_Initial_State::render_script( 'your-app-script-handle-in-editor' );
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
Adding Tracks related class and including the check function in your admin ui page:
|