react-native-authsignal 2.2.1 → 2.2.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.
@@ -121,6 +121,8 @@ class AuthsignalQRCodeModule(private val reactContext: ReactApplicationContext)
121
121
  map.putBoolean("success", data.success)
122
122
  data.userAgent?.let { map.putString("userAgent", it) }
123
123
  data.ipAddress?.let { map.putString("ipAddress", it) }
124
+ data.actionCode?.let { map.putString("actionCode", it) }
125
+ data.idempotencyKey?.let { map.putString("idempotencyKey", it) }
124
126
  promise.resolve(map)
125
127
  }
126
128
  }
@@ -132,6 +132,8 @@ class AuthsignalQRCodeModule: NSObject {
132
132
  "success": data.success,
133
133
  "userAgent": data.userAgent,
134
134
  "ipAddress": data.ipAddress,
135
+ "actionCode": data.actionCode,
136
+ "idempotencyKey": data.idempotencyKey,
135
137
  ]
136
138
 
137
139
  resolve(result)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-authsignal",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "The official Authsignal React Native library.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",