kitzo 1.1.2 → 1.1.3

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/README.md CHANGED
@@ -21,7 +21,7 @@ npm i kitzo
21
21
  or
22
22
 
23
23
  ```javascript
24
- <script src="https://cdn.jsdelivr.net/npm/kitzo@1.1.2/dist/kitzo.umd.min.js"></script>
24
+ <script src="https://cdn.jsdelivr.net/npm/kitzo@1.1.3/dist/kitzo.umd.min.js"></script>
25
25
  ```
26
26
 
27
27
  > Attach this script tag in the html head tag and you are good to go.
package/dist/kitzo.d.ts CHANGED
@@ -69,10 +69,7 @@ export type copy = (
69
69
  ) => void;
70
70
 
71
71
  // Debounce
72
- export type debounce = <Args extends any[]>(
73
- fn: (...args: Args) => any,
74
- delay?: number
75
- ) => (...args: Args) => void;
72
+ export type debounce = <Args extends any[]>(fn: (...args: Args) => any, delay?: number) => (...args: Args) => void;
76
73
 
77
74
  // Clippath
78
75
  export type clippath = (
@@ -101,4 +98,5 @@ export interface Kitzo {
101
98
  clippath: clippath;
102
99
  }
103
100
 
104
- export const kitzo: Kitzo;
101
+ declare const kitzo: Kitzo;
102
+ export default kitzo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kitzo",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "A lightweight JavaScript UI micro-library.",
5
5
  "type": "module",
6
6
  "main": "./dist/kitzo.umd.js",