Skip to content

Commit cd01b0e

Browse files
authored
Update VerificationMethod type to include WhatsApp (#36)
1 parent 0100732 commit cd01b0e

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Check out our [official Java SDK documentation](https://docs.authsignal.com/sdks
1515
Add this dependency to your project's build file:
1616

1717
```groovy
18-
implementation 'com.authsignal:authsignal-java:2.9.0'
18+
implementation 'com.authsignal:authsignal-java:2.9.1'
1919
```
2020

2121
### Maven users
@@ -26,7 +26,7 @@ Add this dependency to your project's POM:
2626
<dependency>
2727
<groupId>com.authsignal</groupId>
2828
<artifactId>authsignal-java</artifactId>
29-
<version>2.9.0</version>
29+
<version>2.9.1</version>
3030
</dependency>
3131
```
3232

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=2.9.0
1+
version=2.9.1

src/main/java/com/authsignal/AuthsignalClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class AuthsignalClient {
2727

2828
private static final String DEFAULT_API_URL = "https://api.authsignal.com/v1";
2929
private static final int DEFAULT_RETRIES = 2;
30-
private static final String VERSION = "2.9.0";
30+
private static final String VERSION = "2.9.1";
3131

3232
public Webhook webhook;
3333

src/main/java/com/authsignal/model/VerificationMethodType.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,7 @@ public enum VerificationMethodType {
3838

3939
@SerializedName("DEVICE")
4040
DEVICE,
41+
42+
@SerializedName("WHATSAPP")
43+
WHATSAPP,
4144
}

0 commit comments

Comments
 (0)