@atlaskit/editor-plugin-engagement-platform 10.0.0 → 12.0.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 +12 -0
- package/dist/types/engagementPlatformPluginType.d.ts +4 -5
- package/dist/types/pm-plugins/engagementPlatformPmPlugin/types.d.ts +2 -2
- package/dist/types-ts4.5/engagementPlatformPluginType.d.ts +4 -5
- package/dist/types-ts4.5/pm-plugins/engagementPlatformPmPlugin/types.d.ts +2 -2
- package/package.json +7 -3
package/CHANGELOG.md
CHANGED
|
@@ -34,8 +34,7 @@ export type EngagementPlatformPlugin = NextEditorPlugin<'engagementPlatform', {
|
|
|
34
34
|
/**
|
|
35
35
|
* Engagement Platform coordination client.
|
|
36
36
|
*
|
|
37
|
-
*
|
|
38
|
-
* from the `@atlassiansox/engagekit-ts` package.
|
|
37
|
+
* Product implementations should satisfy this interface.
|
|
39
38
|
*/
|
|
40
39
|
export interface CoordinationClient {
|
|
41
40
|
start(messageId: string, variationId?: string): Promise<boolean>;
|
|
@@ -54,11 +53,11 @@ export type EngagementPlatformPluginOptions = {
|
|
|
54
53
|
* - `getMessageActivities`
|
|
55
54
|
* - `isMessageActive`
|
|
56
55
|
*
|
|
57
|
-
*
|
|
56
|
+
* Product packages provide this client implementation.
|
|
58
57
|
*/
|
|
59
58
|
coordinationClient: CoordinationClient;
|
|
60
|
-
epComponents
|
|
61
|
-
epHooks
|
|
59
|
+
epComponents?: EpComponents;
|
|
60
|
+
epHooks?: EpHooks;
|
|
62
61
|
};
|
|
63
62
|
/**
|
|
64
63
|
* @private
|
|
@@ -2,8 +2,8 @@ import type { CoordinationClient, EpComponents, EpHooks } from '../../engagement
|
|
|
2
2
|
export interface EngagementPlatformPmPluginState {
|
|
3
3
|
/** Engagement Platform coordination client */
|
|
4
4
|
coordinationClient: CoordinationClient;
|
|
5
|
-
epComponents
|
|
6
|
-
epHooks
|
|
5
|
+
epComponents?: EpComponents;
|
|
6
|
+
epHooks?: EpHooks;
|
|
7
7
|
/**
|
|
8
8
|
* State of Engagement Platform messages in the Editor.
|
|
9
9
|
*
|
|
@@ -36,8 +36,7 @@ export type EngagementPlatformPlugin = NextEditorPlugin<'engagementPlatform', {
|
|
|
36
36
|
/**
|
|
37
37
|
* Engagement Platform coordination client.
|
|
38
38
|
*
|
|
39
|
-
*
|
|
40
|
-
* from the `@atlassiansox/engagekit-ts` package.
|
|
39
|
+
* Product implementations should satisfy this interface.
|
|
41
40
|
*/
|
|
42
41
|
export interface CoordinationClient {
|
|
43
42
|
start(messageId: string, variationId?: string): Promise<boolean>;
|
|
@@ -56,11 +55,11 @@ export type EngagementPlatformPluginOptions = {
|
|
|
56
55
|
* - `getMessageActivities`
|
|
57
56
|
* - `isMessageActive`
|
|
58
57
|
*
|
|
59
|
-
*
|
|
58
|
+
* Product packages provide this client implementation.
|
|
60
59
|
*/
|
|
61
60
|
coordinationClient: CoordinationClient;
|
|
62
|
-
epComponents
|
|
63
|
-
epHooks
|
|
61
|
+
epComponents?: EpComponents;
|
|
62
|
+
epHooks?: EpHooks;
|
|
64
63
|
};
|
|
65
64
|
/**
|
|
66
65
|
* @private
|
|
@@ -2,8 +2,8 @@ import type { CoordinationClient, EpComponents, EpHooks } from '../../engagement
|
|
|
2
2
|
export interface EngagementPlatformPmPluginState {
|
|
3
3
|
/** Engagement Platform coordination client */
|
|
4
4
|
coordinationClient: CoordinationClient;
|
|
5
|
-
epComponents
|
|
6
|
-
epHooks
|
|
5
|
+
epComponents?: EpComponents;
|
|
6
|
+
epHooks?: EpHooks;
|
|
7
7
|
/**
|
|
8
8
|
* State of Engagement Platform messages in the Editor.
|
|
9
9
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-engagement-platform",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.0",
|
|
4
4
|
"description": "Engagement platform plugin for @atlaskit/editor-core“",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
32
|
+
"@atlaskit/editor-plugin-analytics": "^11.0.0",
|
|
33
33
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
34
34
|
"@babel/runtime": "^7.0.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@atlaskit/editor-common": "^
|
|
37
|
+
"@atlaskit/editor-common": "^115.0.0",
|
|
38
38
|
"react": "^18.2.0",
|
|
39
39
|
"react-dom": "^18.2.0"
|
|
40
40
|
},
|
|
@@ -70,5 +70,9 @@
|
|
|
70
70
|
"emotion"
|
|
71
71
|
]
|
|
72
72
|
}
|
|
73
|
+
},
|
|
74
|
+
"devDependencies": {
|
|
75
|
+
"react": "^18.2.0",
|
|
76
|
+
"react-dom": "^18.2.0"
|
|
73
77
|
}
|
|
74
78
|
}
|