@next-core/brick-kit 2.157.3 → 2.157.4
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/dist/index.esm.js
CHANGED
|
@@ -6603,7 +6603,7 @@ function _standaloneBootstrap() {
|
|
|
6603
6603
|
})];
|
|
6604
6604
|
if (!window.NO_AUTH_GUARD) {
|
|
6605
6605
|
var matches;
|
|
6606
|
-
var appId = window.APP_ID || (window.APP_ROOT && (matches = window.APP_ROOT.match(/^(?:\/next)?\/sa-static\/([^/]+)\/versions\//)) ? matches[1] : null);
|
|
6606
|
+
var appId = window.APP_ID || (window.APP_ROOT && (matches = window.APP_ROOT.match(/^(?:(?:\/next)?\/)?sa-static\/([^/]+)\/versions\//)) ? matches[1] : null);
|
|
6607
6607
|
if (appId) {
|
|
6608
6608
|
// No need to wait.
|
|
6609
6609
|
safeGetRuntimeMicroAppStandalone(appId);
|
|
@@ -6685,6 +6685,7 @@ function _safeGetRuntimeMicroAppStandalone() {
|
|
|
6685
6685
|
console.warn("request standalone runtime api from micro-app-standalone failed: ", error, ", something might went wrong running standalone micro app");
|
|
6686
6686
|
});
|
|
6687
6687
|
appRuntimeDataMap.set(appId, promise);
|
|
6688
|
+
return promise;
|
|
6688
6689
|
});
|
|
6689
6690
|
return _safeGetRuntimeMicroAppStandalone.apply(this, arguments);
|
|
6690
6691
|
}
|