flex-plugin
Advanced tools
Comparing version 3.7.0-beta.0 to 4.0.2-alpha.0
@@ -12,2 +12,5 @@ import Flex from '@twilio/flex-ui'; | ||
name: string; | ||
uniqueName: string; | ||
version: string; | ||
dependencies: object; | ||
protected constructor(name: string); | ||
@@ -14,0 +17,0 @@ abstract init(flex: FlexGlobal, manager: Flex.Manager): void; |
@@ -8,5 +8,15 @@ "use strict"; | ||
function FlexPlugin(name) { | ||
this.uniqueName = __FPB_PLUGIN_UNIQUE_NAME; | ||
this.version = __FBP_PLUGIN_VERSION; | ||
this.dependencies = { | ||
'flex-plugin-scripts': __FPB_FLEX_PLUGIN_SCRIPTS_VERSION, | ||
'flex-plugin': __FPB_FLEX_PLUGIN_VERSION, | ||
'craco-config-flex-plugin': __FPB_CRACO_CONFIG_FLEX_PLUGIN_VERSION, | ||
'flex-ui': __FPB_FLEX_UI_VERSION, | ||
'react': __FPB_REACT_VERSION, | ||
'react-dom': __FPB_REACT_DOM_VERSION, | ||
}; | ||
this.name = name; | ||
// tslint:disable-next-line:no-console | ||
console.log("loading " + this.name + " plugin"); | ||
console.log("loading " + this.name + "@" + this.version + " plugin"); | ||
} | ||
@@ -13,0 +23,0 @@ return FlexPlugin; |
{ | ||
"name": "flex-plugin", | ||
"version": "3.7.0-beta.0", | ||
"version": "4.0.2-alpha.0", | ||
"description": "Runtime for Flex plugins", | ||
@@ -46,3 +46,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "d5ddb4ebb63b20d768c1b201d88691dec2a186b4" | ||
"gitHead": "d2068d13f6a0f5cca40e00ca80a5f26d6bce8500" | ||
} |
@@ -110,1 +110,2 @@ [![Version](https://img.shields.io/npm/v/flex-plugin.svg?style=square)](https://www.npmjs.com/package/flex-plugin) | ||
[MIT](../../LICENSE) | ||
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15120
181
111