Skip to content

Commit

Permalink
Merge pull request #126 from onfido/release-upgrade
Browse files Browse the repository at this point in the history
Refresh onfido-java after onfido-openapi-spec update (a33e3b2)
  • Loading branch information
dvacca-onfido authored Sep 6, 2024
2 parents 2466de9 + 4e9cde2 commit 37309f6
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 23 deletions.
8 changes: 4 additions & 4 deletions .release.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"source": {
"repo_url": "https://github.com/onfido/onfido-openapi-spec",
"short_sha": "f941ec8",
"long_sha": "f941ec84c3aeb0d3fcceea537991ba7e1ac96414",
"version": "v3.3.0"
"short_sha": "a33e3b2",
"long_sha": "a33e3b25defea6110ec610051560df2c20bd1f65",
"version": "v3.4.0"
},
"release": "v4.1.0"
"release": "v4.2.0"
}
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
## v4.1.0 24th July 2024

- Release based on Onfido OpenAPI spec version [v3.3.0](https://github.com/onfido/onfido-openapi-spec/releases/tag/v3.3.0):
- Expose `customer_user_id` in `workflow_runs`
- adding sdk_token to workflow run schema
- Expose `customer_user_id` in `workflow_runs`
- adding sdk_token to workflow run schema

## v4.0.0 17th July 2024

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.onfido</groupId>
<artifactId>onfido-api-java</artifactId>
<version>4.1.0</version>
<version>4.2.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -59,7 +59,7 @@ Add this dependency to your project's build file:
}
dependencies {
implementation "com.onfido:onfido-api-java:4.1.0"
implementation "com.onfido:onfido-api-java:4.2.0"
}
```

Expand All @@ -73,10 +73,10 @@ mvn clean package

Then manually install the following JARs:

- `target/onfido-api-java-4.1.0.jar`
- `target/onfido-api-java-4.2.0.jar`
- `target/lib/*.jar`

The latest version can be found at: https://search.maven.org/artifact/com.onfido/4.1.0
The latest version can be found at: https://search.maven.org/artifact/com.onfido/4.2.0

## Getting Started

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'

group = 'com.onfido'
version = '4.1.0'
version = '4.2.0'

buildscript {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "com.onfido",
name := "onfido-api-java",
version := "4.1.0",
version := "4.2.0",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>onfido-api-java</artifactId>
<packaging>jar</packaging>
<name>onfido-api-java</name>
<version>4.1.0</version>
<version>4.2.0</version>
<url>https://documentation.onfido.com</url>
<description>Official Java API client library for the Onfido API</description>
<scm>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/onfido/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ private void init() {
json = new JSON();

// Set default User-Agent.
setUserAgent("onfido-java/4.1.0");
setUserAgent("onfido-java/4.2.0");

authentications = new HashMap<String, Authentication>();
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/onfido/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0")
public class Configuration {
public static final String VERSION = "4.1.0";
public static final String VERSION = "4.2.0";

private static ApiClient defaultApiClient = new ApiClient();

Expand Down
8 changes: 4 additions & 4 deletions src/main/java/com/onfido/model/SdkTokenBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public class SdkTokenBuilder {

public static final String SERIALIZED_NAME_APPLICATION_ID = "application_id";
@SerializedName(SERIALIZED_NAME_APPLICATION_ID)
private UUID applicationId;
private String applicationId;

public static final String SERIALIZED_NAME_CROSS_DEVICE_URL = "cross_device_url";
@SerializedName(SERIALIZED_NAME_CROSS_DEVICE_URL)
Expand Down Expand Up @@ -109,7 +109,7 @@ public void setReferrer(String referrer) {
}


public SdkTokenBuilder applicationId(UUID applicationId) {
public SdkTokenBuilder applicationId(String applicationId) {
this.applicationId = applicationId;
return this;
}
Expand All @@ -119,11 +119,11 @@ public SdkTokenBuilder applicationId(UUID applicationId) {
* @return applicationId
**/
@javax.annotation.Nullable
public UUID getApplicationId() {
public String getApplicationId() {
return applicationId;
}

public void setApplicationId(UUID applicationId) {
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}

Expand Down
8 changes: 4 additions & 4 deletions src/main/java/com/onfido/model/SdkTokenRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public class SdkTokenRequest {

public static final String SERIALIZED_NAME_APPLICATION_ID = "application_id";
@SerializedName(SERIALIZED_NAME_APPLICATION_ID)
private UUID applicationId;
private String applicationId;

public static final String SERIALIZED_NAME_CROSS_DEVICE_URL = "cross_device_url";
@SerializedName(SERIALIZED_NAME_CROSS_DEVICE_URL)
Expand Down Expand Up @@ -109,7 +109,7 @@ public void setReferrer(String referrer) {
}


public SdkTokenRequest applicationId(UUID applicationId) {
public SdkTokenRequest applicationId(String applicationId) {
this.applicationId = applicationId;
return this;
}
Expand All @@ -119,11 +119,11 @@ public SdkTokenRequest applicationId(UUID applicationId) {
* @return applicationId
**/
@javax.annotation.Nullable
public UUID getApplicationId() {
public String getApplicationId() {
return applicationId;
}

public void setApplicationId(UUID applicationId) {
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}

Expand Down

0 comments on commit 37309f6

Please sign in to comment.