@faapi/faapi 2.0.1-canary.0 → 2.0.1

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.d.ts CHANGED
@@ -765,8 +765,8 @@ interface InjectResponse {
765
765
  *
766
766
  * 用于在无法直接拿到 app 引用的场景(如 Next.js Server Component)中访问 app。
767
767
  *
768
- * 通过 `globalThis` 共享单例,确保 Next.js Turbopack runtime 加载的 `@faapi/faapi`
769
- * 模块实例与主进程 `faapi dev`/`node dist/main` 设置单例的实例能读到同一个 app 引用。
768
+ * 通过 `globalThis` 共享单例,确保 Next.js 16 Turbopack dev server runtime 加载的
769
+ * `@faapi/faapi` 模块实例与主进程 `faapi dev` 设置单例的实例能读到同一个 app 引用。
770
770
  *
771
771
  * @returns 当前 app 实例
772
772
  * @throws 未初始化时抛错(需先调 `createProdApp()` / `createDevApp()`,或 `faapi dev` / `node dist/main` 启动)