@yuno-payments/yuno-sdk-react-native 1.0.25 → 1.0.26

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/ios/YunoSdk.swift CHANGED
@@ -97,7 +97,9 @@ class YunoSdk: RCTEventEmitter {
97
97
  }
98
98
 
99
99
  // Parse other config options
100
- let saveCardEnabled = yunoConfig["savedCardEnable"] as? Bool ?? false
100
+ let saveCardEnabled = yunoConfig["saveCardEnabled"] as? Bool ??
101
+ yunoConfig["savedCardEnable"] as? Bool ??
102
+ false
101
103
  // keepLoader is inverted from showPaymentStatus (if showPaymentStatus is false, keepLoader should be true)
102
104
  let showPaymentStatus = yunoConfig["showPaymentStatus"] as? Bool ?? true
103
105
  let keepLoader = !showPaymentStatus
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/yuno-sdk-react-native",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
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",