@automattic/jetpack-connection 1.1.0 → 1.2.1
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,14 @@
|
|
|
2
2
|
|
|
3
3
|
### This is a list detailing changes for the Jetpack RNA Connection Component releases.
|
|
4
4
|
|
|
5
|
+
## [1.2.1] - 2025-06-10
|
|
6
|
+
### Changed
|
|
7
|
+
- Update dependencies.
|
|
8
|
+
|
|
9
|
+
## [1.2.0] - 2025-06-05
|
|
10
|
+
### Changed
|
|
11
|
+
- Connection: Display connection info on WoA sites. [#43777]
|
|
12
|
+
|
|
5
13
|
## [1.1.0] - 2025-06-04
|
|
6
14
|
### Added
|
|
7
15
|
- Improve error handling for protected owner on WordPress.com. [#43593]
|
|
@@ -1048,6 +1056,8 @@
|
|
|
1048
1056
|
- `Main` and `ConnectUser` components added.
|
|
1049
1057
|
- `JetpackRestApiClient` API client added.
|
|
1050
1058
|
|
|
1059
|
+
[1.2.1]: https://github.com/Automattic/jetpack-connection-js/compare/v1.2.0...v1.2.1
|
|
1060
|
+
[1.2.0]: https://github.com/Automattic/jetpack-connection-js/compare/v1.1.0...v1.2.0
|
|
1051
1061
|
[1.1.0]: https://github.com/Automattic/jetpack-connection-js/compare/v1.0.0...v1.1.0
|
|
1052
1062
|
[1.0.0]: https://github.com/Automattic/jetpack-connection-js/compare/v0.39.18...v1.0.0
|
|
1053
1063
|
[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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/jetpack-connection",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.1",
|
|
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,9 +16,9 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@automattic/jetpack-analytics": "^1.0.0",
|
|
18
18
|
"@automattic/jetpack-api": "^1.0.0",
|
|
19
|
-
"@automattic/jetpack-components": "^1.1.
|
|
19
|
+
"@automattic/jetpack-components": "^1.1.1",
|
|
20
20
|
"@automattic/jetpack-config": "^1.0.0",
|
|
21
|
-
"@automattic/jetpack-script-data": "^0.4.
|
|
21
|
+
"@automattic/jetpack-script-data": "^0.4.3",
|
|
22
22
|
"@wordpress/base-styles": "6.0.0",
|
|
23
23
|
"@wordpress/browserslist-config": "6.24.0",
|
|
24
24
|
"@wordpress/components": "29.10.0",
|