@atlaskit/rovo-triggers 2.9.0 → 2.10.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.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#136531](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/136531)
8
+ [`bf09e88468d38`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bf09e88468d38) -
9
+ Allow New Chat Payload to support ADF prompts.
10
+
3
11
  ## 2.9.0
4
12
 
5
13
  ### Minor Changes
@@ -1,3 +1,4 @@
1
+ import type { DocNode } from '@atlaskit/adf-schema';
1
2
  export declare const Topics: {
2
3
  readonly AI_MATE: "ai-mate";
3
4
  };
@@ -26,7 +27,7 @@ export type ChatNewPayload = PayloadCore<'chat-new', {
26
27
  mimeType?: 'text/markdown' | 'text/adf';
27
28
  };
28
29
  }>;
29
- prompt?: string;
30
+ prompt?: string | DocNode;
30
31
  sourceId?: string;
31
32
  agentId?: string;
32
33
  }>;
@@ -1,3 +1,4 @@
1
+ import type { DocNode } from '@atlaskit/adf-schema';
1
2
  export declare const Topics: {
2
3
  readonly AI_MATE: "ai-mate";
3
4
  };
@@ -26,7 +27,7 @@ export type ChatNewPayload = PayloadCore<'chat-new', {
26
27
  mimeType?: 'text/markdown' | 'text/adf';
27
28
  };
28
29
  }>;
29
- prompt?: string;
30
+ prompt?: string | DocNode;
30
31
  sourceId?: string;
31
32
  agentId?: string;
32
33
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "2.9.0",
3
+ "version": "2.10.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": {
@@ -32,6 +32,7 @@
32
32
  ".": "./src/index.ts"
33
33
  },
34
34
  "dependencies": {
35
+ "@atlaskit/adf-schema": "^47.6.0",
35
36
  "@babel/runtime": "^7.0.0",
36
37
  "bind-event-listener": "^3.0.0"
37
38
  },
@@ -42,7 +43,7 @@
42
43
  "@af/integration-testing": "^0.5.0",
43
44
  "@af/visual-regression": "^1.3.0",
44
45
  "@atlaskit/css": "^0.10.0",
45
- "@atlaskit/primitives": "^14.2.0",
46
+ "@atlaskit/primitives": "^14.3.0",
46
47
  "@atlaskit/ssr": "^0.4.0",
47
48
  "@atlaskit/visual-regression": "^0.10.0",
48
49
  "@atlassian/feature-flags-test-utils": "^0.3.0",