react-native-pdf-renderer 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -92,7 +92,7 @@ public class PdfRendererViewManagerImpl {
92
92
  }
93
93
 
94
94
  public static Event<?> createOnPageChangeEvent(int surfaceId, int targetId, int position, int total) {
95
- return new Event<>(surfaceId, targetId) {
95
+ return new Event(surfaceId, targetId) {
96
96
  @NonNull
97
97
  @Override
98
98
  public String getEventName() {
@@ -110,7 +110,7 @@ public class PdfRendererViewManagerImpl {
110
110
  }
111
111
 
112
112
  public static Event<?> createOnErrorEvent(int surfaceId, int targetId) {
113
- return new Event<>(surfaceId, targetId) {
113
+ return new Event(surfaceId, targetId) {
114
114
  @NonNull
115
115
  @Override
116
116
  public String getEventName() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-pdf-renderer",
3
3
  "displayName": "React-Native Pdf Renderer",
4
- "version": "2.1.0",
4
+ "version": "2.2.0",
5
5
  "description": "⚛ A zoomable, blazing fast, zero dependencies, pure native, typed PDF Renderer for Android and iOS.",
6
6
  "main": "dist",
7
7
  "react-native": "src",