@xingtukeji/micro 1.0.6 → 1.0.8

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.
@@ -18,4 +18,5 @@ export declare const startApp: (name: string, options?: Partial<AppOption>) => P
18
18
  * @param {string} name - 应用程序的名称
19
19
  */
20
20
  export declare const stopApp: (name: string) => void;
21
+ export declare const reloadApp: (name: string) => void;
21
22
  export { microInit };
@@ -13,4 +13,3 @@ export declare function syncUrlToWindow(): void;
13
13
  /**
14
14
  * 同步主应用路由到子应用
15
15
  */
16
- export declare function syncUrlToIframe(iframeWindow: Window): void;
@@ -1,6 +1,6 @@
1
1
  declare const _default: import('vue').DefineComponent<{
2
2
  appId: StringConstructor;
3
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
3
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
4
4
  appId: StringConstructor;
5
5
  }>>, {}, {}>;
6
6
  export default _default;
@@ -17,6 +17,7 @@ export declare class MicroApp {
17
17
  * 预加载app,先放到body,待启动时,挪过来
18
18
  */
19
19
  preload(): void;
20
+ reload(): void;
20
21
  changeOptions(options: Partial<AppOption>): void;
21
22
  onLoad(_event: Event): void;
22
23
  onUnload(_event: Event): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xingtukeji/micro",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "main": "dist/index.js",