@velocitycareerlabs/vcl-react-native 1.14.8 → 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.
- package/LICENSE +20 -177
- package/README.md +11 -106
- package/android/build.gradle +61 -84
- package/android/gradle.properties +5 -4
- package/android/src/main/AndroidManifestNew.xml +2 -0
- package/android/src/main/java/io/velocitycareerlabs/reactnative/VclReactNativeModule.kt +1 -4
- package/android/src/main/java/io/velocitycareerlabs/reactnative/VclReactNativePackage.kt +7 -9
- package/android/src/main/java/io/velocitycareerlabs/reactnative/extensions/ArrayExtensions.kt +0 -4
- package/android/src/main/java/io/velocitycareerlabs/reactnative/extensions/JSONExtensions.kt +1 -5
- package/android/src/main/java/io/velocitycareerlabs/reactnative/extensions/MapExtensions.kt +0 -4
- package/android/src/main/java/io/velocitycareerlabs/reactnative/extensions/RNCollectionExtensions.kt +1 -5
- package/ios/{VclReactNative.m → VclReactNative.mm} +6 -0
- package/ios/VclReactNative.swift +10 -10
- package/ios/VclReactNative.xcodeproj/project.pbxproj +20 -18
- package/ios/VclReactNative.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -3
- package/ios/VclReactNative.xcodeproj/project.xcworkspace/xcuserdata/michaelavoyan.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/lib/commonjs/api/Dictionary.js.map +1 -1
- package/lib/commonjs/api/VCLApi.js.map +1 -1
- package/lib/commonjs/api/VCLEnvironment.js +4 -4
- package/lib/commonjs/api/VCLEnvironment.js.map +1 -1
- package/lib/commonjs/api/VCLKeyServiceType.js +4 -4
- package/lib/commonjs/api/VCLKeyServiceType.js.map +1 -1
- package/lib/commonjs/api/VCLXVnfProtocolVersion.js +4 -4
- package/lib/commonjs/api/VCLXVnfProtocolVersion.js.map +1 -1
- package/lib/commonjs/api/entities/VCLCountries.js +4 -4
- package/lib/commonjs/api/entities/VCLCountries.js.map +1 -1
- package/lib/commonjs/api/entities/VCLCountry.js.map +1 -1
- package/lib/commonjs/api/entities/VCLCredentialManifest.js.map +1 -1
- package/lib/commonjs/api/entities/VCLCredentialManifestDescriptor.js.map +1 -1
- package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorByDeepLink.js.map +1 -1
- package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorByService.js.map +1 -1
- package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorRefresh.js.map +1 -1
- package/lib/commonjs/api/entities/VCLCredentialType.js.map +1 -1
- package/lib/commonjs/api/entities/VCLCredentialTypeSchema.js.map +1 -1
- package/lib/commonjs/api/entities/VCLCredentialTypeSchemas.js.map +1 -1
- package/lib/commonjs/api/entities/VCLCredentialTypes.js.map +1 -1
- package/lib/commonjs/api/entities/VCLCredentialTypesUIFormSchema.js.map +1 -1
- package/lib/commonjs/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.js.map +1 -1
- package/lib/commonjs/api/entities/VCLDeepLink.js.map +1 -1
- package/lib/commonjs/api/entities/VCLDidJwk.js.map +1 -1
- package/lib/commonjs/api/entities/VCLError.js +0 -7
- package/lib/commonjs/api/entities/VCLError.js.map +1 -1
- package/lib/commonjs/api/entities/VCLErrorCode.js +4 -4
- package/lib/commonjs/api/entities/VCLErrorCode.js.map +1 -1
- package/lib/commonjs/api/entities/VCLExchange.js.map +1 -1
- package/lib/commonjs/api/entities/VCLExchangeDescriptor.js.map +1 -1
- package/lib/commonjs/api/entities/VCLFilter.js.map +1 -1
- package/lib/commonjs/api/entities/VCLFinalizeOffersDescriptor.js.map +1 -1
- package/lib/commonjs/api/entities/VCLGenerateOffersDescriptor.js.map +1 -1
- package/lib/commonjs/api/entities/VCLInitializationDescriptor.js.map +1 -1
- package/lib/commonjs/api/entities/VCLIssuingType.js +4 -4
- package/lib/commonjs/api/entities/VCLIssuingType.js.map +1 -1
- package/lib/commonjs/api/entities/VCLJwkPublic.js.map +1 -1
- package/lib/commonjs/api/entities/VCLJwt.js.map +1 -1
- package/lib/commonjs/api/entities/VCLJwtDescriptor.js.map +1 -1
- package/lib/commonjs/api/entities/VCLJwtVerifiableCredentials.js.map +1 -1
- package/lib/commonjs/api/entities/VCLOffers.js.map +1 -1
- package/lib/commonjs/api/entities/VCLOrganization.js.map +1 -1
- package/lib/commonjs/api/entities/VCLOrganizations.js.map +1 -1
- package/lib/commonjs/api/entities/VCLOrganizationsSearchDescriptor.js.map +1 -1
- package/lib/commonjs/api/entities/VCLPage.js.map +1 -1
- package/lib/commonjs/api/entities/VCLPresentationRequest.js.map +1 -1
- package/lib/commonjs/api/entities/VCLPresentationRequestDescriptor.js.map +1 -1
- package/lib/commonjs/api/entities/VCLPresentationSubmission.js.map +1 -1
- package/lib/commonjs/api/entities/VCLPushDelegate.js.map +1 -1
- package/lib/commonjs/api/entities/VCLRegion.js.map +1 -1
- package/lib/commonjs/api/entities/VCLRegions.js.map +1 -1
- package/lib/commonjs/api/entities/VCLService.js.map +1 -1
- package/lib/commonjs/api/entities/VCLServiceCredentialAgentIssuer.js.map +1 -1
- package/lib/commonjs/api/entities/VCLServiceType.js +4 -4
- package/lib/commonjs/api/entities/VCLServiceType.js.map +1 -1
- package/lib/commonjs/api/entities/VCLServiceTypes.js.map +1 -1
- package/lib/commonjs/api/entities/VCLStatusCode.js +4 -4
- package/lib/commonjs/api/entities/VCLStatusCode.js.map +1 -1
- package/lib/commonjs/api/entities/VCLSubmissionResult.js.map +1 -1
- package/lib/commonjs/api/entities/VCLToken.js.map +1 -1
- package/lib/commonjs/api/entities/VCLVerifiableCredential.js.map +1 -1
- package/lib/commonjs/api/entities/VCLVerifiedProfile.js.map +1 -1
- package/lib/commonjs/api/entities/VCLVerifiedProfileDescriptor.js.map +1 -1
- package/lib/commonjs/index.js +2 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/api/Dictionary.js.map +1 -1
- package/lib/module/api/VCLApi.js.map +1 -1
- package/lib/module/api/VCLEnvironment.js +3 -3
- package/lib/module/api/VCLEnvironment.js.map +1 -1
- package/lib/module/api/VCLKeyServiceType.js +3 -3
- package/lib/module/api/VCLKeyServiceType.js.map +1 -1
- package/lib/module/api/VCLXVnfProtocolVersion.js +3 -3
- package/lib/module/api/VCLXVnfProtocolVersion.js.map +1 -1
- package/lib/module/api/entities/VCLCountries.js +3 -3
- package/lib/module/api/entities/VCLCountries.js.map +1 -1
- package/lib/module/api/entities/VCLCountry.js.map +1 -1
- package/lib/module/api/entities/VCLCredentialManifest.js.map +1 -1
- package/lib/module/api/entities/VCLCredentialManifestDescriptor.js.map +1 -1
- package/lib/module/api/entities/VCLCredentialManifestDescriptorByDeepLink.js.map +1 -1
- package/lib/module/api/entities/VCLCredentialManifestDescriptorByService.js.map +1 -1
- package/lib/module/api/entities/VCLCredentialManifestDescriptorRefresh.js.map +1 -1
- package/lib/module/api/entities/VCLCredentialType.js.map +1 -1
- package/lib/module/api/entities/VCLCredentialTypeSchema.js.map +1 -1
- package/lib/module/api/entities/VCLCredentialTypeSchemas.js.map +1 -1
- package/lib/module/api/entities/VCLCredentialTypes.js.map +1 -1
- package/lib/module/api/entities/VCLCredentialTypesUIFormSchema.js.map +1 -1
- package/lib/module/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.js.map +1 -1
- package/lib/module/api/entities/VCLDeepLink.js.map +1 -1
- package/lib/module/api/entities/VCLDidJwk.js.map +1 -1
- package/lib/module/api/entities/VCLError.js +0 -7
- package/lib/module/api/entities/VCLError.js.map +1 -1
- package/lib/module/api/entities/VCLErrorCode.js +3 -3
- package/lib/module/api/entities/VCLErrorCode.js.map +1 -1
- package/lib/module/api/entities/VCLExchange.js.map +1 -1
- package/lib/module/api/entities/VCLExchangeDescriptor.js.map +1 -1
- package/lib/module/api/entities/VCLFilter.js.map +1 -1
- package/lib/module/api/entities/VCLFinalizeOffersDescriptor.js.map +1 -1
- package/lib/module/api/entities/VCLGenerateOffersDescriptor.js.map +1 -1
- package/lib/module/api/entities/VCLInitializationDescriptor.js.map +1 -1
- package/lib/module/api/entities/VCLIssuingType.js +3 -3
- package/lib/module/api/entities/VCLIssuingType.js.map +1 -1
- package/lib/module/api/entities/VCLJwkPublic.js.map +1 -1
- package/lib/module/api/entities/VCLJwt.js.map +1 -1
- package/lib/module/api/entities/VCLJwtDescriptor.js.map +1 -1
- package/lib/module/api/entities/VCLJwtVerifiableCredentials.js.map +1 -1
- package/lib/module/api/entities/VCLOffers.js.map +1 -1
- package/lib/module/api/entities/VCLOrganization.js.map +1 -1
- package/lib/module/api/entities/VCLOrganizations.js.map +1 -1
- package/lib/module/api/entities/VCLOrganizationsSearchDescriptor.js.map +1 -1
- package/lib/module/api/entities/VCLPage.js.map +1 -1
- package/lib/module/api/entities/VCLPresentationRequest.js.map +1 -1
- package/lib/module/api/entities/VCLPresentationRequestDescriptor.js.map +1 -1
- package/lib/module/api/entities/VCLPresentationSubmission.js.map +1 -1
- package/lib/module/api/entities/VCLPushDelegate.js.map +1 -1
- package/lib/module/api/entities/VCLRegion.js.map +1 -1
- package/lib/module/api/entities/VCLRegions.js.map +1 -1
- package/lib/module/api/entities/VCLService.js.map +1 -1
- package/lib/module/api/entities/VCLServiceCredentialAgentIssuer.js.map +1 -1
- package/lib/module/api/entities/VCLServiceType.js +3 -3
- package/lib/module/api/entities/VCLServiceType.js.map +1 -1
- package/lib/module/api/entities/VCLServiceTypes.js.map +1 -1
- package/lib/module/api/entities/VCLStatusCode.js +3 -3
- package/lib/module/api/entities/VCLStatusCode.js.map +1 -1
- package/lib/module/api/entities/VCLSubmissionResult.js.map +1 -1
- package/lib/module/api/entities/VCLToken.js.map +1 -1
- package/lib/module/api/entities/VCLVerifiableCredential.js.map +1 -1
- package/lib/module/api/entities/VCLVerifiedProfile.js.map +1 -1
- package/lib/module/api/entities/VCLVerifiedProfileDescriptor.js.map +1 -1
- package/lib/module/index.js +0 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/api/Dictionary.d.ts +1 -0
- package/lib/typescript/api/Dictionary.d.ts.map +1 -0
- package/lib/typescript/api/VCLApi.d.ts +1 -0
- package/lib/typescript/api/VCLApi.d.ts.map +1 -0
- package/lib/typescript/api/VCLEnvironment.d.ts +1 -0
- package/lib/typescript/api/VCLEnvironment.d.ts.map +1 -0
- package/lib/typescript/api/VCLKeyServiceType.d.ts +1 -0
- package/lib/typescript/api/VCLKeyServiceType.d.ts.map +1 -0
- package/lib/typescript/api/VCLXVnfProtocolVersion.d.ts +1 -0
- package/lib/typescript/api/VCLXVnfProtocolVersion.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLCountries.d.ts +1 -0
- package/lib/typescript/api/entities/VCLCountries.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLCountry.d.ts +1 -0
- package/lib/typescript/api/entities/VCLCountry.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLCredentialManifest.d.ts +1 -0
- package/lib/typescript/api/entities/VCLCredentialManifest.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLCredentialManifestDescriptor.d.ts +1 -0
- package/lib/typescript/api/entities/VCLCredentialManifestDescriptor.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLCredentialManifestDescriptorByDeepLink.d.ts +1 -0
- package/lib/typescript/api/entities/VCLCredentialManifestDescriptorByDeepLink.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLCredentialManifestDescriptorByService.d.ts +1 -0
- package/lib/typescript/api/entities/VCLCredentialManifestDescriptorByService.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLCredentialManifestDescriptorRefresh.d.ts +1 -0
- package/lib/typescript/api/entities/VCLCredentialManifestDescriptorRefresh.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLCredentialType.d.ts +1 -0
- package/lib/typescript/api/entities/VCLCredentialType.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLCredentialTypeSchema.d.ts +1 -0
- package/lib/typescript/api/entities/VCLCredentialTypeSchema.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLCredentialTypeSchemas.d.ts +1 -0
- package/lib/typescript/api/entities/VCLCredentialTypeSchemas.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLCredentialTypes.d.ts +1 -0
- package/lib/typescript/api/entities/VCLCredentialTypes.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLCredentialTypesUIFormSchema.d.ts +1 -0
- package/lib/typescript/api/entities/VCLCredentialTypesUIFormSchema.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.d.ts +1 -0
- package/lib/typescript/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLDeepLink.d.ts +1 -0
- package/lib/typescript/api/entities/VCLDeepLink.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLDidJwk.d.ts +1 -0
- package/lib/typescript/api/entities/VCLDidJwk.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLError.d.ts +1 -0
- package/lib/typescript/api/entities/VCLError.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLErrorCode.d.ts +1 -0
- package/lib/typescript/api/entities/VCLErrorCode.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLExchange.d.ts +1 -0
- package/lib/typescript/api/entities/VCLExchange.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLExchangeDescriptor.d.ts +1 -0
- package/lib/typescript/api/entities/VCLExchangeDescriptor.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLFilter.d.ts +1 -0
- package/lib/typescript/api/entities/VCLFilter.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLFinalizeOffersDescriptor.d.ts +1 -0
- package/lib/typescript/api/entities/VCLFinalizeOffersDescriptor.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLGenerateOffersDescriptor.d.ts +1 -0
- package/lib/typescript/api/entities/VCLGenerateOffersDescriptor.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLInitializationDescriptor.d.ts +1 -0
- package/lib/typescript/api/entities/VCLInitializationDescriptor.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLIssuingType.d.ts +1 -0
- package/lib/typescript/api/entities/VCLIssuingType.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLJwkPublic.d.ts +1 -0
- package/lib/typescript/api/entities/VCLJwkPublic.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLJwt.d.ts +1 -0
- package/lib/typescript/api/entities/VCLJwt.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLJwtDescriptor.d.ts +1 -0
- package/lib/typescript/api/entities/VCLJwtDescriptor.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLJwtVerifiableCredentials.d.ts +1 -0
- package/lib/typescript/api/entities/VCLJwtVerifiableCredentials.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLOffers.d.ts +1 -0
- package/lib/typescript/api/entities/VCLOffers.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLOrganization.d.ts +1 -0
- package/lib/typescript/api/entities/VCLOrganization.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLOrganizations.d.ts +1 -0
- package/lib/typescript/api/entities/VCLOrganizations.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLOrganizationsSearchDescriptor.d.ts +1 -0
- package/lib/typescript/api/entities/VCLOrganizationsSearchDescriptor.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLPage.d.ts +1 -0
- package/lib/typescript/api/entities/VCLPage.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLPresentationRequest.d.ts +1 -0
- package/lib/typescript/api/entities/VCLPresentationRequest.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLPresentationRequestDescriptor.d.ts +1 -0
- package/lib/typescript/api/entities/VCLPresentationRequestDescriptor.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLPresentationSubmission.d.ts +1 -0
- package/lib/typescript/api/entities/VCLPresentationSubmission.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLPushDelegate.d.ts +1 -0
- package/lib/typescript/api/entities/VCLPushDelegate.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLRegion.d.ts +1 -0
- package/lib/typescript/api/entities/VCLRegion.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLRegions.d.ts +1 -0
- package/lib/typescript/api/entities/VCLRegions.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLService.d.ts +1 -0
- package/lib/typescript/api/entities/VCLService.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLServiceCredentialAgentIssuer.d.ts +1 -0
- package/lib/typescript/api/entities/VCLServiceCredentialAgentIssuer.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLServiceType.d.ts +1 -0
- package/lib/typescript/api/entities/VCLServiceType.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLServiceTypes.d.ts +1 -0
- package/lib/typescript/api/entities/VCLServiceTypes.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLStatusCode.d.ts +1 -0
- package/lib/typescript/api/entities/VCLStatusCode.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLSubmissionResult.d.ts +1 -0
- package/lib/typescript/api/entities/VCLSubmissionResult.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLToken.d.ts +1 -0
- package/lib/typescript/api/entities/VCLToken.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLVerifiableCredential.d.ts +1 -0
- package/lib/typescript/api/entities/VCLVerifiableCredential.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLVerifiedProfile.d.ts +1 -0
- package/lib/typescript/api/entities/VCLVerifiedProfile.d.ts.map +1 -0
- package/lib/typescript/api/entities/VCLVerifiedProfileDescriptor.d.ts +1 -0
- package/lib/typescript/api/entities/VCLVerifiedProfileDescriptor.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +3 -1
- package/lib/typescript/index.d.ts.map +1 -0
- package/package.json +42 -33
- package/src/index.tsx +9 -7
- package/velocitycareerlabs-vcl-react-native.podspec +45 -0
- package/android/.DS_Store +0 -0
- package/android/.gradle/7.4.2/checksums/checksums.lock +0 -0
- package/android/.gradle/7.4.2/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/7.4.2/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/7.4.2/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/7.4.2/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/7.4.2/fileChanges/last-build.bin +0 -0
- package/android/.gradle/7.4.2/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/7.4.2/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/android/src/main/java/io/velocitycareerlabs/reactnative/.DS_Store +0 -0
- package/ios/.DS_Store +0 -0
- package/src/.DS_Store +0 -0
- package/src/api/.DS_Store +0 -0
- package/src/api/entities/.DS_Store +0 -0
- package/vcl-react-native.podspec +0 -24
package/ios/VclReactNative.swift
CHANGED
|
@@ -12,7 +12,7 @@ class VclReactNative: NSObject {
|
|
|
12
12
|
private let vcl = VCLProvider.vclInstance()
|
|
13
13
|
|
|
14
14
|
private func initGlobalConfigurations(
|
|
15
|
-
|
|
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
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
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,10 +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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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>"; };
|
|
33
33
|
F4FF95D5245B92E700C19C63 /* VclReactNative-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "VclReactNative-Bridging-Header.h"; sourceTree = "<group>"; };
|
|
34
34
|
F4FF95D6245B92E800C19C63 /* VclReactNative.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VclReactNative.swift; sourceTree = "<group>"; };
|
|
35
35
|
/* End PBXFileReference section */
|
|
@@ -53,30 +53,32 @@
|
|
|
53
53
|
name = Products;
|
|
54
54
|
sourceTree = "<group>";
|
|
55
55
|
};
|
|
56
|
-
|
|
56
|
+
282F3B522A8E20E8003AF65C /* Extensions */ = {
|
|
57
57
|
isa = PBXGroup;
|
|
58
58
|
children = (
|
|
59
|
-
|
|
59
|
+
282F3B532A8E20E8003AF65C /* DictionaryExtensions.swift */,
|
|
60
|
+
282F3B542A8E20E8003AF65C /* StringExtensions.swift */,
|
|
60
61
|
);
|
|
61
|
-
path =
|
|
62
|
+
path = Extensions;
|
|
62
63
|
sourceTree = "<group>";
|
|
63
64
|
};
|
|
64
|
-
|
|
65
|
+
282F3B562A8E20E8003AF65C /* Utils */ = {
|
|
65
66
|
isa = PBXGroup;
|
|
66
67
|
children = (
|
|
67
|
-
|
|
68
|
+
282F3B572A8E20E8003AF65C /* VCLLog.swift */,
|
|
69
|
+
282F3B582A8E20E8003AF65C /* Converter.swift */,
|
|
68
70
|
);
|
|
69
|
-
path =
|
|
71
|
+
path = Utils;
|
|
70
72
|
sourceTree = "<group>";
|
|
71
73
|
};
|
|
72
74
|
58B511D21A9E6C8500147676 = {
|
|
73
75
|
isa = PBXGroup;
|
|
74
76
|
children = (
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
282F3B522A8E20E8003AF65C /* Extensions */,
|
|
78
|
+
282F3B552A8E20E8003AF65C /* GlobalConfig.swift */,
|
|
79
|
+
282F3B562A8E20E8003AF65C /* Utils */,
|
|
78
80
|
F4FF95D6245B92E800C19C63 /* VclReactNative.swift */,
|
|
79
|
-
B3E7B5891CC2AC0600A0062D /* VclReactNative.
|
|
81
|
+
B3E7B5891CC2AC0600A0062D /* VclReactNative.mm */,
|
|
80
82
|
F4FF95D5245B92E700C19C63 /* VclReactNative-Bridging-Header.h */,
|
|
81
83
|
134814211AA4EA7D00B7C361 /* Products */,
|
|
82
84
|
);
|
|
@@ -139,8 +141,6 @@
|
|
|
139
141
|
isa = PBXSourcesBuildPhase;
|
|
140
142
|
buildActionMask = 2147483647;
|
|
141
143
|
files = (
|
|
142
|
-
289FEEA527DE121D00E58425 /* StringExtensions.swift in Sources */,
|
|
143
|
-
289FEEA427DE121D00E58425 /* Converter.swift in Sources */,
|
|
144
144
|
F4FF95D7245B92E800C19C63 /* VclReactNative.swift in Sources */,
|
|
145
145
|
);
|
|
146
146
|
runOnlyForDeploymentPostprocessing = 0;
|
|
@@ -176,6 +176,7 @@
|
|
|
176
176
|
COPY_PHASE_STRIP = NO;
|
|
177
177
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
178
178
|
ENABLE_TESTABILITY = YES;
|
|
179
|
+
"EXCLUDED_ARCHS[sdk=*]" = arm64;
|
|
179
180
|
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
180
181
|
GCC_DYNAMIC_NO_PIC = NO;
|
|
181
182
|
GCC_NO_COMMON_BLOCKS = YES;
|
|
@@ -226,6 +227,7 @@
|
|
|
226
227
|
COPY_PHASE_STRIP = YES;
|
|
227
228
|
ENABLE_NS_ASSERTIONS = NO;
|
|
228
229
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
230
|
+
"EXCLUDED_ARCHS[sdk=*]" = arm64;
|
|
229
231
|
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
230
232
|
GCC_NO_COMMON_BLOCKS = YES;
|
|
231
233
|
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
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 },\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AACoC,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,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,MAAAA,CAAA,KAAmC;IAC/C,IAAI;MACF,OAAO,MAAMP,cAAc,CAACO,YAAY,CAAC,CAAC;IAC5C,CAAC,CAAC,OAAOF,CAAC,EAAE;MACV,MAAM,IAAIC,kBAAQ,CAACD,CAAC,CAAC;IACvB;EACF,CAAC;EAEDG,kBAAkB,EAAE,MAAAA,CAAA,KAAyC;I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,MAClBC,yBAAuD,IACvB;IAChC,IAAI;MACF,OAAO,MAAM9B,cAAc,CAAC6B,kBAAkB,CAACC,yBAAyB,CAAC;IAC3E,CAAC,CAAC,OAAOzB,CAAC,EAAE;MACV,MAAM,IAAIC,kBAAQ,CAACD,CAAC,CAAC;IACvB;EACF,CAAC;EAED0B,SAAS,EAAE,MAAAA,CAAOC,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,MAAAA,CAAA,KAAgC;IAC9C,IAAI;MACF,OAAO,MAAMpC,cAAc,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
|
-
|
|
18
|
+
return VCLEnvironment;
|
|
19
|
+
}({});
|
|
20
|
+
exports.VCLEnvironment = VCLEnvironment;
|
|
21
21
|
//# sourceMappingURL=VCLEnvironment.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["VCLEnvironment"],"
|
|
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
|
-
|
|
16
|
+
return VCLKeyServiceType;
|
|
17
|
+
}({});
|
|
18
|
+
exports.VCLKeyServiceType = VCLKeyServiceType;
|
|
19
19
|
//# sourceMappingURL=VCLKeyServiceType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["VCLKeyServiceType"],"
|
|
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
|
-
|
|
16
|
+
return VCLXVnfProtocolVersion;
|
|
17
|
+
}({});
|
|
18
|
+
exports.VCLXVnfProtocolVersion = VCLXVnfProtocolVersion;
|
|
19
19
|
//# sourceMappingURL=VCLXVnfProtocolVersion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["VCLXVnfProtocolVersion"],"
|
|
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
|
-
|
|
265
|
+
return VCLCountryCodes;
|
|
266
|
+
}({});
|
|
267
|
+
exports.VCLCountryCodes = VCLCountryCodes;
|
|
268
268
|
//# sourceMappingURL=VCLCountries.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["VCLCountryCodes"],"
|
|
1
|
+
{"version":3,"names":["VCLCountryCodes","exports"],"sourceRoot":"../../../../src","sources":["api/entities/VCLCountries.ts"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AALA,IAaYA,eAAe,0BAAfA,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;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AfA,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;EAAA,OAAfA,eAAe;AAAA;AAAAC,OAAA,CAAAD,eAAA,GAAAA,eAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCountry.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialManifest.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialManifestDescriptor.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialManifestDescriptorByDeepLink.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialManifestDescriptorByService.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialManifestDescriptorRefresh.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialType.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialTypeSchema.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialTypeSchemas.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialTypes.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialTypesUIFormSchema.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLCredentialTypesUIFormSchemaDescriptor.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLDeepLink.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
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"],"
|
|
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
|
-
|
|
21
|
+
return VCLErrorCode;
|
|
22
|
+
}({});
|
|
23
|
+
exports.VCLErrorCode = VCLErrorCode;
|
|
24
24
|
//# sourceMappingURL=VCLErrorCode.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["VCLErrorCode"],"
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLExchange.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLExchangeDescriptor.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLFilter.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLFinalizeOffersDescriptor.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLGenerateOffersDescriptor.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLInitializationDescriptor.ts"],"mappings":""}
|
|
@@ -10,12 +10,12 @@ exports.VCLIssuingType = void 0;
|
|
|
10
10
|
* Copyright 2022 Velocity Career Labs inc.
|
|
11
11
|
* SPDX-License-Identifier: Apache-2.0
|
|
12
12
|
*/
|
|
13
|
-
let VCLIssuingType
|
|
14
|
-
exports.VCLIssuingType = VCLIssuingType;
|
|
15
|
-
(function (VCLIssuingType) {
|
|
13
|
+
let VCLIssuingType = /*#__PURE__*/function (VCLIssuingType) {
|
|
16
14
|
VCLIssuingType["Career"] = "Career";
|
|
17
15
|
VCLIssuingType["Identity"] = "Identity";
|
|
18
16
|
VCLIssuingType["Refresh"] = "Refresh";
|
|
19
17
|
VCLIssuingType["Undefined"] = "Undefined";
|
|
20
|
-
|
|
18
|
+
return VCLIssuingType;
|
|
19
|
+
}({});
|
|
20
|
+
exports.VCLIssuingType = VCLIssuingType;
|
|
21
21
|
//# sourceMappingURL=VCLIssuingType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["VCLIssuingType"],"
|
|
1
|
+
{"version":3,"names":["VCLIssuingType","exports"],"sourceRoot":"../../../../src","sources":["api/entities/VCLIssuingType.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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLJwkPublic.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLJwt.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLJwtDescriptor.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLJwtVerifiableCredentials.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLOffers.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLOrganization.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLOrganizations.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLOrganizationsSearchDescriptor.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLPage.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLPresentationRequest.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLPresentationRequestDescriptor.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLPresentationSubmission.ts"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLPushDelegate.ts"],"mappings":""}
|