@automattic/jetpack-ai-client 0.34.21 → 0.34.23
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 +11 -0
- package/build/src/hooks/use-ai-feature/index.d.ts +4 -4
- package/package.json +19 -19
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.34.23] - 2026-06-23
|
|
9
|
+
### Changed
|
|
10
|
+
- Update dependencies. [#49821]
|
|
11
|
+
|
|
12
|
+
## [0.34.22] - 2026-06-22
|
|
13
|
+
### Changed
|
|
14
|
+
- Update dependencies. [#49641]
|
|
15
|
+
- Update package dependencies. [#49639] [#49691]
|
|
16
|
+
|
|
8
17
|
## [0.34.21] - 2026-06-15
|
|
9
18
|
### Changed
|
|
10
19
|
- Update package dependencies. [#49273]
|
|
@@ -892,6 +901,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
892
901
|
- AI Client: stop using smart document visibility handling on the fetchEventSource library, so it does not restart the completion when changing tabs. [#32004]
|
|
893
902
|
- Updated package dependencies. [#31468] [#31659] [#31785]
|
|
894
903
|
|
|
904
|
+
[0.34.23]: https://github.com/Automattic/jetpack-ai-client/compare/v0.34.22...v0.34.23
|
|
905
|
+
[0.34.22]: https://github.com/Automattic/jetpack-ai-client/compare/v0.34.21...v0.34.22
|
|
895
906
|
[0.34.21]: https://github.com/Automattic/jetpack-ai-client/compare/v0.34.20...v0.34.21
|
|
896
907
|
[0.34.20]: https://github.com/Automattic/jetpack-ai-client/compare/v0.34.19...v0.34.20
|
|
897
908
|
[0.34.19]: https://github.com/Automattic/jetpack-ai-client/compare/v0.34.18...v0.34.19
|
|
@@ -8,21 +8,21 @@ export default function useAiFeature(): {
|
|
|
8
8
|
requireUpgrade: boolean;
|
|
9
9
|
errorMessage?: string;
|
|
10
10
|
errorCode?: string;
|
|
11
|
-
upgradeType: import("@automattic/jetpack-shared-extension-utils/store/wordpress-com
|
|
12
|
-
currentTier?: import("@automattic/jetpack-shared-extension-utils/store/wordpress-com
|
|
11
|
+
upgradeType: import("@automattic/jetpack-shared-extension-utils/store/wordpress-com").UpgradeTypeProp;
|
|
12
|
+
currentTier?: import("@automattic/jetpack-shared-extension-utils/store/wordpress-com").TierProp;
|
|
13
13
|
usagePeriod?: {
|
|
14
14
|
currentStart: string;
|
|
15
15
|
nextStart: string;
|
|
16
16
|
requestsCount: number;
|
|
17
17
|
};
|
|
18
|
-
nextTier?: import("@automattic/jetpack-shared-extension-utils/store/wordpress-com
|
|
18
|
+
nextTier?: import("@automattic/jetpack-shared-extension-utils/store/wordpress-com").TierProp;
|
|
19
19
|
tierPlansEnabled?: boolean;
|
|
20
20
|
costs?: {
|
|
21
21
|
[key: string]: {
|
|
22
22
|
[key: string]: number;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
featuresControl?: import("@automattic/jetpack-shared-extension-utils/store/wordpress-com
|
|
25
|
+
featuresControl?: import("@automattic/jetpack-shared-extension-utils/store/wordpress-com").FeaturesControl;
|
|
26
26
|
requestsCount: number;
|
|
27
27
|
requestsLimit: number;
|
|
28
28
|
loading: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/jetpack-ai-client",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.23",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A JS client for consuming Jetpack AI services",
|
|
6
6
|
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/ai-client/#readme",
|
|
@@ -32,34 +32,34 @@
|
|
|
32
32
|
"watch": "tsgo --watch --pretty"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@automattic/jetpack-base-styles": "^1.2.
|
|
36
|
-
"@automattic/jetpack-components": "^1.12.
|
|
37
|
-
"@automattic/jetpack-connection": "^1.4.
|
|
35
|
+
"@automattic/jetpack-base-styles": "^1.2.7",
|
|
36
|
+
"@automattic/jetpack-components": "^1.12.10",
|
|
37
|
+
"@automattic/jetpack-connection": "^1.4.63",
|
|
38
38
|
"@automattic/jetpack-explat": "workspace:*",
|
|
39
39
|
"@automattic/jetpack-script-data": "^0.6.4",
|
|
40
|
-
"@automattic/jetpack-shared-extension-utils": "^2.0.
|
|
40
|
+
"@automattic/jetpack-shared-extension-utils": "^2.0.2",
|
|
41
41
|
"@microsoft/fetch-event-source": "2.0.1",
|
|
42
42
|
"@types/jest": "30.0.0",
|
|
43
43
|
"@types/react": "18.3.28",
|
|
44
44
|
"@types/wordpress__block-editor": "15.0.6",
|
|
45
|
-
"@wordpress/api-fetch": "7.48.
|
|
46
|
-
"@wordpress/base-styles": "
|
|
47
|
-
"@wordpress/blob": "4.48.
|
|
48
|
-
"@wordpress/block-editor": "15.21.
|
|
49
|
-
"@wordpress/blocks": "15.21.
|
|
50
|
-
"@wordpress/components": "35.0.
|
|
51
|
-
"@wordpress/compose": "8.1.
|
|
52
|
-
"@wordpress/data": "10.48.
|
|
53
|
-
"@wordpress/editor": "14.48.
|
|
54
|
-
"@wordpress/element": "8.0.
|
|
55
|
-
"@wordpress/i18n": "6.21.
|
|
45
|
+
"@wordpress/api-fetch": "7.48.1",
|
|
46
|
+
"@wordpress/base-styles": "10.0.1",
|
|
47
|
+
"@wordpress/blob": "4.48.1",
|
|
48
|
+
"@wordpress/block-editor": "15.21.1",
|
|
49
|
+
"@wordpress/blocks": "15.21.1",
|
|
50
|
+
"@wordpress/components": "35.0.1",
|
|
51
|
+
"@wordpress/compose": "8.1.1",
|
|
52
|
+
"@wordpress/data": "10.48.1",
|
|
53
|
+
"@wordpress/editor": "14.48.1",
|
|
54
|
+
"@wordpress/element": "8.0.1",
|
|
55
|
+
"@wordpress/i18n": "6.21.1",
|
|
56
56
|
"@wordpress/icons": "13.1.0",
|
|
57
|
-
"@wordpress/primitives": "4.48.
|
|
57
|
+
"@wordpress/primitives": "4.48.1",
|
|
58
58
|
"@wordpress/ui": "0.13.0",
|
|
59
|
-
"@wordpress/url": "4.48.
|
|
59
|
+
"@wordpress/url": "4.48.1",
|
|
60
60
|
"clsx": "2.1.1",
|
|
61
61
|
"debug": "4.4.3",
|
|
62
|
-
"markdown-it": "14.
|
|
62
|
+
"markdown-it": "14.2.0",
|
|
63
63
|
"react": "18.3.1",
|
|
64
64
|
"react-dom": "18.3.1",
|
|
65
65
|
"turndown": "7.1.2"
|