@velocitycareerlabs/vcl-react-native 1.14.7 → 1.15.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 (282) hide show
  1. package/LICENSE +20 -177
  2. package/README.md +11 -106
  3. package/android/build.gradle +61 -84
  4. package/android/gradle.properties +5 -4
  5. package/android/src/main/AndroidManifestNew.xml +2 -0
  6. package/android/src/main/java/io/velocitycareerlabs/reactnative/VclReactNativeModule.kt +1 -4
  7. package/android/src/main/java/io/velocitycareerlabs/reactnative/VclReactNativePackage.kt +7 -9
  8. package/android/src/main/java/io/velocitycareerlabs/reactnative/extensions/ArrayExtensions.kt +0 -4
  9. package/android/src/main/java/io/velocitycareerlabs/reactnative/extensions/JSONExtensions.kt +1 -5
  10. package/android/src/main/java/io/velocitycareerlabs/reactnative/extensions/MapExtensions.kt +8 -12
  11. package/android/src/main/java/io/velocitycareerlabs/reactnative/extensions/RNCollectionExtensions.kt +1 -5
  12. package/android/src/main/java/io/velocitycareerlabs/reactnative/utlis/Converter.kt +2 -2
  13. package/ios/GlobalConfig.swift +22 -0
  14. package/ios/{VclReactNative.m → VclReactNative.mm} +6 -0
  15. package/ios/VclReactNative.swift +10 -10
  16. package/ios/VclReactNative.xcodeproj/project.pbxproj +20 -16
  17. package/ios/VclReactNative.xcodeproj/project.xcworkspace/contents.xcworkspacedata +4 -0
  18. package/ios/VclReactNative.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  19. package/ios/VclReactNative.xcodeproj/project.xcworkspace/xcuserdata/michaelavoyan.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  20. package/ios/VclReactNative.xcodeproj/xcuserdata/michaelavoyan.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
  21. package/lib/commonjs/api/Dictionary.js.map +1 -1
  22. package/lib/commonjs/api/VCLApi.js.map +1 -1
  23. package/lib/commonjs/api/VCLEnvironment.js +4 -4
  24. package/lib/commonjs/api/VCLEnvironment.js.map +1 -1
  25. package/lib/commonjs/api/VCLKeyServiceType.js +4 -4
  26. package/lib/commonjs/api/VCLKeyServiceType.js.map +1 -1
  27. package/lib/commonjs/api/VCLXVnfProtocolVersion.js +4 -4
  28. package/lib/commonjs/api/VCLXVnfProtocolVersion.js.map +1 -1
  29. package/lib/commonjs/api/entities/VCLCountries.js +4 -4
  30. package/lib/commonjs/api/entities/VCLCountries.js.map +1 -1
  31. package/lib/commonjs/api/entities/VCLCountry.js.map +1 -1
  32. package/lib/commonjs/api/entities/VCLCredentialManifest.js.map +1 -1
  33. package/lib/commonjs/api/entities/VCLCredentialManifestDescriptor.js.map +1 -1
  34. package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorByDeepLink.js.map +1 -1
  35. package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorByService.js.map +1 -1
  36. package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorRefresh.js.map +1 -1
  37. package/lib/commonjs/api/entities/VCLCredentialType.js.map +1 -1
  38. package/lib/commonjs/api/entities/VCLCredentialTypeSchema.js.map +1 -1
  39. package/lib/commonjs/api/entities/VCLCredentialTypeSchemas.js.map +1 -1
  40. package/lib/commonjs/api/entities/VCLCredentialTypes.js.map +1 -1
  41. package/lib/commonjs/api/entities/VCLCredentialTypesUIFormSchema.js.map +1 -1
  42. package/lib/commonjs/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.js.map +1 -1
  43. package/lib/commonjs/api/entities/VCLDeepLink.js.map +1 -1
  44. package/lib/commonjs/api/entities/VCLDidJwk.js.map +1 -1
  45. package/lib/commonjs/api/entities/VCLError.js +0 -7
  46. package/lib/commonjs/api/entities/VCLError.js.map +1 -1
  47. package/lib/commonjs/api/entities/VCLErrorCode.js +4 -4
  48. package/lib/commonjs/api/entities/VCLErrorCode.js.map +1 -1
  49. package/lib/commonjs/api/entities/VCLExchange.js.map +1 -1
  50. package/lib/commonjs/api/entities/VCLExchangeDescriptor.js.map +1 -1
  51. package/lib/commonjs/api/entities/VCLFilter.js.map +1 -1
  52. package/lib/commonjs/api/entities/VCLFinalizeOffersDescriptor.js.map +1 -1
  53. package/lib/commonjs/api/entities/VCLGenerateOffersDescriptor.js.map +1 -1
  54. package/lib/commonjs/api/entities/VCLInitializationDescriptor.js.map +1 -1
  55. package/lib/commonjs/api/entities/VCLIssuingType.js +4 -4
  56. package/lib/commonjs/api/entities/VCLIssuingType.js.map +1 -1
  57. package/lib/commonjs/api/entities/VCLJwkPublic.js.map +1 -1
  58. package/lib/commonjs/api/entities/VCLJwt.js.map +1 -1
  59. package/lib/commonjs/api/entities/VCLJwtDescriptor.js.map +1 -1
  60. package/lib/commonjs/api/entities/VCLJwtVerifiableCredentials.js.map +1 -1
  61. package/lib/commonjs/api/entities/VCLOffers.js.map +1 -1
  62. package/lib/commonjs/api/entities/VCLOrganization.js.map +1 -1
  63. package/lib/commonjs/api/entities/VCLOrganizations.js.map +1 -1
  64. package/lib/commonjs/api/entities/VCLOrganizationsSearchDescriptor.js.map +1 -1
  65. package/lib/commonjs/api/entities/VCLPage.js.map +1 -1
  66. package/lib/commonjs/api/entities/VCLPresentationRequest.js.map +1 -1
  67. package/lib/commonjs/api/entities/VCLPresentationRequestDescriptor.js.map +1 -1
  68. package/lib/commonjs/api/entities/VCLPresentationSubmission.js.map +1 -1
  69. package/lib/commonjs/api/entities/VCLPushDelegate.js.map +1 -1
  70. package/lib/commonjs/api/entities/VCLRegion.js.map +1 -1
  71. package/lib/commonjs/api/entities/VCLRegions.js.map +1 -1
  72. package/lib/commonjs/api/entities/VCLService.js.map +1 -1
  73. package/lib/commonjs/api/entities/VCLServiceCredentialAgentIssuer.js.map +1 -1
  74. package/lib/commonjs/api/entities/VCLServiceType.js +4 -4
  75. package/lib/commonjs/api/entities/VCLServiceType.js.map +1 -1
  76. package/lib/commonjs/api/entities/VCLServiceTypes.js.map +1 -1
  77. package/lib/commonjs/api/entities/VCLStatusCode.js +4 -4
  78. package/lib/commonjs/api/entities/VCLStatusCode.js.map +1 -1
  79. package/lib/commonjs/api/entities/VCLSubmissionResult.js.map +1 -1
  80. package/lib/commonjs/api/entities/VCLToken.js.map +1 -1
  81. package/lib/commonjs/api/entities/VCLVerifiableCredential.js.map +1 -1
  82. package/lib/commonjs/api/entities/VCLVerifiedProfile.js.map +1 -1
  83. package/lib/commonjs/api/entities/VCLVerifiedProfileDescriptor.js.map +1 -1
  84. package/lib/commonjs/index.js +2 -0
  85. package/lib/commonjs/index.js.map +1 -1
  86. package/lib/module/api/Dictionary.js.map +1 -1
  87. package/lib/module/api/VCLApi.js.map +1 -1
  88. package/lib/module/api/VCLEnvironment.js +3 -3
  89. package/lib/module/api/VCLEnvironment.js.map +1 -1
  90. package/lib/module/api/VCLKeyServiceType.js +3 -3
  91. package/lib/module/api/VCLKeyServiceType.js.map +1 -1
  92. package/lib/module/api/VCLXVnfProtocolVersion.js +3 -3
  93. package/lib/module/api/VCLXVnfProtocolVersion.js.map +1 -1
  94. package/lib/module/api/entities/VCLCountries.js +3 -3
  95. package/lib/module/api/entities/VCLCountries.js.map +1 -1
  96. package/lib/module/api/entities/VCLCountry.js.map +1 -1
  97. package/lib/module/api/entities/VCLCredentialManifest.js.map +1 -1
  98. package/lib/module/api/entities/VCLCredentialManifestDescriptor.js.map +1 -1
  99. package/lib/module/api/entities/VCLCredentialManifestDescriptorByDeepLink.js.map +1 -1
  100. package/lib/module/api/entities/VCLCredentialManifestDescriptorByService.js.map +1 -1
  101. package/lib/module/api/entities/VCLCredentialManifestDescriptorRefresh.js.map +1 -1
  102. package/lib/module/api/entities/VCLCredentialType.js.map +1 -1
  103. package/lib/module/api/entities/VCLCredentialTypeSchema.js.map +1 -1
  104. package/lib/module/api/entities/VCLCredentialTypeSchemas.js.map +1 -1
  105. package/lib/module/api/entities/VCLCredentialTypes.js.map +1 -1
  106. package/lib/module/api/entities/VCLCredentialTypesUIFormSchema.js.map +1 -1
  107. package/lib/module/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.js.map +1 -1
  108. package/lib/module/api/entities/VCLDeepLink.js.map +1 -1
  109. package/lib/module/api/entities/VCLDidJwk.js.map +1 -1
  110. package/lib/module/api/entities/VCLError.js +0 -7
  111. package/lib/module/api/entities/VCLError.js.map +1 -1
  112. package/lib/module/api/entities/VCLErrorCode.js +3 -3
  113. package/lib/module/api/entities/VCLErrorCode.js.map +1 -1
  114. package/lib/module/api/entities/VCLExchange.js.map +1 -1
  115. package/lib/module/api/entities/VCLExchangeDescriptor.js.map +1 -1
  116. package/lib/module/api/entities/VCLFilter.js.map +1 -1
  117. package/lib/module/api/entities/VCLFinalizeOffersDescriptor.js.map +1 -1
  118. package/lib/module/api/entities/VCLGenerateOffersDescriptor.js.map +1 -1
  119. package/lib/module/api/entities/VCLInitializationDescriptor.js.map +1 -1
  120. package/lib/module/api/entities/VCLIssuingType.js +3 -3
  121. package/lib/module/api/entities/VCLIssuingType.js.map +1 -1
  122. package/lib/module/api/entities/VCLJwkPublic.js.map +1 -1
  123. package/lib/module/api/entities/VCLJwt.js.map +1 -1
  124. package/lib/module/api/entities/VCLJwtDescriptor.js.map +1 -1
  125. package/lib/module/api/entities/VCLJwtVerifiableCredentials.js.map +1 -1
  126. package/lib/module/api/entities/VCLOffers.js.map +1 -1
  127. package/lib/module/api/entities/VCLOrganization.js.map +1 -1
  128. package/lib/module/api/entities/VCLOrganizations.js.map +1 -1
  129. package/lib/module/api/entities/VCLOrganizationsSearchDescriptor.js.map +1 -1
  130. package/lib/module/api/entities/VCLPage.js.map +1 -1
  131. package/lib/module/api/entities/VCLPresentationRequest.js.map +1 -1
  132. package/lib/module/api/entities/VCLPresentationRequestDescriptor.js.map +1 -1
  133. package/lib/module/api/entities/VCLPresentationSubmission.js.map +1 -1
  134. package/lib/module/api/entities/VCLPushDelegate.js.map +1 -1
  135. package/lib/module/api/entities/VCLRegion.js.map +1 -1
  136. package/lib/module/api/entities/VCLRegions.js.map +1 -1
  137. package/lib/module/api/entities/VCLService.js.map +1 -1
  138. package/lib/module/api/entities/VCLServiceCredentialAgentIssuer.js.map +1 -1
  139. package/lib/module/api/entities/VCLServiceType.js +3 -3
  140. package/lib/module/api/entities/VCLServiceType.js.map +1 -1
  141. package/lib/module/api/entities/VCLServiceTypes.js.map +1 -1
  142. package/lib/module/api/entities/VCLStatusCode.js +3 -3
  143. package/lib/module/api/entities/VCLStatusCode.js.map +1 -1
  144. package/lib/module/api/entities/VCLSubmissionResult.js.map +1 -1
  145. package/lib/module/api/entities/VCLToken.js.map +1 -1
  146. package/lib/module/api/entities/VCLVerifiableCredential.js.map +1 -1
  147. package/lib/module/api/entities/VCLVerifiedProfile.js.map +1 -1
  148. package/lib/module/api/entities/VCLVerifiedProfileDescriptor.js.map +1 -1
  149. package/lib/module/index.js +0 -1
  150. package/lib/module/index.js.map +1 -1
  151. package/lib/typescript/api/Dictionary.d.ts +1 -0
  152. package/lib/typescript/api/Dictionary.d.ts.map +1 -0
  153. package/lib/typescript/api/VCLApi.d.ts +1 -0
  154. package/lib/typescript/api/VCLApi.d.ts.map +1 -0
  155. package/lib/typescript/api/VCLEnvironment.d.ts +1 -0
  156. package/lib/typescript/api/VCLEnvironment.d.ts.map +1 -0
  157. package/lib/typescript/api/VCLKeyServiceType.d.ts +1 -0
  158. package/lib/typescript/api/VCLKeyServiceType.d.ts.map +1 -0
  159. package/lib/typescript/api/VCLXVnfProtocolVersion.d.ts +1 -0
  160. package/lib/typescript/api/VCLXVnfProtocolVersion.d.ts.map +1 -0
  161. package/lib/typescript/api/entities/VCLCountries.d.ts +1 -0
  162. package/lib/typescript/api/entities/VCLCountries.d.ts.map +1 -0
  163. package/lib/typescript/api/entities/VCLCountry.d.ts +1 -0
  164. package/lib/typescript/api/entities/VCLCountry.d.ts.map +1 -0
  165. package/lib/typescript/api/entities/VCLCredentialManifest.d.ts +1 -0
  166. package/lib/typescript/api/entities/VCLCredentialManifest.d.ts.map +1 -0
  167. package/lib/typescript/api/entities/VCLCredentialManifestDescriptor.d.ts +1 -0
  168. package/lib/typescript/api/entities/VCLCredentialManifestDescriptor.d.ts.map +1 -0
  169. package/lib/typescript/api/entities/VCLCredentialManifestDescriptorByDeepLink.d.ts +1 -0
  170. package/lib/typescript/api/entities/VCLCredentialManifestDescriptorByDeepLink.d.ts.map +1 -0
  171. package/lib/typescript/api/entities/VCLCredentialManifestDescriptorByService.d.ts +1 -0
  172. package/lib/typescript/api/entities/VCLCredentialManifestDescriptorByService.d.ts.map +1 -0
  173. package/lib/typescript/api/entities/VCLCredentialManifestDescriptorRefresh.d.ts +1 -0
  174. package/lib/typescript/api/entities/VCLCredentialManifestDescriptorRefresh.d.ts.map +1 -0
  175. package/lib/typescript/api/entities/VCLCredentialType.d.ts +1 -0
  176. package/lib/typescript/api/entities/VCLCredentialType.d.ts.map +1 -0
  177. package/lib/typescript/api/entities/VCLCredentialTypeSchema.d.ts +1 -0
  178. package/lib/typescript/api/entities/VCLCredentialTypeSchema.d.ts.map +1 -0
  179. package/lib/typescript/api/entities/VCLCredentialTypeSchemas.d.ts +1 -0
  180. package/lib/typescript/api/entities/VCLCredentialTypeSchemas.d.ts.map +1 -0
  181. package/lib/typescript/api/entities/VCLCredentialTypes.d.ts +1 -0
  182. package/lib/typescript/api/entities/VCLCredentialTypes.d.ts.map +1 -0
  183. package/lib/typescript/api/entities/VCLCredentialTypesUIFormSchema.d.ts +1 -0
  184. package/lib/typescript/api/entities/VCLCredentialTypesUIFormSchema.d.ts.map +1 -0
  185. package/lib/typescript/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.d.ts +1 -0
  186. package/lib/typescript/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.d.ts.map +1 -0
  187. package/lib/typescript/api/entities/VCLDeepLink.d.ts +1 -0
  188. package/lib/typescript/api/entities/VCLDeepLink.d.ts.map +1 -0
  189. package/lib/typescript/api/entities/VCLDidJwk.d.ts +1 -0
  190. package/lib/typescript/api/entities/VCLDidJwk.d.ts.map +1 -0
  191. package/lib/typescript/api/entities/VCLError.d.ts +1 -0
  192. package/lib/typescript/api/entities/VCLError.d.ts.map +1 -0
  193. package/lib/typescript/api/entities/VCLErrorCode.d.ts +1 -0
  194. package/lib/typescript/api/entities/VCLErrorCode.d.ts.map +1 -0
  195. package/lib/typescript/api/entities/VCLExchange.d.ts +1 -0
  196. package/lib/typescript/api/entities/VCLExchange.d.ts.map +1 -0
  197. package/lib/typescript/api/entities/VCLExchangeDescriptor.d.ts +1 -0
  198. package/lib/typescript/api/entities/VCLExchangeDescriptor.d.ts.map +1 -0
  199. package/lib/typescript/api/entities/VCLFilter.d.ts +1 -0
  200. package/lib/typescript/api/entities/VCLFilter.d.ts.map +1 -0
  201. package/lib/typescript/api/entities/VCLFinalizeOffersDescriptor.d.ts +1 -0
  202. package/lib/typescript/api/entities/VCLFinalizeOffersDescriptor.d.ts.map +1 -0
  203. package/lib/typescript/api/entities/VCLGenerateOffersDescriptor.d.ts +1 -0
  204. package/lib/typescript/api/entities/VCLGenerateOffersDescriptor.d.ts.map +1 -0
  205. package/lib/typescript/api/entities/VCLInitializationDescriptor.d.ts +1 -0
  206. package/lib/typescript/api/entities/VCLInitializationDescriptor.d.ts.map +1 -0
  207. package/lib/typescript/api/entities/VCLIssuingType.d.ts +1 -0
  208. package/lib/typescript/api/entities/VCLIssuingType.d.ts.map +1 -0
  209. package/lib/typescript/api/entities/VCLJwkPublic.d.ts +1 -0
  210. package/lib/typescript/api/entities/VCLJwkPublic.d.ts.map +1 -0
  211. package/lib/typescript/api/entities/VCLJwt.d.ts +1 -0
  212. package/lib/typescript/api/entities/VCLJwt.d.ts.map +1 -0
  213. package/lib/typescript/api/entities/VCLJwtDescriptor.d.ts +1 -0
  214. package/lib/typescript/api/entities/VCLJwtDescriptor.d.ts.map +1 -0
  215. package/lib/typescript/api/entities/VCLJwtVerifiableCredentials.d.ts +1 -0
  216. package/lib/typescript/api/entities/VCLJwtVerifiableCredentials.d.ts.map +1 -0
  217. package/lib/typescript/api/entities/VCLOffers.d.ts +1 -0
  218. package/lib/typescript/api/entities/VCLOffers.d.ts.map +1 -0
  219. package/lib/typescript/api/entities/VCLOrganization.d.ts +1 -0
  220. package/lib/typescript/api/entities/VCLOrganization.d.ts.map +1 -0
  221. package/lib/typescript/api/entities/VCLOrganizations.d.ts +1 -0
  222. package/lib/typescript/api/entities/VCLOrganizations.d.ts.map +1 -0
  223. package/lib/typescript/api/entities/VCLOrganizationsSearchDescriptor.d.ts +1 -0
  224. package/lib/typescript/api/entities/VCLOrganizationsSearchDescriptor.d.ts.map +1 -0
  225. package/lib/typescript/api/entities/VCLPage.d.ts +1 -0
  226. package/lib/typescript/api/entities/VCLPage.d.ts.map +1 -0
  227. package/lib/typescript/api/entities/VCLPresentationRequest.d.ts +1 -0
  228. package/lib/typescript/api/entities/VCLPresentationRequest.d.ts.map +1 -0
  229. package/lib/typescript/api/entities/VCLPresentationRequestDescriptor.d.ts +1 -0
  230. package/lib/typescript/api/entities/VCLPresentationRequestDescriptor.d.ts.map +1 -0
  231. package/lib/typescript/api/entities/VCLPresentationSubmission.d.ts +1 -0
  232. package/lib/typescript/api/entities/VCLPresentationSubmission.d.ts.map +1 -0
  233. package/lib/typescript/api/entities/VCLPushDelegate.d.ts +1 -0
  234. package/lib/typescript/api/entities/VCLPushDelegate.d.ts.map +1 -0
  235. package/lib/typescript/api/entities/VCLRegion.d.ts +1 -0
  236. package/lib/typescript/api/entities/VCLRegion.d.ts.map +1 -0
  237. package/lib/typescript/api/entities/VCLRegions.d.ts +1 -0
  238. package/lib/typescript/api/entities/VCLRegions.d.ts.map +1 -0
  239. package/lib/typescript/api/entities/VCLService.d.ts +1 -0
  240. package/lib/typescript/api/entities/VCLService.d.ts.map +1 -0
  241. package/lib/typescript/api/entities/VCLServiceCredentialAgentIssuer.d.ts +1 -0
  242. package/lib/typescript/api/entities/VCLServiceCredentialAgentIssuer.d.ts.map +1 -0
  243. package/lib/typescript/api/entities/VCLServiceType.d.ts +1 -0
  244. package/lib/typescript/api/entities/VCLServiceType.d.ts.map +1 -0
  245. package/lib/typescript/api/entities/VCLServiceTypes.d.ts +1 -0
  246. package/lib/typescript/api/entities/VCLServiceTypes.d.ts.map +1 -0
  247. package/lib/typescript/api/entities/VCLStatusCode.d.ts +1 -0
  248. package/lib/typescript/api/entities/VCLStatusCode.d.ts.map +1 -0
  249. package/lib/typescript/api/entities/VCLSubmissionResult.d.ts +1 -0
  250. package/lib/typescript/api/entities/VCLSubmissionResult.d.ts.map +1 -0
  251. package/lib/typescript/api/entities/VCLToken.d.ts +1 -0
  252. package/lib/typescript/api/entities/VCLToken.d.ts.map +1 -0
  253. package/lib/typescript/api/entities/VCLVerifiableCredential.d.ts +1 -0
  254. package/lib/typescript/api/entities/VCLVerifiableCredential.d.ts.map +1 -0
  255. package/lib/typescript/api/entities/VCLVerifiedProfile.d.ts +1 -0
  256. package/lib/typescript/api/entities/VCLVerifiedProfile.d.ts.map +1 -0
  257. package/lib/typescript/api/entities/VCLVerifiedProfileDescriptor.d.ts +1 -0
  258. package/lib/typescript/api/entities/VCLVerifiedProfileDescriptor.d.ts.map +1 -0
  259. package/lib/typescript/index.d.ts +3 -1
  260. package/lib/typescript/index.d.ts.map +1 -0
  261. package/package.json +42 -33
  262. package/src/index.tsx +9 -7
  263. package/velocitycareerlabs-vcl-react-native.podspec +45 -0
  264. package/android/.DS_Store +0 -0
  265. package/android/.gradle/7.4.2/checksums/checksums.lock +0 -0
  266. package/android/.gradle/7.4.2/checksums/md5-checksums.bin +0 -0
  267. package/android/.gradle/7.4.2/checksums/sha1-checksums.bin +0 -0
  268. package/android/.gradle/7.4.2/dependencies-accessors/dependencies-accessors.lock +0 -0
  269. package/android/.gradle/7.4.2/dependencies-accessors/gc.properties +0 -0
  270. package/android/.gradle/7.4.2/fileChanges/last-build.bin +0 -0
  271. package/android/.gradle/7.4.2/fileHashes/fileHashes.lock +0 -0
  272. package/android/.gradle/7.4.2/gc.properties +0 -0
  273. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  274. package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  275. package/android/.gradle/vcs-1/gc.properties +0 -0
  276. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  277. package/android/gradle/wrapper/gradle-wrapper.properties +0 -5
  278. package/ios/.DS_Store +0 -0
  279. package/src/.DS_Store +0 -0
  280. package/src/api/.DS_Store +0 -0
  281. package/src/api/entities/.DS_Store +0 -0
  282. package/vcl-react-native.podspec +0 -24
