@yuno-payments/yuno-sdk-react-native 1.0.17 → 1.0.19

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/YunoSdk.podspec CHANGED
@@ -40,7 +40,7 @@ Pod::Spec.new do |s|
40
40
  end
41
41
 
42
42
  # Yuno iOS SDK
43
- s.dependency "YunoSDK", "2.7.1"
43
+ s.dependency "YunoSDK", "2.9.0"
44
44
 
45
45
  s.swift_version = '5.0'
46
46
  s.static_framework = true
@@ -107,7 +107,7 @@ dependencies {
107
107
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
108
108
 
109
109
  // Yuno Android SDK
110
- implementation "com.yuno.payments:android-sdk:2.7.0"
110
+ implementation "com.yuno.payments:android-sdk:2.8.1"
111
111
  implementation "androidx.appcompat:appcompat:1.6.1"
112
112
 
113
113
  // Jetpack Compose (required for YunoPaymentMethodsViewManager)
@@ -197,7 +197,7 @@ class YunoSdkModule(private val reactContext: ReactApplicationContext) :
197
197
  callbackOTT = { token ->
198
198
  notifyOneTimeToken(token)
199
199
  },
200
- callbackPaymentState = { state ->
200
+ callbackPaymentState = { state, subState ->
201
201
  notifyPaymentState(state)
202
202
  }
203
203
  )
@@ -477,7 +477,7 @@ class YunoSdkModule(private val reactContext: ReactApplicationContext) :
477
477
  showPaymentStatus = showPaymentStatus,
478
478
  checkoutSession = checkoutSession,
479
479
  countryCode = countryCode,
480
- callbackPaymentState = { paymentState ->
480
+ callbackPaymentState = { paymentState, subState ->
481
481
  sendPaymentStatusEvent(paymentState)
482
482
  }
483
483
  )
@@ -562,7 +562,7 @@ class YunoSdkModule(private val reactContext: ReactApplicationContext) :
562
562
  vaultedToken = vaultedToken
563
563
  ),
564
564
  showPaymentStatus = showPaymentStatus,
565
- callbackPaymentState = { paymentState ->
565
+ callbackPaymentState = { paymentState, subState ->
566
566
  sendPaymentStatusEvent(paymentState)
567
567
  promise.resolve(paymentState ?: "UNKNOWN")
568
568
  }
@@ -40,7 +40,7 @@ Pod::Spec.new do |s|
40
40
  end
41
41
 
42
42
  # Yuno iOS SDK
43
- s.dependency "YunoSDK", "2.7.1"
43
+ s.dependency "YunoSDK", "2.9.0"
44
44
 
45
45
  s.swift_version = '5.0'
46
46
  s.static_framework = true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/yuno-sdk-react-native",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "description": "Yuno React Native SDK empowers you to create seamless payment experiences in your native Android and iOS apps built with React Native.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",