Error: (0,_reduxPersistTransformEcnrypt2.default) is not a function
QuanTumli opened this issue · 1 comments
QuanTumli commented
With Version 1.0.0
I get the following error
(0,_reduxPersistTransformEncrypt2.default) is not a function.
(In '(0,_reduxPersistTransformEncrypt2.default)(
{secretKey:'my-super-secret-key'}
)', '(0,_reduxPersistTransformEncrypt2.default)' is undefined)
with this line of code:
import createEncryptor from 'redux-persist-transform-encrypt';
const encryptor = createEncryptor({
secretKey: 'my-super-secret-key'
});
My package.json looks like this:
"dependencies": {
"react": "15.4.1",
"react-native": "^0.39.2",
"react-redux": "^5.0.1",
"redux": "^3.6.0",
"redux-persist": "^4.0.1",
"redux-persist-transform-encrypt": "^1.0.0"
},
maxdeviant commented
@QuanTumli My bad, I should have tested the exports before publishing.
This should be fixed with v1.0.1!
Thank you for your help and patience 😄