@@ -15,15 +15,11 @@ import org.json.JSONArray
15
15
  import org.json.JSONObject
16
16
  import java.lang.Exception
17
17
 
18
- /**
19
- * Created by Michael Avoyan on 25/10/2021.
20
- */
21
-
22
18
  fun ReadableMap.getBooleanOpt(key: String): Boolean? {
23
19
  return try {
24
20
  this.getBoolean(key)
25
21
  } catch (e: Exception) {
26
- e.printStackTrace()
22
+ // e.printStackTrace()
27
23
  null
28
24
  }
29
25
  }
@@ -36,7 +32,7 @@ fun ReadableMap.getDoubleOpt(key: String): Double? {
36
32
  return try {
37
33
  this.getDouble(key)
38
34
  } catch (e: Exception) {
39
- e.printStackTrace()
35
+ // e.printStackTrace()
40
36
  null
41
37
  }
42
38
  }
@@ -49,7 +45,7 @@ fun ReadableMap.getIntOpt(key: String): Int? {
49
45
  return try {
50
46
  this.getInt(key)
51
47
  } catch (e: Exception) {
52
- e.printStackTrace()
48
+ // e.printStackTrace()
53
49
  null
54
50
  }
55
51
  }
@@ -62,7 +58,7 @@ fun ReadableMap.getStringOpt(key: String): String? {
62
58
  return try {
63
59
  this.getString(key)
64
60
  } catch (e: Exception) {
65
- e.printStackTrace()
61
+ // e.printStackTrace()
66
62
  null
67
63
  }
68
64
  }
