From 121df90c68eb49dda3f06c029ea32a0b3e4770ee Mon Sep 17 00:00:00 2001 From: Patrick Jackson Date: Mon, 19 Aug 2019 15:11:34 -0400 Subject: [PATCH] update redux version to 0.2.6 --- lib/build.gradle | 4 ++-- .../kotlin/org/reduxkotlin/SelectorSubscriberBuilder.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/build.gradle b/lib/build.gradle index 763fd59..feddddd 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -7,7 +7,7 @@ apply plugin: 'kotlin-multiplatform' archivesBaseName = 'reselect' group 'org.reduxkotlin' -version '0.2.8' +version '0.2.9' kotlin { jvm() @@ -61,7 +61,7 @@ kotlin { commonMain { dependencies { implementation kotlin("stdlib-common") - implementation "org.reduxkotlin:redux-kotlin:0.2.4" + implementation "org.reduxkotlin:redux-kotlin:0.2.6" } } commonTest { diff --git a/lib/src/commonMain/kotlin/org/reduxkotlin/SelectorSubscriberBuilder.kt b/lib/src/commonMain/kotlin/org/reduxkotlin/SelectorSubscriberBuilder.kt index c338913..fbcf94f 100644 --- a/lib/src/commonMain/kotlin/org/reduxkotlin/SelectorSubscriberBuilder.kt +++ b/lib/src/commonMain/kotlin/org/reduxkotlin/SelectorSubscriberBuilder.kt @@ -8,13 +8,13 @@ package org.reduxkotlin * @property store The redux store * @constructor creates an empty SelectorSubscriberBuilder */ -class SelectorSubscriberBuilder(val store: Store) { +class SelectorSubscriberBuilder(val store: Store) { val selectorList = mutableMapOf, (Any) -> Unit>() //state is here to make available to lambda with receiver in DSL val state: State - get() = store.getState() as State + get() = store.getState() var withAnyChangeFun: (() -> Unit)? = null