Skip to content

Commit 3f5e057

Browse files
Merge pull request #27 from appwrite/dev
chore: update role helper class
2 parents c8c24fa + 330c27f commit 3f5e057

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
77
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
88

9-
**This SDK is compatible with Appwrite server version 1.0.0. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-kotlin/releases).**
9+
**This SDK is compatible with Appwrite server version 1.0.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-kotlin/releases).**
1010

1111
> This is the Kotlin SDK for integrating with Appwrite from your Kotlin server-side code. If you're looking for the Android SDK you should check [appwrite/sdk-for-android](https://github.com/appwrite/sdk-for-android)
1212
@@ -39,7 +39,7 @@ repositories {
3939
Next, add the dependency to your project's `build.gradle(.kts)` file:
4040

4141
```groovy
42-
implementation("io.appwrite:sdk-for-kotlin:1.0.0")
42+
implementation("io.appwrite:sdk-for-kotlin:1.1.0")
4343
```
4444

4545
### Maven
@@ -50,7 +50,7 @@ Add this to your project's `pom.xml` file:
5050
<dependency>
5151
<groupId>io.appwrite</groupId>
5252
<artifactId>sdk-for-kotlin</artifactId>
53-
<version>1.0.0</version>
53+
<version>1.1.0</version>
5454
</dependency>
5555
</dependencies>
5656
```

gradlew

100755100644
File mode changed.

src/main/kotlin/io/appwrite/Client.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class Client @JvmOverloads constructor(
6565
"x-sdk-name" to "Kotlin",
6666
"x-sdk-platform" to "server",
6767
"x-sdk-language" to "kotlin",
68-
"x-sdk-version" to "1.0.0",
68+
"x-sdk-version" to "1.1.0",
6969
"x-appwrite-response-format" to "1.0.0"
7070
)
7171
config = mutableMapOf()

src/main/kotlin/io/appwrite/Role.kt

-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,5 @@ class Role {
2525
}
2626

2727
fun member(id: String): String = "member:$id"
28-
29-
fun status(status: String): String = "status:$status"
3028
}
3129
}

0 commit comments

Comments
 (0)