@@ -75,7 +71,7 @@ fun ReadableMap.getArrayOpt(key: String): ReadableArray? {
75
71
  return try {
76
72
  this.getArray(key)
77
73
  } catch (e: Exception) {
78
- e.printStackTrace()
74
+ // e.printStackTrace()
79
75
  null
80
76
  }
81
77
  }
@@ -88,7 +84,7 @@ fun ReadableMap.getMapOpt(key: String): ReadableMap? {
88
84
  return try {
89
85
  this.getMap(key)
90
86
  } catch (e: Exception) {
91
- e.printStackTrace()
87
+ // e.printStackTrace()
92
88
  null
93
89
  }
94
90
  }
@@ -101,7 +97,7 @@ fun ReadableMap.toJsonObject(): JSONObject {
101
97
  return try {
102
98
  JSONObject(this.toHashMap())
103
99
  } catch (e: Exception) {
104
- e.printStackTrace()
100
+ // e.printStackTrace()
105
101
  JSONObject()
106
102
  }
107
103
  }
@@ -114,7 +110,7 @@ fun ReadableArray.toJsonArray(): JSONArray {
114
110
  return try {
115
111
  JSONArray(this.toArrayList())
116
112
  } catch (e: Exception) {
117
- e.printStackTrace()
113
+ // e.printStackTrace()
118
114
  JSONArray()
119
115
  }
120
116
  }
