@automattic/jetpack-connection 1.4.51 → 1.4.53
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,16 @@
|
|
|
2
2
|
|
|
3
3
|
### This is a list detailing changes for the Jetpack RNA Connection Component releases.
|
|
4
4
|
|
|
5
|
+
## [1.4.53] - 2026-05-25
|
|
6
|
+
### Added
|
|
7
|
+
- Add direct `useProductCheckoutWorkflow` hook export. [#49032]
|
|
8
|
+
- Expose the `useConnectionErrorNotice` hook and `ConnectionError` component via a dedicated sub-path so consumers can opt out of the full package barrel. [#48829]
|
|
9
|
+
|
|
10
|
+
## [1.4.52] - 2026-05-21
|
|
11
|
+
### Changed
|
|
12
|
+
- Update package dependencies. [#48405]
|
|
13
|
+
- Update package dependencies. [#49012]
|
|
14
|
+
|
|
5
15
|
## [1.4.51] - 2026-05-19
|
|
6
16
|
### Changed
|
|
7
17
|
- Internal updates.
|
|
@@ -1342,6 +1352,8 @@
|
|
|
1342
1352
|
- `Main` and `ConnectUser` components added.
|
|
1343
1353
|
- `JetpackRestApiClient` API client added.
|
|
1344
1354
|
|
|
1355
|
+
[1.4.53]: https://github.com/Automattic/jetpack-connection-js/compare/v1.4.52...v1.4.53
|
|
1356
|
+
[1.4.52]: https://github.com/Automattic/jetpack-connection-js/compare/v1.4.51...v1.4.52
|
|
1345
1357
|
[1.4.51]: https://github.com/Automattic/jetpack-connection-js/compare/v1.4.50...v1.4.51
|
|
1346
1358
|
[1.4.50]: https://github.com/Automattic/jetpack-connection-js/compare/v1.4.49...v1.4.50
|
|
1347
1359
|
[1.4.49]: https://github.com/Automattic/jetpack-connection-js/compare/v1.4.48...v1.4.49
|
|
@@ -3,8 +3,8 @@ import { getScriptData } from '@automattic/jetpack-script-data';
|
|
|
3
3
|
import { useDispatch, useSelect } from '@wordpress/data';
|
|
4
4
|
import debugFactory from 'debug';
|
|
5
5
|
import { useEffect, useState, useMemo } from 'react';
|
|
6
|
-
import { getCalypsoOrigin } from '@automattic/jetpack-connection';
|
|
7
6
|
import useConnection from '../../components/use-connection';
|
|
7
|
+
import getCalypsoOrigin from '../../helpers/get-calypso-origin';
|
|
8
8
|
import { STORE_ID } from '../../state/store.jsx';
|
|
9
9
|
import type { UseProductCheckoutWorkflowProps } from './types';
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/jetpack-connection",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.53",
|
|
4
4
|
"description": "Jetpack Connection Component",
|
|
5
5
|
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/connection/#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -20,7 +20,9 @@
|
|
|
20
20
|
"type": "module",
|
|
21
21
|
"exports": {
|
|
22
22
|
".": "./index.jsx",
|
|
23
|
-
"./use-
|
|
23
|
+
"./hooks/use-product-checkout-workflow": "./hooks/use-product-checkout-workflow/index.tsx",
|
|
24
|
+
"./use-connection": "./components/use-connection/index.ts",
|
|
25
|
+
"./use-connection-error-notice": "./hooks/use-connection-error-notice/index.tsx"
|
|
24
26
|
},
|
|
25
27
|
"scripts": {
|
|
26
28
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
|
|
@@ -28,26 +30,26 @@
|
|
|
28
30
|
"typecheck": "tsgo --noEmit"
|
|
29
31
|
},
|
|
30
32
|
"dependencies": {
|
|
31
|
-
"@automattic/jetpack-analytics": "^1.0.
|
|
32
|
-
"@automattic/jetpack-api": "^1.0.
|
|
33
|
-
"@automattic/jetpack-components": "^1.
|
|
34
|
-
"@automattic/jetpack-config": "^1.0.
|
|
33
|
+
"@automattic/jetpack-analytics": "^1.0.13",
|
|
34
|
+
"@automattic/jetpack-api": "^1.0.26",
|
|
35
|
+
"@automattic/jetpack-components": "^1.12.0",
|
|
36
|
+
"@automattic/jetpack-config": "^1.0.11",
|
|
35
37
|
"@automattic/jetpack-script-data": "^0.6.4",
|
|
36
|
-
"@wordpress/base-styles": "
|
|
37
|
-
"@wordpress/browserslist-config": "6.
|
|
38
|
-
"@wordpress/components": "
|
|
39
|
-
"@wordpress/data": "10.
|
|
40
|
-
"@wordpress/element": "6.
|
|
41
|
-
"@wordpress/i18n": "6.
|
|
38
|
+
"@wordpress/base-styles": "8.0.0",
|
|
39
|
+
"@wordpress/browserslist-config": "6.46.0",
|
|
40
|
+
"@wordpress/components": "33.1.0",
|
|
41
|
+
"@wordpress/data": "10.46.0",
|
|
42
|
+
"@wordpress/element": "6.46.0",
|
|
43
|
+
"@wordpress/i18n": "6.19.0",
|
|
42
44
|
"@wordpress/icons": "12.2.0",
|
|
43
45
|
"@wordpress/ui": "0.11.0",
|
|
44
|
-
"@wordpress/url": "4.
|
|
46
|
+
"@wordpress/url": "4.46.0",
|
|
45
47
|
"clsx": "2.1.1",
|
|
46
48
|
"debug": "4.4.3",
|
|
47
49
|
"prop-types": "^15.7.2"
|
|
48
50
|
},
|
|
49
51
|
"devDependencies": {
|
|
50
|
-
"@automattic/jetpack-base-styles": "^1.2.
|
|
52
|
+
"@automattic/jetpack-base-styles": "^1.2.4",
|
|
51
53
|
"@babel/core": "7.29.0",
|
|
52
54
|
"@babel/preset-react": "7.28.5",
|
|
53
55
|
"@testing-library/dom": "10.4.1",
|
|
@@ -55,7 +57,7 @@
|
|
|
55
57
|
"@testing-library/user-event": "14.6.1",
|
|
56
58
|
"@types/react": "18.3.28",
|
|
57
59
|
"@typescript/native-preview": "7.0.0-dev.20260225.1",
|
|
58
|
-
"jest": "30.
|
|
60
|
+
"jest": "30.4.2",
|
|
59
61
|
"react": "18.3.1",
|
|
60
62
|
"react-dom": "18.3.1",
|
|
61
63
|
"storybook": "10.3.6"
|