@micro-zoe/micro-app 0.8.0 → 0.8.1
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/lib/index.d.ts +8 -8
- package/lib/index.esm.js +1961 -2002
- package/lib/index.esm.js.map +1 -1
- package/lib/index.min.js +1 -1
- package/lib/index.min.js.map +1 -1
- package/lib/index.umd.js +1 -1
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/typings/global.d.ts +2 -2
package/package.json
CHANGED
package/typings/global.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare module '@micro-app/types' {
|
|
|
8
8
|
interface SandBoxInterface {
|
|
9
9
|
proxyWindow: WindowProxy
|
|
10
10
|
microAppWindow: Window // Proxy target
|
|
11
|
-
start (
|
|
11
|
+
start (baseRoute: string): void
|
|
12
12
|
stop (): void
|
|
13
13
|
// record umd snapshot before the first execution of umdHookMount
|
|
14
14
|
recordUmdSnapshot (): void
|
|
@@ -51,7 +51,7 @@ declare module '@micro-app/types' {
|
|
|
51
51
|
useSandbox: boolean // whether use js sandbox, default is true
|
|
52
52
|
baseroute: string // route prefix, default is ''
|
|
53
53
|
source: sourceType // sources of css, js, html
|
|
54
|
-
sandBox: SandBoxInterface | null //
|
|
54
|
+
sandBox: SandBoxInterface | null // sandbox
|
|
55
55
|
umdMode: boolean // is umd mode
|
|
56
56
|
|
|
57
57
|
// Load resources
|