@lwrjs/client-modules 0.17.2-alpha.20 → 0.17.2-alpha.21
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.
|
@@ -32,7 +32,10 @@ function updateStaleModule({ oldModule, newModule, specifier }) {
|
|
|
32
32
|
swapStyle(oldModule.default[0], newModule.default[0]);
|
|
33
33
|
} else {
|
|
34
34
|
console.log(`Swapping JS for module "${specifier}"`);
|
|
35
|
-
swapComponent(oldModule.default, newModule.default);
|
|
35
|
+
const success = swapComponent(oldModule.default, newModule.default);
|
|
36
|
+
if (!success) {
|
|
37
|
+
window.location.reload();
|
|
38
|
+
}
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.17.2-alpha.
|
|
7
|
+
"version": "0.17.2-alpha.21",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@locker/sandbox": "0.24.6",
|
|
37
|
-
"@lwrjs/shared-utils": "0.17.2-alpha.
|
|
37
|
+
"@lwrjs/shared-utils": "0.17.2-alpha.21"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@lwrjs/types": "0.17.2-alpha.
|
|
40
|
+
"@lwrjs/types": "0.17.2-alpha.21",
|
|
41
41
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
42
42
|
"@rollup/plugin-sucrase": "^5.0.2",
|
|
43
43
|
"@rollup/plugin-terser": "^0.4.4",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"volta": {
|
|
71
71
|
"extends": "../../../package.json"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "448ae2b681a4718241a29890f34e0ac13e35e6fd"
|
|
74
74
|
}
|