Skip to content

Commit 7caad35

Browse files
Merge pull request #133 from Riskified/TIS-449
Tis 449
2 parents 27e16d8 + 3956823 commit 7caad35

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Riskified JAVA SDK
22
=================
33

4-
version: 2.3.1
4+
version: 2.3.2
55
------------------
66

77
See http://apiref.riskified.com for full API documentation

riskified-sdk/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.riskified</groupId>
66
<artifactId>riskified-sdk</artifactId>
7-
<version>v2.3.1</version>
7+
<version>v2.3.2</version>
88
<name>Riskified SDK</name>
99
<description>Riskified rest api SDK for java</description>
1010
<url>https://www.riskified.com</url>
@@ -96,13 +96,13 @@
9696
<dependency>
9797
<groupId>com.google.code.gson</groupId>
9898
<artifactId>gson</artifactId>
99-
<version>2.3.1</version>
99+
<version>2.9.1</version>
100100
</dependency>
101101

102102
<dependency>
103103
<groupId>org.apache.httpcomponents</groupId>
104104
<artifactId>httpclient</artifactId>
105-
<version>4.3.6</version>
105+
<version>4.5.13</version>
106106
</dependency>
107107

108108
<dependency>
@@ -114,7 +114,7 @@
114114
<dependency>
115115
<groupId>junit</groupId>
116116
<artifactId>junit</artifactId>
117-
<version>4.11</version>
117+
<version>4.13.2</version>
118118
<scope>test</scope>
119119
</dependency>
120120

riskified-sdk/src/main/java/com/riskified/RiskifiedClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ private HttpPost createPostRequest(String url) {
997997
HttpPost postRequest = new HttpPost(url);
998998
postRequest.setHeader(HttpHeaders.ACCEPT, "application/vnd.riskified.com; version=2");
999999
postRequest.setHeader("X-RISKIFIED-SHOP-DOMAIN", shopUrl);
1000-
postRequest.setHeader("User-Agent","riskified_java_sdk/2.3.0"); // TODO: take the version automatically
1000+
postRequest.setHeader("User-Agent","riskified_java_sdk/2.3.2"); // TODO: take the version automatically
10011001
postRequest.setHeader("Version",versionHeaderValue);
10021002
return postRequest;
10031003
}

0 commit comments

Comments
 (0)