@velocitycareerlabs/vcl-react-native 1.5.2 → 1.7.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 (124) 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/build.gradle +1 -1
  5. package/android/src/main/java/io/velocitycareerlabs/reactnative/utlis/Converter.kt +5 -5
  6. package/ios/Utils/Converter.swift +5 -5
  7. package/lib/commonjs/api/Dictionary.js.map +1 -1
  8. package/lib/commonjs/api/VCLApi.js +1 -3
  9. package/lib/commonjs/api/VCLApi.js.map +1 -1
  10. package/lib/commonjs/api/VCLEnvironment.js +0 -2
  11. package/lib/commonjs/api/VCLEnvironment.js.map +1 -1
  12. package/lib/commonjs/api/entities/VCLCountries.js +0 -2
  13. package/lib/commonjs/api/entities/VCLCountries.js.map +1 -1
  14. package/lib/commonjs/api/entities/VCLCountry.js.map +1 -1
  15. package/lib/commonjs/api/entities/VCLCredentialManifest.js.map +1 -1
  16. package/lib/commonjs/api/entities/VCLCredentialManifestDescriptor.js.map +1 -1
  17. package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorByDeepLink.js.map +1 -1
  18. package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorByService.js.map +1 -1
  19. package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorRefresh.js.map +1 -1
  20. package/lib/commonjs/api/entities/VCLCredentialType.js.map +1 -1
  21. package/lib/commonjs/api/entities/VCLCredentialTypeSchema.js.map +1 -1
  22. package/lib/commonjs/api/entities/VCLCredentialTypeSchemas.js.map +1 -1
  23. package/lib/commonjs/api/entities/VCLCredentialTypes.js.map +1 -1
  24. package/lib/commonjs/api/entities/VCLCredentialTypesUIFormSchema.js.map +1 -1
  25. package/lib/commonjs/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.js.map +1 -1
  26. package/lib/commonjs/api/entities/VCLDeepLink.js.map +1 -1
  27. package/lib/commonjs/api/entities/VCLDidJwk.js.map +1 -1
  28. package/lib/commonjs/api/entities/VCLError.js +4 -10
  29. package/lib/commonjs/api/entities/VCLError.js.map +1 -1
  30. package/lib/commonjs/api/entities/VCLErrorCode.js +0 -2
  31. package/lib/commonjs/api/entities/VCLErrorCode.js.map +1 -1
  32. package/lib/commonjs/api/entities/VCLExchange.js.map +1 -1
  33. package/lib/commonjs/api/entities/VCLExchangeDescriptor.js.map +1 -1
  34. package/lib/commonjs/api/entities/VCLFilter.js.map +1 -1
  35. package/lib/commonjs/api/entities/VCLFinalizeOffersDescriptor.js.map +1 -1
  36. package/lib/commonjs/api/entities/VCLGenerateOffersDescriptor.js.map +1 -1
  37. package/lib/commonjs/api/entities/VCLInitializationDescriptor.js.map +1 -1
  38. package/lib/commonjs/api/entities/VCLJwkPublic.js.map +1 -1
  39. package/lib/commonjs/api/entities/VCLJwt.js.map +1 -1
  40. package/lib/commonjs/api/entities/VCLJwtDescriptor.js.map +1 -1
  41. package/lib/commonjs/api/entities/VCLJwtVerifiableCredentials.js.map +1 -1
  42. package/lib/commonjs/api/entities/VCLOffers.js.map +1 -1
  43. package/lib/commonjs/api/entities/VCLOrganization.js.map +1 -1
  44. package/lib/commonjs/api/entities/VCLOrganizations.js.map +1 -1
  45. package/lib/commonjs/api/entities/VCLOrganizationsSearchDescriptor.js.map +1 -1
  46. package/lib/commonjs/api/entities/VCLPage.js.map +1 -1
  47. package/lib/commonjs/api/entities/VCLPresentationRequest.js.map +1 -1
  48. package/lib/commonjs/api/entities/VCLPresentationRequestDescriptor.js.map +1 -1
  49. package/lib/commonjs/api/entities/VCLPresentationSubmission.js.map +1 -1
  50. package/lib/commonjs/api/entities/VCLPushDelegate.js.map +1 -1
  51. package/lib/commonjs/api/entities/VCLRegion.js.map +1 -1
  52. package/lib/commonjs/api/entities/VCLRegions.js.map +1 -1
  53. package/lib/commonjs/api/entities/VCLService.js.map +1 -1
  54. package/lib/commonjs/api/entities/VCLServiceCredentialAgentIssuer.js.map +1 -1
  55. package/lib/commonjs/api/entities/VCLServiceType.js +0 -2
  56. package/lib/commonjs/api/entities/VCLServiceType.js.map +1 -1
  57. package/lib/commonjs/api/entities/VCLServiceTypes.js.map +1 -1
  58. package/lib/commonjs/api/entities/VCLSubmissionResult.js.map +1 -1
  59. package/lib/commonjs/api/entities/VCLToken.js.map +1 -1
  60. package/lib/commonjs/api/entities/VCLVerifiableCredential.js.map +1 -1
  61. package/lib/commonjs/api/entities/VCLVerifiedProfile.js.map +1 -1
  62. package/lib/commonjs/api/entities/VCLVerifiedProfileDescriptor.js.map +1 -1
  63. package/lib/commonjs/index.js +0 -6
  64. package/lib/commonjs/index.js.map +1 -1
  65. package/lib/module/api/Dictionary.js.map +1 -1
  66. package/lib/module/api/VCLApi.js +1 -0
  67. package/lib/module/api/VCLApi.js.map +1 -1
  68. package/lib/module/api/VCLEnvironment.js +1 -1
  69. package/lib/module/api/VCLEnvironment.js.map +1 -1
  70. package/lib/module/api/entities/VCLCountries.js +1 -1
  71. package/lib/module/api/entities/VCLCountries.js.map +1 -1
  72. package/lib/module/api/entities/VCLCountry.js.map +1 -1
  73. package/lib/module/api/entities/VCLCredentialManifest.js.map +1 -1
  74. package/lib/module/api/entities/VCLCredentialManifestDescriptor.js.map +1 -1
  75. package/lib/module/api/entities/VCLCredentialManifestDescriptorByDeepLink.js.map +1 -1
  76. package/lib/module/api/entities/VCLCredentialManifestDescriptorByService.js.map +1 -1
  77. package/lib/module/api/entities/VCLCredentialManifestDescriptorRefresh.js.map +1 -1
  78. package/lib/module/api/entities/VCLCredentialType.js.map +1 -1
  79. package/lib/module/api/entities/VCLCredentialTypeSchema.js.map +1 -1
  80. package/lib/module/api/entities/VCLCredentialTypeSchemas.js.map +1 -1
  81. package/lib/module/api/entities/VCLCredentialTypes.js.map +1 -1
  82. package/lib/module/api/entities/VCLCredentialTypesUIFormSchema.js.map +1 -1
  83. package/lib/module/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.js.map +1 -1
  84. package/lib/module/api/entities/VCLDeepLink.js.map +1 -1
  85. package/lib/module/api/entities/VCLDidJwk.js.map +1 -1
  86. package/lib/module/api/entities/VCLError.js +4 -6
  87. package/lib/module/api/entities/VCLError.js.map +1 -1
  88. package/lib/module/api/entities/VCLErrorCode.js +1 -1
  89. package/lib/module/api/entities/VCLErrorCode.js.map +1 -1
  90. package/lib/module/api/entities/VCLExchange.js.map +1 -1
  91. package/lib/module/api/entities/VCLExchangeDescriptor.js.map +1 -1
  92. package/lib/module/api/entities/VCLFilter.js.map +1 -1
  93. package/lib/module/api/entities/VCLFinalizeOffersDescriptor.js.map +1 -1
  94. package/lib/module/api/entities/VCLGenerateOffersDescriptor.js.map +1 -1
  95. package/lib/module/api/entities/VCLInitializationDescriptor.js.map +1 -1
  96. package/lib/module/api/entities/VCLJwkPublic.js.map +1 -1
  97. package/lib/module/api/entities/VCLJwt.js.map +1 -1
  98. package/lib/module/api/entities/VCLJwtDescriptor.js.map +1 -1
  99. package/lib/module/api/entities/VCLJwtVerifiableCredentials.js.map +1 -1
  100. package/lib/module/api/entities/VCLOffers.js.map +1 -1
  101. package/lib/module/api/entities/VCLOrganization.js.map +1 -1
  102. package/lib/module/api/entities/VCLOrganizations.js.map +1 -1
  103. package/lib/module/api/entities/VCLOrganizationsSearchDescriptor.js.map +1 -1
  104. package/lib/module/api/entities/VCLPage.js.map +1 -1
  105. package/lib/module/api/entities/VCLPresentationRequest.js.map +1 -1
  106. package/lib/module/api/entities/VCLPresentationRequestDescriptor.js.map +1 -1
  107. package/lib/module/api/entities/VCLPresentationSubmission.js.map +1 -1
  108. package/lib/module/api/entities/VCLPushDelegate.js.map +1 -1
  109. package/lib/module/api/entities/VCLRegion.js.map +1 -1
  110. package/lib/module/api/entities/VCLRegions.js.map +1 -1
  111. package/lib/module/api/entities/VCLService.js.map +1 -1
  112. package/lib/module/api/entities/VCLServiceCredentialAgentIssuer.js.map +1 -1
  113. package/lib/module/api/entities/VCLServiceType.js +1 -1
  114. package/lib/module/api/entities/VCLServiceType.js.map +1 -1
  115. package/lib/module/api/entities/VCLServiceTypes.js.map +1 -1
  116. package/lib/module/api/entities/VCLSubmissionResult.js.map +1 -1
  117. package/lib/module/api/entities/VCLToken.js.map +1 -1
  118. package/lib/module/api/entities/VCLVerifiableCredential.js.map +1 -1
  119. package/lib/module/api/entities/VCLVerifiedProfile.js.map +1 -1
  120. package/lib/module/api/entities/VCLVerifiedProfileDescriptor.js.map +1 -1
  121. package/lib/module/index.js +1 -0
  122. package/lib/module/index.js.map +1 -1
  123. package/package.json +1 -1
  124. package/vcl-react-native.podspec +1 -1
