react-redux-alerts
Advanced tools
Comparing version 1.3.12 to 1.3.13
@@ -9,3 +9,3 @@ 'use strict'; | ||
var _actions2 = _interopRequireDefault(_actions); | ||
var actions = _interopRequireWildcard(_actions); | ||
@@ -18,3 +18,3 @@ var _reducer = require('./reducer'); | ||
var _constants2 = _interopRequireDefault(_constants); | ||
var constants = _interopRequireWildcard(_constants); | ||
@@ -27,7 +27,9 @@ var _alertContainer = require('./alertContainer'); | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } | ||
exports.default = { | ||
actions: _actions2.default, | ||
actions: actions, | ||
alertReducer: _reducer2.default, | ||
constants: _constants2.default, | ||
constants: constants, | ||
createAlert: _alertContainer2.default | ||
}; |
{ | ||
"name": "react-redux-alerts", | ||
"version": "1.3.12", | ||
"version": "1.3.13", | ||
"description": "A lightweight library for creating keyed alerts in a Redux app", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -1,4 +0,4 @@ | ||
import actions from './actions'; | ||
import * as actions from './actions'; | ||
import alertReducer from './reducer'; | ||
import constants from './constants'; | ||
import * as constants from './constants'; | ||
import createAlert from './alertContainer'; | ||
@@ -5,0 +5,0 @@ |
@@ -19,3 +19,2 @@ import * as alertTypes from './constants'; | ||
const alertReducer = (state = {}, action = {}) => { | ||
@@ -22,0 +21,0 @@ const {type, alertName } = action; |
18725
408