Skip to content

Commit 907a89f

Browse files
authored
chore: Update version (#763)
* chore: updated version
1 parent 6911d87 commit 907a89f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/main/java/com/sendgrid/BaseInterface.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package com.sendgrid;
22

3+
import com.sendgrid.constant.Config;
4+
35
import java.io.IOException;
46
import java.util.HashMap;
57
import java.util.Map;
@@ -11,7 +13,7 @@
1113
*/
1214
public abstract class BaseInterface implements SendGridAPI {
1315

14-
private static final String VERSION = "4.10.2";
16+
private static final String VERSION = Config.VERSION;
1517

1618
private static final String USER_AGENT = "sendgrid/" + VERSION + ";java";
1719
private static final int RATE_LIMIT_RESPONSE_CODE = 429;

src/test/java/com/sendgrid/SendGridTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public void testConstructWithClient() throws IOException {
4343
@Test
4444
public void testLibraryVersion() {
4545
SendGrid sg = new SendGrid(SENDGRID_API_KEY);
46-
Assert.assertEquals(sg.getLibraryVersion(), "4.10.2");
46+
Assert.assertEquals(sg.getLibraryVersion(), "5.0.0-rc.0");
4747
}
4848

4949
@Test

0 commit comments

Comments
 (0)