@granite-js/video 1.0.4 → 1.0.6

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @granite-js/video
2
2
 
3
+ ## 1.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - 93e31cb: fix(android): fix wrong event name topVideoTransferEnd -> topTransferEnd
8
+
9
+ ## 1.0.5
10
+
3
11
  ## 1.0.4
4
12
 
5
13
  ## 1.0.3
@@ -308,7 +308,7 @@ class GraniteVideoViewManager(
308
308
  .put("topVideoPictureInPictureStatusChanged", MapBuilder.of("registrationName", "onVideoPictureInPictureStatusChanged"))
309
309
  .put("topVideoControlsVisibilityChange", MapBuilder.of("registrationName", "onVideoControlsVisibilityChange"))
310
310
  .put("topVideoAspectRatio", MapBuilder.of("registrationName", "onVideoAspectRatio"))
311
- .put("topVideoTransferEnd", MapBuilder.of("registrationName", "onVideoTransferEnd"))
311
+ .put("topTransferEnd", MapBuilder.of("registrationName", "onTransferEnd"))
312
312
  .build()
313
313
  }
314
314
 
@@ -265,7 +265,7 @@ class GraniteVideoOnTransferEndEvent(
265
265
  private val uri: String,
266
266
  private val bytesTransferred: Long
267
267
  ) : Event<GraniteVideoOnTransferEndEvent>(surfaceId, viewId) {
268
- override fun getEventName(): String = "topVideoTransferEnd"
268
+ override fun getEventName(): String = "topTransferEnd"
269
269
  override fun getEventData(): WritableMap = Arguments.createMap().apply {
270
270
  putString("uri", uri)
271
271
  putLong("bytesTransferred", bytesTransferred)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@granite-js/video",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Pluggable video component for React Native with provider selection",
5
5
  "type": "module",
6
6
  "main": "./dist/module/index.js",