@alicloud/alfa-react 1.4.22-alpha.0 → 1.4.23

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.
@@ -40,7 +40,8 @@ export default function createApplication(loader) {
40
40
  beforeUpdate = props.beforeUpdate,
41
41
  customSandbox = props.sandbox,
42
42
  locale = props.locale,
43
- dynamicConfig = props.dynamicConfig;
43
+ _props$dynamicConfig = props.dynamicConfig,
44
+ dynamicConfig = _props$dynamicConfig === void 0 ? true : _props$dynamicConfig;
44
45
 
45
46
  var _useState = useState(null),
46
47
  _useState2 = _slicedToArray(_useState, 2),
@@ -70,7 +70,8 @@ function _afterLoadHook() {
70
70
  (logger === null || logger === void 0 ? void 0 : logger.record) && logger.record({
71
71
  CONFIG_START_TIME: CONFIG_START_TIME,
72
72
  CONFIG_END_TIME: CONFIG_END_TIME,
73
- END_TIME: END_TIME
73
+ END_TIME: END_TIME,
74
+ COST: CONFIG_END_TIME - CONFIG_START_TIME
74
75
  });
75
76
  (logger === null || logger === void 0 ? void 0 : logger.send) && logger.send();
76
77
  return _context.abrupt("return", appConfig);
package/es/version.js CHANGED
@@ -1 +1 @@
1
- export var version = '1.4.22-alpha.0';
1
+ export var version = '1.4.23';
@@ -62,7 +62,8 @@ function createApplication(loader) {
62
62
  beforeUpdate = props.beforeUpdate,
63
63
  customSandbox = props.sandbox,
64
64
  locale = props.locale,
65
- dynamicConfig = props.dynamicConfig;
65
+ _props$dynamicConfig = props.dynamicConfig,
66
+ dynamicConfig = _props$dynamicConfig === void 0 ? true : _props$dynamicConfig;
66
67
 
67
68
  var _useState = (0, _react.useState)(null),
68
69
  _useState2 = (0, _slicedToArray2.default)(_useState, 2),
@@ -84,7 +84,8 @@ function _afterLoadHook() {
84
84
  (logger === null || logger === void 0 ? void 0 : logger.record) && logger.record({
85
85
  CONFIG_START_TIME: CONFIG_START_TIME,
86
86
  CONFIG_END_TIME: CONFIG_END_TIME,
87
- END_TIME: END_TIME
87
+ END_TIME: END_TIME,
88
+ COST: CONFIG_END_TIME - CONFIG_START_TIME
88
89
  });
89
90
  (logger === null || logger === void 0 ? void 0 : logger.send) && logger.send();
90
91
  return _context.abrupt("return", appConfig);
package/lib/version.js CHANGED
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.version = void 0;
7
- var version = '1.4.22-alpha.0';
7
+ var version = '1.4.23';
8
8
  exports.version = version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/alfa-react",
3
- "version": "1.4.22-alpha.0",
3
+ "version": "1.4.23",
4
4
  "description": "Alfa Framework (React Version)",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -42,14 +42,14 @@
42
42
  "typescript": "^3.0.3"
43
43
  },
44
44
  "dependencies": {
45
- "@alicloud/alfa-core": "^1.4.22-alpha.0",
45
+ "@alicloud/alfa-core": "^1.4.23",
46
46
  "@alicloud/console-os-loader": "^1.4.14-alpha.1",
47
47
  "@alicloud/widget-utils-console": "^0.1.6",
48
48
  "classnames": "^2.2.6",
49
49
  "crypto-js": "^4.1.1"
50
50
  },
51
51
  "peerDependencies": {
52
- "react": "^16 | ^17"
52
+ "react": ">=16.0.0"
53
53
  },
54
- "gitHead": "3d2c643b87f1c7557f2ccf12c53d80b5a8d8d0ee"
54
+ "gitHead": "95ed08e0c9c6d81ba8fd29ca87b9de50dda61ea9"
55
55
  }
@@ -1 +1 @@
1
- export declare const version = "1.4.22-alpha.0";
1
+ export declare const version = "1.4.23";