xpe 1.0.2 → 1.0.3

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.
@@ -191,8 +191,7 @@ export default function importHTML(params) {
191
191
  .then((response) => {
192
192
  if (response.status >= 400) {
193
193
  error(XPE_TIPS_HTML_ERROR_REQUESTED, { url, response });
194
- loadError?.(url, new Error(XPE_TIPS_HTML_ERROR_REQUESTED));
195
- return "";
194
+ throw new Error(XPE_TIPS_HTML_ERROR_REQUESTED);
196
195
  }
197
196
  return response.text();
198
197
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xpe",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "下一代微前端应用运行底座",
5
5
  "type": "module",
6
6
  "license": "MIT",