Skip to content

Commit

Permalink
[Auto Generated] 1.4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Jun 11, 2024
1 parent ca52ffb commit 73ef095
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CHANGE LOG (1.4.5) - fp-v1.9.3
# CHANGE LOG (1.4.7) - fp-v1.9.3

## Application Client

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Get started with the Kotlin Development SDK for Fynd Platform

# Usage

1. Add the dependency in your app build.gradle `implementation 'com.github.gofynd:fdk-client-kotlin:1.4.5'` in your app build.gradle
1. Add the dependency in your app build.gradle `implementation 'com.github.gofynd:fdk-client-kotlin:1.4.7'` in your app build.gradle
2. Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ android {
minSdkVersion 21
targetSdkVersion 31
versionCode 2
versionName "1.4.5"
versionName "1.4.7"
multiDexEnabled true

vectorDrawables.useSupportLibrary = true
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sdk/common/AccessTokenInterceptor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class AccessTokenInterceptor(
val builder = original.newBuilder().apply {
header("User-Agent", platformConfig?.userAgent ?: "")
header("Authorization", "Bearer ${platformConfig?.oauthClient?.token?.token}")
header("x-fp-sdk-version", "1.4.5")
header("x-fp-sdk-version", "1.4.7")
header("x-currency-code", platformConfig?.currencyCode ?: "INR")
platformConfig?.locationDetail?.let {
header("x-location-detail", HttpClient.gson.toJson(it))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ApplicationHeaderInterceptor(
header("x-location-detail", HttpClient.gson.toJson(it))
}
header("x-currency-code", currencyCode)
header("x-fp-sdk-version", "1.4.5")
header("x-fp-sdk-version", "1.4.7")
val bearerToken =
Base64.encodeToString(
"$applicationId:$applicationToken".toByteArray(),
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sdk/common/PublicHeaderInterceptor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class PublicHeaderInterceptor(
val original = chain.request()

val builder = original.newBuilder()
.header("x-fp-sdk-version", "1.4.5")
.header("x-fp-sdk-version", "1.4.7")
publicConfig?.extraHeaders?.let {
for ((key, value) in it) {
builder.header(key,value)
Expand Down

0 comments on commit 73ef095

Please sign in to comment.