@velocitycareerlabs/vcl-react-native 1.6.0 → 1.8.0

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.
Files changed (25) hide show
  1. package/android/.gradle/7.4.2/checksums/checksums.lock +0 -0
  2. package/android/.gradle/7.4.2/checksums/md5-checksums.bin +0 -0
  3. package/android/.gradle/7.4.2/checksums/sha1-checksums.bin +0 -0
  4. package/android/.gradle/7.4.2/dependencies-accessors/dependencies-accessors.lock +0 -0
  5. package/android/.gradle/7.4.2/executionHistory/executionHistory.lock +0 -0
  6. package/android/.gradle/7.4.2/fileHashes/fileHashes.lock +0 -0
  7. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  8. package/android/.gradle/buildOutputCleanup/cache.properties +1 -1
  9. package/android/build.gradle +1 -1
  10. package/android/src/main/java/io/velocitycareerlabs/reactnative/utlis/Converter.kt +19 -28
  11. package/ios/Utils/Converter.swift +20 -33
  12. package/lib/commonjs/api/entities/VCLIssuingType.js +21 -0
  13. package/lib/commonjs/api/entities/VCLIssuingType.js.map +1 -0
  14. package/lib/commonjs/api/entities/VCLServiceType.js +3 -7
  15. package/lib/commonjs/api/entities/VCLServiceType.js.map +1 -1
  16. package/lib/module/api/entities/VCLIssuingType.js +15 -0
  17. package/lib/module/api/entities/VCLIssuingType.js.map +1 -0
  18. package/lib/module/api/entities/VCLServiceType.js +3 -7
  19. package/lib/module/api/entities/VCLServiceType.js.map +1 -1
  20. package/lib/typescript/api/entities/VCLIssuingType.d.ts +12 -0
  21. package/lib/typescript/api/entities/VCLServiceType.d.ts +3 -7
  22. package/package.json +1 -1
  23. package/src/api/entities/VCLIssuingType.ts +13 -0
  24. package/src/api/entities/VCLServiceType.ts +3 -7
  25. package/vcl-react-native.podspec +1 -1
@@ -1,2 +1,2 @@
1
- #Mon Dec 19 18:12:27 IST 2022
1
+ #Sun Feb 19 13:05:19 IST 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.29"
134
- implementation "io.velocitycareerlabs:vcl:1.6.0"
134
+ implementation "io.velocitycareerlabs:vcl:1.8.0"
135
135
  }
@@ -135,10 +135,6 @@ object Converter {
135
135
  fun mapTopPresentationRequestDescriptor(presentationRequestDescriptorLinkMap: ReadableMap) =
136
136
  VCLPresentationRequestDescriptor(
137
137
  deepLink = mapToDeepLink(presentationRequestDescriptorLinkMap.getMapOpt("deepLink")),
138
- serviceType = mapToServiceType(
139
- presentationRequestDescriptorLinkMap,
140
- VCLServiceType.Inspector
141
- ),
142
138
  pushDelegate = mapToPushDelegate(presentationRequestDescriptorLinkMap.getMapOpt("pushDelegate"))
143
139
  )
144
140
 
@@ -151,13 +147,13 @@ object Converter {
151
147
  return retVal
152
148
  }
153
149
 
154
- fun mapToServiceType(
155
- serviceTypeMap: ReadableMap,
156
- defaultServiceType: VCLServiceType
150
+ fun mapToIssuingType(
151
+ issuingTypeMap: ReadableMap,
152
+ defaultIssuingType: VCLIssuingType
157
153
  ) =
158
- serviceTypeMap.getStringOpt("serviceType")?.let { serviceType ->
159
- VCLServiceType.fromString(serviceType)
160
- } ?: defaultServiceType
154
+ issuingTypeMap.getStringOpt("issuingType")?.let { issuingType ->
155
+ VCLIssuingType.fromString(issuingType)
156
+ } ?: defaultIssuingType
161
157
 
162
158
  fun mapToToken(tokenMap: ReadableMap?) =
163
159
  VCLToken(tokenMap?.getStringOpt("value") ?: "")
@@ -220,21 +216,21 @@ object Converter {
220
216
  }
221
217
 
222
218
  fun presentationSubmissionResultToMap(
223
- presentationSubmissionResult: VCLPresentationSubmissionResult
219
+ presentationSubmissionResult: VCLSubmissionResult
224
220
  ): ReadableMap {
225
221
  val presentationSubmissionResultMap = Arguments.createMap()
226
222
  presentationSubmissionResultMap.putMap(
227
- VCLIdentificationSubmissionResult.KeyToken, tokenToMap(presentationSubmissionResult.token)
223
+ VCLSubmissionResult.KeyToken, tokenToMap(presentationSubmissionResult.token)
228
224
  )
229
225
  presentationSubmissionResultMap.putMap(
230
- VCLIdentificationSubmissionResult.KeyExchange,
226
+ VCLSubmissionResult.KeyExchange,
231
227
  exchangeToMap(presentationSubmissionResult.exchange)
232
228
  )
233
229
  presentationSubmissionResultMap.putString(
234
- VCLIdentificationSubmissionResult.KeyJti, presentationSubmissionResult.jti
230
+ VCLSubmissionResult.KeyJti, presentationSubmissionResult.jti
235
231
  )
236
232
  presentationSubmissionResultMap.putString(
237
- VCLIdentificationSubmissionResult.KeySubmissionId, presentationSubmissionResult.submissionId
233
+ VCLSubmissionResult.KeySubmissionId, presentationSubmissionResult.submissionId
238
234
  )
239
235
  return presentationSubmissionResultMap
240
236
  }
@@ -304,9 +300,10 @@ object Converter {
304
300
  credentialType?.let { ct -> credentialTypesList?.add(ct) }
305
301
  }
306
302
  }
303
+ val serviceTypes = serviceTypesList?.let { VCLServiceTypes(it) }
307
304
  return VCLFilter(
308
305
  did = did,
309
- serviceTypes = serviceTypesList,
306
+ serviceTypes = serviceTypes,
310
307
  credentialTypes = credentialTypesList
311
308
  )
312
309
  }
