flicker-alerts 1.0.38 → 1.0.40

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.
Files changed (3) hide show
  1. package/index.d.ts +6 -2
  2. package/index.js +1 -1
  3. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -16,6 +16,10 @@ declare module 'flicker-alerts' {
16
16
  timer?: number;
17
17
  }
18
18
 
19
- export function showAlert(options: AlertOptions): void;
20
- export function showModal(options: ModalOptions): void;
19
+ const FlickerAlerts: {
20
+ showAlert(options: AlertOptions): void;
21
+ showModal(options: ModalOptions): void;
22
+ };
23
+
24
+ export default FlickerAlerts;
21
25
  }
package/index.js CHANGED
@@ -233,4 +233,4 @@ if (typeof document !== 'undefined') {
233
233
 
234
234
 
235
235
 
236
- export default FlickerAlerts;
236
+ export { FlickerAlerts, FlickerModals };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flicker-alerts",
3
- "version": "1.0.38",
3
+ "version": "1.0.40",
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.38"
19
+ "flicker-alerts": "^1.0.40"
20
20
  }
21
21
  }