From 09c4d9fe7b35b64c89b345c6b6b5aec42f3e80d3 Mon Sep 17 00:00:00 2001 From: Gallay Lajos Date: Thu, 12 Jul 2018 10:18:09 +0200 Subject: [PATCH 1/2] [KFI]fix(Store): fixed authentication state subscription initialization (with the latest state inclu --- src/Store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Store.ts b/src/Store.ts index 1b1586d..8ff2750 100644 --- a/src/Store.ts +++ b/src/Store.ts @@ -141,7 +141,7 @@ export const createSensenetStore: (options: CreateStoreOptions) => Store { store.dispatch(Actions.loginStateChanged(state)) - }) + }, true) repo.authentication.currentUser.subscribe((user) => { store.dispatch(Actions.userChanged(user)) From a2f0833296b69612e8192197be7cba7f93b7141b Mon Sep 17 00:00:00 2001 From: Gallay Lajos Date: Thu, 12 Jul 2018 10:56:49 +0200 Subject: [PATCH 2/2] [KFI]chore(package): bumped version --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5d395c0..fb69f1c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@sensenet/redux", - "version": "4.1.1", + "version": "4.1.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 8c17e1a..9887206 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sensenet/redux", - "version": "4.1.1", + "version": "4.1.2", "description": "A set of redux actions, reducers and redux-ovbservable epics for sensenet", "main": "dist/index.js", "scripts": {