react-native-app-notification
Advanced tools
@@ -66,3 +66,2 @@ "use strict"; | ||
| }; | ||
| var _this = this; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -144,3 +143,3 @@ exports.AppNotification = void 0; | ||
| if (id) | ||
| (_a = _this.getRef(id)) === null || _a === void 0 ? void 0 : _a.clearNotifications(); | ||
| (_a = AppNotification.getRef(id)) === null || _a === void 0 ? void 0 : _a.clearNotifications(); | ||
| else | ||
@@ -155,3 +154,3 @@ AppNotification.refs.forEach(function (ref) { return ref.clearNotifications(); }); | ||
| AppNotification.show = function (options) { | ||
| var ref = _this.getRef(options.id); | ||
| var ref = AppNotification.getRef(options.id); | ||
| if (!ref) | ||
@@ -158,0 +157,0 @@ return console.warn('notificationRef is undefined'); |
+1
-1
| { | ||
| "name": "react-native-app-notification", | ||
| "version": "1.7.1", | ||
| "version": "1.7.2", | ||
| "description": "In-app custom notifications for React-Native", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
41407
0766
-0.13%