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