judokit-react-native 3.4.1 → 3.4.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.
@@ -192,7 +192,7 @@ RCT_REMAP_METHOD(fetchTransactionDetails,
192
192
  andReject:(RCTPromiseRejectBlock)reject {
193
193
  return ^(JPResponse *response, NSError *error) {
194
194
  if (error) {
195
- if (error.code == JPError.judoUserDidCancelError.code) {
195
+ if (error.code == JPError.userDidCancelError.code) {
196
196
  reject(kJudoPromiseRejectionCode, @"Transaction cancelled", error);
197
197
  return;
198
198
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "judokit-react-native",
3
3
  "title": "Judopay React Native Module",
4
- "version": "3.4.1",
4
+ "version": "3.4.2",
5
5
  "description": "A React Native module for the Judopay native SDKs to take payments on iOS and Android.",
6
6
  "main": "JudoPay.tsx",
7
7
  "scripts": {