@micro-zoe/micro-app 1.0.0-rc.4 → 1.0.0-rc.5

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-rc.4",
3
+ "version": "1.0.0-rc.5",
4
4
  "description": "A lightweight, efficient and powerful micro front-end framework",
5
5
  "private": false,
6
6
  "main": "lib/index.min.js",
@@ -264,14 +264,14 @@ declare module '@micro-app/types' {
264
264
 
265
265
  // lifeCycles
266
266
  interface lifeCyclesType {
267
- created?(e: CustomEvent): void
268
- beforemount?(e: CustomEvent): void
269
- mounted?(e: CustomEvent): void
270
- unmount?(e: CustomEvent): void
271
- error?(e: CustomEvent): void
272
- beforeshow?(e: CustomEvent): void
273
- aftershow?(e: CustomEvent): void
274
- afterhidden?(e: CustomEvent): void
267
+ created?(e: CustomEvent, appName: string): void
268
+ beforemount?(e: CustomEvent, appName: string): void
269
+ mounted?(e: CustomEvent, appName: string): void
270
+ unmount?(e: CustomEvent, appName: string): void
271
+ error?(e: CustomEvent, appName: string): void
272
+ beforeshow?(e: CustomEvent, appName: string): void
273
+ aftershow?(e: CustomEvent, appName: string): void
274
+ afterhidden?(e: CustomEvent, appName: string): void
275
275
  }
276
276
 
277
277
  type AssetsChecker = (url: string) => boolean;