payme-mini-app 0.6.2 → 0.6.3

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.
@@ -67,8 +67,9 @@ class RNPayMEMiniAppModule(reactContext: ReactApplicationContext) :
67
67
  }
68
68
 
69
69
  @ReactMethod
70
- fun setLanguage(language: Locale) {
71
- payMEMiniApp?.setLanguage(language)
70
+ fun setLanguage(language: String) {
71
+ val locale = getLocale(language)
72
+ payMEMiniApp?.setLanguage(locale)
72
73
  }
73
74
 
74
75
  @ReactMethod
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payme-mini-app",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Thư viện tích hợp PayME Miniapp",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",