Skip to content

Commit

Permalink
Prepare version 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dsrees committed Feb 27, 2023
1 parent faebdc3 commit 0aec997
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ repositories {
and then add the library. See [releases](https://github.com/dsrees/JavaPhoenixClient/releases) for the latest version
```$xslt
dependencies {
implementation 'com.github.dsrees:JavaPhoenixClient:1.0.0'
implementation 'com.github.dsrees:JavaPhoenixClient:1.0.1'
}
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ apply plugin: "org.jetbrains.dokka"
apply plugin: "com.vanniktech.maven.publish"

group 'com.github.dsrees'
version '1.0.0'
version '1.0.1'

sourceCompatibility = 1.8

Expand Down
6 changes: 5 additions & 1 deletion src/main/kotlin/org/phoenixframework/Socket.kt
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,11 @@ class Socket(

/** @return True if the connection exists and is open */
val isConnected: Boolean
get() = this.connection?.readyState == Transport.ReadyState.OPEN
get() = this.connectionState == Transport.ReadyState.OPEN

/** @return The ready state of the connection. */
val connectionState: Transport.ReadyState
get() = this.connection?.readyState ?: Transport.ReadyState.CLOSED

//------------------------------------------------------------------------------
// Public
Expand Down

0 comments on commit 0aec997

Please sign in to comment.