@velocitycareerlabs/vcl-react-native 1.18.4 → 1.20.0

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.
@@ -100,7 +100,7 @@ dependencies {
100
100
 
101
101
  // VCL:
102
102
  implementation "com.nimbusds:nimbus-jose-jwt:9.35"
103
- implementation "io.velocitycareerlabs:vcl:1.18.4"
103
+ implementation "io.velocitycareerlabs:vcl:1.20.0"
104
104
  }
105
105
 
106
106
  if (isNewArchitectureEnabled()) {
@@ -35,7 +35,8 @@ object Converter {
35
35
  isDebugOn = initializationDescriptorMap.getBooleanOpt("isDebugOn") ?: false,
36
36
  cryptoServicesDescriptor = mapToCryptoServicesDescriptor(
37
37
  initializationDescriptorMap.getMapOpt("cryptoServicesDescriptor")
38
- )
38
+ ),
39
+ isDirectIssuerCheckOn = initializationDescriptorMap.getBooleanOpt("isDirectIssuerCheckOn") ?: true
39
40
  )
40
41
 
41
42
  private fun mapToEnvironment(environment: String?) =
@@ -25,7 +25,8 @@ func dictionaryToInitializationDescriptor(
25
25
  isDebugOn: initializationDescriptorDictionary["isDebugOn"] as? Bool ?? false,
26
26
  cryptoServicesDescriptor: dictionaryToCryptoServicesDescriptor(
27
27
  initializationDescriptorDictionary["cryptoServicesDescriptor"] as? [String : Any]
28
- )
28
+ ),
29
+ isDirectIssuerCheckOn: initializationDescriptorDictionary["isDirectIssuerCheckOn"] as? Bool ?? true
29
30
  )
30
31
  }
31
32
 
@@ -13,5 +13,6 @@ export interface VCLInitializationDescriptor {
13
13
  cacheSequence?: number;
14
14
  isDebugOn?: boolean;
15
15
  cryptoServicesDescriptor?: VCLCryptoServicesDescriptor;
16
+ isDirectIssuerCheckOn?: boolean;
16
17
  }
17
18
  //# sourceMappingURL=VCLInitializationDescriptor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VCLInitializationDescriptor.d.ts","sourceRoot":"","sources":["../../../../../src/api/entities/initialization/VCLInitializationDescriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAE3E,MAAM,WAAW,2BAA2B;IAC1C,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,mBAAmB,CAAC,EAAE,sBAAsB,CAAC;IAC7C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,wBAAwB,CAAC,EAAE,2BAA2B,CAAC;CACxD"}
1
+ {"version":3,"file":"VCLInitializationDescriptor.d.ts","sourceRoot":"","sources":["../../../../../src/api/entities/initialization/VCLInitializationDescriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAE3E,MAAM,WAAW,2BAA2B;IAC1C,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,mBAAmB,CAAC,EAAE,sBAAsB,CAAC;IAC7C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,wBAAwB,CAAC,EAAE,2BAA2B,CAAC;IACvD,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velocitycareerlabs/vcl-react-native",
3
- "version": "1.18.4",
3
+ "version": "1.20.0",
4
4
  "description": "Velocity Career Labs React Native SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -15,4 +15,5 @@ export interface VCLInitializationDescriptor {
15
15
  cacheSequence?: number;
16
16
  isDebugOn?: boolean;
17
17
  cryptoServicesDescriptor?: VCLCryptoServicesDescriptor;
18
+ isDirectIssuerCheckOn?: boolean;
18
19
  }
@@ -19,7 +19,7 @@ Pod::Spec.new do |s|
19
19
  # https://github.com/CocoaPods/CocoaPods/issues/7234#issuecomment-346136322
20
20
  # s.static_framework = true
21
21
 
22
- s.dependency "VCL", "1.18.4"
22
+ s.dependency "VCL", "1.20.0"
23
23
 
24
24
  # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
25
25
  # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.