Skip to content

Commit

Permalink
chore: updates for appwrite 1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
christyjacob4 committed Sep 7, 2023
1 parent da6497f commit 272834a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ repositories {
Next, add the dependency to your project's `build.gradle(.kts)` file:

```groovy
implementation("io.appwrite:sdk-for-kotlin:3.0.2")
implementation("io.appwrite:sdk-for-kotlin:4.0.0")
```

### Maven
Expand All @@ -50,7 +50,7 @@ Add this to your project's `pom.xml` file:
<dependency>
<groupId>io.appwrite</groupId>
<artifactId>sdk-for-kotlin</artifactId>
<version>3.0.2</version>
<version>4.0.0</version>
</dependency>
</dependencies>
```
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/io/appwrite/Client.kt
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ class Client @JvmOverloads constructor(
init {
headers = mutableMapOf(
"content-type" to "application/json",
"user-agent" to "AppwriteKotlinSDK/3.0.2 ${System.getProperty("http.agent")}",
"user-agent" to "AppwriteKotlinSDK/4.0.0 ${System.getProperty("http.agent")}",
"x-sdk-name" to "Kotlin",
"x-sdk-platform" to "server",
"x-sdk-language" to "kotlin",
"x-sdk-version" to "3.0.2", "x-appwrite-response-format" to "1.4.0"
"x-sdk-version" to "4.0.0", "x-appwrite-response-format" to "1.4.0"
)
config = mutableMapOf()

Expand Down

0 comments on commit 272834a

Please sign in to comment.