From 272834a2aa22e0ed152243c036c0d0ea7c36debf Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Thu, 7 Sep 2023 21:52:30 +0000 Subject: [PATCH] chore: updates for appwrite 1.4.2 --- README.md | 4 ++-- src/main/kotlin/io/appwrite/Client.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9def31d..8bf4e88 100644 --- a/README.md +++ b/README.md @@ -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 @@ -50,7 +50,7 @@ Add this to your project's `pom.xml` file: io.appwrite sdk-for-kotlin - 3.0.2 + 4.0.0 ``` diff --git a/src/main/kotlin/io/appwrite/Client.kt b/src/main/kotlin/io/appwrite/Client.kt index 0674b75..b1271da 100644 --- a/src/main/kotlin/io/appwrite/Client.kt +++ b/src/main/kotlin/io/appwrite/Client.kt @@ -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()