redux-oidc
redux-oidc copied to clipboard
Immutable issue
Hi looks like something is broken with immutable after latest update.

yeah
i suggest to export a reducer-immutable factory
export function createReducerImmutable(Immutable);
so there is NO require("immutable");
@salvoravida great idea, will fix this ASAP.
Since this is an API change, semver dictates the next release to be version 4 instead of 3.1.7. However, I will release a version 3.1.7 which will undo the previous change and then update to version 4.
Published changes to v4.0.0-beta1. Please check if this resolves your issues.
yeah all ok!
I am still getting typescript compile errors when not using immutable: node_modules/redux-oidc/index.d.ts:3:31 - error TS2307: Cannot find module 'immutable'.
3 import { Map, fromJS } from "immutable";
Can the immutable version be broken out into a separate file or package entirely?
This bug is still present. Immutable
is removed from dependencies, but imported in declaration file, which produces this problem.