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