@automattic/jetpack-connection 0.34.0 → 0.34.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,10 @@
2
2
 
3
3
  ### This is a list detailing changes for the Jetpack RNA Connection Component releases.
4
4
 
5
+ ## [0.34.1] - 2024-07-22
6
+ ### Added
7
+ - Display the proper error message for suspended sites on site registration. [#38359]
8
+
5
9
  ## [0.34.0] - 2024-07-18
6
10
  ### Changed
7
11
  - Connection Screen: remove mention of Stats from the list of available free features. [#38328]
@@ -801,6 +805,7 @@
801
805
  - `Main` and `ConnectUser` components added.
802
806
  - `JetpackRestApiClient` API client added.
803
807
 
808
+ [0.34.1]: https://github.com/Automattic/jetpack-connection-js/compare/v0.34.0...v0.34.1
804
809
  [0.34.0]: https://github.com/Automattic/jetpack-connection-js/compare/v0.33.19...v0.34.0
805
810
  [0.33.19]: https://github.com/Automattic/jetpack-connection-js/compare/v0.33.18...v0.33.19
806
811
  [0.33.18]: https://github.com/Automattic/jetpack-connection-js/compare/v0.33.17...v0.33.18
@@ -48,6 +48,8 @@ const getErrorMessage = ( errorCode, isOfflineMode ) => {
48
48
  'Your site host is on a private network. Jetpack can only connect to public sites.',
49
49
  'jetpack'
50
50
  );
51
+ case 'connection_disabled':
52
+ return __( 'This site has been suspended.', 'jetpack' );
51
53
  }
52
54
 
53
55
  if ( isOfflineMode ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-connection",
3
- "version": "0.34.0",
3
+ "version": "0.34.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,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.54.4",
19
+ "@automattic/jetpack-components": "^0.55.0",
20
20
  "@automattic/jetpack-config": "^0.1.24",
21
21
  "@wordpress/base-styles": "5.2.0",
22
22
  "@wordpress/browserslist-config": "6.2.0",