@@ -390,9 +387,9 @@ object Converter {
390
387
  ): VCLCredentialManifestDescriptorByDeepLink {
391
388
  return VCLCredentialManifestDescriptorByDeepLink(
392
389
  mapToDeepLink(credentialManifestDescriptorByDeepLinkMap.getMapOpt("deepLink")),
393
- mapToServiceType(
390
+ mapToIssuingType(
394
391
  credentialManifestDescriptorByDeepLinkMap,
395
- VCLServiceType.Issuer
392
+ VCLIssuingType.Career
396
393
  )
397
394
  )
398
395
  }
@@ -406,9 +403,9 @@ object Converter {
406
403
  service = mapToServiceCredentialAgentIssuer(
407
404
  credentialManifestDescriptorByServiceMap.getMapOpt("service")
408
405
  ),
409
- serviceType = mapToServiceType(
406
+ issuingType = mapToIssuingType(
410
407
  credentialManifestDescriptorByServiceMap,
411
- VCLServiceType.Issuer
408
+ VCLIssuingType.Career
412
409
  ),
413
410
  credentialTypes =
414
411
  (credentialManifestDescriptorByServiceMap.getArrayOpt("credentialTypes")?.toArrayList()
@@ -424,10 +421,6 @@ object Converter {
424
421
  service = mapToServiceCredentialAgentIssuer(
425
422
  credentialManifestDescriptorRefreshMap.getMapOpt("service")
426
423
  ),
427
- serviceType = mapToServiceType(
428
- credentialManifestDescriptorRefreshMap,
429
- VCLServiceType.Issuer
430
- ),
431
424
  credentialIds = credentialManifestDescriptorRefreshMap.getArrayOpt("credentialIds")
432
425
  ?.toArrayList()?.toList() as? List<String> ?: listOf()
433
426
  )
@@ -559,10 +552,8 @@ object Converter {
559
552
 
560
553
  fun mapToVerifiedProfileDescriptor(verifiedProfileDescriptor: ReadableMap) =
561
554
  VCLVerifiedProfileDescriptor(
562
- did = verifiedProfileDescriptor.getStringOpt("did") ?: "",
563
- serviceType = verifiedProfileDescriptor.getStringOpt("serviceType")?.let {
564
- VCLServiceType.fromString(it)
565
- })
555
+ did = verifiedProfileDescriptor.getStringOpt("did") ?: ""
556
+ )
566
557
 
567
558
  fun verifiedProfileToMap(
568
559
  verifiedProfile: VCLVerifiedProfile
@@ -133,10 +133,6 @@ func dictionaryTopPresentationRequestDescriptor(
133
133
  ) -> VCLPresentationRequestDescriptor {
134
134
  return VCLPresentationRequestDescriptor(
135
135
  deepLink: dictionaryToDeepLink(presentationRequestDescriptorLinkDictionary["deepLink"] as? [String: Any]),
136
- serviceType: dictionaryToServiceType(
137
- serviceTypeDictionary: presentationRequestDescriptorLinkDictionary,
138
- defaultServiceType: VCLServiceType.Inspector
139
- ),
140
136
  pushDelegate: dictionaryToPushDelegate(presentationRequestDescriptorLinkDictionary["pushDelegate"] as? [String: Any])
141
137
  )
142
138
  }
@@ -157,14 +153,14 @@ func tokenToDictionary(_ token: VCLToken) -> [String: Any] {
157
153
  return ["value": token.value]
158
154
  }
159
155
 
160
- func dictionaryToServiceType(
161
- serviceTypeDictionary: [String: Any],
162
- defaultServiceType: VCLServiceType
163
- ) -> VCLServiceType {
164
- if let serviceType = serviceTypeDictionary["serviceType"] as? String {
165
- return VCLServiceType.fromString(value: serviceType)
156
+ func dictionaryToIssuingType(
157
+ issuingTypeDictionary: [String: Any],
158
+ defaultIssuingType: VCLIssuingType
159
+ ) -> VCLIssuingType {
160
+ if let issuingType = issuingTypeDictionary["issuingType"] as? String {
161
+ return VCLIssuingType.fromString(value: issuingType)
166
162
  }
167
- return defaultServiceType
163
+ return defaultIssuingType
168
164
  }
169
165
 
170
166
  func dictionaryToPresentationRequest(
@@ -213,13 +209,13 @@ func dictionaryToPresentationSubmission(
213
209
  }
214
210
 
215
211
  func presentationSubmissionResultToDictionary(
216
- _ presentationSubmissionResult: VCLPresentationSubmissionResult
212
+ _ presentationSubmissionResult: VCLSubmissionResult
217
213
  ) -> [String: Any] {
218
214
  var presentationSubmissionResulDictionary = [String: Any]()
219
- presentationSubmissionResulDictionary["token"] = tokenToDictionary(presentationSubmissionResult.token)
220
- presentationSubmissionResulDictionary["exchange"] = exchangeToDictionary(presentationSubmissionResult.exchange)
221
- presentationSubmissionResulDictionary["jti"] = presentationSubmissionResult.jti
222
- presentationSubmissionResulDictionary["submissionId"] = presentationSubmissionResult.submissionId
215
+ presentationSubmissionResulDictionary[VCLSubmissionResult.CodingKeys.KeyToken] = tokenToDictionary(presentationSubmissionResult.token)
216
+ presentationSubmissionResulDictionary[VCLSubmissionResult.CodingKeys.KeyExchange] = exchangeToDictionary(presentationSubmissionResult.exchange)
217
+ presentationSubmissionResulDictionary[VCLSubmissionResult.CodingKeys.KeyJti] = presentationSubmissionResult.jti
218
+ presentationSubmissionResulDictionary[VCLSubmissionResult.CodingKeys.KeySubmissionId] = presentationSubmissionResult.submissionId
223
219
  return presentationSubmissionResulDictionary
224
220
  }
225
221
 
@@ -292,7 +288,8 @@ func dictionaryToFilter(
292
288
  credentialTypesList?.append(credentialType)
293
289
  }
294
290
  }
295
- return VCLFilter(did: did, serviceTypes: serviceTypesList, credentialTypes: credentialTypesList)
291
+ var serviceTypes: VCLServiceTypes? = serviceTypesList != nil ? VCLServiceTypes(all: serviceTypesList ?? [VCLServiceType]()) : nil
292
+ return VCLFilter(did: did, serviceTypes: serviceTypes, credentialTypes: credentialTypesList)
296
293
  }
297
294
 
298
295
  func dictionaryToPage(_ pageDictionary: [String: Any]?) -> VCLPage {
@@ -364,9 +361,9 @@ func dictionaryToCredentialManifestDescriptorByDeepLink(
364
361
  deepLink: dictionaryToDeepLink(
365
362
  credentialManifestDescriptorByDeepLinkDictionary["deepLink"] as? [String : Any]
366
363
  ),
367
- serviceType: dictionaryToServiceType(
368
- serviceTypeDictionary: credentialManifestDescriptorByDeepLinkDictionary,
369
- defaultServiceType: VCLServiceType.Issuer
364
+ issuingType: dictionaryToIssuingType(
365
+ issuingTypeDictionary: credentialManifestDescriptorByDeepLinkDictionary,
366
+ defaultIssuingType: VCLIssuingType.Career
370
367
  )
371
368
  )
372
369
  }
@@ -380,9 +377,9 @@ func dictionaryToCredentialManifestDescriptorByService(
380
377
  service: dictionaryToServiceCredentialAgentIssuer(
381
378
  credentialManifestDescriptorByServiceDictionary["service"] as? [String : Any]
382
379
  ),
383
- serviceType: dictionaryToServiceType(
384
- serviceTypeDictionary: credentialManifestDescriptorByServiceDictionary,
385
- defaultServiceType: VCLServiceType.Issuer
380
+ issuingType: dictionaryToIssuingType(
381
+ issuingTypeDictionary: credentialManifestDescriptorByServiceDictionary,
382
+ defaultIssuingType: VCLIssuingType.Career
386
383
  ),
387
384
  credentialTypes: credentialManifestDescriptorByServiceDictionary["credentialTypes"] as? [String],
388
385
  pushDelegate: pushDelegate
@@ -396,10 +393,6 @@ func dictionaryToCredentialManifestDescriptorRefresh(
396
393
  service: dictionaryToServiceCredentialAgentIssuer(
397
394
  credentialManifestDescriptorRefreshDictionary["service"] as? [String : Any]
398
395
  ),
399
- serviceType: dictionaryToServiceType(
400
- serviceTypeDictionary: credentialManifestDescriptorRefreshDictionary,
401
- defaultServiceType: VCLServiceType.Issuer
402
- ),
403
396
  credentialIds: credentialManifestDescriptorRefreshDictionary["credentialIds"] as? [String] ?? [String]()
404
397
  )
405
398
  }
@@ -521,12 +514,6 @@ func readableMapToCredentialTypesUIFormSchemaDescriptor(
521
514
  func dictionaryToVerifiedProfileDescriptor(
522
515
  _ verifiedProfileDescriptor: [String: Any]
523
516
  ) -> VCLVerifiedProfileDescriptor {
524
- if let serviceTypeStr = verifiedProfileDescriptor["serviceType"] as? String {
525
- return VCLVerifiedProfileDescriptor(
526
- did: (verifiedProfileDescriptor["did"] as? String) ?? "",
527
- serviceType: VCLServiceType.fromString(value: serviceTypeStr)
528
- )
529
- }
530
517
  return VCLVerifiedProfileDescriptor(did: (verifiedProfileDescriptor["did"] as? String) ?? "")
531
518
  }
532
519
 
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.VCLServiceType = void 0;
7
+ /**
8
+ * Created by Michael Avoyan.
9
+ *
10
+ * Copyright 2022 Velocity Career Labs inc.
11
+ * SPDX-License-Identifier: Apache-2.0
12
+ */
13
+ let VCLServiceType;
14
+ exports.VCLServiceType = VCLServiceType;
15
+ (function (VCLServiceType) {
16
+ VCLServiceType["Career"] = "Career";
17
+ VCLServiceType["Identity"] = "Identity";
18
+ VCLServiceType["Refresh"] = "Refresh";
19
+ VCLServiceType["Undefined"] = "Undefined";
20
+ })(VCLServiceType || (exports.VCLServiceType = VCLServiceType = {}));
21
+ //# sourceMappingURL=VCLIssuingType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["VCLServiceType"],"sources":["VCLIssuingType.ts"],"sourcesContent":["/**\n * Created by Michael Avoyan.\n *\n * Copyright 2022 Velocity Career Labs inc.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport enum VCLServiceType {\n Career = 'Career',\n Identity = 'Identity',\n Refresh = 'Refresh',\n Undefined = 'Undefined',\n}\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AALA,IAOYA,cAAc;AAAA;AAAA,WAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;AAAA,GAAdA,cAAc,8BAAdA,cAAc"}
@@ -13,15 +13,11 @@ exports.VCLServiceType = void 0;
13
13
  let VCLServiceType;
14
14
  exports.VCLServiceType = VCLServiceType;
15
15
  (function (VCLServiceType) {
16
- VCLServiceType["Issuer"] = "Issuer";
17
16
  VCLServiceType["Inspector"] = "Inspector";
18
- VCLServiceType["TrustRoot"] = "TrustRoot";
19
- VCLServiceType["CareerIssuer"] = "CareerIssuer";
20
- VCLServiceType["NodeOperator"] = "NodeOperator";
21
- VCLServiceType["NotaryIssuer"] = "NotaryIssuer";
17
+ VCLServiceType["Issuer"] = "Issuer";
22
18
  VCLServiceType["IdentityIssuer"] = "IdentityIssuer";
23
- VCLServiceType["HolderAppProvider"] = "HolderAppProvider";
24
- VCLServiceType["CredentialAgentOperator"] = "CredentialAgentOperator";
19
+ VCLServiceType["NotaryIssuer"] = "NotaryIssuer";
20
+ VCLServiceType["CareerIssuer"] = "CareerIssuer";
25
21
  VCLServiceType["Undefined"] = "Undefined";
26
22
  })(VCLServiceType || (exports.VCLServiceType = VCLServiceType = {}));
27
23
  //# sourceMappingURL=VCLServiceType.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["VCLServiceType"],"sources":["VCLServiceType.ts"],"sourcesContent":["/**\n * Created by Michael Avoyan.\n *\n * Copyright 2022 Velocity Career Labs inc.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport enum VCLServiceType {\n Issuer = 'Issuer',\n Inspector = 'Inspector',\n TrustRoot = 'TrustRoot',\n CareerIssuer = 'CareerIssuer',\n NodeOperator = 'NodeOperator',\n NotaryIssuer = 'NotaryIssuer',\n IdentityIssuer = 'IdentityIssuer',\n HolderAppProvider = 'HolderAppProvider',\n CredentialAgentOperator = 'CredentialAgentOperator',\n Undefined = 'Undefined',\n}\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AALA,IAOYA,cAAc;AAAA;AAAA,WAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;AAAA,GAAdA,cAAc,8BAAdA,cAAc"}
1
+ {"version":3,"names":["VCLServiceType"],"sources":["VCLServiceType.ts"],"sourcesContent":["/**\n * Created by Michael Avoyan.\n *\n * Copyright 2022 Velocity Career Labs inc.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport enum VCLServiceType {\n Inspector = 'Inspector',\n Issuer = 'Issuer',\n IdentityIssuer = 'IdentityIssuer',\n NotaryIssuer = 'NotaryIssuer',\n CareerIssuer = 'CareerIssuer',\n Undefined = 'Undefined',\n}\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AALA,IAOYA,cAAc;AAAA;AAAA,WAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;AAAA,GAAdA,cAAc,8BAAdA,cAAc"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Created by Michael Avoyan.
3
+ *
4
+ * Copyright 2022 Velocity Career Labs inc.
5
+ * SPDX-License-Identifier: Apache-2.0
6
+ */
7
+
8
+ export let VCLServiceType;
9
+ (function (VCLServiceType) {
10
+ VCLServiceType["Career"] = "Career";
11
+ VCLServiceType["Identity"] = "Identity";
12
+ VCLServiceType["Refresh"] = "Refresh";
13
+ VCLServiceType["Undefined"] = "Undefined";
14
+ })(VCLServiceType || (VCLServiceType = {}));
15
+ //# sourceMappingURL=VCLIssuingType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["VCLServiceType"],"sources":["VCLIssuingType.ts"],"sourcesContent":["/**\n * Created by Michael Avoyan.\n *\n * Copyright 2022 Velocity Career Labs inc.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport enum VCLServiceType {\n Career = 'Career',\n Identity = 'Identity',\n Refresh = 'Refresh',\n Undefined = 'Undefined',\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA,WAAYA,cAAc;AAKzB,WALWA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;AAAA,GAAdA,cAAc,KAAdA,cAAc"}
@@ -7,15 +7,11 @@
7
7
 
8
8
  export let VCLServiceType;
9
9
  (function (VCLServiceType) {
10
- VCLServiceType["Issuer"] = "Issuer";
11
10
  VCLServiceType["Inspector"] = "Inspector";
12
- VCLServiceType["TrustRoot"] = "TrustRoot";
13
- VCLServiceType["CareerIssuer"] = "CareerIssuer";
14
- VCLServiceType["NodeOperator"] = "NodeOperator";
15
- VCLServiceType["NotaryIssuer"] = "NotaryIssuer";
11
+ VCLServiceType["Issuer"] = "Issuer";
16
12
  VCLServiceType["IdentityIssuer"] = "IdentityIssuer";
17
- VCLServiceType["HolderAppProvider"] = "HolderAppProvider";
18
- VCLServiceType["CredentialAgentOperator"] = "CredentialAgentOperator";
13
+ VCLServiceType["NotaryIssuer"] = "NotaryIssuer";
14
+ VCLServiceType["CareerIssuer"] = "CareerIssuer";
19
15
  VCLServiceType["Undefined"] = "Undefined";
20
16
  })(VCLServiceType || (VCLServiceType = {}));
21
17
  //# sourceMappingURL=VCLServiceType.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["VCLServiceType"],"sources":["VCLServiceType.ts"],"sourcesContent":["/**\n * Created by Michael Avoyan.\n *\n * Copyright 2022 Velocity Career Labs inc.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport enum VCLServiceType {\n Issuer = 'Issuer',\n Inspector = 'Inspector',\n TrustRoot = 'TrustRoot',\n CareerIssuer = 'CareerIssuer',\n NodeOperator = 'NodeOperator',\n NotaryIssuer = 'NotaryIssuer',\n IdentityIssuer = 'IdentityIssuer',\n HolderAppProvider = 'HolderAppProvider',\n CredentialAgentOperator = 'CredentialAgentOperator',\n Undefined = 'Undefined',\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA,WAAYA,cAAc;AAWzB,WAXWA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;AAAA,GAAdA,cAAc,KAAdA,cAAc"}
1
+ {"version":3,"names":["VCLServiceType"],"sources":["VCLServiceType.ts"],"sourcesContent":["/**\n * Created by Michael Avoyan.\n *\n * Copyright 2022 Velocity Career Labs inc.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport enum VCLServiceType {\n Inspector = 'Inspector',\n Issuer = 'Issuer',\n IdentityIssuer = 'IdentityIssuer',\n NotaryIssuer = 'NotaryIssuer',\n CareerIssuer = 'CareerIssuer',\n Undefined = 'Undefined',\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA,WAAYA,cAAc;AAOzB,WAPWA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;AAAA,GAAdA,cAAc,KAAdA,cAAc"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Created by Michael Avoyan.
3
+ *
4
+ * Copyright 2022 Velocity Career Labs inc.
5
+ * SPDX-License-Identifier: Apache-2.0
6
+ */
7
+ export declare enum VCLServiceType {
8
+ Career = "Career",
9
+ Identity = "Identity",
10
+ Refresh = "Refresh",
11
+ Undefined = "Undefined"
12
+ }
@@ -5,14 +5,10 @@
5
5
  * SPDX-License-Identifier: Apache-2.0
6
6
  */
7
7
  export declare enum VCLServiceType {
8
- Issuer = "Issuer",
9
8
  Inspector = "Inspector",
10
- TrustRoot = "TrustRoot",
11
- CareerIssuer = "CareerIssuer",
12
- NodeOperator = "NodeOperator",
13
- NotaryIssuer = "NotaryIssuer",
9
+ Issuer = "Issuer",
14
10
  IdentityIssuer = "IdentityIssuer",
15
- HolderAppProvider = "HolderAppProvider",
16
- CredentialAgentOperator = "CredentialAgentOperator",
11
+ NotaryIssuer = "NotaryIssuer",
12
+ CareerIssuer = "CareerIssuer",
17
13
  Undefined = "Undefined"
18
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velocitycareerlabs/vcl-react-native",
3
- "version": "1.6.0",
3
+ "version": "1.8.0",
4
4
  "description": "Velocity Career Labs React Native SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Created by Michael Avoyan.
3
+ *
4
+ * Copyright 2022 Velocity Career Labs inc.
5
+ * SPDX-License-Identifier: Apache-2.0
6
+ */
7
+
8
+ export enum VCLServiceType {
9
+ Career = 'Career',
10
+ Identity = 'Identity',
11
+ Refresh = 'Refresh',
12
+ Undefined = 'Undefined',
13
+ }
@@ -6,14 +6,10 @@
6
6
  */
7
7
 
8
8
  export enum VCLServiceType {
9
- Issuer = 'Issuer',
10
9
  Inspector = 'Inspector',
11
- TrustRoot = 'TrustRoot',
12
- CareerIssuer = 'CareerIssuer',
13
- NodeOperator = 'NodeOperator',
14
- NotaryIssuer = 'NotaryIssuer',
10
+ Issuer = 'Issuer',
15
11
  IdentityIssuer = 'IdentityIssuer',
16
- HolderAppProvider = 'HolderAppProvider',
17
- CredentialAgentOperator = 'CredentialAgentOperator',
12
+ NotaryIssuer = 'NotaryIssuer',
13
+ CareerIssuer = 'CareerIssuer',
18
14
  Undefined = 'Undefined',
19
15
  }
@@ -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.6.0"
21
+ s.dependency "VCL", "1.8.0"
22
22
  end