@haroldtran/react-native-pax 1.0.1 → 1.0.2

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.
@@ -81,7 +81,7 @@ dependencies {
81
81
  //! https://developer.pax.us/api/v1/files/314390436447793152/download/private#POSLink_Semi_Integration_Java_Android_V2.01.00_20240914.zip
82
82
  implementation fileTree(dir: 'libs', include: ['*.jar'])
83
83
  implementation 'androidx.core:core-ktx:1.16.0'
84
- implementation 'com.google.code.gson:gson:2.11.0'
84
+ implementation 'com.google.code.gson:gson:latest.release'
85
85
  }
86
86
 
87
87
  if (isNewArchitectureEnabled()) {
@@ -132,7 +132,7 @@ class PaxPosLinkModule(
132
132
  val map = Arguments.createMap()
133
133
  map.putBoolean("status", this.status)
134
134
  map.putString("message", this.message)
135
- map.putMap("data", Utils.toWritableMap(this.data))
135
+ map.putString("data", this.data.toString())
136
136
  map.putBoolean("isPaymentSuccess", this.isPaymentSuccess)
137
137
  map.putString("cardHolder", this.cardHolder)
138
138
  map.putString("cardNumber", this.cardNumber)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haroldtran/react-native-pax",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "React Native native module for PAX devices",
5
5
  "main": "./lib/commonjs/index.js",
6
6
  "module": "./lib/module/index.js",