@@ -4,15 +4,11 @@
4
4
  * Copyright 2022 Velocity Career Labs inc.
5
5
  * SPDX-License-Identifier: Apache-2.0
6
6
  */
7
-
7
+
8
8
  package io.velocitycareerlabs.reactnative.extensions
9
9
 
10
10
  import com.facebook.react.bridge.*
11
11
 
12
- /**
13
- * Created by Michael Avoyan on 01/07/2021.
14
- */
15
-
16
12
  fun Map<String, Any>.toWritableMap(): WritableMap {
17
13
  val writableMap = Arguments.createMap()
18
14
  val keys: Set<String> = this.keys
@@ -445,9 +445,9 @@ object Converter {
445
445
  fun mapToServiceCredentialAgentIssuer(
446
446
  serviceMap: ReadableMap?
447
447
  ): VCLServiceCredentialAgentIssuer {
448
- var payload = JSONObject("{}")
448
+ var payload = JSONObject()
449
449
  try {
450
- payload = JSONObject(serviceMap?.getMapOpt("payload").toString()).getJSONObject("NativeMap")
450
+ payload = serviceMap?.getMapOpt("payload")?.toJsonObject() ?: JSONObject()
451
451
  } catch (ex: Exception) {
452
452
  ex.printStackTrace()
453
453
  }
@@ -0,0 +1,22 @@
1
+ //
2
+ // GlobalConfig.swift
3
+ // vcl-react-native
4
+ //
5
+ // Created by Michael Avoyan on 08/08/2023.
6
+ //
7
+ // Copyright 2022 Velocity Career Labs inc.
8
+ // SPDX-License-Identifier: Apache-2.0
9
+
10
+ import Foundation
11
+ import VCL
12
+
13
+ struct GlobalConfig {
14
+
15
+ static var CurrentEnvironment = VCLEnvironment.Prod
16
+
17
+ static var IsDebugOn = false
18
+
19
+ static let LogTagPrefix = "VCL RN iOS "
20
+
21
+ static var IsLoggerOn: Bool { get { CurrentEnvironment != VCLEnvironment.Prod || GlobalConfig.IsDebugOn } }
22
+ }
@@ -78,4 +78,10 @@ RCT_EXTERN_METHOD(generateSignedJwt:(NSDictionary*)jwtDescriptorDictionary
78
78
  RCT_EXTERN_METHOD(generateDidJwk:(RCTPromiseResolveBlock)resolve
79
79
  withRejecter:(RCTPromiseRejectBlock)reject)
80
80
 
81
+
82
+ + (BOOL)requiresMainQueueSetup
83
+ {
84
+ return NO;
85
+ }
86
+
81
87
  @end
@@ -12,7 +12,7 @@ class VclReactNative: NSObject {
12
12
  private let vcl = VCLProvider.vclInstance()
13
13
 
14
14
  private func initGlobalConfigurations(
15
- _ initializationDescriptor: VCLInitializationDescriptor
15
+ _ initializationDescriptor: VCLInitializationDescriptor
16
16
  ) {
17
17
  GlobalConfig.CurrentEnvironment = initializationDescriptor.environment
18
18
  GlobalConfig.IsDebugOn = initializationDescriptor.isDebugOn
@@ -215,15 +215,15 @@ class VclReactNative: NSObject {
215
215
  credentialTypesUIFormSchemaDescriptorDictionary: [String: Any],
216
216
  resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock
217
217
  ) {
218
- vcl.getCredentialTypesUIFormSchema(
219
- credentialTypesUIFormSchemaDescriptor: readableMapToCredentialTypesUIFormSchemaDescriptor(credentialTypesUIFormSchemaDescriptorDictionary),
220
- successHandler: {
221
- resolve(credentialTypesFormSchemaToDictionary($0))
222
- },
223
- errorHandler: {
224
- reject(nil, $0.toDictionary().toJsonString(), $0)
225
- }
226
- )
218
+ vcl.getCredentialTypesUIFormSchema(
219
+ credentialTypesUIFormSchemaDescriptor: readableMapToCredentialTypesUIFormSchemaDescriptor(credentialTypesUIFormSchemaDescriptorDictionary),
220
+ successHandler: {
221
+ resolve(credentialTypesFormSchemaToDictionary($0))
222
+ },
223
+ errorHandler: {
224
+ reject(nil, $0.toDictionary().toJsonString(), $0)
225
+ }
226
+ )
227
227
  }
228
228
 
229
229
  @objc(getVerifiedProfile:withResolver:withRejecter:)
@@ -7,8 +7,6 @@
7
7
  objects = {
8
8
 
9
9
  /* Begin PBXBuildFile section */
10
- 289FEEA427DE121D00E58425 /* Converter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 289FEEA127DE121D00E58425 /* Converter.swift */; };
11
- 289FEEA527DE121D00E58425 /* StringExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 289FEEA327DE121D00E58425 /* StringExtensions.swift */; };
12
10
  F4FF95D7245B92E800C19C63 /* VclReactNative.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4FF95D6245B92E800C19C63 /* VclReactNative.swift */; };
13
11
  /* End PBXBuildFile section */
14
12
 
@@ -26,9 +24,12 @@
26
24
 
27
25
  /* Begin PBXFileReference section */
28
26
  134814201AA4EA6300B7C361 /* libVclReactNative.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libVclReactNative.a; sourceTree = BUILT_PRODUCTS_DIR; };
29
- 289FEEA127DE121D00E58425 /* Converter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Converter.swift; sourceTree = "<group>"; };
30
- 289FEEA327DE121D00E58425 /* StringExtensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StringExtensions.swift; sourceTree = "<group>"; };
31
- B3E7B5891CC2AC0600A0062D /* VclReactNative.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VclReactNative.m; sourceTree = "<group>"; };
27
+ 282F3B532A8E20E8003AF65C /* DictionaryExtensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DictionaryExtensions.swift; sourceTree = "<group>"; };
28
+ 282F3B542A8E20E8003AF65C /* StringExtensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StringExtensions.swift; sourceTree = "<group>"; };
29
+ 282F3B552A8E20E8003AF65C /* GlobalConfig.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GlobalConfig.swift; sourceTree = "<group>"; };
30
+ 282F3B572A8E20E8003AF65C /* VCLLog.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VCLLog.swift; sourceTree = "<group>"; };
31
+ 282F3B582A8E20E8003AF65C /* Converter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Converter.swift; sourceTree = "<group>"; };
32
+ B3E7B5891CC2AC0600A0062D /* VclReactNative.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VclReactNative.mm; sourceTree = "<group>"; };
32
33
  F4FF95D5245B92E700C19C63 /* VclReactNative-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "VclReactNative-Bridging-Header.h"; sourceTree = "<group>"; };
33
34
  F4FF95D6245B92E800C19C63 /* VclReactNative.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VclReactNative.swift; sourceTree = "<group>"; };
34
35
  /* End PBXFileReference section */
@@ -52,29 +53,32 @@
52
53
  name = Products;
53
54
  sourceTree = "<group>";
54
55
  };
55
- 289FEEA027DE121D00E58425 /* Utils */ = {
56
+ 282F3B522A8E20E8003AF65C /* Extensions */ = {
56
57
  isa = PBXGroup;
57
58
  children = (
58
- 289FEEA127DE121D00E58425 /* Converter.swift */,
59
+ 282F3B532A8E20E8003AF65C /* DictionaryExtensions.swift */,
60
+ 282F3B542A8E20E8003AF65C /* StringExtensions.swift */,
59
61
  );
60
- path = Utils;
62
+ path = Extensions;
61
63
  sourceTree = "<group>";
62
64
  };
63
- 289FEEA227DE121D00E58425 /* Extensions */ = {
65
+ 282F3B562A8E20E8003AF65C /* Utils */ = {
64
66
  isa = PBXGroup;
65
67
  children = (
66
- 289FEEA327DE121D00E58425 /* StringExtensions.swift */,
68
+ 282F3B572A8E20E8003AF65C /* VCLLog.swift */,
69
+ 282F3B582A8E20E8003AF65C /* Converter.swift */,
67
70
  );
68
- path = Extensions;
71
+ path = Utils;
69
72
  sourceTree = "<group>";
70
73
  };
71
74
  58B511D21A9E6C8500147676 = {
72
75
  isa = PBXGroup;
73
76
  children = (
74
- 289FEEA227DE121D00E58425 /* Extensions */,
75
- 289FEEA027DE121D00E58425 /* Utils */,
77
+ 282F3B522A8E20E8003AF65C /* Extensions */,
78
+ 282F3B552A8E20E8003AF65C /* GlobalConfig.swift */,
79
+ 282F3B562A8E20E8003AF65C /* Utils */,
76
80
  F4FF95D6245B92E800C19C63 /* VclReactNative.swift */,
77
- B3E7B5891CC2AC0600A0062D /* VclReactNative.m */,
81
+ B3E7B5891CC2AC0600A0062D /* VclReactNative.mm */,
78
82
  F4FF95D5245B92E700C19C63 /* VclReactNative-Bridging-Header.h */,
79
83
  134814211AA4EA7D00B7C361 /* Products */,
80
84
  );
@@ -137,8 +141,6 @@
137
141
  isa = PBXSourcesBuildPhase;
138
142
  buildActionMask = 2147483647;
139
143
  files = (
140
- 289FEEA527DE121D00E58425 /* StringExtensions.swift in Sources */,
141
- 289FEEA427DE121D00E58425 /* Converter.swift in Sources */,
142
144
  F4FF95D7245B92E800C19C63 /* VclReactNative.swift in Sources */,
143
145
  );
144
146
  runOnlyForDeploymentPostprocessing = 0;
@@ -174,6 +176,7 @@
174
176
  COPY_PHASE_STRIP = NO;
175
177
  ENABLE_STRICT_OBJC_MSGSEND = YES;
176
178
  ENABLE_TESTABILITY = YES;
179
+ "EXCLUDED_ARCHS[sdk=*]" = arm64;
177
180
  GCC_C_LANGUAGE_STANDARD = gnu99;
178
181
  GCC_DYNAMIC_NO_PIC = NO;
179
182
  GCC_NO_COMMON_BLOCKS = YES;
@@ -224,6 +227,7 @@
224
227
  COPY_PHASE_STRIP = YES;
225
228
  ENABLE_NS_ASSERTIONS = NO;
226
229
  ENABLE_STRICT_OBJC_MSGSEND = YES;
230
+ "EXCLUDED_ARCHS[sdk=*]" = arm64;
227
231
  GCC_C_LANGUAGE_STANDARD = gnu99;
228
232
  GCC_NO_COMMON_BLOCKS = YES;
229
233
  GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ </Workspace>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>IDEDidComputeMac32BitWarning</key>
6
+ <true/>
7
+ </dict>
8
+ </plist>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>SchemeUserState</key>
6
+ <dict>
7
+ <key>VclReactNative.xcscheme_^#shared#^_</key>
8
+ <dict>
9
+ <key>orderHint</key>
10
+ <integer>0</integer>
11
+ </dict>
12
+ </dict>
13
+ </dict>
14
+ </plist>
@@ -1 +1 @@
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":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["api/Dictionary.ts"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"names":["VclReactNative","NativeModules","VclApi","initialize","initializationDescriptor","e","VCLError","getCountries","getCredentialTypes","getCredentialTypeSchemas","getPresentationRequest","presentationRequestDescriptor","submitPresentation","presentationSubmission","didJwk","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 type { VCLCredentialTypes } from './entities/VCLCredentialTypes';\n\nimport { NativeModules } from 'react-native';\nimport { VCLError } from './entities/VCLError';\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 new VCLError(e);\n }\n },\n\n getCountries: async (): Promise<VCLCountries> => {\n try {\n return await VclReactNative.getCountries();\n } catch (e) {\n throw new VCLError(e);\n }\n },\n\n getCredentialTypes: async (): Promise<VCLCredentialTypes> => {\n try {\n return await VclReactNative.getCredentialTypes();\n } catch (e) {\n throw new VCLError(e);\n }\n },\n\n getCredentialTypeSchemas: async (): Promise<VCLCredentialTypeSchemas> => {\n try {\n return await VclReactNative.getCredentialTypeSchemas();\n } catch (e) {\n throw new VCLError(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 new VCLError(e);\n }\n },\n\n submitPresentation: async (\n presentationSubmission: VCLPresentationSubmission,\n didJwk?: VCLDidJwk\n ): Promise<VCLSubmissionResult> => {\n try {\n return await VclReactNative.submitPresentation(\n presentationSubmission,\n didJwk\n );\n } catch (e) {\n throw new VCLError(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 new VCLError(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 new VCLError(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 new VCLError(e);\n }\n },\n\n generateOffers: async (\n generateOffersDescriptor: VCLGenerateOffersDescriptor,\n didJwk?: VCLDidJwk\n ): Promise<VCLOffers> => {\n try {\n return await VclReactNative.generateOffers(\n generateOffersDescriptor,\n didJwk\n );\n } catch (e) {\n throw new VCLError(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 new VCLError(e);\n }\n },\n\n finalizeOffers: async (\n finalizeOffersDescriptor: VCLFinalizeOffersDescriptor,\n token: VCLToken,\n didJwk?: VCLDidJwk\n ): Promise<VCLJwtVerifiableCredentials> => {\n try {\n return await VclReactNative.finalizeOffers(\n finalizeOffersDescriptor,\n didJwk,\n token\n );\n } catch (e) {\n throw new VCLError(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 new VCLError(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 new VCLError(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 new VCLError(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 new VCLError(e);\n }\n },\n\n generateDidJwk: async (): Promise<VCLDidJwk> => {\n try {\n return await VclReactNative.generateDidJwk();\n } catch (e) {\n throw new VCLError(e);\n }\n },\n};\n"],"mappings":";;;;;;AAmCA;AACA;AApCA;AACA;AACA;AACA;AACA;AACA;;AAgCA,MAAM;EAAEA;AAAe,CAAC,GAAGC,0BAAa;AAEjC,MAAMC,MAAM,GAAG;EACpBC,UAAU,EAAE,MACVC,wBAAqD,IACnC;IAClB,IAAI;MACF,OAAO,MAAMJ,cAAc,CAACG,UAAU,CAACC,wBAAwB,CAAC;IAClE,CAAC,CAAC,OAAOC,CAAC,EAAE;MACV,MAAM,IAAIC,kBAAQ,CAACD,CAAC,CAAC;IACvB;EACF,CAAC;EAEDE,YAAY,EAAE,YAAmC;IAC/C,IAAI;MACF,OAAO,MAAMP,cAAc,CAACO,YAAY,EAAE;IAC5C,CAAC,CAAC,OAAOF,CAAC,EAAE;MACV,MAAM,IAAIC,kBAAQ,CAACD,CAAC,CAAC;IACvB;EACF,CAAC;EAEDG,kBAAkB,EAAE,YAAyC;IAC3D,IAAI;MACF,OAAO,MAAMR,cAAc,CAACQ,kBAAkB,EAAE;IAClD,CAAC,CAAC,OAAOH,CAAC,EAAE;MACV,MAAM,IAAIC,kBAAQ,CAACD,CAAC,CAAC;IACvB;EACF,CAAC;EAEDI,wBAA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S,EAAE,OAAOC,GAAW,EAAEC,SAAuB,KAAuB;IAC3E,IAAI;MACF,OAAO,MAAMjC,cAAc,CAAC+B,SAAS,CAACC,GAAG,EAAEC,SAAS,CAAC;IACvD,CAAC,CAAC,OAAO5B,CAAC,EAAE;MACV,MAAM,IAAIC,kBAAQ,CAACD,CAAC,CAAC;IACvB;EACF,CAAC;EAED6B,iBAAiB,EAAE,MACjBC,aAA+B,IACX;IACpB,IAAI;MACF,OAAO,MAAMnC,cAAc,CAACkC,iBAAiB,CAACC,aAAa,CAAC;IAC9D,CAAC,CAAC,OAAO9B,CAAC,EAAE;MACV,MAAM,IAAIC,kBAAQ,CAACD,CAAC,CAAC;IACvB;EACF,CAAC;EAED+B,cAAc,EAAE,YAAgC;IAC9C,IAAI;MACF,OAAO,MAAMpC,cAAc,CAACoC,cAAc,EAAE;IAC9C,CAAC,CAAC,OAAO/B,CAAC,EAAE;MACV,MAAM,IAAIC,kBAAQ,CAACD,CAAC,CAAC;IACvB;EACF;AACF,CAAC;AAAC"}
1
+ {"version":3,"names":["_reactNative","require","_VCLError","VclReactNative","NativeModules","VclApi","initialize","initializationDescriptor","e","VCLError","getCountries","getCredentialTypes","getCredentialTypeSchemas","getPresentationRequest","presentationRequestDescriptor","submitPresentation","presentationSubmission","didJwk","getExchangeProgress","exchangeDescriptor","searchForOrganizations","organizationsSearchDescriptor","getCredentialManifest","credentialManifestDescriptor","generateOffers","generateOffersDescriptor","checkForOffers","token","finalizeOffers","finalizeOffersDescriptor","getCredentialTypesUIFormSchema","credentialTypesUIFormSchemaDescriptor","getVerifiedProfile","verifiedProfileDescriptor","verifyJwt","jwt","jwkPublic","generateSignedJwt","jwtDescriptor","generateDidJwk","exports"],"sourceRoot":"../../../src","sources":["api/VCLApi.ts"],"mappings":";;;;;;AAmCA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AApCA;AACA;AACA;AACA;AACA;AACA;;AAgCA,MAAM;EAAEE;AAAe,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c,CAACoC,cAAc,CAAC,CAAC;IAC9C,CAAC,CAAC,OAAO/B,CAAC,EAAE;MACV,MAAM,IAAIC,kBAAQ,CAACD,CAAC,CAAC;IACvB;EACF;AACF,CAAC;AAACgC,OAAA,CAAAnC,MAAA,GAAAA,MAAA"}
@@ -10,12 +10,12 @@ exports.VCLEnvironment = void 0;
10
10
  * Copyright 2022 Velocity Career Labs inc.
11
11
  * SPDX-License-Identifier: Apache-2.0
12
12
  */
13
- let VCLEnvironment;
14
- exports.VCLEnvironment = VCLEnvironment;
15
- (function (VCLEnvironment) {
13
+ let VCLEnvironment = /*#__PURE__*/function (VCLEnvironment) {
16
14
  VCLEnvironment["Dev"] = "dev";
17
15
  VCLEnvironment["Qa"] = "qa";
18
16
  VCLEnvironment["Staging"] = "staging";
19
17
  VCLEnvironment["Prod"] = "prod";
20
- })(VCLEnvironment || (exports.VCLEnvironment = VCLEnvironment = {}));
18
+ return VCLEnvironment;
19
+ }({});
20
+ exports.VCLEnvironment = VCLEnvironment;
21
21
  //# sourceMappingURL=VCLEnvironment.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["VCLEnvironment"],"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 enum VCLEnvironment {\n Dev = 'dev',\n Qa = 'qa',\n Staging = 'staging',\n Prod = 'prod',\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"}
1
+ {"version":3,"names":["VCLEnvironment","exports"],"sourceRoot":"../../../src","sources":["api/VCLEnvironment.ts"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AALA,IAOYA,cAAc,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA;AAAAC,OAAA,CAAAD,cAAA,GAAAA,cAAA"}
@@ -10,10 +10,10 @@ exports.VCLKeyServiceType = void 0;
10
10
  * Copyright 2022 Velocity Career Labs inc.
11
11
  * SPDX-License-Identifier: Apache-2.0
12
12
  */
13
- let VCLKeyServiceType;
14
- exports.VCLKeyServiceType = VCLKeyServiceType;
15
- (function (VCLKeyServiceType) {
13
+ let VCLKeyServiceType = /*#__PURE__*/function (VCLKeyServiceType) {
16
14
  VCLKeyServiceType["Local"] = "local";
17
15
  VCLKeyServiceType["Remote"] = "remote";
18
- })(VCLKeyServiceType || (exports.VCLKeyServiceType = VCLKeyServiceType = {}));
16
+ return VCLKeyServiceType;
17
+ }({});
18
+ exports.VCLKeyServiceType = VCLKeyServiceType;
19
19
  //# sourceMappingURL=VCLKeyServiceType.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["VCLKeyServiceType"],"sources":["VCLKeyServiceType.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 VCLKeyServiceType {\n Local = 'local',\n Remote = 'remote',\n}\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AALA,IAOYA,iBAAiB;AAAA;AAAA,WAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;AAAA,GAAjBA,iBAAiB,iCAAjBA,iBAAiB"}
1
+ {"version":3,"names":["VCLKeyServiceType","exports"],"sourceRoot":"../../../src","sources":["api/VCLKeyServiceType.ts"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AALA,IAOYA,iBAAiB,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA;AAAAC,OAAA,CAAAD,iBAAA,GAAAA,iBAAA"}
@@ -10,10 +10,10 @@ exports.VCLXVnfProtocolVersion = void 0;
10
10
  * Copyright 2022 Velocity Career Labs inc.
11
11
  * SPDX-License-Identifier: Apache-2.0
12
12
  */
13
- let VCLXVnfProtocolVersion;
14
- exports.VCLXVnfProtocolVersion = VCLXVnfProtocolVersion;
15
- (function (VCLXVnfProtocolVersion) {
13
+ let VCLXVnfProtocolVersion = /*#__PURE__*/function (VCLXVnfProtocolVersion) {
16
14
  VCLXVnfProtocolVersion["XVnfProtocolVersion1"] = "1.0";
17
15
  VCLXVnfProtocolVersion["XVnfProtocolVersion2"] = "2.0";
18
- })(VCLXVnfProtocolVersion || (exports.VCLXVnfProtocolVersion = VCLXVnfProtocolVersion = {}));
16
+ return VCLXVnfProtocolVersion;
17
+ }({});
18
+ exports.VCLXVnfProtocolVersion = VCLXVnfProtocolVersion;
19
19
  //# sourceMappingURL=VCLXVnfProtocolVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["VCLXVnfProtocolVersion"],"sources":["VCLXVnfProtocolVersion.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 VCLXVnfProtocolVersion {\n XVnfProtocolVersion1 = '1.0',\n XVnfProtocolVersion2 = '2.0',\n}\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AALA,IAOYA,sBAAsB;AAAA;AAAA,WAAtBA,sBAAsB;EAAtBA,sBAAsB;EAAtBA,sBAAsB;AAAA,GAAtBA,sBAAsB,sCAAtBA,sBAAsB"}
1
+ {"version":3,"names":["VCLXVnfProtocolVersion","exports"],"sourceRoot":"../../../src","sources":["api/VCLXVnfProtocolVersion.ts"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AALA,IAOYA,sBAAsB,0BAAtBA,sBAAsB;EAAtBA,sBAAsB;EAAtBA,sBAAsB;EAAA,OAAtBA,sBAAsB;AAAA;AAAAC,OAAA,CAAAD,sBAAA,GAAAA,sBAAA"}
@@ -10,9 +10,7 @@ exports.VCLCountryCodes = void 0;
10
10
  * Copyright 2022 Velocity Career Labs inc.
11
11
  * SPDX-License-Identifier: Apache-2.0
12
12
  */
13
- let VCLCountryCodes;
14
- exports.VCLCountryCodes = VCLCountryCodes;
15
- (function (VCLCountryCodes) {
13
+ let VCLCountryCodes = /*#__PURE__*/function (VCLCountryCodes) {
16
14
  VCLCountryCodes["BD"] = "BD";
17
15
  VCLCountryCodes["BE"] = "BE";
18
16
  VCLCountryCodes["BF"] = "BF";
@@ -264,5 +262,7 @@ exports.VCLCountryCodes = VCLCountryCodes;
264
262
  VCLCountryCodes["QA"] = "QA";
265
263
  VCLCountryCodes["MZ"] = "MZ";
266
264
  VCLCountryCodes["UK"] = "UK";
267
- })(VCLCountryCodes || (exports.VCLCountryCodes = VCLCountryCodes = {}));
265
+ return VCLCountryCodes;
266
+ }({});
267
+ exports.VCLCountryCodes = VCLCountryCodes;
268
268
  //# sourceMappingURL=VCLCountries.js.map
@@ -1 +1 @@
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',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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
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCountry.ts"],"mappings":""}
@@ -1 +1 @@
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';\nimport type { VCLVerifiedProfile } from './VCLVerifiedProfile';\n\nexport interface VCLCredentialManifest {\n jwt: VCLJwt;\n vendorOriginContext?: String;\n verifiedProfile: VCLVerifiedProfile;\n iss: string;\n did: string;\n exchangeId: string;\n presentationDefinitionId: string;\n}\n"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialManifest.ts"],"mappings":""}
@@ -1 +1 @@
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 { VCLIssuingType } from './VCLIssuingType';\n\nexport interface VCLCredentialManifestDescriptor {\n issuingType?: VCLIssuingType;\n credentialTypes?: string[];\n pushDelegate?: VCLPushDelegate;\n}\n"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialManifestDescriptor.ts"],"mappings":""}
@@ -1 +1 @@
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
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialManifestDescriptorByDeepLink.ts"],"mappings":""}
@@ -1 +1 @@
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
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialManifestDescriptorByService.ts"],"mappings":""}
@@ -1 +1 @@
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
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialManifestDescriptorRefresh.ts"],"mappings":""}
@@ -1 +1 @@
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
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialType.ts"],"mappings":""}
@@ -1 +1 @@
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
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialTypeSchema.ts"],"mappings":""}
@@ -1 +1 @@
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
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialTypeSchemas.ts"],"mappings":""}
@@ -1 +1 @@
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
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialTypes.ts"],"mappings":""}
@@ -1 +1 @@
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
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialTypesUIFormSchema.ts"],"mappings":""}
@@ -1 +1 @@
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
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialTypesUIFormSchemaDescriptor.ts"],"mappings":""}
@@ -1 +1 @@
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
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLDeepLink.ts"],"mappings":""}
@@ -1 +1 @@
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 /**\n * The id of private key save in secure enclave\n */\n keyId: string;\n /**\n * The did:jwk\n */\n value: string;\n /**\n * kid of jwt - did:jwk suffixed with #0\n */\n kid: string;\n}\n"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLDidJwk.ts"],"mappings":""}
@@ -4,9 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.VCLError = void 0;
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
7
  /**
11
8
  * Created by Michael Avoyan.
12
9
  *
@@ -17,10 +14,6 @@ function _toPrimitive(input, hint) { if (typeof input !== "object" || input ===
17
14
  class VCLError extends Error {
18
15
  constructor(error) {
19
16
  super(error);
20
- _defineProperty(this, "payload", void 0);
21
- _defineProperty(this, "error", void 0);
22
- _defineProperty(this, "errorCode", void 0);
23
- _defineProperty(this, "statusCode", void 0);
24
17
  try {
25
18
  const errorJson = JSON.parse(error.message);
26
19
  this.payload = errorJson.payload;
@@ -1 +1 @@
1
- {"version":3,"names":["VCLError","Error","constructor","error","errorJson","JSON","parse","message","payload","errorCode","statusCode","parseInt","e","stringify"],"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 payload?: string;\n error?: string;\n errorCode?: string;\n statusCode?: number;\n\n constructor(error: any) {\n super(error);\n try {\n const errorJson = JSON.parse(error.message);\n this.payload = errorJson.payload;\n this.error = errorJson.error;\n this.errorCode = errorJson.errorCode;\n this.message = errorJson.message;\n this.statusCode = parseInt(errorJson.statusCode, 10);\n } catch (e) {\n this.message = JSON.stringify(error);\n }\n }\n}\n"],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEO,MAAMA,QAAQ,SAASC,KAAK,CAAC;EAMlCC,WAAW,CAACC,KAAU,EAAE;IACtB,KAAK,CAACA,KAAK,CAAC;IAAC;IAAA;IAAA;IAAA;IACb,IAAI;MACF,MAAMC,SAAS,GAAGC,IAAI,CAACC,KAAK,CAACH,KAAK,CAACI,OAAO,CAAC;MAC3C,IAAI,CAACC,OAAO,GAAGJ,SAAS,CAACI,OAAO;MAChC,IAAI,CAACL,KAAK,GAAGC,SAAS,CAACD,KAAK;MAC5B,IAAI,CAACM,SAAS,GAAGL,SAAS,CAACK,SAAS;MACpC,IAAI,CAACF,OAAO,GAAGH,SAAS,CAACG,OAAO;MAChC,IAAI,CAACG,UAAU,GAAGC,QAAQ,CAACP,SAAS,CAACM,UAAU,EAAE,EAAE,CAAC;IACtD,CAAC,CAAC,OAAOE,CAAC,EAAE;MACV,IAAI,CAACL,OAAO,GAAGF,IAAI,CAACQ,SAAS,CAACV,KAAK,CAAC;IACtC;EACF;AACF;AAAC"}
1
+ {"version":3,"names":["VCLError","Error","constructor","error","errorJson","JSON","parse","message","payload","errorCode","statusCode","parseInt","e","stringify","exports"],"sourceRoot":"../../../../src","sources":["api/entities/VCLError.ts"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEO,MAAMA,QAAQ,SAASC,KAAK,CAAC;EAMlCC,WAAWA,CAACC,KAAU,EAAE;IACtB,KAAK,CAACA,KAAK,CAAC;IACZ,IAAI;MACF,MAAMC,SAAS,GAAGC,IAAI,CAACC,KAAK,CAACH,KAAK,CAACI,OAAO,CAAC;MAC3C,IAAI,CAACC,OAAO,GAAGJ,SAAS,CAACI,OAAO;MAChC,IAAI,CAACL,KAAK,GAAGC,SAAS,CAACD,KAAK;MAC5B,IAAI,CAACM,SAAS,GAAGL,SAAS,CAACK,SAAS;MACpC,IAAI,CAACF,OAAO,GAAGH,SAAS,CAACG,OAAO;MAChC,IAAI,CAACG,UAAU,GAAGC,QAAQ,CAACP,SAAS,CAACM,UAAU,EAAE,EAAE,CAAC;IACtD,CAAC,CAAC,OAAOE,CAAC,EAAE;MACV,IAAI,CAACL,OAAO,GAAGF,IAAI,CAACQ,SAAS,CAACV,KAAK,CAAC;IACtC;EACF;AACF;AAACW,OAAA,CAAAd,QAAA,GAAAA,QAAA"}
@@ -10,9 +10,7 @@ exports.VCLErrorCode = void 0;
10
10
  * Copyright 2022 Velocity Career Labs inc.
11
11
  * SPDX-License-Identifier: Apache-2.0
12
12
  */
13
- let VCLErrorCode;
14
- exports.VCLErrorCode = VCLErrorCode;
15
- (function (VCLErrorCode) {
13
+ let VCLErrorCode = /*#__PURE__*/function (VCLErrorCode) {
16
14
  VCLErrorCode["CredentialTypeNotRegistered"] = "credential_type_not_registered";
17
15
  VCLErrorCode["IssuerRequiresIdentityPermission"] = "issuer_requires_identity_permission";
18
16
  VCLErrorCode["IssuerRequiresNotaryPermission"] = "issuer_requires_notary_permission";
@@ -20,5 +18,7 @@ exports.VCLErrorCode = VCLErrorCode;
20
18
  VCLErrorCode["InvalidCredentialSubjectType"] = "invalid_credential_subject_type";
21
19
  VCLErrorCode["InvalidCredentialSubjectContext"] = "invalid_credential_subject_context";
22
20
  VCLErrorCode["IssuerUnexpectedPermissionFailure"] = "issuer_unexpected_permission_failure";
23
- })(VCLErrorCode || (exports.VCLErrorCode = VCLErrorCode = {}));
21
+ return VCLErrorCode;
22
+ }({});
23
+ exports.VCLErrorCode = VCLErrorCode;
24
24
  //# sourceMappingURL=VCLErrorCode.js.map
@@ -1 +1 @@
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 // Credential issuer verification error codes:\n CredentialTypeNotRegistered = 'credential_type_not_registered',\n IssuerRequiresIdentityPermission = 'issuer_requires_identity_permission',\n IssuerRequiresNotaryPermission = 'issuer_requires_notary_permission',\n CredentialSubjectContextMissing = 'credential_subject_context_missing',\n InvalidCredentialSubjectType = 'invalid_credential_subject_type',\n InvalidCredentialSubjectContext = 'invalid_credential_subject_context',\n IssuerUnexpectedPermissionFailure = 'issuer_unexpected_permission_failure',\n}\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AALA,IAOYA,YAAY;AAAA;AAAA,WAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;AAAA,GAAZA,YAAY,4BAAZA,YAAY"}
1
+ {"version":3,"names":["VCLErrorCode","exports"],"sourceRoot":"../../../../src","sources":["api/entities/VCLErrorCode.ts"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AALA,IAOYA,YAAY,0BAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA;AAAAC,OAAA,CAAAD,YAAA,GAAAA,YAAA"}