x-error-lib 0.1.2 → 0.1.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.
@@ -1,5 +1,5 @@
1
1
  const e = {
2
- "network error": "network error",
2
+ "network error": "{code} {message}",
3
3
  "request timeout": "request timeout"
4
4
  };
5
5
  export {
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ function l(o) {
10
10
  return s(o);
11
11
  }
12
12
  async function m(o, e) {
13
- const n = await i(/* @__PURE__ */ Object.assign({ "./locales/en.json": () => import("./en-DeiNYLeo.js"), "./locales/zhHans.json": () => import("./zhHans-DoYhLJBt.js") }), `./locales/${e}.json`);
13
+ const n = await i(/* @__PURE__ */ Object.assign({ "./locales/en.json": () => import("./en-CG97OnCX.js"), "./locales/zhHans.json": () => import("./zhHans-C833O3Tq.js") }), `./locales/${e}.json`);
14
14
  return o.global.setLocaleMessage(e, n.default), r();
15
15
  }
16
16
  export {
@@ -1,5 +1,5 @@
1
1
  const e = {
2
- "network error": "网络错误",
2
+ "network error": "{code} {message}",
3
3
  "request timeout": "请求超时"
4
4
  };
5
5
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-error-lib",
3
3
  "private": false,
4
- "version": "0.1.2",
4
+ "version": "0.1.3",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",