@automattic/jetpack-connection 0.34.1 → 0.34.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
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
### This is a list detailing changes for the Jetpack RNA Connection Component releases.
|
|
4
4
|
|
|
5
|
+
## [0.34.2] - 2024-08-09
|
|
6
|
+
### Added
|
|
7
|
+
- React 19 compatibility: Making sure useRef includes an argument. [#38765]
|
|
8
|
+
|
|
9
|
+
### Removed
|
|
10
|
+
- Tests: Removed react-test-renderer. [#38755]
|
|
11
|
+
|
|
5
12
|
## [0.34.1] - 2024-07-22
|
|
6
13
|
### Added
|
|
7
14
|
- Display the proper error message for suspended sites on site registration. [#38359]
|
|
@@ -805,6 +812,7 @@
|
|
|
805
812
|
- `Main` and `ConnectUser` components added.
|
|
806
813
|
- `JetpackRestApiClient` API client added.
|
|
807
814
|
|
|
815
|
+
[0.34.2]: https://github.com/Automattic/jetpack-connection-js/compare/v0.34.1...v0.34.2
|
|
808
816
|
[0.34.1]: https://github.com/Automattic/jetpack-connection-js/compare/v0.34.0...v0.34.1
|
|
809
817
|
[0.34.0]: https://github.com/Automattic/jetpack-connection-js/compare/v0.33.19...v0.34.0
|
|
810
818
|
[0.33.19]: https://github.com/Automattic/jetpack-connection-js/compare/v0.33.18...v0.33.19
|
|
@@ -34,8 +34,8 @@ const InPlaceConnection = props => {
|
|
|
34
34
|
} = props;
|
|
35
35
|
let { height = '300' } = props;
|
|
36
36
|
|
|
37
|
-
const iframeWrapRef = useRef();
|
|
38
|
-
const iframeRef = useRef();
|
|
37
|
+
const iframeWrapRef = useRef( undefined );
|
|
38
|
+
const iframeRef = useRef( undefined );
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
* Handles messages received from inside the iframe.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/jetpack-connection",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.2",
|
|
4
4
|
"description": "Jetpack Connection Component",
|
|
5
5
|
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/connection/#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@automattic/jetpack-analytics": "^0.1.29",
|
|
18
18
|
"@automattic/jetpack-api": "^0.17.9",
|
|
19
|
-
"@automattic/jetpack-components": "^0.55.
|
|
19
|
+
"@automattic/jetpack-components": "^0.55.6",
|
|
20
20
|
"@automattic/jetpack-config": "^0.1.24",
|
|
21
21
|
"@wordpress/base-styles": "5.2.0",
|
|
22
22
|
"@wordpress/browserslist-config": "6.2.0",
|
|
@@ -41,8 +41,7 @@
|
|
|
41
41
|
"jest": "29.7.0",
|
|
42
42
|
"jest-environment-jsdom": "29.7.0",
|
|
43
43
|
"react": "18.3.1",
|
|
44
|
-
"react-dom": "18.3.1"
|
|
45
|
-
"react-test-renderer": "18.3.1"
|
|
44
|
+
"react-dom": "18.3.1"
|
|
46
45
|
},
|
|
47
46
|
"peerDependencies": {
|
|
48
47
|
"react": "^18.0.0",
|