Closed Pikachews closed 4 years ago
:tada: This issue has been resolved in version 1.1.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Wow, the bot was faster than me :smile: Anyway, thanks for pointing this out!
Thanks for the quick fix!
I noticed that my cookieConfig settings weren't taking effect on the client, whether it was changing the persist key or the cookie expiration.
The root cause seems to be that the cookieConfigs are only being used on the server. https://github.com/bjoluc/next-redux-cookie-wrapper/blob/e2616e3d4ebdd472bd04799a01926c915b5e7e19/src/index.tsx#L126-L132
Whereas on the client, no cookieConfig is being used: https://github.com/bjoluc/next-redux-cookie-wrapper/blob/e2616e3d4ebdd472bd04799a01926c915b5e7e19/src/index.tsx#L164 https://github.com/bjoluc/next-redux-cookie-wrapper/blob/e2616e3d4ebdd472bd04799a01926c915b5e7e19/src/index.tsx#L71