judokit-react-native 3.4.2 → 3.4.4

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.0"
18
+ s.dependency "JudoKit-iOS", "3.1.3"
19
19
 
20
20
  s.test_spec 'RNJudoTests' do |test_spec|
21
21
  test_spec.source_files = 'ios/RNJudoTests/**/*.{h,m}'
@@ -101,7 +101,7 @@ dependencies {
101
101
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
102
102
  implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0'
103
103
 
104
- implementation 'com.judopay:judokit-android:3.0.4'
104
+ implementation 'com.judopay:judokit-android:3.0.10'
105
105
 
106
106
  //JUnit 5
107
107
  testImplementation "org.junit.jupiter:junit-jupiter-api:$junit5_version"
@@ -165,15 +165,9 @@ internal fun getNetworkTimeout(options: ReadableMap): NetworkTimeout? {
165
165
  return null
166
166
  }
167
167
 
168
- internal fun getChallengeRequestIndicator(options: ReadableMap): ChallengeRequestIndicator? {
169
- val challengeRequestIndicator = ChallengeRequestIndicator.values().firstOrNull { it.value == options.challengeRequestIndicator }
170
- return challengeRequestIndicator ?: ChallengeRequestIndicator.CHALLENGE_AS_MANDATE
171
- }
168
+ internal fun getChallengeRequestIndicator(options: ReadableMap): ChallengeRequestIndicator? = ChallengeRequestIndicator.values().firstOrNull { it.value == options.challengeRequestIndicator }
172
169
 
173
- internal fun getScaExemption(options: ReadableMap): ScaExemption {
174
- val scaExemption = ScaExemption.values().firstOrNull { it.value == options.scaExemption }
175
- return scaExemption ?: ScaExemption.LOW_VALUE
176
- }
170
+ internal fun getScaExemption(options: ReadableMap): ScaExemption? = ScaExemption.values().firstOrNull { it.value == options.scaExemption }
177
171
 
178
172
  internal fun getAuthorization(options: ReadableMap): Authorization {
179
173
  val token = options.token
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.0"
22
+ pod "JudoKit-iOS", "3.1.3"
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.0.1)
25
- - JudoKit-iOS (3.0.2):
24
+ - Judo3DS2_iOS (1.1.1)
25
+ - JudoKit-iOS (3.1.2):
26
26
  - DeviceDNA (~> 2.0.0)
27
- - Judo3DS2_iOS (~> 1.0.1)
27
+ - Judo3DS2_iOS (~> 1.1.1)
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.0.2)
239
+ - JudoKit-iOS (= 3.1.2)
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: c1ccf49ecacddb4559a73fb7eae6e680e2355b21
335
- JudoKit-iOS: 4a96c63d4cfb45bb1a68a1891b2ebaeaa8a46be1
334
+ Judo3DS2_iOS: 1699474533e69b69593c6a76b42645cb240f618a
335
+ JudoKit-iOS: 1c1fc609b79cef170b3f914daf152f3712c494a9
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: bd8176c4a34cb7668ac5120fb4a4145962a52c2c
360
+ PODFILE CHECKSUM: b26e88a3a3456f8ae48d5f44fe9bcd17a5a88e55
361
361
 
362
362
  COCOAPODS: 1.11.3
@@ -380,6 +380,7 @@
380
380
  "${PODS_ROOT}/Target Support Files/Pods-RNJudo-RNJudoTests/Pods-RNJudo-RNJudoTests-resources.sh",
381
381
  "${PODS_ROOT}/JudoKit-iOS/Resources/icons.bundle",
382
382
  "${PODS_ROOT}/JudoKit-iOS/Resources/resources.bundle",
383
+ "${PODS_ROOT}/JudoKit-iOS/Resources/CountriesList.json",
383
384
  "${PODS_CONFIGURATION_BUILD_DIR}/JudoKit-iOS/JudoKit_iOS.bundle",
384
385
  "${PODS_CONFIGURATION_BUILD_DIR}/ZappMerchantLib/ZappMerchantLibResources.bundle",
385
386
  );
@@ -387,6 +388,7 @@
387
388
  outputPaths = (
388
389
  "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/icons.bundle",
389
390
  "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/resources.bundle",
391
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/CountriesList.json",
390
392
  "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/JudoKit_iOS.bundle",
391
393
  "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ZappMerchantLibResources.bundle",
392
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.2",
4
+ "version": "3.4.4",
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": {