@velocitycareerlabs/vcl-react-native 1.4.0 → 1.5.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/android/build.gradle +2 -2
- package/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/android/gradle.properties +3 -3
- package/lib/commonjs/api/VCLApi.js +137 -0
- package/lib/commonjs/api/VCLApi.js.map +1 -1
- package/lib/commonjs/api/entities/VCLError.js +40 -0
- package/lib/commonjs/api/entities/VCLError.js.map +1 -0
- package/lib/commonjs/api/entities/VCLJwt.js +2 -0
- package/lib/commonjs/api/entities/{VCLJWT.js.map → VCLJwt.js.map} +0 -0
- package/lib/commonjs/index.js +10 -5
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/api/VCLApi.js +132 -1
- package/lib/module/api/VCLApi.js.map +1 -1
- package/lib/module/api/entities/VCLError.js +28 -0
- package/lib/module/api/entities/VCLError.js.map +1 -0
- package/lib/module/api/entities/VCLJwt.js +2 -0
- package/lib/module/api/entities/{VCLJWT.js.map → VCLJwt.js.map} +0 -0
- package/lib/module/index.js +4 -6
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/api/Dictionary.d.ts +1 -1
- package/lib/typescript/api/VCLApi.d.ts +21 -21
- package/lib/typescript/api/entities/VCLCountry.d.ts +1 -1
- package/lib/typescript/api/entities/VCLCredentialManifest.d.ts +2 -2
- package/lib/typescript/api/entities/VCLCredentialType.d.ts +1 -1
- package/lib/typescript/api/entities/VCLCredentialTypeSchema.d.ts +1 -1
- package/lib/typescript/api/entities/VCLCredentialTypesUIFormSchema.d.ts +1 -1
- package/lib/typescript/api/entities/VCLError.d.ts +12 -0
- package/lib/typescript/api/entities/{VCLJWT.d.ts → VCLJwt.d.ts} +1 -1
- package/lib/typescript/api/entities/VCLJwtVerifiableCredentials.d.ts +2 -2
- package/lib/typescript/api/entities/VCLOffers.d.ts +1 -1
- package/lib/typescript/api/entities/VCLOrganization.d.ts +1 -1
- package/lib/typescript/api/entities/VCLPresentationRequest.d.ts +2 -2
- package/lib/typescript/api/entities/VCLRegion.d.ts +1 -1
- package/lib/typescript/api/entities/VCLVerifiedProfile.d.ts +1 -1
- package/lib/typescript/index.d.ts +7 -6
- package/package.json +6 -6
- package/src/api/VCLApi.ts +170 -46
- package/src/api/entities/VCLCountry.ts +1 -1
- package/src/api/entities/VCLCredentialManifest.ts +2 -2
- package/src/api/entities/VCLCredentialType.ts +1 -1
- package/src/api/entities/VCLCredentialTypeSchema.ts +1 -1
- package/src/api/entities/VCLCredentialTypesUIFormSchema.ts +1 -1
- package/src/api/entities/VCLError.ts +24 -0
- package/src/api/entities/{VCLJWT.ts → VCLJwt.ts} +1 -1
- package/src/api/entities/VCLJwtVerifiableCredentials.ts +2 -2
- package/src/api/entities/VCLOffers.ts +1 -1
- package/src/api/entities/VCLOrganization.ts +1 -1
- package/src/api/entities/VCLPresentationRequest.ts +2 -2
- package/src/api/entities/VCLRegion.ts +1 -1
- package/src/api/entities/VCLVerifiedProfile.ts +1 -1
- package/src/index.tsx +10 -8
- package/vcl-react-native.podspec +1 -1
- package/lib/commonjs/api/entities/VCLJWT.js +0 -2
- package/lib/module/api/entities/VCLJWT.js +0 -2
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
* SPDX-License-Identifier: Apache-2.0
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import type {
|
|
8
|
+
import type { VCLJwt } from './VCLJwt';
|
|
9
9
|
import type { VCLJwkPublic } from './VCLJwkPublic';
|
|
10
10
|
|
|
11
11
|
export interface VCLPresentationRequest {
|
|
12
12
|
exchangeId: string;
|
|
13
|
-
jwt:
|
|
13
|
+
jwt: VCLJwt;
|
|
14
14
|
jwkPublic: VCLJwkPublic;
|
|
15
15
|
keyID: string;
|
|
16
16
|
presentationDefinitionId: string;
|
|
@@ -9,7 +9,7 @@ import type { VCLServiceTypes } from './VCLServiceTypes';
|
|
|
9
9
|
import type { Dictionary } from '../Dictionary';
|
|
10
10
|
|
|
11
11
|
export interface VCLVerifiedProfile {
|
|
12
|
-
payload: Dictionary<
|
|
12
|
+
payload: Dictionary<any>;
|
|
13
13
|
credentialSubject: Dictionary<string>;
|
|
14
14
|
name: string;
|
|
15
15
|
logo: string;
|
package/src/index.tsx
CHANGED
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
* SPDX-License-Identifier: Apache-2.0
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import {
|
|
9
|
-
import type { VclApi } from './api/VCLApi';
|
|
8
|
+
import { VclApi } from './api/VCLApi';
|
|
10
9
|
import type { VCLEnvironment } from './api/VCLEnvironment';
|
|
11
10
|
import { VCLEnvTypes } from './api/VCLEnvironment';
|
|
12
11
|
import type { VCLCountry } from './api/entities/VCLCountry';
|
|
@@ -20,6 +19,7 @@ import type { VCLCredentialManifestDescriptorByDeepLink } from './api/entities/V
|
|
|
20
19
|
import type { VCLCredentialManifestDescriptorByService } from './api/entities/VCLCredentialManifestDescriptorByService';
|
|
21
20
|
import type { VCLCredentialManifestDescriptorRefresh } from './api/entities/VCLCredentialManifestDescriptorRefresh';
|
|
22
21
|
import type { VCLCredentialType } from './api/entities/VCLCredentialType';
|
|
22
|
+
import type { VCLCredentialTypes } from './api/entities/VCLCredentialTypes';
|
|
23
23
|
import type { VCLCredentialTypeSchema } from './api/entities/VCLCredentialTypeSchema';
|
|
24
24
|
import type { VCLCredentialTypeSchemas } from './api/entities/VCLCredentialTypeSchemas';
|
|
25
25
|
import type { VCLCredentialTypesUIFormSchemaDescriptor } from './api/entities/VCLCredentialTypesUIFormSchemaDescriptor';
|
|
@@ -30,7 +30,7 @@ import type { VCLExchangeDescriptor } from './api/entities/VCLExchangeDescriptor
|
|
|
30
30
|
import type { VCLFilter } from './api/entities/VCLFilter';
|
|
31
31
|
import type { VCLFinalizeOffersDescriptor } from './api/entities/VCLFinalizeOffersDescriptor';
|
|
32
32
|
import type { VCLGenerateOffersDescriptor } from './api/entities/VCLGenerateOffersDescriptor';
|
|
33
|
-
import type {
|
|
33
|
+
import type { VCLJwt } from './api/entities/VCLJwt';
|
|
34
34
|
import type { VCLJwtVerifiableCredentials } from './api/entities/VCLJwtVerifiableCredentials';
|
|
35
35
|
import type { VCLOffers } from './api/entities/VCLOffers';
|
|
36
36
|
import type { VCLOrganization } from './api/entities/VCLOrganization';
|
|
@@ -54,11 +54,10 @@ import type { VCLInitializationDescriptor } from './api/entities/VCLInitializati
|
|
|
54
54
|
import type { VCLPresentationRequestDescriptor } from './api/entities/VCLPresentationRequestDescriptor';
|
|
55
55
|
import type { VCLJwtDescriptor } from './api/entities/VCLJwtDescriptor';
|
|
56
56
|
import type { VCLDidJwk } from './api/entities/VCLDidJwk';
|
|
57
|
-
import
|
|
57
|
+
import { VCLErrorCode } from './api/entities/VCLErrorCode';
|
|
58
|
+
import type { VCLError, toVclError } from './api/entities/VCLError';
|
|
58
59
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
export default VclReactNative as VclApi;
|
|
60
|
+
export default VclApi;
|
|
62
61
|
export {
|
|
63
62
|
Dictionary,
|
|
64
63
|
VCLEnvironment,
|
|
@@ -73,6 +72,7 @@ export {
|
|
|
73
72
|
VCLCredentialManifestDescriptorByDeepLink,
|
|
74
73
|
VCLCredentialManifestDescriptorByService,
|
|
75
74
|
VCLCredentialType,
|
|
75
|
+
VCLCredentialTypes,
|
|
76
76
|
VCLCredentialTypeSchema,
|
|
77
77
|
VCLCredentialTypeSchemas,
|
|
78
78
|
VCLCredentialTypesUIFormSchema,
|
|
@@ -84,7 +84,7 @@ export {
|
|
|
84
84
|
VCLFilter,
|
|
85
85
|
VCLFinalizeOffersDescriptor,
|
|
86
86
|
VCLGenerateOffersDescriptor,
|
|
87
|
-
|
|
87
|
+
VCLJwt,
|
|
88
88
|
VCLJwtVerifiableCredentials,
|
|
89
89
|
VCLOffers,
|
|
90
90
|
VCLOrganization,
|
|
@@ -108,4 +108,6 @@ export {
|
|
|
108
108
|
VCLJwtDescriptor,
|
|
109
109
|
VCLDidJwk,
|
|
110
110
|
VCLErrorCode,
|
|
111
|
+
VCLError,
|
|
112
|
+
toVclError,
|
|
111
113
|
};
|
package/vcl-react-native.podspec
CHANGED