@velocitycareerlabs/vcl-react-native 2.6.9 → 2.6.11

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.
@@ -92,8 +92,8 @@ dependencies {
92
92
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
93
93
 
94
94
  //--------- Must: be added:
95
- implementation "io.velocitycareerlabs:vcl:2.6.9"
96
- implementation 'com.nimbusds:nimbus-jose-jwt:9.41.2'
95
+ implementation "io.velocitycareerlabs:vcl:2.6.11"
96
+ implementation 'com.nimbusds:nimbus-jose-jwt:9.45'
97
97
  implementation "androidx.security:security-crypto:1.1.0-alpha06"
98
98
  //-------------------------
99
99
  }
@@ -95,7 +95,7 @@ fun WritableMap.getMapOpt(key: String): ReadableMap? {
95
95
 
96
96
  fun ReadableMap.toJsonObject(): JSONObject {
97
97
  return try {
98
- JSONObject(this.toHashMap())
98
+ JSONObject(this.toHashMap() as MutableMap<*, *>)
99
99
  } catch (e: Exception) {
100
100
  // e.printStackTrace()
101
101
  JSONObject()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velocitycareerlabs/vcl-react-native",
3
- "version": "2.6.9",
3
+ "version": "2.6.11",
4
4
  "description": "Velocity Career Labs React Native SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -100,7 +100,6 @@
100
100
  "workspaces": [
101
101
  "example"
102
102
  ],
103
- "packageManager": "yarn@3.6.1",
104
103
  "jest": {
105
104
  "preset": "react-native",
106
105
  "modulePathIgnorePatterns": [
@@ -173,5 +172,6 @@
173
172
  }
174
173
  ]
175
174
  ]
176
- }
175
+ },
176
+ "packageManager": "yarn@3.6.1"
177
177
  }
@@ -21,7 +21,7 @@ Pod::Spec.new do |s|
21
21
 
22
22
  # s.swift_version = "5"
23
23
 
24
- s.dependency "VCL", "2.6.9"
24
+ s.dependency "VCL", "2.6.11"
25
25
 
26
26
  # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
27
27
  # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.