From 373a980d1de62234c587462e91b0dc2923abf393 Mon Sep 17 00:00:00 2001 From: Derrick Schwabe Date: Wed, 24 Apr 2019 21:44:21 -0600 Subject: [PATCH] Expose update function so it can be used to clear notifications. --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 1d1218b..144d47d 100644 --- a/main.js +++ b/main.js @@ -24,7 +24,8 @@ module.exports = function (opts) { warning: warning, success: success, state: notifications, - options: opts + options: opts, + update : update } function add (notification) {