Skip to content

Commit

Permalink
Merge pull request #29 from conekta/deployment-features
Browse files Browse the repository at this point in the history
Upgrading versions.
  • Loading branch information
matiasrosemberg authored Sep 16, 2022
2 parents 732b4ed + c7f03f5 commit 715787e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<groupId>io.conekta</groupId>
<artifactId>ct-conekta-java</artifactId>
<version>0.0.8</version>
<version>3.0.0</version>

<name>ct-conekta-java</name>
<description>This is a java library that allows interaction with https://api.conekta.io API.</description>
Expand All @@ -22,7 +22,7 @@
<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
<url>https://www.opensource.org/licenses/mit-license.php</url>
</license>
</licenses>

Expand All @@ -46,7 +46,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.13.3</version>
<version>2.13.4</version>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/conekta/io/client/ConektaRequestor.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public HttpResponse<String> doRequest(ConektaObject conektaObject, String path,
.uri(URI.create(environment + path))
.setHeader(Constants.CONTENT_TYPE, Constants.APPLICATION_JSON_CHARSET_UTF_8)
.setHeader(Constants.ACCEPT, Constants.APPLICATION_VND_CONEKTA_V_2_0_0_JSON)
.setHeader(Constants.USER_AGENT, Constants.LIB_NAME + Constants.SLASH + getClass().getPackage().getImplementationVersion())
.setHeader(Constants.USER_AGENT, Constants.LIB_NAME + Constants.SLASH + Constants.LIB_VERSION)
.build();
return send(request);
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/conekta/io/config/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public String getUrl() {
/**
* Version of the lib to use.
*/
public static final String LIB_VERSION = "0.0.8";
public static final String LIB_VERSION = "3.0.0";

/**
* Locale to use when building requests to the Conekta API.
Expand Down

0 comments on commit 715787e

Please sign in to comment.