@velocitycareerlabs/vcl-react-native 2.7.7 → 2.8.1

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 (158) hide show
  1. package/{velocitycareerlabs-vcl-react-native.podspec → VclReactNative.podspec} +6 -9
  2. package/android/build.gradle +23 -42
  3. package/android/gradle.properties +3 -3
  4. package/android/src/main/AndroidManifest.xml +1 -2
  5. package/android/src/main/java/io/velocitycareerlabs/reactnative/VclReactNativeModule.kt +32 -55
  6. package/android/src/main/java/io/velocitycareerlabs/reactnative/VclReactNativePackage.kt +24 -8
  7. package/ios/VclReactNative.h +13 -0
  8. package/ios/VclReactNative.mm +78 -68
  9. package/ios/{VclReactNative.swift → VclReactNativeImpl.swift} +46 -38
  10. package/lib/module/NativeVclReactNative.js +5 -0
  11. package/lib/module/NativeVclReactNative.js.map +1 -0
  12. package/lib/module/api/VCLApi.js.map +1 -1
  13. package/lib/module/index.js +11 -11
  14. package/lib/module/index.js.map +1 -1
  15. package/lib/module/package.json +1 -0
  16. package/lib/typescript/package.json +1 -0
  17. package/lib/typescript/src/NativeVclReactNative.d.ts +24 -0
  18. package/lib/typescript/src/NativeVclReactNative.d.ts.map +1 -0
  19. package/lib/typescript/src/api/VCLApi.d.ts.map +1 -1
  20. package/lib/typescript/src/api/entities/VCLAuthToken.d.ts.map +1 -1
  21. package/lib/typescript/src/api/entities/VCLAuthTokenDescriptor.d.ts.map +1 -1
  22. package/lib/typescript/src/api/entities/VCLJwt.d.ts.map +1 -1
  23. package/package.json +62 -60
  24. package/src/NativeVclReactNative.ts +66 -0
  25. package/src/api/VCLApi.ts +5 -2
  26. package/src/api/entities/VCLAuthToken.ts +11 -8
  27. package/src/api/entities/VCLAuthTokenDescriptor.ts +10 -7
  28. package/src/api/entities/VCLJwt.ts +3 -3
  29. package/android/LICENSE +0 -177
  30. package/android/src/main/AndroidManifestNew.xml +0 -2
  31. package/ios/LICENSE +0 -177
  32. package/lib/commonjs/api/Dictionary.js +0 -2
  33. package/lib/commonjs/api/Dictionary.js.map +0 -1
  34. package/lib/commonjs/api/VCLApi.js +0 -147
  35. package/lib/commonjs/api/VCLApi.js.map +0 -1
  36. package/lib/commonjs/api/VCLCryptoServiceType.js +0 -18
  37. package/lib/commonjs/api/VCLCryptoServiceType.js.map +0 -1
  38. package/lib/commonjs/api/VCLEnvironment.js +0 -20
  39. package/lib/commonjs/api/VCLEnvironment.js.map +0 -1
  40. package/lib/commonjs/api/VCLSignatureAlgorithm.js +0 -18
  41. package/lib/commonjs/api/VCLSignatureAlgorithm.js.map +0 -1
  42. package/lib/commonjs/api/VCLXVnfProtocolVersion.js +0 -18
  43. package/lib/commonjs/api/VCLXVnfProtocolVersion.js.map +0 -1
  44. package/lib/commonjs/api/entities/VCLAuthToken.js +0 -6
  45. package/lib/commonjs/api/entities/VCLAuthToken.js.map +0 -1
  46. package/lib/commonjs/api/entities/VCLAuthTokenDescriptor.js +0 -6
  47. package/lib/commonjs/api/entities/VCLAuthTokenDescriptor.js.map +0 -1
  48. package/lib/commonjs/api/entities/VCLCountries.js +0 -267
  49. package/lib/commonjs/api/entities/VCLCountries.js.map +0 -1
  50. package/lib/commonjs/api/entities/VCLCountry.js +0 -6
  51. package/lib/commonjs/api/entities/VCLCountry.js.map +0 -1
  52. package/lib/commonjs/api/entities/VCLCredentialManifest.js +0 -6
  53. package/lib/commonjs/api/entities/VCLCredentialManifest.js.map +0 -1
  54. package/lib/commonjs/api/entities/VCLCredentialManifestDescriptor.js +0 -6
  55. package/lib/commonjs/api/entities/VCLCredentialManifestDescriptor.js.map +0 -1
  56. package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorByDeepLink.js +0 -6
  57. package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorByDeepLink.js.map +0 -1
  58. package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorByService.js +0 -6
  59. package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorByService.js.map +0 -1
  60. package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorRefresh.js +0 -6
  61. package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorRefresh.js.map +0 -1
  62. package/lib/commonjs/api/entities/VCLCredentialType.js +0 -6
  63. package/lib/commonjs/api/entities/VCLCredentialType.js.map +0 -1
  64. package/lib/commonjs/api/entities/VCLCredentialTypeSchema.js +0 -6
  65. package/lib/commonjs/api/entities/VCLCredentialTypeSchema.js.map +0 -1
  66. package/lib/commonjs/api/entities/VCLCredentialTypeSchemas.js +0 -6
  67. package/lib/commonjs/api/entities/VCLCredentialTypeSchemas.js.map +0 -1
  68. package/lib/commonjs/api/entities/VCLCredentialTypes.js +0 -6
  69. package/lib/commonjs/api/entities/VCLCredentialTypes.js.map +0 -1
  70. package/lib/commonjs/api/entities/VCLCredentialTypesUIFormSchema.js +0 -6
  71. package/lib/commonjs/api/entities/VCLCredentialTypesUIFormSchema.js.map +0 -1
  72. package/lib/commonjs/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.js +0 -2
  73. package/lib/commonjs/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.js.map +0 -1
  74. package/lib/commonjs/api/entities/VCLDeepLink.js +0 -2
  75. package/lib/commonjs/api/entities/VCLDeepLink.js.map +0 -1
  76. package/lib/commonjs/api/entities/VCLDidJwk.js +0 -6
  77. package/lib/commonjs/api/entities/VCLDidJwk.js.map +0 -1
  78. package/lib/commonjs/api/entities/VCLDidJwkDescriptor.js +0 -6
  79. package/lib/commonjs/api/entities/VCLDidJwkDescriptor.js.map +0 -1
  80. package/lib/commonjs/api/entities/VCLExchange.js +0 -2
  81. package/lib/commonjs/api/entities/VCLExchange.js.map +0 -1
  82. package/lib/commonjs/api/entities/VCLExchangeDescriptor.js +0 -6
  83. package/lib/commonjs/api/entities/VCLExchangeDescriptor.js.map +0 -1
  84. package/lib/commonjs/api/entities/VCLFilter.js +0 -6
  85. package/lib/commonjs/api/entities/VCLFilter.js.map +0 -1
  86. package/lib/commonjs/api/entities/VCLFinalizeOffersDescriptor.js +0 -6
  87. package/lib/commonjs/api/entities/VCLFinalizeOffersDescriptor.js.map +0 -1
  88. package/lib/commonjs/api/entities/VCLGenerateOffersDescriptor.js +0 -6
  89. package/lib/commonjs/api/entities/VCLGenerateOffersDescriptor.js.map +0 -1
  90. package/lib/commonjs/api/entities/VCLIssuingType.js +0 -20
  91. package/lib/commonjs/api/entities/VCLIssuingType.js.map +0 -1
  92. package/lib/commonjs/api/entities/VCLJwt.js +0 -6
  93. package/lib/commonjs/api/entities/VCLJwt.js.map +0 -1
  94. package/lib/commonjs/api/entities/VCLJwtDescriptor.js +0 -6
  95. package/lib/commonjs/api/entities/VCLJwtDescriptor.js.map +0 -1
  96. package/lib/commonjs/api/entities/VCLJwtVerifiableCredentials.js +0 -6
  97. package/lib/commonjs/api/entities/VCLJwtVerifiableCredentials.js.map +0 -1
  98. package/lib/commonjs/api/entities/VCLOffer.js +0 -6
  99. package/lib/commonjs/api/entities/VCLOffer.js.map +0 -1
  100. package/lib/commonjs/api/entities/VCLOffers.js +0 -6
  101. package/lib/commonjs/api/entities/VCLOffers.js.map +0 -1
  102. package/lib/commonjs/api/entities/VCLOrganization.js +0 -6
  103. package/lib/commonjs/api/entities/VCLOrganization.js.map +0 -1
  104. package/lib/commonjs/api/entities/VCLOrganizations.js +0 -6
  105. package/lib/commonjs/api/entities/VCLOrganizations.js.map +0 -1
  106. package/lib/commonjs/api/entities/VCLOrganizationsSearchDescriptor.js +0 -6
  107. package/lib/commonjs/api/entities/VCLOrganizationsSearchDescriptor.js.map +0 -1
  108. package/lib/commonjs/api/entities/VCLPage.js +0 -2
  109. package/lib/commonjs/api/entities/VCLPage.js.map +0 -1
  110. package/lib/commonjs/api/entities/VCLPresentationRequest.js +0 -6
  111. package/lib/commonjs/api/entities/VCLPresentationRequest.js.map +0 -1
  112. package/lib/commonjs/api/entities/VCLPresentationRequestDescriptor.js +0 -6
  113. package/lib/commonjs/api/entities/VCLPresentationRequestDescriptor.js.map +0 -1
  114. package/lib/commonjs/api/entities/VCLPresentationSubmission.js +0 -6
  115. package/lib/commonjs/api/entities/VCLPresentationSubmission.js.map +0 -1
  116. package/lib/commonjs/api/entities/VCLPublicJwk.js +0 -2
  117. package/lib/commonjs/api/entities/VCLPublicJwk.js.map +0 -1
  118. package/lib/commonjs/api/entities/VCLPushDelegate.js +0 -2
  119. package/lib/commonjs/api/entities/VCLPushDelegate.js.map +0 -1
  120. package/lib/commonjs/api/entities/VCLRegion.js +0 -6
  121. package/lib/commonjs/api/entities/VCLRegion.js.map +0 -1
  122. package/lib/commonjs/api/entities/VCLRegions.js +0 -6
  123. package/lib/commonjs/api/entities/VCLRegions.js.map +0 -1
  124. package/lib/commonjs/api/entities/VCLService.js +0 -6
  125. package/lib/commonjs/api/entities/VCLService.js.map +0 -1
  126. package/lib/commonjs/api/entities/VCLServiceType.js +0 -27
  127. package/lib/commonjs/api/entities/VCLServiceType.js.map +0 -1
  128. package/lib/commonjs/api/entities/VCLServiceTypes.js +0 -6
  129. package/lib/commonjs/api/entities/VCLServiceTypes.js.map +0 -1
  130. package/lib/commonjs/api/entities/VCLSubmissionResult.js +0 -6
  131. package/lib/commonjs/api/entities/VCLSubmissionResult.js.map +0 -1
  132. package/lib/commonjs/api/entities/VCLToken.js +0 -2
  133. package/lib/commonjs/api/entities/VCLToken.js.map +0 -1
  134. package/lib/commonjs/api/entities/VCLVerifiableCredential.js +0 -2
  135. package/lib/commonjs/api/entities/VCLVerifiableCredential.js.map +0 -1
  136. package/lib/commonjs/api/entities/VCLVerifiedProfile.js +0 -6
  137. package/lib/commonjs/api/entities/VCLVerifiedProfile.js.map +0 -1
  138. package/lib/commonjs/api/entities/VCLVerifiedProfileDescriptor.js +0 -2
  139. package/lib/commonjs/api/entities/VCLVerifiedProfileDescriptor.js.map +0 -1
  140. package/lib/commonjs/api/entities/error/VCLError.js +0 -31
  141. package/lib/commonjs/api/entities/error/VCLError.js.map +0 -1
  142. package/lib/commonjs/api/entities/error/VCLErrorCode.js +0 -31
  143. package/lib/commonjs/api/entities/error/VCLErrorCode.js.map +0 -1
  144. package/lib/commonjs/api/entities/error/VCLStatusCode.js +0 -18
  145. package/lib/commonjs/api/entities/error/VCLStatusCode.js.map +0 -1
  146. package/lib/commonjs/api/entities/initialization/VCLCryptoServicesDescriptor.js +0 -6
  147. package/lib/commonjs/api/entities/initialization/VCLCryptoServicesDescriptor.js.map +0 -1
  148. package/lib/commonjs/api/entities/initialization/VCLInitializationDescriptor.js +0 -6
  149. package/lib/commonjs/api/entities/initialization/VCLInitializationDescriptor.js.map +0 -1
  150. package/lib/commonjs/api/entities/initialization/VCLJwtServiceUrls.js +0 -2
  151. package/lib/commonjs/api/entities/initialization/VCLJwtServiceUrls.js.map +0 -1
  152. package/lib/commonjs/api/entities/initialization/VCLKeyServiceUrls.js +0 -2
  153. package/lib/commonjs/api/entities/initialization/VCLKeyServiceUrls.js.map +0 -1
  154. package/lib/commonjs/api/entities/initialization/VCLRemoteCryptoServicesUrlsDescriptor.js +0 -6
  155. package/lib/commonjs/api/entities/initialization/VCLRemoteCryptoServicesUrlsDescriptor.js.map +0 -1
  156. package/lib/commonjs/index.js +0 -85
  157. package/lib/commonjs/index.js.map +0 -1
  158. package/lib/commonjs/package.json +0 -1
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=VCLOrganization.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLOrganization.ts"],"mappings":"","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=VCLOrganizations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLOrganizations.ts"],"mappings":"","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=VCLOrganizationsSearchDescriptor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLOrganizationsSearchDescriptor.ts"],"mappings":"","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=VCLPage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLPage.ts"],"mappings":"","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=VCLPresentationRequest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLPresentationRequest.ts"],"mappings":"","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=VCLPresentationRequestDescriptor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLPresentationRequestDescriptor.ts"],"mappings":"","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=VCLPresentationSubmission.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLPresentationSubmission.ts"],"mappings":"","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=VCLPublicJwk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLPublicJwk.ts"],"mappings":"","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=VCLPushDelegate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLPushDelegate.ts"],"mappings":"","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=VCLRegion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLRegion.ts"],"mappings":"","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=VCLRegions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLRegions.ts"],"mappings":"","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=VCLService.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLService.ts"],"mappings":"","ignoreList":[]}
@@ -1,27 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.VCLServiceType = void 0;
7
- /**
8
- * Created by Michael Avoyan.
9
- *
10
- * Copyright 2022 Velocity Career Labs inc.
11
- * SPDX-License-Identifier: Apache-2.0
12
- */
13
- let VCLServiceType = exports.VCLServiceType = /*#__PURE__*/function (VCLServiceType) {
14
- VCLServiceType["Inspector"] = "Inspector";
15
- VCLServiceType["Issuer"] = "Issuer";
16
- VCLServiceType["NotaryIssuer"] = "NotaryIssuer";
17
- VCLServiceType["CareerIssuer"] = "CareerIssuer";
18
- // Identity issuer types:
19
- VCLServiceType["IdentityIssuer"] = "IdentityIssuer";
20
- VCLServiceType["IdDocumentIssuer"] = "IdDocumentIssuer";
21
- VCLServiceType["NotaryIdDocumentIssuer"] = "NotaryIdDocumentIssuer";
22
- VCLServiceType["ContactIssuer"] = "ContactIssuer";
23
- VCLServiceType["NotaryContactIssuer"] = "NotaryContactIssuer";
24
- VCLServiceType["Undefined"] = "Undefined";
25
- return VCLServiceType;
26
- }({});
27
- //# sourceMappingURL=VCLServiceType.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["VCLServiceType","exports"],"sourceRoot":"../../../../src","sources":["api/entities/VCLServiceType.ts"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AALA,IAOYA,cAAc,GAAAC,OAAA,CAAAD,cAAA,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAKxB;EALUA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=VCLServiceTypes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLServiceTypes.ts"],"mappings":"","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=VCLSubmissionResult.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLSubmissionResult.ts"],"mappings":"","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=VCLToken.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLToken.ts"],"mappings":"","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=VCLVerifiableCredential.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLVerifiableCredential.ts"],"mappings":"","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=VCLVerifiedProfile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLVerifiedProfile.ts"],"mappings":"","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=VCLVerifiedProfileDescriptor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLVerifiedProfileDescriptor.ts"],"mappings":"","ignoreList":[]}
@@ -1,31 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.VCLError = void 0;
7
- /**
8
- * Created by Michael Avoyan.
9
- *
10
- * Copyright 2022 Velocity Career Labs inc.
11
- * SPDX-License-Identifier: Apache-2.0
12
- */
13
-
14
- class VCLError extends Error {
15
- constructor(error) {
16
- super(error);
17
- try {
18
- const errorJson = JSON.parse(error.message);
19
- this.payload = errorJson.payload;
20
- this.error = errorJson.error;
21
- this.errorCode = errorJson.errorCode;
22
- this.requestId = errorJson.requestId;
23
- this.message = errorJson.message;
24
- this.statusCode = parseInt(errorJson.statusCode, 10);
25
- } catch (e) {
26
- this.message = JSON.stringify(error);
27
- }
28
- }
29
- }
30
- exports.VCLError = VCLError;
31
- //# sourceMappingURL=VCLError.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["VCLError","Error","constructor","error","errorJson","JSON","parse","message","payload","errorCode","requestId","statusCode","parseInt","e","stringify","exports"],"sourceRoot":"../../../../../src","sources":["api/entities/error/VCLError.ts"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEO,MAAMA,QAAQ,SAASC,KAAK,CAAC;EAOlCC,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,CAACC,SAAS,GAAGN,SAAS,CAACM,SAAS;MACpC,IAAI,CAACH,OAAO,GAAGH,SAAS,CAACG,OAAO;MAChC,IAAI,CAACI,UAAU,GAAGC,QAAQ,CAACR,SAAS,CAACO,UAAU,EAAE,EAAE,CAAC;IACtD,CAAC,CAAC,OAAOE,CAAC,EAAE;MACV,IAAI,CAACN,OAAO,GAAGF,IAAI,CAACS,SAAS,CAACX,KAAK,CAAC;IACtC;EACF;AACF;AAACY,OAAA,CAAAf,QAAA,GAAAA,QAAA","ignoreList":[]}
@@ -1,31 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.VCLErrorCode = void 0;
7
- /**
8
- * Created by Michael Avoyan.
9
- *
10
- * Copyright 2022 Velocity Career Labs inc.
11
- * SPDX-License-Identifier: Apache-2.0
12
- */
13
- let VCLErrorCode = exports.VCLErrorCode = /*#__PURE__*/function (VCLErrorCode) {
14
- // Credential issuer verification error codes:
15
- VCLErrorCode["CredentialTypeNotRegistered"] = "credential_type_not_registered";
16
- VCLErrorCode["IssuerRequiresIdentityPermission"] = "issuer_requires_identity_permission";
17
- VCLErrorCode["IssuerRequiresNotaryPermission"] = "issuer_requires_notary_permission";
18
- VCLErrorCode["CredentialSubjectContextMissing"] = "credential_subject_context_missing";
19
- VCLErrorCode["InvalidCredentialSubjectType"] = "invalid_credential_subject_type";
20
- VCLErrorCode["InvalidCredentialSubjectContext"] = "invalid_credential_subject_context";
21
- VCLErrorCode["IssuerUnexpectedPermissionFailure"] = "issuer_unexpected_permission_failure";
22
- // DID consistent with the Deep Link
23
- VCLErrorCode["MismatchedRequestIssuerDid"] = "mismatched_request_issuer_did";
24
- VCLErrorCode["MismatchedOfferIssuerDid"] = "mismatched_offer_issuer_did";
25
- VCLErrorCode["MismatchedCredentialIssuerDid"] = "mismatched_credential_issuer_did";
26
- VCLErrorCode["MismatchedPresentationRequestInspectorDid"] = "mismatched_presentation_request_inspector_did";
27
- // General error
28
- VCLErrorCode["SdkError"] = "sdk_error";
29
- return VCLErrorCode;
30
- }({});
31
- //# sourceMappingURL=VCLErrorCode.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["VCLErrorCode","exports"],"sourceRoot":"../../../../../src","sources":["api/entities/error/VCLErrorCode.ts"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AALA,IAOYA,YAAY,GAAAC,OAAA,CAAAD,YAAA,0BAAZA,YAAY;EACtB;EADUA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAStB;EATUA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EActB;EAdUA,YAAY;EAAA,OAAZA,YAAY;AAAA","ignoreList":[]}
@@ -1,18 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.VCLStatusCode = void 0;
7
- /**
8
- * Created by Michael Avoyan.
9
- *
10
- * Copyright 2022 Velocity Career Labs inc.
11
- * SPDX-License-Identifier: Apache-2.0
12
- */
13
- let VCLStatusCode = exports.VCLStatusCode = /*#__PURE__*/function (VCLStatusCode) {
14
- VCLStatusCode[VCLStatusCode["NetworkError"] = 1] = "NetworkError";
15
- VCLStatusCode[VCLStatusCode["VerificationError"] = 403] = "VerificationError";
16
- return VCLStatusCode;
17
- }({});
18
- //# sourceMappingURL=VCLStatusCode.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["VCLStatusCode","exports"],"sourceRoot":"../../../../../src","sources":["api/entities/error/VCLStatusCode.ts"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AALA,IAOYA,aAAa,GAAAC,OAAA,CAAAD,aAAA,0BAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=VCLCryptoServicesDescriptor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["api/entities/initialization/VCLCryptoServicesDescriptor.ts"],"mappings":"","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=VCLInitializationDescriptor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["api/entities/initialization/VCLInitializationDescriptor.ts"],"mappings":"","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=VCLJwtServiceUrls.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["api/entities/initialization/VCLJwtServiceUrls.ts"],"mappings":"","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=VCLKeyServiceUrls.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["api/entities/initialization/VCLKeyServiceUrls.ts"],"mappings":"","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=VCLRemoteCryptoServicesUrlsDescriptor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["api/entities/initialization/VCLRemoteCryptoServicesUrlsDescriptor.ts"],"mappings":"","ignoreList":[]}
@@ -1,85 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "VCLCountryCodes", {
7
- enumerable: true,
8
- get: function () {
9
- return _VCLCountries.VCLCountryCodes;
10
- }
11
- });
12
- Object.defineProperty(exports, "VCLCryptoServiceType", {
13
- enumerable: true,
14
- get: function () {
15
- return _VCLCryptoServiceType.VCLCryptoServiceType;
16
- }
17
- });
18
- Object.defineProperty(exports, "VCLEnvironment", {
19
- enumerable: true,
20
- get: function () {
21
- return _VCLEnvironment.VCLEnvironment;
22
- }
23
- });
24
- Object.defineProperty(exports, "VCLError", {
25
- enumerable: true,
26
- get: function () {
27
- return _VCLError.VCLError;
28
- }
29
- });
30
- Object.defineProperty(exports, "VCLErrorCode", {
31
- enumerable: true,
32
- get: function () {
33
- return _VCLErrorCode.VCLErrorCode;
34
- }
35
- });
36
- Object.defineProperty(exports, "VCLIssuingType", {
37
- enumerable: true,
38
- get: function () {
39
- return _VCLIssuingType.VCLIssuingType;
40
- }
41
- });
42
- Object.defineProperty(exports, "VCLServiceType", {
43
- enumerable: true,
44
- get: function () {
45
- return _VCLServiceType.VCLServiceType;
46
- }
47
- });
48
- Object.defineProperty(exports, "VCLSignatureAlgorithm", {
49
- enumerable: true,
50
- get: function () {
51
- return _VCLSignatureAlgorithm.VCLSignatureAlgorithm;
52
- }
53
- });
54
- Object.defineProperty(exports, "VCLStatusCode", {
55
- enumerable: true,
56
- get: function () {
57
- return _VCLStatusCode.VCLStatusCode;
58
- }
59
- });
60
- Object.defineProperty(exports, "VCLXVnfProtocolVersion", {
61
- enumerable: true,
62
- get: function () {
63
- return _VCLXVnfProtocolVersion.VCLXVnfProtocolVersion;
64
- }
65
- });
66
- exports.default = void 0;
67
- var _VCLApi = require("./api/VCLApi");
68
- var _VCLEnvironment = require("./api/VCLEnvironment");
69
- var _VCLXVnfProtocolVersion = require("./api/VCLXVnfProtocolVersion");
70
- var _VCLCryptoServiceType = require("./api/VCLCryptoServiceType");
71
- var _VCLSignatureAlgorithm = require("./api/VCLSignatureAlgorithm");
72
- var _VCLCountries = require("./api/entities/VCLCountries");
73
- var _VCLServiceType = require("./api/entities/VCLServiceType");
74
- var _VCLIssuingType = require("./api/entities/VCLIssuingType");
75
- var _VCLError = require("./api/entities/error/VCLError");
76
- var _VCLStatusCode = require("./api/entities/error/VCLStatusCode");
77
- var _VCLErrorCode = require("./api/entities/error/VCLErrorCode");
78
- /**
79
- * Created by Michael Avoyan.
80
- *
81
- * Copyright 2022 Velocity Career Labs inc.
82
- * SPDX-License-Identifier: Apache-2.0
83
- */
84
- var _default = exports.default = _VCLApi.VclApi;
85
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_VCLApi","require","_VCLEnvironment","_VCLXVnfProtocolVersion","_VCLCryptoServiceType","_VCLSignatureAlgorithm","_VCLCountries","_VCLServiceType","_VCLIssuingType","_VCLError","_VCLStatusCode","_VCLErrorCode","_default","exports","default","VclApi"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,uBAAA,GAAAF,OAAA;AACA,IAAAG,qBAAA,GAAAH,OAAA;AACA,IAAAI,sBAAA,GAAAJ,OAAA;AAOA,IAAAK,aAAA,GAAAL,OAAA;AAiCA,IAAAM,eAAA,GAAAN,OAAA;AAEA,IAAAO,eAAA,GAAAP,OAAA;AAYA,IAAAQ,SAAA,GAAAR,OAAA;AACA,IAAAS,cAAA,GAAAT,OAAA;AACA,IAAAU,aAAA,GAAAV,OAAA;AAnEA;AACA;AACA;AACA;AACA;AACA;AALA,IAAAW,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAuEeC,cAAM","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"type":"commonjs"}