@twilio/create-flex-plugin 5.1.1 → 5.1.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twilio/create-flex-plugin",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.2",
|
|
4
4
|
"description": "Toolkit to create a new Twilio Flex plugin",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flex",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"test:watch": "cd ../.. && jest packages/create-flex-plugin --watch --color"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@twilio/flex-dev-utils": "5.1.
|
|
45
|
+
"@twilio/flex-dev-utils": "5.1.2",
|
|
46
46
|
"esm": "^3.2.25",
|
|
47
47
|
"tmp": "^0.2.1",
|
|
48
48
|
"yargs": "^16.2.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@twilio/flex-plugin": "5.1.
|
|
52
|
-
"@twilio/flex-plugin-scripts": "5.1.
|
|
51
|
+
"@twilio/flex-plugin": "5.1.2",
|
|
52
|
+
"@twilio/flex-plugin-scripts": "5.1.2",
|
|
53
53
|
"@twilio/flex-ui": "^1",
|
|
54
54
|
"@types/tmp": "^0.2.1",
|
|
55
55
|
"@types/yargs": "^16.0.4"
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "bac0ee77cdd20c77b4009a1a049ae7f0614a885f"
|
|
61
61
|
}
|
|
@@ -16,7 +16,7 @@ export default class {{pluginClassName}} extends FlexPlugin {
|
|
|
16
16
|
*
|
|
17
17
|
* @param flex { typeof import('@twilio/flex-ui') }
|
|
18
18
|
*/
|
|
19
|
-
async init(flex) {
|
|
19
|
+
async init(flex, manager) {
|
|
20
20
|
const options = { sortOrder: -1 };
|
|
21
21
|
flex.AgentDesktopView.Panel1.Content.add(<CustomTaskList key="{{pluginClassName}}-component" />, options);
|
|
22
22
|
}
|
|
@@ -17,7 +17,7 @@ export default class {{pluginClassName}} extends FlexPlugin {
|
|
|
17
17
|
*
|
|
18
18
|
* @param flex { typeof Flex }
|
|
19
19
|
*/
|
|
20
|
-
async init(flex: typeof Flex): Promise<void> {
|
|
20
|
+
async init(flex: typeof Flex, manager: Flex.Manager): Promise<void> {
|
|
21
21
|
const options: Flex.ContentFragmentProps = { sortOrder: -1 };
|
|
22
22
|
flex.AgentDesktopView.Panel1.Content.add(<CustomTaskList key="{{pluginClassName}}-component" />, options);
|
|
23
23
|
}
|