@adobe/alloy 2.19.0-beta.1 → 2.19.0-beta.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.
@@ -76,13 +76,12 @@ var _default = function _default(_ref) {
76
76
  render = _processPropositions.render;
77
77
  returnedPropositions = _processPropositions.returnedPropositions;
78
78
  returnedDecisions = _processPropositions.returnedDecisions;
79
- render().then(function (decisionsMeta) {
80
- showContainers();
81
- handleNotifications(decisionsMeta);
82
- }).catch(function (e) {
83
- showContainers();
84
- throw e;
85
- });
79
+ render().then(handleNotifications);
80
+
81
+ // Render could take a long time especially if one of the renders
82
+ // is waiting for html to appear on the page. We show the containers
83
+ // immediately, and whatever renders quickly will not have flicker.
84
+ showContainers();
86
85
  } else {
87
86
  var _processPropositions2 = processPropositions([], [].concat(_toConsumableArray(pagePropositions), _toConsumableArray(currentViewPropositions), _toConsumableArray(nonRenderedPropositions)));
88
87
  returnedPropositions = _processPropositions2.returnedPropositions;
@@ -14,5 +14,5 @@ governing permissions and limitations under the License.
14
14
  */
15
15
  // The __VERSION__ keyword will be replace at alloy build time with the package.json version.
16
16
  // see babel-plugin-version
17
- var _default = "2.19.0-beta.1";
17
+ var _default = "2.19.0-beta.2";
18
18
  exports.default = _default;
@@ -66,13 +66,12 @@ export default (({
66
66
  returnedPropositions,
67
67
  returnedDecisions
68
68
  } = processPropositions([...pagePropositions, ...currentViewPropositions], nonRenderedPropositions));
69
- render().then(decisionsMeta => {
70
- showContainers();
71
- handleNotifications(decisionsMeta);
72
- }).catch(e => {
73
- showContainers();
74
- throw e;
75
- });
69
+ render().then(handleNotifications);
70
+
71
+ // Render could take a long time especially if one of the renders
72
+ // is waiting for html to appear on the page. We show the containers
73
+ // immediately, and whatever renders quickly will not have flicker.
74
+ showContainers();
76
75
  } else {
77
76
  ({
78
77
  returnedPropositions,
@@ -13,4 +13,4 @@ governing permissions and limitations under the License.
13
13
  // The __VERSION__ keyword will be replace at alloy build time with the package.json version.
14
14
  // see babel-plugin-version
15
15
 
16
- export default "2.19.0-beta.1";
16
+ export default "2.19.0-beta.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/alloy",
3
- "version": "2.19.0-beta.1",
3
+ "version": "2.19.0-beta.2",
4
4
  "description": "Adobe Experience Platform Web SDK",
5
5
  "main": "libEs5/index.js",
6
6
  "module": "libEs6/index.js",
@@ -66,7 +66,7 @@
66
66
  "uuid": "^3.3.2"
67
67
  },
68
68
  "devDependencies": {
69
- "@adobe/alloy": "^2.19.0-beta.0",
69
+ "@adobe/alloy": "^2.19.0-beta.1",
70
70
  "@babel/cli": "^7.12.8",
71
71
  "@babel/core": "^7.2.2",
72
72
  "@babel/plugin-proposal-object-rest-spread": "^7.3.2",