@micro-zoe/micro-app 0.3.3 → 0.4.0

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": "0.3.3",
3
+ "version": "0.4.0",
4
4
  "description": "A minimalist solution for building micro front-end applications",
5
5
  "private": false,
6
6
  "main": "lib/index.min.js",
@@ -78,6 +78,7 @@ declare module '@micro-app/types' {
78
78
  appUrl: AttrType // app url
79
79
  isWating: boolean // combine action of set attribute name, url
80
80
  cacheData: Record<PropertyKey, unknown> | null // Cache data
81
+ hasConnected: boolean // element has run connectedCallback
81
82
  connectedCallback(): void // Hooks for element append to documents
82
83
  disconnectedCallback(): void // Hooks for element delete from documents
83
84
  attributeChangedCallback(a: 'name' | 'url', o: string, n: string): void // Hooks for element attributes change
@@ -185,3 +186,5 @@ declare namespace JSX {
185
186
  'micro-app': any
186
187
  }
187
188
  }
189
+
190
+ declare module '@micro-zoe/micro-app/polyfill/jsx-custom-event'