Skip to content

Commit

Permalink
[Auto Generated] 1.4.2-beta.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Jan 25, 2024
1 parent 8ee16dc commit 435d6bf
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 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.2-beta.1) - v1.9.0-prerelease-v1
# CHANGE LOG (1.4.2-beta.2) - v1.9.0-prerelease-v2

## Platform Client

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Get started with the Java Development SDK for Fynd Platform
<dependency>
<groupId>com.github.gofynd</groupId>
<artifactId>fdk-client-java</artifactId>
<version>1.4.2-beta.1</version>
<version>1.4.2-beta.2</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.github.gofynd</groupId>
<artifactId>fynd-client-java</artifactId>
<version>1.4.2-beta.1</version>
<version>1.4.2-beta.2</version>

<parent>
<groupId>org.springframework.boot</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ private Request.Builder buildHeaders(Request request, String bearerToken) {
.addHeader("User-Agent", applicationConfig.getUserAgent())
.addHeader("Accept-Language", "en-IN")
.addHeader("Authorization", "Bearer "+bearerToken)
.addHeader("x-fp-sdk-version", "1.4.2-beta.1");
.addHeader("x-fp-sdk-version", "1.4.2-beta.2");
}
}
2 changes: 1 addition & 1 deletion src/main/java/com/sdk/partner/AccessTokenInterceptor.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public Response intercept(Chain chain) throws IOException {
okhttp3.Request.Builder builder = original.newBuilder()
.addHeader("Authorization", "Bearer "+ partnerConfig.getPartnerOauthClient().getToken())
.addHeader("Content-Type", "application/x-www-form-urlencoded")
.addHeader("x-fp-sdk-version", "1.4.2-beta.1");
.addHeader("x-fp-sdk-version", "1.4.2-beta.2");
if (!partnerConfig.getExtraHeaders().isEmpty()) {
HashMap<String, String> extraHeaders = partnerConfig.getExtraHeaders();
for(Map.Entry<String,String> entry:extraHeaders.entrySet()){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ private Request.Builder buildHeaders(Request request, String bearerToken) {
.addHeader("Accept-Language", "en-IN")
.addHeader("Authorization", "Basic "+ bearerToken)
.addHeader("Content-Type","application/x-www-form-urlencoded")
.addHeader("x-fp-sdk-version", "1.4.2-beta.1");
.addHeader("x-fp-sdk-version", "1.4.2-beta.2");
}

}
2 changes: 1 addition & 1 deletion src/main/java/com/sdk/platform/AccessTokenInterceptor.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public Response intercept(Chain chain) throws IOException {
okhttp3.Request.Builder builder = original.newBuilder()
.addHeader("Authorization", "Bearer "+ platformConfig.getPlatformOauthClient().getToken())
.addHeader("Content-Type", "application/x-www-form-urlencoded")
.addHeader("x-fp-sdk-version", "1.4.2-beta.1");
.addHeader("x-fp-sdk-version", "1.4.2-beta.2");
if (!platformConfig.getExtraHeaders().isEmpty()) {
HashMap<String, String> extraHeaders = platformConfig.getExtraHeaders();
for(Map.Entry<String,String> entry:extraHeaders.entrySet()){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ private Request.Builder buildHeaders(Request request, String bearerToken) {
.addHeader("Accept-Language", "en-IN")
.addHeader("Authorization", "Basic "+ bearerToken)
.addHeader("Content-Type","application/x-www-form-urlencoded")
.addHeader("x-fp-sdk-version", "1.4.2-beta.1");
.addHeader("x-fp-sdk-version", "1.4.2-beta.2");
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ private Request.Builder buildHeaders(Request request, String bearerToken) {
.addHeader("User-Agent", publicConfig.getUserAgent())
.addHeader("Accept-Language", "en-IN")
.addHeader("Authorization", "Bearer "+bearerToken)
.addHeader("x-fp-sdk-version", "1.4.2-beta.1");
.addHeader("x-fp-sdk-version", "1.4.2-beta.2");
}
}

0 comments on commit 435d6bf

Please sign in to comment.