@yuno-payments/yuno-sdk-react-native 1.0.19 → 1.0.20
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 +4 -2
- package/package.json +1 -1
package/ios/YunoSdk.swift
CHANGED
|
@@ -81,8 +81,10 @@ class YunoSdk: RCTEventEmitter {
|
|
|
81
81
|
do {
|
|
82
82
|
self.currentCountryCode = countryCode
|
|
83
83
|
|
|
84
|
-
// Parse language
|
|
85
|
-
if let
|
|
84
|
+
// Parse language (check both "language" and "lang" for backwards compatibility)
|
|
85
|
+
if let language = yunoConfig["language"] as? String {
|
|
86
|
+
self.currentLanguage = language
|
|
87
|
+
} else if let lang = yunoConfig["lang"] as? String {
|
|
86
88
|
self.currentLanguage = lang
|
|
87
89
|
}
|
|
88
90
|
|
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.20",
|
|
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",
|