@automattic/jetpack-ai-client 0.24.0 → 0.24.2
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
|
@@ -5,6 +5,17 @@ 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.24.2] - 2024-11-11
|
|
9
|
+
### Changed
|
|
10
|
+
- Updated package dependencies. [#39999] [#40000]
|
|
11
|
+
|
|
12
|
+
## [0.24.1] - 2024-11-04
|
|
13
|
+
### Added
|
|
14
|
+
- Enable test coverage. [#39961]
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
- Jetpack AI: Fix for the "Generate with AI" for images text box triggering P2 keyboard shortcuts. [#39964]
|
|
18
|
+
|
|
8
19
|
## [0.24.0] - 2024-10-29
|
|
9
20
|
### Added
|
|
10
21
|
- AI Client: export image generator hook constants [#39917]
|
|
@@ -451,6 +462,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
451
462
|
- Updated package dependencies. [#31659]
|
|
452
463
|
- Updated package dependencies. [#31785]
|
|
453
464
|
|
|
465
|
+
[0.24.2]: https://github.com/Automattic/jetpack-ai-client/compare/v0.24.1...v0.24.2
|
|
466
|
+
[0.24.1]: https://github.com/Automattic/jetpack-ai-client/compare/v0.24.0...v0.24.1
|
|
454
467
|
[0.24.0]: https://github.com/Automattic/jetpack-ai-client/compare/v0.23.0...v0.24.0
|
|
455
468
|
[0.23.0]: https://github.com/Automattic/jetpack-ai-client/compare/v0.22.0...v0.23.0
|
|
456
469
|
[0.22.0]: https://github.com/Automattic/jetpack-ai-client/compare/v0.21.0...v0.22.0
|
|
@@ -46,6 +46,7 @@ export const AiModalPromptInput = ({ prompt = '', setPrompt = () => { }, disable
|
|
|
46
46
|
event.preventDefault();
|
|
47
47
|
generateHandler();
|
|
48
48
|
}
|
|
49
|
+
event.stopPropagation();
|
|
49
50
|
};
|
|
50
51
|
return (_jsxs("div", { className: "jetpack-ai-logo-generator__prompt-query", children: [_jsx("div", { role: "textbox", tabIndex: 0, ref: inputRef, contentEditable: !disabled,
|
|
51
52
|
// The content editable div is expected to be updated by the enhance prompt, so warnings are suppressed
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"private": false,
|
|
3
3
|
"name": "@automattic/jetpack-ai-client",
|
|
4
|
-
"version": "0.24.
|
|
4
|
+
"version": "0.24.2",
|
|
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",
|
|
7
7
|
"bugs": {
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"clean": "rm -rf build/",
|
|
20
20
|
"compile-ts": "tsc --pretty",
|
|
21
21
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
|
|
22
|
+
"test-coverage": "pnpm run test --coverage",
|
|
22
23
|
"watch": "tsc --watch --pretty"
|
|
23
24
|
},
|
|
24
25
|
"type": "module",
|
|
@@ -43,21 +44,21 @@
|
|
|
43
44
|
"main": "./build/index.js",
|
|
44
45
|
"types": "./build/index.d.ts",
|
|
45
46
|
"dependencies": {
|
|
46
|
-
"@automattic/jetpack-base-styles": "^0.6.
|
|
47
|
-
"@automattic/jetpack-connection": "^0.35.
|
|
48
|
-
"@automattic/jetpack-shared-extension-utils": "^0.15.
|
|
47
|
+
"@automattic/jetpack-base-styles": "^0.6.35",
|
|
48
|
+
"@automattic/jetpack-connection": "^0.35.16",
|
|
49
|
+
"@automattic/jetpack-shared-extension-utils": "^0.15.16",
|
|
49
50
|
"@microsoft/fetch-event-source": "2.0.1",
|
|
50
|
-
"@types/react": "18.3.
|
|
51
|
+
"@types/react": "18.3.12",
|
|
51
52
|
"@types/wordpress__block-editor": "11.5.15",
|
|
52
|
-
"@wordpress/api-fetch": "7.
|
|
53
|
-
"@wordpress/blob": "4.
|
|
54
|
-
"@wordpress/block-editor": "14.
|
|
55
|
-
"@wordpress/components": "28.
|
|
56
|
-
"@wordpress/compose": "7.
|
|
57
|
-
"@wordpress/data": "10.
|
|
58
|
-
"@wordpress/element": "6.
|
|
59
|
-
"@wordpress/i18n": "5.
|
|
60
|
-
"@wordpress/icons": "10.
|
|
53
|
+
"@wordpress/api-fetch": "7.11.0",
|
|
54
|
+
"@wordpress/blob": "4.11.0",
|
|
55
|
+
"@wordpress/block-editor": "14.6.0",
|
|
56
|
+
"@wordpress/components": "28.11.0",
|
|
57
|
+
"@wordpress/compose": "7.11.0",
|
|
58
|
+
"@wordpress/data": "10.11.0",
|
|
59
|
+
"@wordpress/element": "6.11.0",
|
|
60
|
+
"@wordpress/i18n": "5.11.0",
|
|
61
|
+
"@wordpress/icons": "10.11.0",
|
|
61
62
|
"clsx": "2.1.1",
|
|
62
63
|
"debug": "4.3.4",
|
|
63
64
|
"markdown-it": "14.0.0",
|