Skip to content

Commit 758ad10

Browse files
Rename module to be action-agnostic
1 parent f624b41 commit 758ad10

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "redux-actions",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "Flux Standard Action utlities for Redux",
55
"main": "lib/index.js",
66
"module": "es/index.js",

src/__tests__/namespaceActions-test.js renamed to src/__tests__/flattenUtils-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { flattenActionMap, unflattenActionCreators } from '../namespaceActions';
1+
import { flattenActionMap, unflattenActionCreators } from '../flattenUtils';
22
import { expect } from 'chai';
33

44
describe('namespacing actions', () => {

src/createActions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import arrayToObject from './arrayToObject';
1212
import {
1313
flattenActionMap,
1414
unflattenActionCreators
15-
} from './namespaceActions';
15+
} from './flattenUtils';
1616

1717
export default function createActions(actionMap, ...identityActions) {
1818
const { namespace } = isPlainObject(last(identityActions))
File renamed without changes.

src/handleActions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import reduceReducers from 'reduce-reducers';
33
import invariant from 'invariant';
44
import handleAction from './handleAction';
55
import ownKeys from './ownKeys';
6-
import { flattenReducerMap } from './namespaceActions';
6+
import { flattenReducerMap } from './flattenUtils';
77

88
export default function handleActions(handlers, defaultState, { namespace } = {}) {
99
invariant(

0 commit comments

Comments
 (0)