/**
 * @flow
 */
export const DEFAULT_PATH = '/dispatch/';
export function DEFAULT_ENCODE(_: string, data: Object): string {
	return JSON.stringify(data);
}
export function DEFAULT_DECODE(_: string, data: string): Object {
	return JSON.parse(data);
}

export default {
	path: DEFAULT_PATH,
	encode: DEFAULT_ENCODE,
	decode: DEFAULT_DECODE
};
/**
 * @flow
 */
export const DEFAULT_PATH = '/dispatch/';
export function DEFAULT_ENCODE(_: string, data: Object): string {
	return JSON.stringify(data);
}
export function DEFAULT_DECODE(_: string, data: string): Object {
	return JSON.parse(data);
}

export default {
	path: DEFAULT_PATH,
	encodeState: DEFAULT_ENCODE,
	decodeState: DEFAULT_DECODE
};
Fix Default Encode/Decode State Functions
Fix Default Encode/Decode State Functions

Fix the default object param names exported from 'defaults.js', so encoding/decoding when no custom functions are given.
