@atlaskit/rovo-triggers 3.10.0 → 3.12.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,21 @@
1
1
  # @atlaskit/rovo-triggers
2
2
 
3
+ ## 3.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`e874c628413f8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e874c628413f8) -
8
+ Adding initial support for passing minion config when sending a message
9
+
10
+ ## 3.11.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [`50df18bcd01bb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/50df18bcd01bb) -
15
+ add ability to set productKey when sending message via pubsub
16
+ - [`687c1b8fa7801`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/687c1b8fa7801) -
17
+ EDITOR-1566 bump adf-schema + update validator
18
+
3
19
  ## 3.10.0
4
20
 
5
21
  ### Minor Changes
@@ -15,6 +15,7 @@ export type PayloadCore<TKey extends string, TData = void> = {
15
15
  });
16
16
  export type MessageSendPayload = PayloadCore<'message-send', {
17
17
  prompt: string;
18
+ productKey?: string;
18
19
  }>;
19
20
  export type ChatClosePayload = PayloadCore<'chat-close', {}>;
20
21
  type TargetAgentParam = {
@@ -39,6 +40,7 @@ export type ChatNewPayload = PayloadCore<'chat-new', {
39
40
  prompt?: string | DocNode;
40
41
  contentContext?: 'staging-area' | 'global';
41
42
  sourceId?: string;
43
+ minionAlias?: string;
42
44
  } & Partial<TargetAgentParam>>;
43
45
  export type EditorContextPayloadData = {
44
46
  document: {
@@ -15,6 +15,7 @@ export type PayloadCore<TKey extends string, TData = void> = {
15
15
  });
16
16
  export type MessageSendPayload = PayloadCore<'message-send', {
17
17
  prompt: string;
18
+ productKey?: string;
18
19
  }>;
19
20
  export type ChatClosePayload = PayloadCore<'chat-close', {}>;
20
21
  type TargetAgentParam = {
@@ -39,6 +40,7 @@ export type ChatNewPayload = PayloadCore<'chat-new', {
39
40
  prompt?: string | DocNode;
40
41
  contentContext?: 'staging-area' | 'global';
41
42
  sourceId?: string;
43
+ minionAlias?: string;
42
44
  } & Partial<TargetAgentParam>>;
43
45
  export type EditorContextPayloadData = {
44
46
  document: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "3.10.0",
3
+ "version": "3.12.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": {
@@ -29,7 +29,7 @@
29
29
  ],
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
- "@atlaskit/adf-schema": "^51.1.2",
32
+ "@atlaskit/adf-schema": "^51.2.0",
33
33
  "@babel/runtime": "^7.0.0",
34
34
  "bind-event-listener": "^3.0.0"
35
35
  },
@@ -40,7 +40,7 @@
40
40
  "@af/integration-testing": "workspace:^",
41
41
  "@af/visual-regression": "workspace:^",
42
42
  "@atlaskit/css": "^0.14.0",
43
- "@atlaskit/primitives": "^14.14.0",
43
+ "@atlaskit/primitives": "^14.15.0",
44
44
  "@atlaskit/ssr": "workspace:^",
45
45
  "@atlassian/feature-flags-test-utils": "^0.3.0",
46
46
  "@testing-library/react": "^13.4.0",