@xingtukeji/micro 1.0.8 → 1.0.9

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.
@@ -13,7 +13,7 @@ export interface App extends AppOption {
13
13
  instance: MicroApp
14
14
  }
15
15
  export interface MicroInitOptions {
16
- hideHeaderCssSelector?: string
16
+ hideHeaderCssSelector?: string | string[]
17
17
  authHandler?: (token: string) => void
18
18
  }
19
19
 
@@ -25,5 +25,6 @@ export declare class MicroApp {
25
25
  }
26
26
  /**
27
27
  * 初始化主应用微前端
28
+ * 包括:监听子应用消息,同步子应用路由到主应用上
28
29
  */
29
30
  export declare const mainMicroInit: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xingtukeji/micro",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "main": "dist/index.js",