@automattic/jetpack-ai-client 0.1.9 → 0.1.11

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,14 @@ 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.1.11] - 2023-10-10
9
+ ### Changed
10
+ - Updated package dependencies. [#33428]
11
+
12
+ ## [0.1.10] - 2023-09-28
13
+ ### Added
14
+ - AI Client: Add keyboard shortcut text next to Stop action [#33271]
15
+
8
16
  ## [0.1.9] - 2023-09-25
9
17
  ### Added
10
18
  - Export GuidelineMessage for use in other blocks. [#33180]
@@ -132,6 +140,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
132
140
  - Updated package dependencies. [#31659]
133
141
  - Updated package dependencies. [#31785]
134
142
 
143
+ [0.1.11]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.10...v0.1.11
144
+ [0.1.10]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.9...v0.1.10
135
145
  [0.1.9]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.8...v0.1.9
136
146
  [0.1.8]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.7...v0.1.8
137
147
  [0.1.7]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.6...v0.1.7
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@automattic/jetpack-ai-client",
4
- "version": "0.1.9",
4
+ "version": "0.1.11",
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": {
@@ -32,18 +32,18 @@
32
32
  ".": "./index.ts"
33
33
  },
34
34
  "dependencies": {
35
- "@automattic/jetpack-base-styles": "^0.6.9",
36
- "@automattic/jetpack-connection": "^0.30.0",
37
- "@automattic/jetpack-shared-extension-utils": "^0.12.0",
35
+ "@automattic/jetpack-base-styles": "^0.6.10",
36
+ "@automattic/jetpack-connection": "^0.30.1",
37
+ "@automattic/jetpack-shared-extension-utils": "^0.12.1",
38
38
  "@microsoft/fetch-event-source": "2.0.1",
39
- "@wordpress/api-fetch": "6.38.0",
40
- "@wordpress/block-editor": "12.9.0",
41
- "@wordpress/components": "25.7.0",
42
- "@wordpress/compose": "6.18.0",
43
- "@wordpress/data": "9.11.0",
44
- "@wordpress/element": "5.18.0",
45
- "@wordpress/i18n": "4.41.0",
46
- "@wordpress/icons": "9.32.0",
39
+ "@wordpress/api-fetch": "6.40.0",
40
+ "@wordpress/block-editor": "12.11.0",
41
+ "@wordpress/components": "25.9.0",
42
+ "@wordpress/compose": "6.20.0",
43
+ "@wordpress/data": "9.13.0",
44
+ "@wordpress/element": "5.20.0",
45
+ "@wordpress/i18n": "4.43.0",
46
+ "@wordpress/icons": "9.34.0",
47
47
  "classnames": "2.3.2",
48
48
  "debug": "4.3.4",
49
49
  "react": "18.2.0",
@@ -143,7 +143,7 @@ export function AIControl(
143
143
  { ! loading ? (
144
144
  <Button
145
145
  className={ actionButtonClasses }
146
- onClick={ () => onSend( value ) }
146
+ onClick={ () => onSend?.( value ) }
147
147
  isSmall={ true }
148
148
  disabled={ ! value?.length || disabled }
149
149
  label={ __( 'Send request', 'jetpack-ai-client' ) }
@@ -159,7 +159,7 @@ export function AIControl(
159
159
  label={ __( 'Stop request', 'jetpack-ai-client' ) }
160
160
  >
161
161
  <Icon icon={ closeSmall } />
162
- { showButtonLabels && __( 'Stop', 'jetpack-ai-client' ) }
162
+ { showButtonLabels && __( 'Stop (ESC)', 'jetpack-ai-client' ) }
163
163
  </Button>
164
164
  ) }
165
165
  </div>