react-push-notification
Advanced tools
Comparing version 1.1.1 to 1.1.2
import Notifications from './notifications/Notifications'; | ||
import { Options } from './notifications/Storage'; | ||
import PushNotification from './notifications/PushNotification'; | ||
declare const addNotification: (options: Options) => void; | ||
export { Notifications, PushNotification }; | ||
export { Notifications }; | ||
export default addNotification; |
@@ -9,5 +9,3 @@ "use strict"; | ||
const Storage_1 = __importDefault(require("./notifications/Storage")); | ||
const PushNotification_1 = __importDefault(require("./notifications/PushNotification")); | ||
exports.PushNotification = PushNotification_1.default; | ||
const addNotification = Storage_1.default.addNotification; | ||
exports.default = addNotification; |
{ | ||
"name": "react-push-notification", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "React push notifications", | ||
@@ -19,2 +19,3 @@ "main": "dist/index.js", | ||
"build": "tsc && cp src/Notifications/Notification.css dist/Notifications/Notification.css", | ||
"publish": "git push && npm publish", | ||
"build:check": "tsc --noEmit" | ||
@@ -21,0 +22,0 @@ }, |
@@ -8,7 +8,6 @@ | ||
<img align="right" src="https://imgur.com/YpzhAzC.png" alt="react-push-notification" /> | ||
![](https://i.imgur.com/SorfHNa.gif) | ||
### Install | ||
@@ -88,2 +87,3 @@ | ||
<img align="right" src="https://imgur.com/YpzhAzC.png" alt="react-push-notification" /> | ||
@@ -90,0 +90,0 @@ |
import Notifications from './notifications/Notifications'; | ||
import Storage, { Options } from './notifications/Storage'; | ||
import PushNotification from './notifications/PushNotification'; | ||
const addNotification: (options: Options) => void = Storage.addNotification; | ||
export { Notifications, PushNotification }; | ||
export { Notifications }; | ||
export default addNotification; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20774
547