@velocitycareerlabs/vcl-react-native 1.1.4 → 1.1.5

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.
@@ -1,2 +1,2 @@
1
- #Tue Aug 09 17:13:19 IDT 2022
1
+ #Wed Nov 09 13:41:30 IST 2022
2
2
  gradle.version=7.4.2
@@ -131,5 +131,5 @@ dependencies {
131
131
 
132
132
  // VCL:
133
133
  implementation "com.nimbusds:nimbus-jose-jwt:9.23"
134
- implementation "io.velocitycareerlabs:vcl:1.1.3"
134
+ implementation "io.velocitycareerlabs:vcl:1.1.5"
135
135
  }
@@ -29,7 +29,7 @@ object Converter {
29
29
  initializationDescriptorMap.getMapOpt("environment")
30
30
  ?: mapOf(Pair("value", VCLEnvironment.PROD.value)).toReadableMap()
31
31
  ),
32
- resetCache = initializationDescriptorMap.getBooleanOpt("resetCache") ?: false
32
+ cacheSequence = initializationDescriptorMap.getIntOpt("cacheSequence") ?: 0
33
33
  )
34
34
 
35
35
  fun mapToEnvironment(environmentMap: ReadableMap) =
@@ -18,7 +18,7 @@ func dictionaryToInitializationDescriptor(
18
18
  environment: dictionaryToEnvironment(
19
19
  initializationDescriptorDictionary["environment"] as? [String: String] ?? ["value": VCLEnvironment.PROD.rawValue]
20
20
  ),
21
- resetCache: initializationDescriptorDictionary["resetCache"] as? Bool ?? false
21
+ cacheSequence: initializationDescriptorDictionary["cacheSequence"] as? Int ?? 0
22
22
  )
23
23
  }
24
24
 
@@ -7,5 +7,5 @@
7
7
  import type { VCLEnvironment } from '../VCLEnvironment';
8
8
  export interface VCLInitializationDescriptor {
9
9
  environment?: VCLEnvironment;
10
- resetCache?: Boolean;
10
+ cacheSequence?: Number;
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velocitycareerlabs/vcl-react-native",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "Velocity Career Labs React Native SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -51,8 +51,8 @@
51
51
  "@react-native-community/eslint-config": "^2.0.0",
52
52
  "@release-it/conventional-changelog": "^2.0.0",
53
53
  "@types/jest": "^26.0.0",
54
- "@types/react": "^16.9.19",
55
- "@types/react-native": "0.62.13",
54
+ "@types/react": "^17.0.39",
55
+ "@types/react-native": "0.66.15",
56
56
  "commitlint": "^11.0.0",
57
57
  "eslint": "^7.2.0",
58
58
  "eslint-config-prettier": "^7.0.0",
@@ -61,8 +61,8 @@
61
61
  "jest": "^26.0.1",
62
62
  "pod-install": "^0.1.0",
63
63
  "prettier": "^2.0.5",
64
- "react": "16.13.1",
65
- "react-native": "0.63.4",
64
+ "react": "17.0.2",
65
+ "react-native": "0.67.5",
66
66
  "react-native-builder-bob": "^0.18.0",
67
67
  "release-it": "^14.2.2",
68
68
  "typescript": "^4.1.3"
@@ -12,7 +12,6 @@ import type { VCLCredentialTypeSchemas } from './entities/VCLCredentialTypeSchem
12
12
  import type { VCLCredentialTypesUIFormSchema } from './entities/VCLCredentialTypesUIFormSchema';
13
13
  import type { VCLCredentialTypesUIFormSchemaDescriptor } from './entities/VCLCredentialTypesUIFormSchemaDescriptor';
14
14
  import type { VCLDeepLink } from './entities/VCLDeepLink';
15
- import type { VCLEnvironment } from './VCLEnvironment';
16
15
  import type { VCLExchange } from './entities/VCLExchange';
17
16
  import type { VCLExchangeDescriptor } from './entities/VCLExchangeDescriptor';
18
17
  import type { VCLFinalizeOffersDescriptor } from './entities/VCLFinalizeOffersDescriptor';
@@ -9,5 +9,5 @@ import type { VCLEnvironment } from '../VCLEnvironment';
9
9
 
10
10
  export interface VCLInitializationDescriptor {
11
11
  environment?: VCLEnvironment;
12
- resetCache?: Boolean;
12
+ cacheSequence?: Number;
13
13
  }
@@ -18,5 +18,5 @@ Pod::Spec.new do |s|
18
18
  s.swift_version = "5.0"
19
19
 
20
20
  s.dependency "React"
21
- s.dependency "VCL", "1.1.3"
21
+ s.dependency "VCL", "1.1.5"
22
22
  end