@micro-zoe/micro-app 0.8.0 → 0.8.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/README.md CHANGED
@@ -152,7 +152,7 @@ For more commands, see [DEVELP](https://github.com/micro-zoe/micro-app/blob/mast
152
152
  </details>
153
153
 
154
154
  # Contributors
155
- <a href="https://github.com/micro-zoe/micro-app/graphs/contributors"><img src="./.github/contributors.svg" /></a>
155
+ <a href="https://github.com/micro-zoe/micro-app/graphs/contributors"><img src="https://micro-zoe.com/contributors.svg?height=55&people=11" /></a>
156
156
  <!-- opencollective is inaccurate -->
157
157
  <!-- <a href="https://github.com/micro-zoe/micro-app/graphs/contributors"><img src="https://opencollective.com/micro-app/contributors.svg?width=890&button=false" /></a> -->
158
158
 
package/README.zh-cn.md CHANGED
@@ -153,7 +153,7 @@ yarn start # 访问 http://localhost:3000
153
153
  </details>
154
154
 
155
155
  # 贡献者们
156
- <a href="https://github.com/micro-zoe/micro-app/graphs/contributors"><img src="./.github/contributors.svg" /></a>
156
+ <a href="https://github.com/micro-zoe/micro-app/graphs/contributors"><img src="https://micro-zoe.com/contributors.svg?height=55&people=11" /></a>
157
157
  <!-- opencollective is inaccurate -->
158
158
  <!-- <a href="https://github.com/micro-zoe/micro-app/graphs/contributors"><img src="https://opencollective.com/micro-app/contributors.svg?width=890&button=false" /></a> -->
159
159
 
package/lib/index.d.ts CHANGED
@@ -16,7 +16,7 @@ declare module '@micro-zoe/micro-app/micro_app' {
16
16
  import { EventCenterForBaseApp } from '@micro-zoe/micro-app/interact';
17
17
  /**
18
18
  * if app not prefetch & not unmount, then app is active
19
- * @param excludeHiddenApp exclude hidden keep-alive app
19
+ * @param excludeHiddenApp exclude hidden keep-alive app, default is false
20
20
  * @returns active apps
21
21
  */
22
22
  export function getActiveApps(excludeHiddenApp?: boolean): string[];
@@ -26,7 +26,7 @@ declare module '@micro-zoe/micro-app/micro_app' {
26
26
  clearAliveState?: boolean;
27
27
  }
28
28
  /**
29
- * unmount app by appname
29
+ * unmount app by appName
30
30
  * @param appName
31
31
  * @param options unmountAppParams
32
32
  * @returns Promise<void>
@@ -148,9 +148,9 @@ declare module '@micro-zoe/micro-app/libs/utils' {
148
148
  /**
149
149
  * Get the folder where the link resource is located,
150
150
  * which is used to complete the relative address in the css
151
- * @param linkpath full link address
151
+ * @param linkPath full link address
152
152
  */
153
- export function getLinkFileDir(linkpath: string): string;
153
+ export function getLinkFileDir(linkPath: string): string;
154
154
  /**
155
155
  * promise stream
156
156
  * @param promiseList promise list
@@ -190,6 +190,7 @@ declare module '@micro-zoe/micro-app/libs/utils' {
190
190
  * trim start & end
191
191
  */
192
192
  export function trim(str: string): string;
193
+ export function isFireFox(): boolean;
193
194
  }
194
195
 
195
196
  declare module '@micro-zoe/micro-app/interact' {
@@ -288,14 +289,14 @@ declare module '@micro-zoe/micro-app/interact' {
288
289
  }
289
290
  /**
290
291
  * Record UMD function before exec umdHookMount
291
- * @param microAppEventCneter
292
+ * @param microAppEventCenter
292
293
  */
293
- export function recordDataCenterSnapshot(microAppEventCneter: EventCenterForMicroApp): void;
294
+ export function recordDataCenterSnapshot(microAppEventCenter: EventCenterForMicroApp): void;
294
295
  /**
295
296
  * Rebind the UMD function of the record before remount
296
- * @param microAppEventCneter instance of EventCenterForMicroApp
297
+ * @param microAppEventCenter instance of EventCenterForMicroApp
297
298
  */
298
- export function rebuildDataCenterSnapshot(microAppEventCneter: EventCenterForMicroApp): void;
299
+ export function rebuildDataCenterSnapshot(microAppEventCenter: EventCenterForMicroApp): void;
299
300
  export {};
300
301
  }
301
302