@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.
- package/{velocitycareerlabs-vcl-react-native.podspec → VclReactNative.podspec} +6 -9
- package/android/build.gradle +23 -42
- package/android/gradle.properties +3 -3
- package/android/src/main/AndroidManifest.xml +1 -2
- package/android/src/main/java/io/velocitycareerlabs/reactnative/VclReactNativeModule.kt +32 -55
- package/android/src/main/java/io/velocitycareerlabs/reactnative/VclReactNativePackage.kt +24 -8
- package/ios/VclReactNative.h +13 -0
- package/ios/VclReactNative.mm +78 -68
- package/ios/{VclReactNative.swift → VclReactNativeImpl.swift} +46 -38
- package/lib/module/NativeVclReactNative.js +5 -0
- package/lib/module/NativeVclReactNative.js.map +1 -0
- package/lib/module/api/VCLApi.js.map +1 -1
- package/lib/module/index.js +11 -11
- package/lib/module/index.js.map +1 -1
- package/lib/module/package.json +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/NativeVclReactNative.d.ts +24 -0
- package/lib/typescript/src/NativeVclReactNative.d.ts.map +1 -0
- package/lib/typescript/src/api/VCLApi.d.ts.map +1 -1
- package/lib/typescript/src/api/entities/VCLAuthToken.d.ts.map +1 -1
- package/lib/typescript/src/api/entities/VCLAuthTokenDescriptor.d.ts.map +1 -1
- package/lib/typescript/src/api/entities/VCLJwt.d.ts.map +1 -1
- package/package.json +62 -60
- package/src/NativeVclReactNative.ts +66 -0
- package/src/api/VCLApi.ts +5 -2
- package/src/api/entities/VCLAuthToken.ts +11 -8
- package/src/api/entities/VCLAuthTokenDescriptor.ts +10 -7
- package/src/api/entities/VCLJwt.ts +3 -3
- package/android/LICENSE +0 -177
- package/android/src/main/AndroidManifestNew.xml +0 -2
- package/ios/LICENSE +0 -177
- package/lib/commonjs/api/Dictionary.js +0 -2
- package/lib/commonjs/api/Dictionary.js.map +0 -1
- package/lib/commonjs/api/VCLApi.js +0 -147
- package/lib/commonjs/api/VCLApi.js.map +0 -1
- package/lib/commonjs/api/VCLCryptoServiceType.js +0 -18
- package/lib/commonjs/api/VCLCryptoServiceType.js.map +0 -1
- package/lib/commonjs/api/VCLEnvironment.js +0 -20
- package/lib/commonjs/api/VCLEnvironment.js.map +0 -1
- package/lib/commonjs/api/VCLSignatureAlgorithm.js +0 -18
- package/lib/commonjs/api/VCLSignatureAlgorithm.js.map +0 -1
- package/lib/commonjs/api/VCLXVnfProtocolVersion.js +0 -18
- package/lib/commonjs/api/VCLXVnfProtocolVersion.js.map +0 -1
- package/lib/commonjs/api/entities/VCLAuthToken.js +0 -6
- package/lib/commonjs/api/entities/VCLAuthToken.js.map +0 -1
- package/lib/commonjs/api/entities/VCLAuthTokenDescriptor.js +0 -6
- package/lib/commonjs/api/entities/VCLAuthTokenDescriptor.js.map +0 -1
- package/lib/commonjs/api/entities/VCLCountries.js +0 -267
- package/lib/commonjs/api/entities/VCLCountries.js.map +0 -1
- package/lib/commonjs/api/entities/VCLCountry.js +0 -6
- package/lib/commonjs/api/entities/VCLCountry.js.map +0 -1
- package/lib/commonjs/api/entities/VCLCredentialManifest.js +0 -6
- package/lib/commonjs/api/entities/VCLCredentialManifest.js.map +0 -1
- package/lib/commonjs/api/entities/VCLCredentialManifestDescriptor.js +0 -6
- package/lib/commonjs/api/entities/VCLCredentialManifestDescriptor.js.map +0 -1
- package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorByDeepLink.js +0 -6
- package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorByDeepLink.js.map +0 -1
- package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorByService.js +0 -6
- package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorByService.js.map +0 -1
- package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorRefresh.js +0 -6
- package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorRefresh.js.map +0 -1
- package/lib/commonjs/api/entities/VCLCredentialType.js +0 -6
- package/lib/commonjs/api/entities/VCLCredentialType.js.map +0 -1
- package/lib/commonjs/api/entities/VCLCredentialTypeSchema.js +0 -6
- package/lib/commonjs/api/entities/VCLCredentialTypeSchema.js.map +0 -1
- package/lib/commonjs/api/entities/VCLCredentialTypeSchemas.js +0 -6
- package/lib/commonjs/api/entities/VCLCredentialTypeSchemas.js.map +0 -1
- package/lib/commonjs/api/entities/VCLCredentialTypes.js +0 -6
- package/lib/commonjs/api/entities/VCLCredentialTypes.js.map +0 -1
- package/lib/commonjs/api/entities/VCLCredentialTypesUIFormSchema.js +0 -6
- package/lib/commonjs/api/entities/VCLCredentialTypesUIFormSchema.js.map +0 -1
- package/lib/commonjs/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.js +0 -2
- package/lib/commonjs/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.js.map +0 -1
- package/lib/commonjs/api/entities/VCLDeepLink.js +0 -2
- package/lib/commonjs/api/entities/VCLDeepLink.js.map +0 -1
- package/lib/commonjs/api/entities/VCLDidJwk.js +0 -6
- package/lib/commonjs/api/entities/VCLDidJwk.js.map +0 -1
- package/lib/commonjs/api/entities/VCLDidJwkDescriptor.js +0 -6
- package/lib/commonjs/api/entities/VCLDidJwkDescriptor.js.map +0 -1
- package/lib/commonjs/api/entities/VCLExchange.js +0 -2
- package/lib/commonjs/api/entities/VCLExchange.js.map +0 -1
- package/lib/commonjs/api/entities/VCLExchangeDescriptor.js +0 -6
- package/lib/commonjs/api/entities/VCLExchangeDescriptor.js.map +0 -1
- package/lib/commonjs/api/entities/VCLFilter.js +0 -6
- package/lib/commonjs/api/entities/VCLFilter.js.map +0 -1
- package/lib/commonjs/api/entities/VCLFinalizeOffersDescriptor.js +0 -6
- package/lib/commonjs/api/entities/VCLFinalizeOffersDescriptor.js.map +0 -1
- package/lib/commonjs/api/entities/VCLGenerateOffersDescriptor.js +0 -6
- package/lib/commonjs/api/entities/VCLGenerateOffersDescriptor.js.map +0 -1
- package/lib/commonjs/api/entities/VCLIssuingType.js +0 -20
- package/lib/commonjs/api/entities/VCLIssuingType.js.map +0 -1
- package/lib/commonjs/api/entities/VCLJwt.js +0 -6
- package/lib/commonjs/api/entities/VCLJwt.js.map +0 -1
- package/lib/commonjs/api/entities/VCLJwtDescriptor.js +0 -6
- package/lib/commonjs/api/entities/VCLJwtDescriptor.js.map +0 -1
- package/lib/commonjs/api/entities/VCLJwtVerifiableCredentials.js +0 -6
- package/lib/commonjs/api/entities/VCLJwtVerifiableCredentials.js.map +0 -1
- package/lib/commonjs/api/entities/VCLOffer.js +0 -6
- package/lib/commonjs/api/entities/VCLOffer.js.map +0 -1
- package/lib/commonjs/api/entities/VCLOffers.js +0 -6
- package/lib/commonjs/api/entities/VCLOffers.js.map +0 -1
- package/lib/commonjs/api/entities/VCLOrganization.js +0 -6
- package/lib/commonjs/api/entities/VCLOrganization.js.map +0 -1
- package/lib/commonjs/api/entities/VCLOrganizations.js +0 -6
- package/lib/commonjs/api/entities/VCLOrganizations.js.map +0 -1
- package/lib/commonjs/api/entities/VCLOrganizationsSearchDescriptor.js +0 -6
- package/lib/commonjs/api/entities/VCLOrganizationsSearchDescriptor.js.map +0 -1
- package/lib/commonjs/api/entities/VCLPage.js +0 -2
- package/lib/commonjs/api/entities/VCLPage.js.map +0 -1
- package/lib/commonjs/api/entities/VCLPresentationRequest.js +0 -6
- package/lib/commonjs/api/entities/VCLPresentationRequest.js.map +0 -1
- package/lib/commonjs/api/entities/VCLPresentationRequestDescriptor.js +0 -6
- package/lib/commonjs/api/entities/VCLPresentationRequestDescriptor.js.map +0 -1
- package/lib/commonjs/api/entities/VCLPresentationSubmission.js +0 -6
- package/lib/commonjs/api/entities/VCLPresentationSubmission.js.map +0 -1
- package/lib/commonjs/api/entities/VCLPublicJwk.js +0 -2
- package/lib/commonjs/api/entities/VCLPublicJwk.js.map +0 -1
- package/lib/commonjs/api/entities/VCLPushDelegate.js +0 -2
- package/lib/commonjs/api/entities/VCLPushDelegate.js.map +0 -1
- package/lib/commonjs/api/entities/VCLRegion.js +0 -6
- package/lib/commonjs/api/entities/VCLRegion.js.map +0 -1
- package/lib/commonjs/api/entities/VCLRegions.js +0 -6
- package/lib/commonjs/api/entities/VCLRegions.js.map +0 -1
- package/lib/commonjs/api/entities/VCLService.js +0 -6
- package/lib/commonjs/api/entities/VCLService.js.map +0 -1
- package/lib/commonjs/api/entities/VCLServiceType.js +0 -27
- package/lib/commonjs/api/entities/VCLServiceType.js.map +0 -1
- package/lib/commonjs/api/entities/VCLServiceTypes.js +0 -6
- package/lib/commonjs/api/entities/VCLServiceTypes.js.map +0 -1
- package/lib/commonjs/api/entities/VCLSubmissionResult.js +0 -6
- package/lib/commonjs/api/entities/VCLSubmissionResult.js.map +0 -1
- package/lib/commonjs/api/entities/VCLToken.js +0 -2
- package/lib/commonjs/api/entities/VCLToken.js.map +0 -1
- package/lib/commonjs/api/entities/VCLVerifiableCredential.js +0 -2
- package/lib/commonjs/api/entities/VCLVerifiableCredential.js.map +0 -1
- package/lib/commonjs/api/entities/VCLVerifiedProfile.js +0 -6
- package/lib/commonjs/api/entities/VCLVerifiedProfile.js.map +0 -1
- package/lib/commonjs/api/entities/VCLVerifiedProfileDescriptor.js +0 -2
- package/lib/commonjs/api/entities/VCLVerifiedProfileDescriptor.js.map +0 -1
- package/lib/commonjs/api/entities/error/VCLError.js +0 -31
- package/lib/commonjs/api/entities/error/VCLError.js.map +0 -1
- package/lib/commonjs/api/entities/error/VCLErrorCode.js +0 -31
- package/lib/commonjs/api/entities/error/VCLErrorCode.js.map +0 -1
- package/lib/commonjs/api/entities/error/VCLStatusCode.js +0 -18
- package/lib/commonjs/api/entities/error/VCLStatusCode.js.map +0 -1
- package/lib/commonjs/api/entities/initialization/VCLCryptoServicesDescriptor.js +0 -6
- package/lib/commonjs/api/entities/initialization/VCLCryptoServicesDescriptor.js.map +0 -1
- package/lib/commonjs/api/entities/initialization/VCLInitializationDescriptor.js +0 -6
- package/lib/commonjs/api/entities/initialization/VCLInitializationDescriptor.js.map +0 -1
- package/lib/commonjs/api/entities/initialization/VCLJwtServiceUrls.js +0 -2
- package/lib/commonjs/api/entities/initialization/VCLJwtServiceUrls.js.map +0 -1
- package/lib/commonjs/api/entities/initialization/VCLKeyServiceUrls.js +0 -2
- package/lib/commonjs/api/entities/initialization/VCLKeyServiceUrls.js.map +0 -1
- package/lib/commonjs/api/entities/initialization/VCLRemoteCryptoServicesUrlsDescriptor.js +0 -6
- package/lib/commonjs/api/entities/initialization/VCLRemoteCryptoServicesUrlsDescriptor.js.map +0 -1
- package/lib/commonjs/index.js +0 -85
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/package.json +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLOrganization.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLOrganizations.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLOrganizationsSearchDescriptor.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLPage.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLPresentationRequest.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLPresentationRequestDescriptor.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLPresentationSubmission.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLPublicJwk.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLPushDelegate.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLRegion.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLRegions.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLServiceTypes.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLSubmissionResult.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLToken.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLVerifiableCredential.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["api/entities/VCLVerifiedProfile.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["api/entities/initialization/VCLCryptoServicesDescriptor.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["api/entities/initialization/VCLInitializationDescriptor.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["api/entities/initialization/VCLJwtServiceUrls.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["api/entities/initialization/VCLKeyServiceUrls.ts"],"mappings":"","ignoreList":[]}
|
package/lib/commonjs/api/entities/initialization/VCLRemoteCryptoServicesUrlsDescriptor.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["api/entities/initialization/VCLRemoteCryptoServicesUrlsDescriptor.ts"],"mappings":"","ignoreList":[]}
|
package/lib/commonjs/index.js
DELETED
|
@@ -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"}
|