Skip to content

Commit

Permalink
fix: Make GenericEvent accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
SMadani committed Jul 23, 2024
1 parent ff206e5 commit 425b13b
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

# [8.9.3] - 2024-07-23
- Made `com.vonage.client.conversations.GenericEvent` public

# [8.9.2] - 2024-07-12
- Refactoring to accommodate using v2.0.0 of Vonage JWT library
- Made `timestamp` optional in Conversion API
Expand Down
17 changes: 12 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.vonage</groupId>
<artifactId>server-sdk</artifactId>
<version>8.9.2</version>
<version>8.9.3</version>

<name>Vonage Java Server SDK</name>
<description>Java client for Vonage APIs</description>
Expand Down Expand Up @@ -73,12 +73,12 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.14.0</version>
<version>3.15.0</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.17.0</version>
<version>1.17.1</version>
</dependency>

<!-- Tests -->
Expand Down Expand Up @@ -192,7 +192,7 @@

<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.3.0</version>
<version>3.3.1</version>
<configuration>
<argLine>--enable-preview</argLine>
<forkCount>1</forkCount>
Expand Down Expand Up @@ -235,7 +235,7 @@

<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.7.0</version>
<version>3.8.0</version>
<configuration>
<linksource>true</linksource>
</configuration>
Expand Down Expand Up @@ -284,6 +284,13 @@
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>maven_central</id>
<name>Maven Central</name>
<url>https://repo.maven.apache.org/maven2/</url>
</repository>
</repositories>

<profiles>
<profile>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/vonage/client/HttpWrapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
public class HttpWrapper {
private static final String
CLIENT_NAME = "vonage-java-sdk",
CLIENT_VERSION = "8.9.2",
CLIENT_VERSION = "8.9.3",
JAVA_VERSION = System.getProperty("java.version"),
USER_AGENT = String.format("%s/%s java/%s", CLIENT_NAME, CLIENT_VERSION, JAVA_VERSION);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import java.util.Map;

class GenericEvent extends EventWithBody<Map<String, ?>> {
public class GenericEvent extends EventWithBody<Map<String, ?>> {

GenericEvent() {}

Expand All @@ -40,7 +40,7 @@ public static abstract class Builder<E extends GenericEvent,
B extends Builder<? extends E, ? extends B>>
extends EventWithBody.Builder<GenericEvent, Builder<E, B>> {

Map<String, ?> body;
private Map<String, ?> body;

Builder(EventType type) {
super(type);
Expand Down

0 comments on commit 425b13b

Please sign in to comment.