react-native-zcash 0.9.3 → 0.9.4

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
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.9.4 (2024-11-21)
6
+
7
+ - fixed: Fix argument passed to BlockHeight constructor
8
+
5
9
  ## 0.9.3 (2024-11-20)
6
10
 
7
11
  - changed: (Android) Upgrade zcash-android-sdk to v2.2.5
@@ -60,7 +60,7 @@ class RNZcashModule(private val reactContext: ReactApplicationContext) :
60
60
  alias,
61
61
  endpoint,
62
62
  seedPhrase.toByteArray(),
63
- BlockHeight.new(network, birthdayHeight.toLong()),
63
+ BlockHeight.new(birthdayHeight.toLong()),
64
64
  initMode,
65
65
  ) as SdkSynchronizer
66
66
  }
@@ -71,7 +71,7 @@ class RNZcashModule(private val reactContext: ReactApplicationContext) :
71
71
  }.collectWith(scope) { map ->
72
72
  val progress = map["progress"] as PercentDecimal
73
73
  var networkBlockHeight = map["networkHeight"] as BlockHeight?
74
- if (networkBlockHeight == null) networkBlockHeight = BlockHeight.new(wallet.network, birthdayHeight.toLong())
74
+ if (networkBlockHeight == null) networkBlockHeight = BlockHeight.new(birthdayHeight.toLong())
75
75
 
76
76
  sendEvent("UpdateEvent") { args ->
77
77
  args.putString("alias", alias)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-zcash",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "description": "Zcash library for React Native",
5
5
  "homepage": "https://github.com/EdgeApp/react-native-zcash",
6
6
  "repository": {