@automattic/jetpack-connection 1.1.0 → 1.2.0
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,10 @@
|
|
|
2
2
|
|
|
3
3
|
### This is a list detailing changes for the Jetpack RNA Connection Component releases.
|
|
4
4
|
|
|
5
|
+
## [1.2.0] - 2025-06-05
|
|
6
|
+
### Changed
|
|
7
|
+
- Connection: Display connection info on WoA sites [#43777]
|
|
8
|
+
|
|
5
9
|
## [1.1.0] - 2025-06-04
|
|
6
10
|
### Added
|
|
7
11
|
- Improve error handling for protected owner on WordPress.com. [#43593]
|
|
@@ -1048,6 +1052,7 @@
|
|
|
1048
1052
|
- `Main` and `ConnectUser` components added.
|
|
1049
1053
|
- `JetpackRestApiClient` API client added.
|
|
1050
1054
|
|
|
1055
|
+
[1.2.0]: https://github.com/Automattic/jetpack-connection-js/compare/v1.1.0...v1.2.0
|
|
1051
1056
|
[1.1.0]: https://github.com/Automattic/jetpack-connection-js/compare/v1.0.0...v1.1.0
|
|
1052
1057
|
[1.0.0]: https://github.com/Automattic/jetpack-connection-js/compare/v0.39.18...v1.0.0
|
|
1053
1058
|
[0.39.18]: https://github.com/Automattic/jetpack-connection-js/compare/v0.39.17...v0.39.18
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import jetpackAnalytics from '@automattic/jetpack-analytics';
|
|
5
5
|
import restApi from '@automattic/jetpack-api';
|
|
6
6
|
import { Button, getRedirectUrl, Text } from '@automattic/jetpack-components';
|
|
7
|
+
import { isWoASite } from '@automattic/jetpack-script-data';
|
|
7
8
|
import { ExternalLink, Modal } from '@wordpress/components';
|
|
8
9
|
import { createInterpolateElement } from '@wordpress/element';
|
|
9
10
|
import { __ } from '@wordpress/i18n';
|
|
@@ -204,7 +205,7 @@ const ManageConnectionDialog = props => {
|
|
|
204
205
|
/>
|
|
205
206
|
</>
|
|
206
207
|
) }
|
|
207
|
-
{ isCurrentUserAdmin && (
|
|
208
|
+
{ isCurrentUserAdmin && ! isWoASite() && (
|
|
208
209
|
<ManageConnectionActionCard
|
|
209
210
|
title={ __( 'Disconnect Jetpack', 'jetpack-connection-js' ) }
|
|
210
211
|
onClick={ openDisconnectDialog }
|
package/package.json
CHANGED