@velocitycareerlabs/vcl-react-native 1.12.1 → 1.12.3

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.
Binary file
@@ -1,2 +1,2 @@
1
- #Sun Feb 19 13:05:19 IST 2023
1
+ #Tue Aug 01 14:38:06 IDT 2023
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.31"
134
- implementation "io.velocitycareerlabs:vcl:1.12.0"
134
+ implementation "io.velocitycareerlabs:vcl:1.12.3"
135
135
  }
@@ -29,7 +29,8 @@ object Converter {
29
29
  initializationDescriptorMap.getMapOpt("environment")
30
30
  ?: mapOf(Pair("value", VCLEnvironment.PROD.value)).toReadableMap()
31
31
  ),
32
- cacheSequence = initializationDescriptorMap.getIntOpt("cacheSequence") ?: 0
32
+ cacheSequence = initializationDescriptorMap.getIntOpt("cacheSequence") ?: 0,
33
+ isDebugOn = initializationDescriptorMap.getBooleanOpt("isDebugOn") ?: false
33
34
  )
34
35
 
35
36
  fun mapToEnvironment(environmentMap: ReadableMap) =
package/ios/.DS_Store ADDED
Binary file
@@ -4,8 +4,8 @@
4
4
  //
5
5
  // Created by Michael Avoyan on 05/07/2021.
6
6
  //
7
- // Copyright 2022 Velocity Career Labs inc.
8
- // SPDX-License-Identifier: Apache-2.0
7
+ // Copyright 2022 Velocity Career Labs inc.
8
+ // SPDX-License-Identifier: Apache-2.0
9
9
  //
10
10
 
11
11
  import Foundation
@@ -18,7 +18,8 @@ func dictionaryToInitializationDescriptor(
18
18
  environment: dictionaryToEnvironment(
19
19
  initializationDescriptorDictionary["environment"] as? [String: String] ?? ["value": VCLEnvironment.PROD.rawValue]
20
20
  ),
21
- cacheSequence: initializationDescriptorDictionary["cacheSequence"] as? Int ?? 0
21
+ cacheSequence: initializationDescriptorDictionary["cacheSequence"] as? Int ?? 0,
22
+ isDebugOn: initializationDescriptorDictionary["isDebugOn"] as? Bool ?? false
22
23
  )
23
24
  }
24
25
 
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["VCLInitializationDescriptor.ts"],"sourcesContent":["/**\n * Created by Michael Avoyan.\n *\n * Copyright 2022 Velocity Career Labs inc.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport type { VCLEnvironment } from '../VCLEnvironment';\n\nexport interface VCLInitializationDescriptor {\n environment?: VCLEnvironment;\n cacheSequence?: number;\n}\n"],"mappings":""}
1
+ {"version":3,"names":[],"sources":["VCLInitializationDescriptor.ts"],"sourcesContent":["/**\n * Created by Michael Avoyan.\n *\n * Copyright 2022 Velocity Career Labs inc.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport type { VCLEnvironment } from '../VCLEnvironment';\n\nexport interface VCLInitializationDescriptor {\n environment?: VCLEnvironment;\n cacheSequence?: number;\n isDebugOn?: boolean;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["VCLInitializationDescriptor.ts"],"sourcesContent":["/**\n * Created by Michael Avoyan.\n *\n * Copyright 2022 Velocity Career Labs inc.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport type { VCLEnvironment } from '../VCLEnvironment';\n\nexport interface VCLInitializationDescriptor {\n environment?: VCLEnvironment;\n cacheSequence?: number;\n}\n"],"mappings":""}
1
+ {"version":3,"names":[],"sources":["VCLInitializationDescriptor.ts"],"sourcesContent":["/**\n * Created by Michael Avoyan.\n *\n * Copyright 2022 Velocity Career Labs inc.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport type { VCLEnvironment } from '../VCLEnvironment';\n\nexport interface VCLInitializationDescriptor {\n environment?: VCLEnvironment;\n cacheSequence?: number;\n isDebugOn?: boolean;\n}\n"],"mappings":""}
@@ -8,4 +8,5 @@ import type { VCLEnvironment } from '../VCLEnvironment';
8
8
  export interface VCLInitializationDescriptor {
9
9
  environment?: VCLEnvironment;
10
10
  cacheSequence?: number;
11
+ isDebugOn?: boolean;
11
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velocitycareerlabs/vcl-react-native",
3
- "version": "1.12.1",
3
+ "version": "1.12.3",
4
4
  "description": "Velocity Career Labs React Native SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
package/src/.DS_Store ADDED
Binary file
Binary file
Binary file
@@ -10,4 +10,5 @@ import type { VCLEnvironment } from '../VCLEnvironment';
10
10
  export interface VCLInitializationDescriptor {
11
11
  environment?: VCLEnvironment;
12
12
  cacheSequence?: number;
13
+ isDebugOn?: boolean;
13
14
  }
@@ -20,5 +20,5 @@ Pod::Spec.new do |s|
20
20
  s.static_framework = true
21
21
 
22
22
  s.dependency "React"
23
- s.dependency "VCL", "1.12.1"
23
+ s.dependency "VCL", "1.12.3"
24
24
  end