@micro-zoe/micro-app 1.0.0-beta.2 → 1.0.0-beta.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micro-zoe/micro-app",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-beta.4",
4
4
  "description": "A lightweight, efficient and powerful micro front-end framework",
5
5
  "private": false,
6
6
  "main": "lib/index.min.js",
@@ -52,6 +52,7 @@ declare module '@micro-app/types' {
52
52
  keepRouteState: boolean
53
53
  destroy: boolean
54
54
  clearData: boolean
55
+ useMemoryRouter: boolean
55
56
  }
56
57
 
57
58
  interface releaseGlobalEffectParams {
@@ -192,8 +193,15 @@ declare module '@micro-app/types' {
192
193
  // get app state
193
194
  getAppState (): string
194
195
 
196
+ // get keep-alive state
195
197
  getKeepAliveState(): string | null
196
198
 
199
+ // is app unmounted
200
+ isUnmounted (): boolean
201
+
202
+ // is app already hidden
203
+ isHidden (): boolean
204
+
197
205
  // actions for completely destroy
198
206
  actionsForCompletelyDestroy (): void
199
207