@yuno-payments/yuno-sdk-react-native 1.0.18 → 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.
|
@@ -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
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yuno-payments/yuno-sdk-react-native",
|
|
3
|
-
"version": "1.0.
|
|
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",
|