@atlaskit/rovo-triggers 2.15.0 → 2.16.0

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
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/rovo-triggers
2
2
 
3
+ ## 2.16.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#170731](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/170731)
8
+ [`8d3ba2716ca4a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8d3ba2716ca4a) -
9
+ add get/set AI Feature Context
10
+
3
11
  ## 2.15.0
4
12
 
5
13
  ### Minor Changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1 @@
1
+ "use strict";
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1 @@
1
+ export type { ChatContextState, ChatContextPayload } from './types';
@@ -0,0 +1,7 @@
1
+ export type ChatContextState = {
2
+ [contextKey: string]: unknown;
3
+ };
4
+ export type ChatContextPayload = {
5
+ contextKey: string;
6
+ context: <T>(chatContext: T) => T;
7
+ };
@@ -3,3 +3,4 @@ export type { Payload, Callback, Topic, WorkflowContextPayloadData, EditorContex
3
3
  export { getRovoParams, updatePageRovoParams, addRovoParamsToUrl, assertOnlySpecificFieldsDefined, encodeRovoParams, getListOfRovoParams, } from './common/utils/params';
4
4
  export type { RovoChatParams, RovoChatPathway } from './common/utils/params/types';
5
5
  export { useRovoPostMessageToPubsub, RovoPostMessagePubsubListener, } from './common/utils/post-message-to-pubsub';
6
+ export type { ChatContextState, ChatContextPayload } from './common/utils/chat-context';
@@ -0,0 +1 @@
1
+ export type { ChatContextState, ChatContextPayload } from './types';
@@ -0,0 +1,7 @@
1
+ export type ChatContextState = {
2
+ [contextKey: string]: unknown;
3
+ };
4
+ export type ChatContextPayload = {
5
+ contextKey: string;
6
+ context: <T>(chatContext: T) => T;
7
+ };
@@ -3,3 +3,4 @@ export type { Payload, Callback, Topic, WorkflowContextPayloadData, EditorContex
3
3
  export { getRovoParams, updatePageRovoParams, addRovoParamsToUrl, assertOnlySpecificFieldsDefined, encodeRovoParams, getListOfRovoParams, } from './common/utils/params';
4
4
  export type { RovoChatParams, RovoChatPathway } from './common/utils/params/types';
5
5
  export { useRovoPostMessageToPubsub, RovoPostMessagePubsubListener, } from './common/utils/post-message-to-pubsub';
6
+ export type { ChatContextState, ChatContextPayload } from './common/utils/chat-context';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "2.15.0",
3
+ "version": "2.16.0",
4
4
  "description": "Provides various trigger events to drive Rovo Chat functionality, such as a publish-subscribe and URL parameter hooks",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {