Skip to content

Commit

Permalink
Rename module to be action-agnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
yangmillstheory committed Jul 3, 2017
1 parent f624b41 commit 758ad10
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "redux-actions",
"version": "2.2.0",
"version": "2.2.1",
"description": "Flux Standard Action utlities for Redux",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down
@@ -1,4 +1,4 @@
import { flattenActionMap, unflattenActionCreators } from '../namespaceActions';
import { flattenActionMap, unflattenActionCreators } from '../flattenUtils';
import { expect } from 'chai';

describe('namespacing actions', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/createActions.js
Expand Up @@ -12,7 +12,7 @@ import arrayToObject from './arrayToObject';
import {
flattenActionMap,
unflattenActionCreators
} from './namespaceActions';
} from './flattenUtils';

export default function createActions(actionMap, ...identityActions) {
const { namespace } = isPlainObject(last(identityActions))
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/handleActions.js
Expand Up @@ -3,7 +3,7 @@ import reduceReducers from 'reduce-reducers';
import invariant from 'invariant';
import handleAction from './handleAction';
import ownKeys from './ownKeys';
import { flattenReducerMap } from './namespaceActions';
import { flattenReducerMap } from './flattenUtils';

export default function handleActions(handlers, defaultState, { namespace } = {}) {
invariant(
Expand Down

0 comments on commit 758ad10

Please sign in to comment.