layerpro 2.1.5 → 2.2.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,7 +1,7 @@
1
1
  {
2
2
  "name": "layerpro",
3
3
  "code": "layerpro",
4
- "version": "2.1.5",
4
+ "version": "2.2.5",
5
5
  "description": "The real custom modals, alert, confirm, prompt... for your browser",
6
6
  "main": "./index.cjs",
7
7
  "browser": "./index.cjs",
@@ -96,7 +96,7 @@ interface _layerpro {
96
96
  dockable: (props: any) => void
97
97
  store: (props: any) => void
98
98
  index: (props: any) => void
99
- zIndex: (props: any) => number
99
+ zIndex: (props?: any) => number
100
100
  close: (props: any) => any
101
101
  // React root management for memory cleanup
102
102
  unmount: (id: string) => void