@@ -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.5.2"
134
+ implementation "io.velocitycareerlabs:vcl:1.7.0"
135
135
  }
@@ -220,21 +220,21 @@ object Converter {
220
220
  }
221
221
 
222
222
  fun presentationSubmissionResultToMap(
223
- presentationSubmissionResult: VCLPresentationSubmissionResult
223
+ presentationSubmissionResult: VCLSubmissionResult
224
224
  ): ReadableMap {
225
225
  val presentationSubmissionResultMap = Arguments.createMap()
226
226
  presentationSubmissionResultMap.putMap(
227
- VCLIdentificationSubmissionResult.KeyToken, tokenToMap(presentationSubmissionResult.token)
227
+ VCLSubmissionResult.KeyToken, tokenToMap(presentationSubmissionResult.token)
228
228
  )
229
229
  presentationSubmissionResultMap.putMap(
230
- VCLIdentificationSubmissionResult.KeyExchange,
230
+ VCLSubmissionResult.KeyExchange,
231
231
  exchangeToMap(presentationSubmissionResult.exchange)
232
232
  )
233
233
  presentationSubmissionResultMap.putString(
234
- VCLIdentificationSubmissionResult.KeyJti, presentationSubmissionResult.jti
234
+ VCLSubmissionResult.KeyJti, presentationSubmissionResult.jti
235
235
  )
236
236
  presentationSubmissionResultMap.putString(
237
- VCLIdentificationSubmissionResult.KeySubmissionId, presentationSubmissionResult.submissionId
237
+ VCLSubmissionResult.KeySubmissionId, presentationSubmissionResult.submissionId
238
238
  )
239
239
  return presentationSubmissionResultMap
240
240
  }
@@ -213,13 +213,13 @@ func dictionaryToPresentationSubmission(
213
213
  }
214
214
 
215
215
  func presentationSubmissionResultToDictionary(
216
- _ presentationSubmissionResult: VCLPresentationSubmissionResult
216
+ _ presentationSubmissionResult: VCLSubmissionResult
217
217
  ) -> [String: Any] {
218
218
  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
219
+ presentationSubmissionResulDictionary[VCLSubmissionResult.CodingKeys.KeyToken] = tokenToDictionary(presentationSubmissionResult.token)
220
+ presentationSubmissionResulDictionary[VCLSubmissionResult.CodingKeys.KeyExchange] = exchangeToDictionary(presentationSubmissionResult.exchange)
221
+ presentationSubmissionResulDictionary[VCLSubmissionResult.CodingKeys.KeyJti] = presentationSubmissionResult.jti
222
+ presentationSubmissionResulDictionary[VCLSubmissionResult.CodingKeys.KeySubmissionId] = presentationSubmissionResult.submissionId
223
223
  return presentationSubmissionResulDictionary
224
224
  }
225
225
 
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["Dictionary.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 type Dictionary<T> = {\n [key: string]: T;\n};\n"],"mappings":""}
@@ -4,17 +4,15 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.VclApi = void 0;
7
-
8
7
  var _VCLError = require("./entities/VCLError");
9
-
10
8
  var _reactNative = require("react-native");
11
-
12
9
  /**
13
10
  * Created by Michael Avoyan.
14
11
  *
15
12
  * Copyright 2022 Velocity Career Labs inc.
16
13
  * SPDX-License-Identifier: Apache-2.0
17
14
  */
15
+
18
16
  const {
19
17
  VclReactNative
20
18
  } = _reactNative.NativeModules;
