judokit-react-native 3.4.4 → 3.4.6
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/RNJudopay.podspec
CHANGED
|
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
|
|
|
15
15
|
s.source_files = "ios/Classes/**/*.{h,m}"
|
|
16
16
|
s.requires_arc = true
|
|
17
17
|
s.dependency "React"
|
|
18
|
-
s.dependency "JudoKit-iOS", "3.1.
|
|
18
|
+
s.dependency "JudoKit-iOS", "3.1.6"
|
|
19
19
|
|
|
20
20
|
s.test_spec 'RNJudoTests' do |test_spec|
|
|
21
21
|
test_spec.source_files = 'ios/RNJudoTests/**/*.{h,m}'
|
|
@@ -428,11 +428,18 @@ static NSString *const kCardSchemeAMEX = @"amex";
|
|
|
428
428
|
|
|
429
429
|
NSMutableDictionary *mappedResponse = [NSMutableDictionary new];
|
|
430
430
|
|
|
431
|
+
// TODO: remove this ASAP when this https://github.com/Judopay/JudoKit-ReactNative/pull/138
|
|
432
|
+
// will go to master (mimics the android wrapper behaviour: https://github.com/Judopay/JudoKit-ReactNative/blob/master/android/src/main/java/com/reactlibrary/Helpers.kt#L57)
|
|
433
|
+
NSNumber *result = @0;
|
|
434
|
+
if (response.result == JPTransactionResultDeclined) {
|
|
435
|
+
result = @1;
|
|
436
|
+
}
|
|
437
|
+
|
|
431
438
|
[mappedResponse setValue:response.receiptId forKey:@"receiptId"];
|
|
432
439
|
[mappedResponse setValue:response.paymentReference forKey:@"yourPaymentReference"];
|
|
433
440
|
[mappedResponse setValue:@(response.type) forKey:@"type"];
|
|
434
441
|
[mappedResponse setValue:response.createdAt forKey:@"createdAt"];
|
|
435
|
-
[mappedResponse setValue
|
|
442
|
+
[mappedResponse setValue:result forKey:@"result"];
|
|
436
443
|
[mappedResponse setValue:response.message forKey:@"message"];
|
|
437
444
|
[mappedResponse setValue:response.judoId forKey:@"judoId"];
|
|
438
445
|
[mappedResponse setValue:response.merchantName forKey:@"merchantName"];
|
package/ios/Podfile
CHANGED
|
@@ -19,7 +19,7 @@ target 'RNJudo' do
|
|
|
19
19
|
# use_frameworks!
|
|
20
20
|
|
|
21
21
|
# Pods for RNJudo
|
|
22
|
-
pod "JudoKit-iOS", "3.1.
|
|
22
|
+
pod "JudoKit-iOS", "3.1.6"
|
|
23
23
|
pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
|
|
24
24
|
pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
|
|
25
25
|
pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
|
package/ios/Podfile.lock
CHANGED
|
@@ -21,10 +21,10 @@ PODS:
|
|
|
21
21
|
- DoubleConversion
|
|
22
22
|
- glog
|
|
23
23
|
- glog (0.3.5)
|
|
24
|
-
- Judo3DS2_iOS (1.1.
|
|
25
|
-
- JudoKit-iOS (3.1.
|
|
24
|
+
- Judo3DS2_iOS (1.1.2)
|
|
25
|
+
- JudoKit-iOS (3.1.6):
|
|
26
26
|
- DeviceDNA (~> 2.0.0)
|
|
27
|
-
- Judo3DS2_iOS (~> 1.1.
|
|
27
|
+
- Judo3DS2_iOS (~> 1.1.2)
|
|
28
28
|
- TrustKit
|
|
29
29
|
- ZappMerchantLib
|
|
30
30
|
- OpenSSL-Universal (1.1.1700)
|
|
@@ -236,7 +236,7 @@ DEPENDENCIES:
|
|
|
236
236
|
- FBReactNativeSpec (from `../node_modules/react-native/Libraries/FBReactNativeSpec`)
|
|
237
237
|
- Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`)
|
|
238
238
|
- glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
|
|
239
|
-
- JudoKit-iOS (= 3.1.
|
|
239
|
+
- JudoKit-iOS (= 3.1.6)
|
|
240
240
|
- RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`)
|
|
241
241
|
- RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`)
|
|
242
242
|
- React (from `../node_modules/react-native/`)
|
|
@@ -331,8 +331,8 @@ SPEC CHECKSUMS:
|
|
|
331
331
|
FBReactNativeSpec: 118d0d177724c2d67f08a59136eb29ef5943ec75
|
|
332
332
|
Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51
|
|
333
333
|
glog: 1f3da668190260b06b429bb211bfbee5cd790c28
|
|
334
|
-
Judo3DS2_iOS:
|
|
335
|
-
JudoKit-iOS:
|
|
334
|
+
Judo3DS2_iOS: 90b820a50035cb08ccc1b2e22900b856132c79a5
|
|
335
|
+
JudoKit-iOS: eabd569f41993ddd46273a63aa5c255cef473308
|
|
336
336
|
OpenSSL-Universal: ee0a7a25f2042782e2df405e66db3e429198e392
|
|
337
337
|
RCTRequired: b153add4da6e7dbc44aebf93f3cf4fcae392ddf1
|
|
338
338
|
RCTTypeSafety: 9aa1b91d7f9310fc6eadc3cf95126ffe818af320
|
|
@@ -357,6 +357,6 @@ SPEC CHECKSUMS:
|
|
|
357
357
|
Yoga: f2a7cd4280bfe2cca5a7aed98ba0eb3d1310f18b
|
|
358
358
|
ZappMerchantLib: b14bc5814840426d351190309250347ca9b0983d
|
|
359
359
|
|
|
360
|
-
PODFILE CHECKSUM:
|
|
360
|
+
PODFILE CHECKSUM: 697d0d38cedb02c077c830bd5d3dab848ad81c11
|
|
361
361
|
|
|
362
362
|
COCOAPODS: 1.11.3
|
|
@@ -378,17 +378,17 @@
|
|
|
378
378
|
);
|
|
379
379
|
inputPaths = (
|
|
380
380
|
"${PODS_ROOT}/Target Support Files/Pods-RNJudo-RNJudoTests/Pods-RNJudo-RNJudoTests-resources.sh",
|
|
381
|
-
"${PODS_ROOT}/JudoKit-iOS/Resources/icons.bundle",
|
|
382
|
-
"${PODS_ROOT}/JudoKit-iOS/Resources/resources.bundle",
|
|
383
|
-
"${PODS_ROOT}/JudoKit-iOS/Resources/
|
|
381
|
+
"${PODS_ROOT}/JudoKit-iOS/Resources/judokit-icons.bundle",
|
|
382
|
+
"${PODS_ROOT}/JudoKit-iOS/Resources/judokit-resources.bundle",
|
|
383
|
+
"${PODS_ROOT}/JudoKit-iOS/Resources/judokit-countries-list.json",
|
|
384
384
|
"${PODS_CONFIGURATION_BUILD_DIR}/JudoKit-iOS/JudoKit_iOS.bundle",
|
|
385
385
|
"${PODS_CONFIGURATION_BUILD_DIR}/ZappMerchantLib/ZappMerchantLibResources.bundle",
|
|
386
386
|
);
|
|
387
387
|
name = "[CP] Copy Pods Resources";
|
|
388
388
|
outputPaths = (
|
|
389
|
-
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/icons.bundle",
|
|
390
|
-
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/resources.bundle",
|
|
391
|
-
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/
|
|
389
|
+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/judokit-icons.bundle",
|
|
390
|
+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/judokit-resources.bundle",
|
|
391
|
+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/judokit-countries-list.json",
|
|
392
392
|
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/JudoKit_iOS.bundle",
|
|
393
393
|
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ZappMerchantLibResources.bundle",
|
|
394
394
|
);
|
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.
|
|
4
|
+
"version": "3.4.6",
|
|
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": {
|