flicker-alerts 1.0.37 → 1.0.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.d.ts +2 -6
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -16,10 +16,6 @@ declare module 'flicker-alerts' {
16
16
  timer?: number;
17
17
  }
18
18
 
19
- const FlickerAlerts: {
20
- showAlert(options: AlertOptions): void;
21
- showModal(options: ModalOptions): void;
22
- };
23
-
24
- export default FlickerAlerts;
19
+ export function showAlert(options: AlertOptions): void;
20
+ export function showModal(options: ModalOptions): void;
25
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flicker-alerts",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
4
4
  "description": "Biblioteca para alertas animados",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -16,6 +16,6 @@
16
16
  "author": "https://www.linkedin.com/in/bruno-carneiro-9a51aa190/",
17
17
  "license": "MIT",
18
18
  "dependencies": {
19
- "flicker-alerts": "^1.0.37"
19
+ "flicker-alerts": "^1.0.38"
20
20
  }
21
21
  }