@spaceflow/core 0.5.0 → 0.6.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaceflow/core",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Spaceflow 核心能力库",
5
5
  "license": "MIT",
6
6
  "author": "Lydanne",
@@ -37,6 +37,8 @@ export function initI18n(lang?: string): void {
37
37
  },
38
38
  returnNull: false,
39
39
  returnEmptyString: false,
40
+ // 确保 init 同步完成(默认 initImmediate: true 会将加载推到 setTimeout)
41
+ initImmediate: false,
40
42
  // i18next v25.8+ 会在 init 时输出 locize.com 推广日志
41
43
  showSupportNotice: false,
42
44
  });