@automattic/jetpack-connection 1.4.8 → 1.4.9
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 +5 -0
- package/README.md +1 -1
- package/package.json +1 -1
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.4.9] - 2025-09-15
|
|
6
|
+
### Changed
|
|
7
|
+
- Internal updates.
|
|
8
|
+
|
|
5
9
|
## [1.4.8] - 2025-09-08
|
|
6
10
|
### Changed
|
|
7
11
|
- Update package dependencies. [#45027] [#45097]
|
|
@@ -1162,6 +1166,7 @@
|
|
|
1162
1166
|
- `Main` and `ConnectUser` components added.
|
|
1163
1167
|
- `JetpackRestApiClient` API client added.
|
|
1164
1168
|
|
|
1169
|
+
[1.4.9]: https://github.com/Automattic/jetpack-connection-js/compare/v1.4.8...v1.4.9
|
|
1165
1170
|
[1.4.8]: https://github.com/Automattic/jetpack-connection-js/compare/v1.4.7...v1.4.8
|
|
1166
1171
|
[1.4.7]: https://github.com/Automattic/jetpack-connection-js/compare/v1.4.6...v1.4.7
|
|
1167
1172
|
[1.4.6]: https://github.com/Automattic/jetpack-connection-js/compare/v1.4.5...v1.4.6
|
package/README.md
CHANGED
|
@@ -176,7 +176,7 @@ If an error occurs while trying to disconnect, a custmomizable error message wil
|
|
|
176
176
|
- *errorMessage* - string, error message to display when an error occurs while disconnecting. Defaults to: "Failed to disconnect. Please try again."
|
|
177
177
|
|
|
178
178
|
### Important Notes
|
|
179
|
-
It's important to note that the `onDisconnected` callback will not immediately trigger upon receiving a
|
|
179
|
+
It's important to note that the `onDisconnected` callback will not immediately trigger upon receiving a successful API response. This happens because we want to display a success message to the user first within the `DisconnectDialog`.
|
|
180
180
|
If a parent consumer for example, were to update their connection status using this event, the `DisconnectDialog` would be hidden before showing the success message to the user.
|
|
181
181
|
Because we made this design decision, and to ensure a non-breaking UX, the `Modal` (see `wordpress/components/modal`) used by the `DisconnectDialog` will not close (as usual) using either ESC key or clicking outside of the Dialog.
|
|
182
182
|
This way we ensure that `onDisconnected` will always be called via clicking the "Return to WordPress" button, after successfully disconnecting the site.
|
package/package.json
CHANGED