File tree Expand file tree Collapse file tree 4 files changed +6
-25
lines changed
main/java/com/incognia/api
test/java/com/incognia/api Expand file tree Collapse file tree 4 files changed +6
-25
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ And then add the artifact `incognia-api-client` **or** `incognia-api-client-shad
23
23
<dependency >
24
24
<groupId >com.incognia</groupId >
25
25
<artifactId >incognia-api-client</artifactId >
26
- <version >3.1 .0</version >
26
+ <version >3.3 .0</version >
27
27
</dependency >
28
28
```
29
29
``` xml
30
30
<dependency >
31
31
<groupId >com.incognia</groupId >
32
32
<artifactId >incognia-api-client-shaded</artifactId >
33
- <version >3.1 .0</version >
33
+ <version >3.3 .0</version >
34
34
</dependency >
35
35
```
36
36
@@ -47,13 +47,13 @@ repositories {
47
47
And then add the dependency
48
48
``` gradle
49
49
dependencies {
50
- implementation 'com.incognia:incognia-api-client:3.1 .0'
50
+ implementation 'com.incognia:incognia-api-client:3.3 .0'
51
51
}
52
52
```
53
53
OR
54
54
``` gradle
55
55
dependencies {
56
- implementation 'com.incognia:incognia-api-client-shaded:3.1 .0'
56
+ implementation 'com.incognia:incognia-api-client-shaded:3.3 .0'
57
57
}
58
58
```
59
59
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ plugins {
8
8
}
9
9
10
10
group = " com.incognia"
11
- version = " 3.1 .0"
11
+ version = " 3.3 .0"
12
12
13
13
task createProjectVersionFile {
14
14
def projectVersionDir = " $projectDir /src/main/java/com/incognia/api"
Original file line number Diff line number Diff line change @@ -481,23 +481,4 @@ private List<TransactionAddress> addressMapToTransactionAddresses(
481
481
})
482
482
.collect (Collectors .toList ());
483
483
}
484
-
485
- public static void main (String [] args ) {
486
- IncogniaAPI api = IncogniaAPI .init ("QBqiqgZrw8bxg4M_k-jjRImqGvzKs2dQ" , "x6sC_JIHwxTDXGu3EP3TkKeSU_hlGEa6iZgj-tmifXU-lwVhpGZaAppwoyIqYfME" );
487
- try {
488
- RegisterLoginRequest registerLoginRequest =
489
- RegisterLoginRequest .builder ()
490
- .accountId ("account-id" )
491
- // .requestToken("l8dfTwNiUBsdtmMSBvX5sejOnhBmTPSjQC4njDYNrvsuS7c9bRVeq1_xMvyf4tlyUhfaV5aYDn58rO6GMFtdOuekbcXoDwBA7eoEvQn0rt7zMNcP-FeTAGgPhGmW_zSNq4ZTPGWNLJvRqmdBTwW2uw")
492
- // .requestToken(null)
493
- .evaluateTransaction (true ) // can be omitted as it uses true as the default value
494
- .build ();
495
- TransactionAssessment assessment = api .registerLogin (registerLoginRequest );
496
- System .out .println (assessment .getRiskAssessment ());
497
- } catch (IncogniaAPIException e ) {
498
- System .out .println (e .getMessage ());
499
- } catch (IncogniaException e ) {
500
- //Something unexpected happened
501
- }
502
- }
503
484
}
Original file line number Diff line number Diff line change @@ -561,7 +561,7 @@ void testRegisterFeedback_whenDataIsValid(boolean dryRun) {
561
561
.build (),
562
562
dryRun );
563
563
}
564
-
564
+
565
565
566
566
@ Test
567
567
@ DisplayName ("should throw illegal argument exception with correct message" )
You can’t perform that action at this time.
0 commit comments