@velocitycareerlabs/vcl-react-native 1.12.4 → 1.12.6
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/android/.gradle/7.4.2/checksums/checksums.lock +0 -0
- package/android/.gradle/7.4.2/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/7.4.2/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/7.4.2/executionHistory/executionHistory.lock +0 -0
- package/android/src/main/java/io/velocitycareerlabs/reactnative/utlis/Converter.kt +2 -2
- package/ios/GlobalConfig.swift +22 -0
- package/ios/VclReactNative.swift +2 -2
- package/package.json +1 -1
- package/android/src/main/java/io/velocitycareerlabs/reactnative/.DS_Store +0 -0
- package/android/src/main/java/io/velocitycareerlabs/reactnative/utlis/.DS_Store +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -428,9 +428,9 @@ object Converter {
|
|
|
428
428
|
fun mapToServiceCredentialAgentIssuer(
|
|
429
429
|
serviceMap: ReadableMap?
|
|
430
430
|
): VCLServiceCredentialAgentIssuer {
|
|
431
|
-
var payload = JSONObject(
|
|
431
|
+
var payload = JSONObject()
|
|
432
432
|
try {
|
|
433
|
-
payload =
|
|
433
|
+
payload = serviceMap?.getMapOpt("payload")?.toJsonObject() ?: JSONObject()
|
|
434
434
|
} catch (ex: Exception) {
|
|
435
435
|
ex.printStackTrace()
|
|
436
436
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//
|
|
2
|
+
// GlobalConfig.swift
|
|
3
|
+
// vcl-react-native
|
|
4
|
+
//
|
|
5
|
+
// Created by Michael Avoyan on 08/08/2023.
|
|
6
|
+
//
|
|
7
|
+
// Copyright 2022 Velocity Career Labs inc.
|
|
8
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
|
+
|
|
10
|
+
import Foundation
|
|
11
|
+
import VCL
|
|
12
|
+
|
|
13
|
+
struct GlobalConfig {
|
|
14
|
+
|
|
15
|
+
static var CurrentEnvironment = VCLEnvironment.PROD
|
|
16
|
+
|
|
17
|
+
static var IsDebugOn = false
|
|
18
|
+
|
|
19
|
+
static let LogTagPrefix = "VCL RN iOS "
|
|
20
|
+
|
|
21
|
+
static var IsLoggerOn: Bool { get { CurrentEnvironment != VCLEnvironment.PROD || GlobalConfig.IsDebugOn } }
|
|
22
|
+
}
|
package/ios/VclReactNative.swift
CHANGED
|
@@ -137,9 +137,9 @@ class VclReactNative: NSObject {
|
|
|
137
137
|
credentialManifestDescriptorDictionary: [String: Any],
|
|
138
138
|
resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock
|
|
139
139
|
) {
|
|
140
|
-
VCLLog.d("credentialManifestDescriptorDictionary: \(credentialManifestDescriptorDictionary)")
|
|
140
|
+
VCLLog.d("credentialManifestDescriptorDictionary dictionary: \(credentialManifestDescriptorDictionary)")
|
|
141
141
|
if let credentialManifestDescriptor = dictionaryToCredentialManifestDescriptor(credentialManifestDescriptorDictionary) {
|
|
142
|
-
VCLLog.d("credentialManifestDescriptor: \(credentialManifestDescriptor.toPropsString())")
|
|
142
|
+
VCLLog.d("credentialManifestDescriptor VCL entity: \(credentialManifestDescriptor.toPropsString())")
|
|
143
143
|
vcl.getCredentialManifest(
|
|
144
144
|
credentialManifestDescriptor: credentialManifestDescriptor,
|
|
145
145
|
successHandler: {
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|