@@ -1 +1 @@
1
- {"version":3,"sources":["VCLApi.ts"],"names":["VclReactNative","NativeModules","VclApi","initialize","initializationDescriptor","e","getCountries","getCredentialTypes","getCredentialTypeSchemas","getPresentationRequest","presentationRequestDescriptor","submitPresentation","presentationSubmission","getExchangeProgress","exchangeDescriptor","searchForOrganizations","organizationsSearchDescriptor","getCredentialManifest","credentialManifestDescriptor","generateOffers","generateOffersDescriptor","checkForOffers","token","finalizeOffers","finalizeOffersDescriptor","getCredentialTypesUIFormSchema","credentialTypesUIFormSchemaDescriptor","getVerifiedProfile","verifiedProfileDescriptor","verifyJwt","jwt","jwkPublic","generateSignedJwt","jwtDescriptor","generateDidJwk"],"mappings":";;;;;;;AAiCA;;AAGA;;AApCA;AACA;AACA;AACA;AACA;AACA;AAgCA,MAAM;AAAEA,EAAAA;AAAF,IAAqBC,0BAA3B;AAEO,MAAMC,MAAM,GAAG;AACpBC,EAAAA,UAAU,EAAE,MACVC,wBADU,IAEQ;AAClB,QAAI;AACF,aAAO,MAAMJ,cAAc,CAACG,UAAf,CAA0BC,wBAA1B,CAAb;AACD,KAFD,CAEE,OAAOC,CAAP,EAAU;AACV,YAAM,0BAAWA,CAAX,CAAN;AACD;AACF,GATmB;AAWpBC,EAAAA,YAAY,EAAE,YAAmC;AAC/C,QAAI;AACF,aAAO,MAAMN,cAAc,CAACM,YAAf,EAAb;AACD,KAFD,CAEE,OAAOD,CAAP,EAAU;AACV,YAAM,0BAAWA,CAAX,CAAN;AACD;AACF,GAjBmB;AAmBpBE,EAAAA,kBAAkB,EAAE,YAAyC;AAC3D,QAAI;AACF,aAAO,MAAMP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,GAAP,EAAoBC,SAApB,KAAkE;AAC3E,QAAI;AACF,aAAO,MAAM/B,cAAc,CAAC6B,SAAf,CAAyBC,GAAzB,EAA8BC,SAA9B,CAAb;AACD,KAFD,CAEE,OAAO1B,CAAP,EAAU;AACV,YAAM,0BAAWA,CAAX,CAAN;AACD;AACF,GA7JmB;AA+JpB2B,EAAAA,iBAAiB,EAAE,MACjBC,aADiB,IAEG;AACpB,QAAI;AACF,aAAO,MAAMjC,cAAc,CAACgC,iBAAf,CAAiCC,aAAjC,CAAb;AACD,KAFD,CAEE,OAAO5B,CAAP,EAAU;AACV,YAAM,0BAAWA,CAAX,CAAN;AACD;AACF,GAvKmB;AAyKpB6B,EAAAA,cAAc,EAAE,YAAgC;AAC9C,QAAI;AACF,aAAO,MAAMlC,cAAc,CAACkC,cAAf,EAAb;AACD,KAFD,CAEE,OAAO7B,CAAP,EAAU;AACV,YAAM,0BAAWA,CAAX,CAAN;AACD;AACF;AA/KmB,CAAf","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 { VCLCredentialManifest } from './entities/VCLCredentialManifest';\nimport type { VCLCredentialManifestDescriptor } from './entities/VCLCredentialManifestDescriptor';\nimport type { VCLCredentialTypeSchemas } from './entities/VCLCredentialTypeSchemas';\nimport type { VCLCredentialTypesUIFormSchema } from './entities/VCLCredentialTypesUIFormSchema';\nimport type { VCLCredentialTypesUIFormSchemaDescriptor } from './entities/VCLCredentialTypesUIFormSchemaDescriptor';\nimport type { VCLExchange } from './entities/VCLExchange';\nimport type { VCLExchangeDescriptor } from './entities/VCLExchangeDescriptor';\nimport type { VCLFinalizeOffersDescriptor } from './entities/VCLFinalizeOffersDescriptor';\nimport type { VCLGenerateOffersDescriptor } from './entities/VCLGenerateOffersDescriptor';\nimport type { VCLJwt } from './entities/VCLJwt';\nimport type { VCLJwtVerifiableCredentials } from './entities/VCLJwtVerifiableCredentials';\nimport type { VCLOffers } from './entities/VCLOffers';\nimport type { VCLOrganizations } from './entities/VCLOrganizations';\nimport type { VCLOrganizationsSearchDescriptor } from './entities/VCLOrganizationsSearchDescriptor';\nimport type { VCLPresentationRequest } from './entities/VCLPresentationRequest';\nimport type { VCLPresentationSubmission } from './entities/VCLPresentationSubmission';\nimport type { VCLJwkPublic } from './entities/VCLJwkPublic';\nimport type { VCLToken } from './entities/VCLToken';\nimport type { VCLVerifiedProfile } from './entities/VCLVerifiedProfile';\nimport type { VCLVerifiedProfileDescriptor } from './entities/VCLVerifiedProfileDescriptor';\nimport type { VCLCountries } from './entities/VCLCountries';\nimport type { VCLInitializationDescriptor } from './entities/VCLInitializationDescriptor';\nimport type { VCLSubmissionResult } from './entities/VCLSubmissionResult';\nimport type { VCLPresentationRequestDescriptor } from './entities/VCLPresentationRequestDescriptor';\nimport type { VCLJwtDescriptor } from './entities/VCLJwtDescriptor';\nimport type { VCLDidJwk } from './entities/VCLDidJwk';\nimport { toVclError } from './entities/VCLError';\nimport type { VCLCredentialTypes } from './entities/VCLCredentialTypes';\n\nimport { NativeModules } from 'react-native';\nconst { VclReactNative } = NativeModules;\n\nexport const VclApi = {\n initialize: async (\n initializationDescriptor: VCLInitializationDescriptor\n ): Promise<void> => {\n try {\n return await VclReactNative.initialize(initializationDescriptor);\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n getCountries: async (): Promise<VCLCountries> => {\n try {\n return await VclReactNative.getCountries();\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n getCredentialTypes: async (): Promise<VCLCredentialTypes> => {\n try {\n return await VclReactNative.getCredentialTypes();\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n getCredentialTypeSchemas: async (): Promise<VCLCredentialTypeSchemas> => {\n try {\n return await VclReactNative.getCredentialTypeSchemas();\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n getPresentationRequest: async (\n presentationRequestDescriptor: VCLPresentationRequestDescriptor\n ): Promise<VCLPresentationRequest> => {\n try {\n return await VclReactNative.getPresentationRequest(\n presentationRequestDescriptor\n );\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n submitPresentation: async (\n presentationSubmission: VCLPresentationSubmission\n ): Promise<VCLSubmissionResult> => {\n try {\n return await VclReactNative.submitPresentation(presentationSubmission);\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n getExchangeProgress: async (\n exchangeDescriptor: VCLExchangeDescriptor\n ): Promise<VCLExchange> => {\n try {\n return await VclReactNative.getExchangeProgress(exchangeDescriptor);\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n searchForOrganizations: async (\n organizationsSearchDescriptor: VCLOrganizationsSearchDescriptor\n ): Promise<VCLOrganizations> => {\n try {\n return await VclReactNative.searchForOrganizations(\n organizationsSearchDescriptor\n );\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n getCredentialManifest: async (\n credentialManifestDescriptor: VCLCredentialManifestDescriptor\n ): Promise<VCLCredentialManifest> => {\n try {\n return await VclReactNative.getCredentialManifest(\n credentialManifestDescriptor\n );\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n generateOffers: async (\n generateOffersDescriptor: VCLGenerateOffersDescriptor\n ): Promise<VCLOffers> => {\n try {\n return await VclReactNative.generateOffers(generateOffersDescriptor);\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n checkForOffers: async (\n generateOffersDescriptor: VCLGenerateOffersDescriptor,\n token: VCLToken\n ): Promise<VCLOffers> => {\n try {\n return await VclReactNative.checkForOffers(\n generateOffersDescriptor,\n token\n );\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n finalizeOffers: async (\n finalizeOffersDescriptor: VCLFinalizeOffersDescriptor,\n token: VCLToken\n ): Promise<VCLJwtVerifiableCredentials> => {\n try {\n return await VclReactNative.finalizeOffers(\n finalizeOffersDescriptor,\n token\n );\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n getCredentialTypesUIFormSchema: async (\n credentialTypesUIFormSchemaDescriptor: VCLCredentialTypesUIFormSchemaDescriptor\n ): Promise<VCLCredentialTypesUIFormSchema> => {\n try {\n return await VclReactNative.getCredentialTypesUIFormSchema(\n credentialTypesUIFormSchemaDescriptor\n );\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n getVerifiedProfile: async (\n verifiedProfileDescriptor: VCLVerifiedProfileDescriptor\n ): Promise<VCLVerifiedProfile> => {\n try {\n return await VclReactNative.getVerifiedProfile(verifiedProfileDescriptor);\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n verifyJwt: async (jwt: VCLJwt, jwkPublic: VCLJwkPublic): Promise<boolean> => {\n try {\n return await VclReactNative.verifyJwt(jwt, jwkPublic);\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n generateSignedJwt: async (\n jwtDescriptor: VCLJwtDescriptor\n ): Promise<VCLJwt> => {\n try {\n return await VclReactNative.generateSignedJwt(jwtDescriptor);\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n generateDidJwk: async (): Promise<VCLDidJwk> => {\n try {\n return await VclReactNative.generateDidJwk();\n } catch (e) {\n throw toVclError(e);\n }\n },\n};\n"]}
1
+ {"version":3,"names":["VclReactNative","NativeModules","VclApi","initialize","initializationDescriptor","e","toVclError","getCountries","getCredentialTypes","getCredentialTypeSchemas","getPresentationRequest","presentationRequestDescriptor","submitPresentation","presentationSubmission","getExchangeProgress","exchangeDescriptor","searchForOrganizations","organizationsSearchDescriptor","getCredentialManifest","credentialManifestDescriptor","generateOffers","generateOffersDescriptor","checkForOffers","token","finalizeOffers","finalizeOffersDescriptor","getCredentialTypesUIFormSchema","credentialTypesUIFormSchemaDescriptor","getVerifiedProfile","verifiedProfileDescriptor","verifyJwt","jwt","jwkPublic","generateSignedJwt","jwtDescriptor","generateDidJwk"],"sources":["VCLApi.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 { VCLCredentialManifest } from './entities/VCLCredentialManifest';\nimport type { VCLCredentialManifestDescriptor } from './entities/VCLCredentialManifestDescriptor';\nimport type { VCLCredentialTypeSchemas } from './entities/VCLCredentialTypeSchemas';\nimport type { VCLCredentialTypesUIFormSchema } from './entities/VCLCredentialTypesUIFormSchema';\nimport type { VCLCredentialTypesUIFormSchemaDescriptor } from './entities/VCLCredentialTypesUIFormSchemaDescriptor';\nimport type { VCLExchange } from './entities/VCLExchange';\nimport type { VCLExchangeDescriptor } from './entities/VCLExchangeDescriptor';\nimport type { VCLFinalizeOffersDescriptor } from './entities/VCLFinalizeOffersDescriptor';\nimport type { VCLGenerateOffersDescriptor } from './entities/VCLGenerateOffersDescriptor';\nimport type { VCLJwt } from './entities/VCLJwt';\nimport type { VCLJwtVerifiableCredentials } from './entities/VCLJwtVerifiableCredentials';\nimport type { VCLOffers } from './entities/VCLOffers';\nimport type { VCLOrganizations } from './entities/VCLOrganizations';\nimport type { VCLOrganizationsSearchDescriptor } from './entities/VCLOrganizationsSearchDescriptor';\nimport type { VCLPresentationRequest } from './entities/VCLPresentationRequest';\nimport type { VCLPresentationSubmission } from './entities/VCLPresentationSubmission';\nimport type { VCLJwkPublic } from './entities/VCLJwkPublic';\nimport type { VCLToken } from './entities/VCLToken';\nimport type { VCLVerifiedProfile } from './entities/VCLVerifiedProfile';\nimport type { VCLVerifiedProfileDescriptor } from './entities/VCLVerifiedProfileDescriptor';\nimport type { VCLCountries } from './entities/VCLCountries';\nimport type { VCLInitializationDescriptor } from './entities/VCLInitializationDescriptor';\nimport type { VCLSubmissionResult } from './entities/VCLSubmissionResult';\nimport type { VCLPresentationRequestDescriptor } from './entities/VCLPresentationRequestDescriptor';\nimport type { VCLJwtDescriptor } from './entities/VCLJwtDescriptor';\nimport type { VCLDidJwk } from './entities/VCLDidJwk';\nimport { toVclError } from './entities/VCLError';\nimport type { VCLCredentialTypes } from './entities/VCLCredentialTypes';\n\nimport { NativeModules } from 'react-native';\nconst { VclReactNative } = NativeModules;\n\nexport const VclApi = {\n initialize: async (\n initializationDescriptor: VCLInitializationDescriptor\n ): Promise<void> => {\n try {\n return await VclReactNative.initialize(initializationDescriptor);\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n getCountries: async (): Promise<VCLCountries> => {\n try {\n return await VclReactNative.getCountries();\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n getCredentialTypes: async (): Promise<VCLCredentialTypes> => {\n try {\n return await VclReactNative.getCredentialTypes();\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n getCredentialTypeSchemas: async (): Promise<VCLCredentialTypeSchemas> => {\n try {\n return await VclReactNative.getCredentialTypeSchemas();\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n getPresentationRequest: async (\n presentationRequestDescriptor: VCLPresentationRequestDescriptor\n ): Promise<VCLPresentationRequest> => {\n try {\n return await VclReactNative.getPresentationRequest(\n presentationRequestDescriptor\n );\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n submitPresentation: async (\n presentationSubmission: VCLPresentationSubmission\n ): Promise<VCLSubmissionResult> => {\n try {\n return await VclReactNative.submitPresentation(presentationSubmission);\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n getExchangeProgress: async (\n exchangeDescriptor: VCLExchangeDescriptor\n ): Promise<VCLExchange> => {\n try {\n return await VclReactNative.getExchangeProgress(exchangeDescriptor);\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n searchForOrganizations: async (\n organizationsSearchDescriptor: VCLOrganizationsSearchDescriptor\n ): Promise<VCLOrganizations> => {\n try {\n return await VclReactNative.searchForOrganizations(\n organizationsSearchDescriptor\n );\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n getCredentialManifest: async (\n credentialManifestDescriptor: VCLCredentialManifestDescriptor\n ): Promise<VCLCredentialManifest> => {\n try {\n return await VclReactNative.getCredentialManifest(\n credentialManifestDescriptor\n );\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n generateOffers: async (\n generateOffersDescriptor: VCLGenerateOffersDescriptor\n ): Promise<VCLOffers> => {\n try {\n return await VclReactNative.generateOffers(generateOffersDescriptor);\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n checkForOffers: async (\n generateOffersDescriptor: VCLGenerateOffersDescriptor,\n token: VCLToken\n ): Promise<VCLOffers> => {\n try {\n return await VclReactNative.checkForOffers(\n generateOffersDescriptor,\n token\n );\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n finalizeOffers: async (\n finalizeOffersDescriptor: VCLFinalizeOffersDescriptor,\n token: VCLToken\n ): Promise<VCLJwtVerifiableCredentials> => {\n try {\n return await VclReactNative.finalizeOffers(\n finalizeOffersDescriptor,\n token\n );\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n getCredentialTypesUIFormSchema: async (\n credentialTypesUIFormSchemaDescriptor: VCLCredentialTypesUIFormSchemaDescriptor\n ): Promise<VCLCredentialTypesUIFormSchema> => {\n try {\n return await VclReactNative.getCredentialTypesUIFormSchema(\n credentialTypesUIFormSchemaDescriptor\n );\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n getVerifiedProfile: async (\n verifiedProfileDescriptor: VCLVerifiedProfileDescriptor\n ): Promise<VCLVerifiedProfile> => {\n try {\n return await VclReactNative.getVerifiedProfile(verifiedProfileDescriptor);\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n verifyJwt: async (jwt: VCLJwt, jwkPublic: VCLJwkPublic): Promise<boolean> => {\n try {\n return await VclReactNative.verifyJwt(jwt, jwkPublic);\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n generateSignedJwt: async (\n jwtDescriptor: VCLJwtDescriptor\n ): Promise<VCLJwt> => {\n try {\n return await VclReactNative.generateSignedJwt(jwtDescriptor);\n } catch (e) {\n throw toVclError(e);\n }\n },\n\n generateDidJwk: async (): Promise<VCLDidJwk> => {\n try {\n return await VclReactNative.generateDidJwk();\n } catch (e) {\n throw toVclError(e);\n }\n },\n};\n"],"mappings":";;;;;;AAiCA;AAGA;AApCA;AACA;AACA;AACA;AACA;AACA;;AAgCA,MAAM;EAAEA;AAAe,CAAC,GAAGC,0BAAa;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.VCLEnvTypes = void 0;
7
-
8
7
  /**
9
8
  * Created by Michael Avoyan.
10
9
  *
@@ -13,7 +12,6 @@ exports.VCLEnvTypes = void 0;
13
12
  */
14
13
  let VCLEnvTypes;
15
14
  exports.VCLEnvTypes = VCLEnvTypes;
16
-
17
15
  (function (VCLEnvTypes) {
18
16
  VCLEnvTypes["DEV"] = "dev";
19
17
  VCLEnvTypes["STAGING"] = "staging";
@@ -1 +1 @@
1
- {"version":3,"sources":["VCLEnvironment.ts"],"names":["VCLEnvTypes"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;IAMYA,W;;;WAAAA,W;AAAAA,EAAAA,W;AAAAA,EAAAA,W;AAAAA,EAAAA,W;GAAAA,W,2BAAAA,W","sourcesContent":["/**\n * Created by Michael Avoyan.\n *\n * Copyright 2022 Velocity Career Labs inc.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport interface VCLEnvironment {\n value: string;\n}\n\nexport enum VCLEnvTypes {\n DEV = 'dev',\n STAGING = 'staging',\n PROD = 'prod',\n}\n"]}
1
+ {"version":3,"names":["VCLEnvTypes"],"sources":["VCLEnvironment.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 interface VCLEnvironment {\n value: string;\n}\n\nexport enum VCLEnvTypes {\n DEV = 'dev',\n STAGING = 'staging',\n PROD = 'prod',\n}\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AALA,IAWYA,WAAW;AAAA;AAAA,WAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;AAAA,GAAXA,WAAW,2BAAXA,WAAW"}
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.VCLCountryCodes = void 0;
7
-
8
7
  /**
9
8
  * Created by Michael Avoyan.
10
9
  *
@@ -13,7 +12,6 @@ exports.VCLCountryCodes = void 0;
13
12
  */
14
13
  let VCLCountryCodes;
15
14
  exports.VCLCountryCodes = VCLCountryCodes;
16
-
17
15
  (function (VCLCountryCodes) {
18
16
  VCLCountryCodes["BD"] = "BD";
19
17
  VCLCountryCodes["BE"] = "BE";
@@ -1 +1 @@
1
- {"version":3,"sources":["VCLCountries.ts"],"names":["VCLCountryCodes"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;IAQYA,e;;;WAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EA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e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;GAAAA,e,+BAAAA,e","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 { VCLCountry } from './VCLCountry';\n\nexport interface VCLCountries {\n all: VCLCountry[];\n}\n\nexport enum VCLCountryCodes {\n BD = 'BD',\n BE = 'BE',\n BF = 'BF',\n BG = 'BG',\n BA = 'BA',\n BB = 'BB',\n WF = 'WF',\n BL = 'BL',\n BM = 'BM',\n BN = 'BN',\n BO = 'BO',\n BH = 'BH',\n BI = 'BI',\n BJ = 'BJ',\n BT = 'BT',\n JM = 'JM',\n BV = 'BV',\n BW = 'BW',\n WS = 'WS',\n BQ = 'BQ',\n BR = 'BR',\n BS = 'BS',\n JE = 'JE',\n BY = 'BY',\n BZ = 'BZ',\n RU = 'RU',\n RW = 'RW',\n RS = 'RS',\n TL = 'TL',\n RE = 'RE',\n TM = 'TM',\n TJ = 'TJ',\n RO = 'RO',\n TK = 'TK',\n GW = 'GW',\n GU = 'GU',\n GT = 'GT',\n GS = 'GS',\n GR = 'GR',\n GQ = 'GQ',\n GP = 'GP',\n JP = 'JP',\n GY = 'GY',\n GG = 'GG',\n GF = 'GF',\n GE = 'GE',\n GD = 'GD',\n GB = 'GB',\n GA = 'GA',\n SV = 'SV',\n GN = 'GN',\n GM = 'GM',\n GL = 'GL',\n GI = 'GI',\n GH = 'GH',\n OM = 'OM',\n TN = 'TN',\n JO = 'JO',\n HR = 'HR',\n HT = 'HT',\n HU = 'HU',\n HK = 'HK',\n HN = 'HN',\n HM = 'HM',\n VE = 'VE',\n PR = 'PR',\n PS = 'PS',\n PW = 'PW',\n PT = 'PT',\n SJ = 'SJ',\n PY = 'PY',\n IQ = 'IQ',\n PA = 'PA',\n PF = 'PF',\n PG = 'PG',\n PE = 'PE',\n PK = 'PK',\n PH = 'PH',\n PN = 'PN',\n PL = 'PL',\n PM = 'PM',\n ZM = 'ZM',\n EH = 'EH',\n EE = 'EE',\n EG = 'EG',\n ZA = 'ZA',\n EC = 'EC',\n IT = 'IT',\n VN = 'VN',\n SB = 'SB',\n ET = 'ET',\n SO = 'SO',\n ZW = 'ZW',\n SA = 'SA',\n ES = 'ES',\n ER = 'ER',\n ME = 'ME',\n MD = 'MD',\n MG = 'MG',\n MF = 'MF',\n MA = 'MA',\n MC = 'MC',\n UZ = 'UZ',\n MM = 'MM',\n ML = 'ML',\n MO = 'MO',\n MN = 'MN',\n MH = 'MH',\n MK = 'MK',\n MU = 'MU',\n MT = 'MT',\n MW = 'MW',\n MV = 'MV',\n MQ = 'MQ',\n MP = 'MP',\n MS = 'MS',\n MR = 'MR',\n IM = 'IM',\n UG = 'UG',\n TZ = 'TZ',\n MY = 'NY',\n MX = 'MX',\n IL = 'IL',\n FR = 'FR',\n IO = 'IO',\n SH = 'SH',\n FI = 'FI',\n FJ = 'FJ',\n FK = 'FK',\n FM = 'FM',\n FO = 'FO',\n NI = 'NI',\n NL = 'NL',\n NO = 'NO',\n NA = 'NA',\n VU = 'VU',\n NC = 'NC',\n NE = 'NE',\n NF = 'NF',\n NG = 'NG',\n NZ = 'NZ',\n NP = 'NP',\n NR = 'NR',\n NU = 'NU',\n CK = 'CK',\n XK = 'XK',\n CI = 'CI',\n CH = 'CH',\n CO = 'CO',\n CN = 'CN',\n CM = 'CM',\n CL = 'CL',\n CC = 'CC',\n CA = 'CA',\n CG = 'CG',\n CF = 'CF',\n CD = 'CD',\n CZ = 'CZ',\n CY = 'CY',\n CX = 'CX',\n CR = 'CR',\n CW = 'CW',\n CV = 'CV',\n CU = 'CU',\n SZ = 'SZ',\n SY = 'SY',\n SX = 'SX',\n KG = 'KG',\n KE = 'KE',\n SS = 'SS',\n SR = 'SR',\n KI = 'KI',\n KH = 'KH',\n KN = 'KN',\n KM = 'KM',\n ST = 'ST',\n SK = 'SK',\n KR = 'KR',\n SI = 'SI',\n KP = 'KP',\n KW = 'KW',\n SN = 'SN',\n SM = 'SM',\n SL = 'SL',\n SC = 'SC',\n KZ = 'KZ',\n KY = 'KY',\n SG = 'SG',\n SE = 'SE',\n SD = 'SD',\n DO = 'DO',\n DM = 'DM',\n DJ = 'DJ',\n DK = 'DK',\n VG = 'VG',\n DE = 'DE',\n YE = 'YE',\n DZ = 'DZ',\n US = 'US',\n UY = 'UY',\n YT = 'YT',\n UM = 'UM',\n LB = 'LB',\n LC = 'LC',\n LA = 'LA',\n TV = 'TV',\n TW = 'TW',\n TT = 'TT',\n TR = 'TR',\n LK = 'LK',\n LI = 'LI',\n LV = 'LV',\n TO = 'TO',\n LT = 'LT',\n LU = 'LU',\n LR = 'LR',\n LS = 'LS',\n TH = 'TH',\n TF = 'TF',\n TG = 'TG',\n TD = 'TD',\n TC = 'TC',\n LY = 'LY',\n VA = 'VA',\n VC = 'VC',\n AE = 'AE',\n AD = 'AD',\n AG = 'AG',\n AF = 'AF',\n AI = 'AI',\n VI = 'VI',\n IS = 'IS',\n IR = 'IR',\n AM = 'AM',\n AL = 'AL',\n AO = 'AO',\n AQ = 'AQ',\n AS = 'AS',\n AR = 'AR',\n AU = 'AU',\n AT = 'AT',\n AW = 'AW',\n IN = 'IN',\n AX = 'AX',\n AZ = 'AZ',\n IE = 'IE',\n ID = 'ID',\n UA = 'UA',\n QA = 'QA',\n MZ = 'MZ',\n UK = 'UK',\n}\n"]}
1
+ {"version":3,"names":["VCLCountryCodes"],"sources":["VCLCountries.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 { VCLCountry } from './VCLCountry';\n\nexport interface VCLCountries {\n all: VCLCountry[];\n}\n\nexport enum VCLCountryCodes {\n BD = 'BD',\n BE = 'BE',\n BF = 'BF',\n BG = 'BG',\n BA = 'BA',\n BB = 'BB',\n WF = 'WF',\n BL = 'BL',\n BM = 'BM',\n BN = 'BN',\n BO = 'BO',\n BH = 'BH',\n BI = 'BI',\n BJ = 'BJ',\n BT = 'BT',\n JM = 'JM',\n BV = 'BV',\n BW = 'BW',\n WS = 'WS',\n BQ = 'BQ',\n BR = 'BR',\n BS = 'BS',\n JE = 'JE',\n BY = 'BY',\n BZ = 'BZ',\n RU = 'RU',\n RW = 'RW',\n RS = 'RS',\n TL = 'TL',\n RE = 'RE',\n TM = 'TM',\n TJ = 'TJ',\n RO = 'RO',\n TK = 'TK',\n GW = 'GW',\n GU = 'GU',\n GT = 'GT',\n GS = 'GS',\n GR = 'GR',\n GQ = 'GQ',\n GP = 'GP',\n JP = 'JP',\n GY = 'GY',\n GG = 'GG',\n GF = 'GF',\n GE = 'GE',\n GD = 'GD',\n GB = 'GB',\n GA = 'GA',\n SV = 'SV',\n GN = 'GN',\n GM = 'GM',\n GL = 'GL',\n GI = 'GI',\n GH = 'GH',\n OM = 'OM',\n TN = 'TN',\n JO = 'JO',\n HR = 'HR',\n HT = 'HT',\n HU = 'HU',\n HK = 'HK',\n HN = 'HN',\n HM = 'HM',\n VE = 'VE',\n PR = 'PR',\n PS = 'PS',\n PW = 'PW',\n PT = 'PT',\n SJ = 'SJ',\n PY = 'PY',\n IQ = 'IQ',\n PA = 'PA',\n PF = 'PF',\n PG = 'PG',\n PE = 'PE',\n PK = 'PK',\n PH = 'PH',\n PN = 'PN',\n PL = 'PL',\n PM = 'PM',\n ZM = 'ZM',\n EH = 'EH',\n EE = 'EE',\n EG = 'EG',\n ZA = 'ZA',\n EC = 'EC',\n IT = 'IT',\n VN = 'VN',\n SB = 'SB',\n ET = 'ET',\n SO = 'SO',\n ZW = 'ZW',\n SA = 'SA',\n ES = 'ES',\n ER = 'ER',\n ME = 'ME',\n MD = 'MD',\n MG = 'MG',\n MF = 'MF',\n MA = 'MA',\n MC = 'MC',\n UZ = 'UZ',\n MM = 'MM',\n ML = 'ML',\n MO = 'MO',\n MN = 'MN',\n MH = 'MH',\n MK = 'MK',\n MU = 'MU',\n MT = 'MT',\n MW = 'MW',\n MV = 'MV',\n MQ = 'MQ',\n MP = 'MP',\n MS = 'MS',\n MR = 'MR',\n IM = 'IM',\n UG = 'UG',\n TZ = 'TZ',\n MY = 'NY',\n MX = 'MX',\n IL = 'IL',\n FR = 'FR',\n IO = 'IO',\n SH = 'SH',\n FI = 'FI',\n FJ = 'FJ',\n FK = 'FK',\n FM = 'FM',\n FO = 'FO',\n NI = 'NI',\n NL = 'NL',\n NO = 'NO',\n NA = 'NA',\n VU = 'VU',\n NC = 'NC',\n NE = 'NE',\n NF = 'NF',\n NG = 'NG',\n NZ = 'NZ',\n NP = 'NP',\n NR = 'NR',\n NU = 'NU',\n CK = 'CK',\n XK = 'XK',\n CI = 'CI',\n CH = 'CH',\n CO = 'CO',\n CN = 'CN',\n CM = 'CM',\n CL = 'CL',\n CC = 'CC',\n CA = 'CA',\n CG = 'CG',\n CF = 'CF',\n CD = 'CD',\n CZ = 'CZ',\n CY = 'CY',\n CX = 'CX',\n CR = 'CR',\n CW = 'CW',\n CV = 'CV',\n CU = 'CU',\n SZ = 'SZ',\n SY = 'SY',\n SX = 'SX',\n KG = 'KG',\n KE = 'KE',\n SS = 'SS',\n SR = 'SR',\n KI = 'KI',\n KH = 'KH',\n KN = 'KN',\n KM = 'KM',\n ST = 'ST',\n SK = 'SK',\n KR = 'KR',\n SI = 'SI',\n KP = 'KP',\n KW = 'KW',\n SN = 'SN',\n SM = 'SM',\n SL = 'SL',\n SC = 'SC',\n KZ = 'KZ',\n KY = 'KY',\n SG = 'SG',\n SE = 'SE',\n SD = 'SD',\n DO = 'DO',\n DM = 'DM',\n DJ = 'DJ',\n DK = 'DK',\n VG = 'VG',\n DE = 'DE',\n YE = 'YE',\n DZ = 'DZ',\n US = 'US',\n UY = 'UY',\n YT = 'YT',\n UM = 'UM',\n LB = 'LB',\n LC = 'LC',\n LA = 'LA',\n TV = 'TV',\n TW = 'TW',\n TT = 'TT',\n TR = 'TR',\n LK = 'LK',\n LI = 'LI',\n LV = 'LV',\n TO = 'TO',\n LT = 'LT',\n LU = 'LU',\n LR = 'LR',\n LS = 'LS',\n TH = 'TH',\n TF = 'TF',\n TG = 'TG',\n TD = 'TD',\n TC = 'TC',\n LY = 'LY',\n VA = 'VA',\n VC = 'VC',\n AE = 'AE',\n AD = 'AD',\n AG = 'AG',\n AF = 'AF',\n AI = 'AI',\n VI = 'VI',\n IS = 'IS',\n IR = 'IR',\n AM = 'AM',\n AL = 'AL',\n AO = 'AO',\n AQ = 'AQ',\n AS = 'AS',\n AR = 'AR',\n AU = 'AU',\n AT = 'AT',\n AW = 'AW',\n IN = 'IN',\n AX = 'AX',\n AZ = 'AZ',\n IE = 'IE',\n ID = 'ID',\n UA = 'UA',\n QA = 'QA',\n MZ =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eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;AAAA,GAAfA,eAAe,+BAAfA,eAAe"}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLCountry.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 { Dictionary } from '../Dictionary';\nimport type { VCLRegions } from './VCLRegions';\n\nexport interface VCLCountry {\n payload: Dictionary<any>;\n code: string;\n name: string;\n regions: VCLRegions;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLCredentialManifest.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 { VCLJwt } from './VCLJwt';\n\nexport interface VCLCredentialManifest {\n jwt: VCLJwt;\n iss: string;\n did: string;\n exchangeId: string;\n presentationDefinitionId: string;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLCredentialManifestDescriptor.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 { VCLPushDelegate } from './VCLPushDelegate';\nimport type { VCLServiceType } from './VCLServiceType';\n\nexport interface VCLCredentialManifestDescriptor {\n serviceType?: VCLServiceType;\n credentialTypes?: string[];\n pushDelegate?: VCLPushDelegate;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLCredentialManifestDescriptorByDeepLink.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 { VCLCredentialManifestDescriptor } from './VCLCredentialManifestDescriptor';\nimport type { VCLDeepLink } from './VCLDeepLink';\n\nexport interface VCLCredentialManifestDescriptorByDeepLink\n extends VCLCredentialManifestDescriptor {\n deepLink: VCLDeepLink;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLCredentialManifestDescriptorByService.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 { VCLCredentialManifestDescriptor } from './VCLCredentialManifestDescriptor';\nimport type { VCLService } from './VCLService';\n\nexport interface VCLCredentialManifestDescriptorByService\n extends VCLCredentialManifestDescriptor {\n service: VCLService;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLCredentialManifestDescriptorRefresh.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 { VCLCredentialManifestDescriptor } from './VCLCredentialManifestDescriptor';\nimport type { VCLService } from './VCLService';\n\nexport interface VCLCredentialManifestDescriptorRefresh\n extends VCLCredentialManifestDescriptor {\n service: VCLService;\n credentialIds: string[];\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLCredentialType.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 { Dictionary } from '../Dictionary';\n\nexport interface VCLCredentialType {\n payload: Dictionary<any>;\n id: string;\n schema: string;\n createdAt: string;\n schemaName: string;\n credentialType: string;\n recommended: boolean;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLCredentialTypeSchema.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 { Dictionary } from '../Dictionary';\n\nexport interface VCLCredentialTypeSchema {\n payload: Dictionary<any>;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLCredentialTypeSchemas.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 { Dictionary } from '../Dictionary';\nimport type { VCLCredentialTypeSchema } from './VCLCredentialTypeSchema';\n\nexport interface VCLCredentialTypeSchemas {\n all: Dictionary<VCLCredentialTypeSchema>;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLCredentialTypes.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 { Dictionary } from '../Dictionary';\n\nexport interface VCLCredentialTypes {\n all: Dictionary<string>[];\n recommendedTypes: Dictionary<string>[];\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLCredentialTypesUIFormSchema.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 { Dictionary } from '../Dictionary';\n\nexport interface VCLCredentialTypesUIFormSchema {\n payload: Dictionary<any>;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLCredentialTypesUIFormSchemaDescriptor.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 interface VCLCredentialTypesUIFormSchemaDescriptor {\n credentialType: string;\n countryCode: string;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLDeepLink.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 interface VCLDeepLink {\n value: string;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLDidJwk.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 interface VCLDidJwk {\n value: string;\n}\n"],"mappings":""}
@@ -4,23 +4,21 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.toVclError = exports.VCLError = void 0;
7
-
8
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9
-
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
9
+ function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
10
10
  /**
11
11
  * Created by Michael Avoyan.
12
12
  *
13
13
  * Copyright 2022 Velocity Career Labs inc.
14
14
  * SPDX-License-Identifier: Apache-2.0
15
15
  */
16
+
16
17
  class VCLError extends Error {
17
18
  constructor(error) {
18
19
  super(error);
19
-
20
20
  _defineProperty(this, "description", void 0);
21
-
22
21
  _defineProperty(this, "code", void 0);
23
-
24
22
  try {
25
23
  const errorJson = JSON.parse(error.message);
26
24
  this.description = errorJson.description;
@@ -29,14 +27,10 @@ class VCLError extends Error {
29
27
  this.description = JSON.stringify(error);
30
28
  }
31
29
  }
32
-
33
30
  }
34
-
35
31
  exports.VCLError = VCLError;
36
-
37
32
  const toVclError = error => {
38
33
  return new VCLError(error);
39
34
  };
40
-
41
35
  exports.toVclError = toVclError;
42
36
  //# sourceMappingURL=VCLError.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["VCLError.ts"],"names":["VCLError","Error","constructor","error","errorJson","JSON","parse","message","description","code","parseInt","e","stringify","toVclError"],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AAEO,MAAMA,QAAN,SAAuBC,KAAvB,CAA6B;AAIlCC,EAAAA,WAAW,CAACC,KAAD,EAAa;AACtB,UAAMA,KAAN;;AADsB;;AAAA;;AAEtB,QAAI;AACF,YAAMC,SAAS,GAAGC,IAAI,CAACC,KAAL,CAAWH,KAAK,CAACI,OAAjB,CAAlB;AACA,WAAKC,WAAL,GAAmBJ,SAAS,CAACI,WAA7B;AACA,WAAKC,IAAL,GAAYC,QAAQ,CAACN,SAAS,CAACK,IAAX,EAAiB,EAAjB,CAApB;AACD,KAJD,CAIE,OAAOE,CAAP,EAAU;AACV,WAAKH,WAAL,GAAmBH,IAAI,CAACO,SAAL,CAAeT,KAAf,CAAnB;AACD;AACF;;AAbiC;;;;AAgB7B,MAAMU,UAAU,GAAIV,KAAD,IAAgB;AACxC,SAAO,IAAIH,QAAJ,CAAaG,KAAb,CAAP;AACD,CAFM","sourcesContent":["/**\n * Created by Michael Avoyan.\n *\n * Copyright 2022 Velocity Career Labs inc.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport class VCLError extends Error {\n description?: string;\n code?: number;\n\n constructor(error: any) {\n super(error);\n try {\n const errorJson = JSON.parse(error.message);\n this.description = errorJson.description;\n this.code = parseInt(errorJson.code, 10);\n } catch (e) {\n this.description = JSON.stringify(error);\n }\n }\n}\n\nexport const toVclError = (error: any) => {\n return new VCLError(error);\n};\n"]}
1
+ {"version":3,"names":["VCLError","Error","constructor","error","errorJson","JSON","parse","message","description","code","parseInt","e","stringify","toVclError"],"sources":["VCLError.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 class VCLError extends Error {\n description?: string;\n code?: number;\n\n constructor(error: any) {\n super(error);\n try {\n const errorJson = JSON.parse(error.message);\n this.description = errorJson.description;\n this.code = parseInt(errorJson.code, 10);\n } catch (e) {\n this.description = JSON.stringify(error);\n }\n }\n}\n\nexport const toVclError = (error: any) => {\n return new VCLError(error);\n};\n"],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEO,MAAMA,QAAQ,SAASC,KAAK,CAAC;EAIlCC,WAAW,CAACC,KAAU,EAAE;IACtB,KAAK,CAACA,KAAK,CAAC;IAAC;IAAA;IACb,IAAI;MACF,MAAMC,SAAS,GAAGC,IAAI,CAACC,KAAK,CAACH,KAAK,CAACI,OAAO,CAAC;MAC3C,IAAI,CAACC,WAAW,GAAGJ,SAAS,CAACI,WAAW;MACxC,IAAI,CAACC,IAAI,GAAGC,QAAQ,CAACN,SAAS,CAACK,IAAI,EAAE,EAAE,CAAC;IAC1C,CAAC,CAAC,OAAOE,CAAC,EAAE;MACV,IAAI,CAACH,WAAW,GAAGH,IAAI,CAACO,SAAS,CAACT,KAAK,CAAC;IAC1C;EACF;AACF;AAAC;AAEM,MAAMU,UAAU,GAAIV,KAAU,IAAK;EACxC,OAAO,IAAIH,QAAQ,CAACG,KAAK,CAAC;AAC5B,CAAC;AAAC"}
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.VCLErrorCode = void 0;
7
-
8
7
  /**
9
8
  * Created by Michael Avoyan.
10
9
  *
@@ -13,7 +12,6 @@ exports.VCLErrorCode = void 0;
13
12
  */
14
13
  let VCLErrorCode;
15
14
  exports.VCLErrorCode = VCLErrorCode;
16
-
17
15
  (function (VCLErrorCode) {
18
16
  VCLErrorCode[VCLErrorCode["NetworkError"] = 1] = "NetworkError";
19
17
  VCLErrorCode[VCLErrorCode["VerificationError"] = 403] = "VerificationError";
@@ -1 +1 @@
1
- {"version":3,"sources":["VCLErrorCode.ts"],"names":["VCLErrorCode"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;IAEYA,Y;;;WAAAA,Y;AAAAA,EAAAA,Y,CAAAA,Y;AAAAA,EAAAA,Y,CAAAA,Y;GAAAA,Y,4BAAAA,Y","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 VCLErrorCode {\n NetworkError = 1,\n VerificationError = 403,\n}\n"]}
1
+ {"version":3,"names":["VCLErrorCode"],"sources":["VCLErrorCode.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 VCLErrorCode {\n NetworkError = 1,\n VerificationError = 403,\n}\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AALA,IAOYA,YAAY;AAAA;AAAA,WAAZA,YAAY;EAAZA,YAAY,CAAZA,YAAY;EAAZA,YAAY,CAAZA,YAAY;AAAA,GAAZA,YAAY,4BAAZA,YAAY"}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLExchange.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 interface VCLExchange {\n id: string;\n type: string;\n disclosureComplete: boolean;\n exchangeComplete: boolean;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLExchangeDescriptor.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 { VCLPresentationSubmission } from './VCLPresentationSubmission';\nimport type { VCLSubmissionResult } from './VCLSubmissionResult';\n\nexport interface VCLExchangeDescriptor {\n presentationSubmission: VCLPresentationSubmission;\n submissionResult: VCLSubmissionResult;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLFilter.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 { VCLServiceType } from './VCLServiceType';\n\nexport interface VCLFilter {\n did?: string;\n serviceTypes?: VCLServiceType[];\n credentialTypes?: string[];\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLFinalizeOffersDescriptor.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 { VCLCredentialManifest } from './VCLCredentialManifest';\n\nexport interface VCLFinalizeOffersDescriptor {\n credentialManifest: VCLCredentialManifest;\n rejectedOfferIds: string[];\n approvedOfferIds: string[];\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLGenerateOffersDescriptor.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 { VCLCredentialManifest } from './VCLCredentialManifest';\nimport type { VCLVerifiableCredential } from './VCLVerifiableCredential';\n\nexport interface VCLGenerateOffersDescriptor {\n credentialManifest: VCLCredentialManifest;\n types?: string[];\n offerHashes?: string[];\n identificationVerifiableCredentials: VCLVerifiableCredential[];\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
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 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLJwkPublic.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 interface VCLJwkPublic {\n valueStr: string;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLJwt.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 interface VCLJwt {\n encodedJwt: string; // 3 base64Url strings splitted by a dot\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLJwtDescriptor.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 { Dictionary } from '../Dictionary';\n\nexport interface VCLJwtDescriptor {\n payload: Dictionary<any>;\n iss: string;\n jti: string;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLJwtVerifiableCredentials.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 { VCLJwt } from './VCLJwt';\n\nexport interface VCLJwtVerifiableCredentials {\n all: VCLJwt[];\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLOffers.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 { Dictionary } from '../Dictionary';\nimport type { VCLToken } from './VCLToken';\n\nexport interface VCLOffers {\n all: Dictionary<any>[];\n responseCode: number;\n token: VCLToken;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLOrganization.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 { Dictionary } from '../Dictionary';\nimport type { VCLServiceCredentialAgentIssuer } from './VCLServiceCredentialAgentIssuer';\n\nexport interface VCLOrganization {\n payload: Dictionary<any>;\n serviceCredentialAgentIssuers: VCLServiceCredentialAgentIssuer[];\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLOrganizations.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 { VCLOrganization } from './VCLOrganization';\n\nexport interface VCLOrganizations {\n all: VCLOrganization[];\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLOrganizationsSearchDescriptor.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 { VCLFilter } from './VCLFilter';\nimport type { VCLPage } from './VCLPage';\n\nexport interface VCLOrganizationsSearchDescriptor {\n filter?: VCLFilter;\n page?: VCLPage;\n sort?: string[][];\n query?: string;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLPage.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 interface VCLPage {\n size?: string;\n skip?: string;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLPresentationRequest.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 { VCLJwt } from './VCLJwt';\nimport type { VCLJwkPublic } from './VCLJwkPublic';\n\nexport interface VCLPresentationRequest {\n exchangeId: string;\n jwt: VCLJwt;\n jwkPublic: VCLJwkPublic;\n keyID: string;\n presentationDefinitionId: string;\n iss: string;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLPresentationRequestDescriptor.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 { VCLDeepLink } from './VCLDeepLink';\nimport type { VCLPushDelegate } from './VCLPushDelegate';\nimport type { VCLServiceType } from './VCLServiceType';\n\nexport interface VCLPresentationRequestDescriptor {\n deepLink: VCLDeepLink;\n serviceType?: VCLServiceType;\n pushDelegate?: VCLPushDelegate;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLPresentationSubmission.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 { VCLPresentationRequest } from './VCLPresentationRequest';\nimport type { VCLVerifiableCredential } from './VCLVerifiableCredential';\n\nexport interface VCLPresentationSubmission {\n presentationRequest: VCLPresentationRequest;\n verifiableCredentials: VCLVerifiableCredential[];\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLPushDelegate.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 interface VCLPushDelegate {\n /**\n * the url of the endpoint that will send pushes to the device\n */\n pushUrl: string;\n /**\n * the token to use for identifying the group of devices this device belongs to\n */\n pushToken: string;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLRegion.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 { Dictionary } from '../Dictionary';\n\nexport interface VCLRegion {\n payload: Dictionary<any>;\n code: string;\n name: string;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLRegions.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 { Dictionary } from '../Dictionary';\nimport type { VCLRegion } from './VCLRegion';\n\nexport interface VCLRegions {\n all: Dictionary<VCLRegion>;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLService.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 { Dictionary } from '../Dictionary';\n\nexport interface VCLService {\n payload: Dictionary<string>;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLServiceCredentialAgentIssuer.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 { VCLService } from './VCLService';\n\nexport interface VCLServiceCredentialAgentIssuer extends VCLService {}\n"],"mappings":""}
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.VCLServiceType = void 0;
7
-
8
7
  /**
9
8
  * Created by Michael Avoyan.
10
9
  *
@@ -13,7 +12,6 @@ exports.VCLServiceType = void 0;
13
12
  */
14
13
  let VCLServiceType;
15
14
  exports.VCLServiceType = VCLServiceType;
16
-
17
15
  (function (VCLServiceType) {
18
16
  VCLServiceType["Issuer"] = "Issuer";
19
17
  VCLServiceType["Inspector"] = "Inspector";
@@ -1 +1 @@
1
- {"version":3,"sources":["VCLServiceType.ts"],"names":["VCLServiceType"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;IAEYA,c;;;WAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;GAAAA,c,8BAAAA,c","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"]}
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 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLServiceTypes.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 { VCLServiceType } from './VCLServiceType';\n\nexport interface VCLServiceTypes {\n payload: VCLServiceType[];\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLSubmissionResult.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 { VCLExchange } from './VCLExchange';\nimport type { VCLToken } from './VCLToken';\n\nexport interface VCLSubmissionResult {\n token: VCLToken;\n exchange: VCLExchange;\n jti: string;\n submissionId: string;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLToken.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 interface VCLToken {\n value: string;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLVerifiableCredential.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 interface VCLVerifiableCredential {\n inputDescriptor: string;\n jwtVc: string;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLVerifiedProfile.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 { VCLServiceTypes } from './VCLServiceTypes';\nimport type { Dictionary } from '../Dictionary';\n\nexport interface VCLVerifiedProfile {\n payload: Dictionary<any>;\n credentialSubject: Dictionary<string>;\n name: string;\n logo: string;\n id: string;\n serviceTypes: VCLServiceTypes;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["VCLVerifiedProfileDescriptor.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 { VCLServiceType } from './VCLServiceType';\n\nexport interface VCLVerifiedProfileDescriptor {\n did: string;\n serviceType?: VCLServiceType;\n}\n"],"mappings":""}