@velocitycareerlabs/vcl-react-native 2.6.2 → 2.6.4
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/build.gradle
CHANGED
|
@@ -92,7 +92,7 @@ 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.
|
|
95
|
+
implementation "io.velocitycareerlabs:vcl:2.6.3"
|
|
96
96
|
implementation 'com.nimbusds:nimbus-jose-jwt:9.41.2'
|
|
97
97
|
implementation "androidx.security:security-crypto:1.1.0-alpha06"
|
|
98
98
|
//-------------------------
|
package/ios/VclReactNative.swift
CHANGED
|
@@ -11,14 +11,14 @@ class VclReactNative: NSObject {
|
|
|
11
11
|
|
|
12
12
|
private let vcl = VCLProvider.vclInstance()
|
|
13
13
|
|
|
14
|
-
private func initGlobalConfigurations(
|
|
14
|
+
@MainActor private func initGlobalConfigurations(
|
|
15
15
|
_ initializationDescriptor: VCLInitializationDescriptor
|
|
16
16
|
) {
|
|
17
17
|
GlobalConfig.CurrentEnvironment = initializationDescriptor.environment
|
|
18
18
|
GlobalConfig.IsDebugOn = initializationDescriptor.isDebugOn
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
@objc(initialize:withResolver:withRejecter:)
|
|
21
|
+
@MainActor @objc(initialize:withResolver:withRejecter:)
|
|
22
22
|
func initialize(
|
|
23
23
|
initializationDescriptorDictionary: [String: Sendable],
|
|
24
24
|
resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock
|
|
@@ -35,7 +35,7 @@ class VclReactNative: NSObject {
|
|
|
35
35
|
})
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
@objc(getCountries:withRejecter:)
|
|
38
|
+
@MainActor @objc(getCountries:withRejecter:)
|
|
39
39
|
func getCountries(
|
|
40
40
|
resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock
|
|
41
41
|
) {
|
|
@@ -47,7 +47,7 @@ class VclReactNative: NSObject {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
@objc(getCredentialTypeSchemas:withRejecter:)
|
|
50
|
+
@MainActor @objc(getCredentialTypeSchemas:withRejecter:)
|
|
51
51
|
func getCredentialTypeSchemas(
|
|
52
52
|
resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock
|
|
53
53
|
) {
|
|
@@ -59,7 +59,7 @@ class VclReactNative: NSObject {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
@objc(getCredentialTypes:withRejecter:)
|
|
62
|
+
@MainActor @objc(getCredentialTypes:withRejecter:)
|
|
63
63
|
func getCredentialTypes(
|
|
64
64
|
resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock
|
|
65
65
|
) {
|
|
@@ -71,7 +71,7 @@ class VclReactNative: NSObject {
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
@objc(getPresentationRequest:withResolver:withRejecter:)
|
|
74
|
+
@MainActor @objc(getPresentationRequest:withResolver:withRejecter:)
|
|
75
75
|
func getPresentationRequest(
|
|
76
76
|
presentationRequestDescriptorDictionary: [String: Sendable],
|
|
77
77
|
resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock
|
|
@@ -87,7 +87,7 @@ class VclReactNative: NSObject {
|
|
|
87
87
|
)
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
@objc(submitPresentation:withResolver:withRejecter:)
|
|
90
|
+
@MainActor @objc(submitPresentation:withResolver:withRejecter:)
|
|
91
91
|
func submitPresentation(
|
|
92
92
|
presentationSubmissionDictionary: [String: Sendable],
|
|
93
93
|
resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock
|
|
@@ -104,7 +104,7 @@ class VclReactNative: NSObject {
|
|
|
104
104
|
})
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
@objc(getExchangeProgress:withResolver:withRejecter:)
|
|
107
|
+
@MainActor @objc(getExchangeProgress:withResolver:withRejecter:)
|
|
108
108
|
func getExchangeProgress(
|
|
109
109
|
exchangeDescriptorDictionary: [String: Sendable],
|
|
110
110
|
resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock
|
|
@@ -119,7 +119,7 @@ class VclReactNative: NSObject {
|
|
|
119
119
|
})
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
@objc(searchForOrganizations:withResolver:withRejecter:)
|
|
122
|
+
@MainActor @objc(searchForOrganizations:withResolver:withRejecter:)
|
|
123
123
|
func searchForOrganizations(
|
|
124
124
|
organizationsSearchDescriptorDictionary: [String: Sendable],
|
|
125
125
|
resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock
|
|
@@ -134,7 +134,7 @@ class VclReactNative: NSObject {
|
|
|
134
134
|
})
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
@objc(getCredentialManifest:withResolver:withRejecter:)
|
|
137
|
+
@MainActor @objc(getCredentialManifest:withResolver:withRejecter:)
|
|
138
138
|
func getCredentialManifest(
|
|
139
139
|
credentialManifestDescriptorDictionary: [String: Sendable],
|
|
140
140
|
resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock
|
|
@@ -155,7 +155,7 @@ class VclReactNative: NSObject {
|
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
@objc(generateOffers:withResolver:withRejecter:)
|
|
158
|
+
@MainActor @objc(generateOffers:withResolver:withRejecter:)
|
|
159
159
|
func generateOffers(
|
|
160
160
|
generateOffersDescriptorDictionary: [String: Sendable],
|
|
161
161
|
resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock
|
|
@@ -170,7 +170,7 @@ class VclReactNative: NSObject {
|
|
|
170
170
|
})
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
@objc(checkForOffers:withtSessionTokenDictionary:withResolver:withRejecter:)
|
|
173
|
+
@MainActor @objc(checkForOffers:withtSessionTokenDictionary:withResolver:withRejecter:)
|
|
174
174
|
func checkForOffers(
|
|
175
175
|
generateOffersDescriptorDictionary: [String: Sendable],
|
|
176
176
|
sessionTokenDictionary: [String: Sendable],
|
|
@@ -187,7 +187,7 @@ class VclReactNative: NSObject {
|
|
|
187
187
|
})
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
@objc(finalizeOffers:withSessionTokenDictionary:withResolver:withRejecter:)
|
|
190
|
+
@MainActor @objc(finalizeOffers:withSessionTokenDictionary:withResolver:withRejecter:)
|
|
191
191
|
func finalizeOffers(
|
|
192
192
|
finalizeOffersDescriptorDictionary: [String: Sendable],
|
|
193
193
|
sessionTokenDictionary: [String: Sendable],
|
|
@@ -204,7 +204,7 @@ class VclReactNative: NSObject {
|
|
|
204
204
|
})
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
@objc(getCredentialTypesUIFormSchema:withResolver:withRejecter:)
|
|
207
|
+
@MainActor @objc(getCredentialTypesUIFormSchema:withResolver:withRejecter:)
|
|
208
208
|
func getCredentialTypesUIFormSchema(
|
|
209
209
|
credentialTypesUIFormSchemaDescriptorDictionary: [String: Sendable],
|
|
210
210
|
resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock
|
|
@@ -220,7 +220,7 @@ class VclReactNative: NSObject {
|
|
|
220
220
|
)
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
@objc(getVerifiedProfile:withResolver:withRejecter:)
|
|
223
|
+
@MainActor @objc(getVerifiedProfile:withResolver:withRejecter:)
|
|
224
224
|
func getVerifiedProfile(
|
|
225
225
|
verifiedProfileDescriptorDictionary: [String: Sendable],
|
|
226
226
|
resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock
|
|
@@ -235,7 +235,7 @@ class VclReactNative: NSObject {
|
|
|
235
235
|
})
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
@objc(verifyJwt:withPublicJwkDictionary:withRemoteCryptoServicesTokenDictionary:withResolver:withRejecter:)
|
|
238
|
+
@MainActor @objc(verifyJwt:withPublicJwkDictionary:withRemoteCryptoServicesTokenDictionary:withResolver:withRejecter:)
|
|
239
239
|
func verifyJwt(
|
|
240
240
|
jwtDictionary: [String: Sendable],
|
|
241
241
|
publicJwkDictionary: [String: Sendable],
|
|
@@ -254,7 +254,7 @@ class VclReactNative: NSObject {
|
|
|
254
254
|
})
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
@objc(generateSignedJwt:withDidJwkDictionary:withRemoteCryptoServicesTokenDictionary:withResolver:withRejecter:)
|
|
257
|
+
@MainActor @objc(generateSignedJwt:withDidJwkDictionary:withRemoteCryptoServicesTokenDictionary:withResolver:withRejecter:)
|
|
258
258
|
func generateSignedJwt(
|
|
259
259
|
jwtDescriptorDictionary: [String: Sendable],
|
|
260
260
|
didJwkDictionary: [String: Sendable],
|
|
@@ -273,7 +273,7 @@ class VclReactNative: NSObject {
|
|
|
273
273
|
})
|
|
274
274
|
}
|
|
275
275
|
|
|
276
|
-
@objc(generateDidJwk:withResolver:withRejecter:)
|
|
276
|
+
@MainActor @objc(generateDidJwk:withResolver:withRejecter:)
|
|
277
277
|
func generateDidJwk(
|
|
278
278
|
didJwkDescriptorDictionary: [String: Sendable]? = nil,
|
|
279
279
|
resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock
|
package/package.json
CHANGED
|
@@ -19,7 +19,9 @@ 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.
|
|
22
|
+
s.swift_version = "5"
|
|
23
|
+
|
|
24
|
+
s.dependency "VCL", "2.6.3"
|
|
23
25
|
|
|
24
26
|
# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
|
|
25
27
|
# See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
|