@velocitycareerlabs/vcl-react-native 1.0.1 → 1.1.3
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 +177 -21
- package/android/LICENSE +177 -0
- package/android/build.gradle +2 -1
- package/android/src/main/java/io/velocitycareerlabs/reactnative/VclReactNativeModule.kt +17 -4
- package/android/src/main/java/io/velocitycareerlabs/reactnative/VclReactNativePackage.kt +8 -1
- package/android/src/main/java/io/velocitycareerlabs/reactnative/extensions/ArrayExtensions.kt +7 -0
- package/android/src/main/java/io/velocitycareerlabs/reactnative/extensions/JSONExtensions.kt +8 -1
- package/android/src/main/java/io/velocitycareerlabs/reactnative/extensions/MapExtensions.kt +8 -1
- package/android/src/main/java/io/velocitycareerlabs/reactnative/extensions/RNCollectionExtensions.kt +8 -1
- package/android/src/main/java/io/velocitycareerlabs/reactnative/utlis/Converter.kt +72 -41
- package/ios/Extensions/StringExtensions.swift +3 -1
- package/ios/LICENSE +177 -0
- package/ios/Utils/Converter.swift +14 -0
- package/ios/VclReactNative.m +6 -0
- package/ios/VclReactNative.swift +11 -2
- package/lib/commonjs/api/VCLEnvironment.js +7 -0
- package/lib/commonjs/api/VCLEnvironment.js.map +1 -1
- package/lib/commonjs/api/entities/VCLCountries.js +7 -0
- package/lib/commonjs/api/entities/VCLCountries.js.map +1 -1
- package/lib/commonjs/api/entities/VCLInitializationDescriptor.js +6 -0
- package/lib/commonjs/api/entities/VCLInitializationDescriptor.js.map +1 -0
- package/lib/commonjs/api/entities/VCLServiceType.js +7 -0
- package/lib/commonjs/api/entities/VCLServiceType.js.map +1 -1
- package/lib/commonjs/index.js +6 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/api/VCLEnvironment.js +6 -0
- package/lib/module/api/VCLEnvironment.js.map +1 -1
- package/lib/module/api/entities/VCLCountries.js +6 -0
- package/lib/module/api/entities/VCLCountries.js.map +1 -1
- package/lib/module/api/entities/VCLInitializationDescriptor.js +2 -0
- package/lib/module/api/entities/VCLInitializationDescriptor.js.map +1 -0
- package/lib/module/api/entities/VCLServiceType.js +6 -0
- package/lib/module/api/entities/VCLServiceType.js.map +1 -1
- package/lib/module/index.js +6 -0
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/api/Dictionary.d.ts +6 -0
- package/lib/typescript/api/VCLApi.d.ts +8 -2
- package/lib/typescript/api/VCLEnvironment.d.ts +6 -0
- package/lib/typescript/api/entities/VCLCountries.d.ts +6 -0
- package/lib/typescript/api/entities/VCLCountry.d.ts +6 -0
- package/lib/typescript/api/entities/VCLCredentialManifest.d.ts +6 -0
- package/lib/typescript/api/entities/VCLCredentialManifestDescriptor.d.ts +6 -0
- package/lib/typescript/api/entities/VCLCredentialManifestDescriptorByDeepLink.d.ts +6 -0
- package/lib/typescript/api/entities/VCLCredentialManifestDescriptorByService.d.ts +6 -0
- package/lib/typescript/api/entities/VCLCredentialManifestDescriptorRefresh.d.ts +6 -0
- package/lib/typescript/api/entities/VCLCredentialType.d.ts +6 -0
- package/lib/typescript/api/entities/VCLCredentialTypeSchema.d.ts +6 -0
- package/lib/typescript/api/entities/VCLCredentialTypeSchemas.d.ts +6 -0
- package/lib/typescript/api/entities/VCLCredentialTypes.d.ts +6 -0
- package/lib/typescript/api/entities/VCLCredentialTypesUIFormSchema.d.ts +6 -0
- package/lib/typescript/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.d.ts +6 -0
- package/lib/typescript/api/entities/VCLDeepLink.d.ts +6 -0
- package/lib/typescript/api/entities/VCLError.d.ts +6 -0
- package/lib/typescript/api/entities/VCLExchange.d.ts +6 -0
- package/lib/typescript/api/entities/VCLExchangeDescriptor.d.ts +6 -0
- package/lib/typescript/api/entities/VCLFilter.d.ts +6 -0
- package/lib/typescript/api/entities/VCLFinalizeOffersDescriptor.d.ts +6 -0
- package/lib/typescript/api/entities/VCLGenerateOffersDescriptor.d.ts +6 -0
- package/lib/typescript/api/entities/VCLInitializationDescriptor.d.ts +11 -0
- package/lib/typescript/api/entities/VCLJWT.d.ts +6 -0
- package/lib/typescript/api/entities/VCLJwtVerifiableCredentials.d.ts +6 -0
- package/lib/typescript/api/entities/VCLOffers.d.ts +6 -0
- package/lib/typescript/api/entities/VCLOrganization.d.ts +6 -0
- package/lib/typescript/api/entities/VCLOrganizations.d.ts +6 -0
- package/lib/typescript/api/entities/VCLOrganizationsSearchDescriptor.d.ts +6 -0
- package/lib/typescript/api/entities/VCLPage.d.ts +6 -0
- package/lib/typescript/api/entities/VCLPresentationRequest.d.ts +6 -0
- package/lib/typescript/api/entities/VCLPresentationSubmission.d.ts +6 -0
- package/lib/typescript/api/entities/VCLPresentationSubmissionResult.d.ts +6 -0
- package/lib/typescript/api/entities/VCLPublicKey.d.ts +6 -0
- package/lib/typescript/api/entities/VCLPushDelegate.d.ts +6 -0
- package/lib/typescript/api/entities/VCLRegion.d.ts +6 -0
- package/lib/typescript/api/entities/VCLRegions.d.ts +6 -0
- package/lib/typescript/api/entities/VCLService.d.ts +6 -0
- package/lib/typescript/api/entities/VCLServiceCredentialAgentIssuer.d.ts +6 -0
- package/lib/typescript/api/entities/VCLServiceType.d.ts +6 -0
- package/lib/typescript/api/entities/VCLSubmissionResult.d.ts +6 -0
- package/lib/typescript/api/entities/VCLToken.d.ts +6 -0
- package/lib/typescript/api/entities/VCLVerifiableCredential.d.ts +6 -0
- package/lib/typescript/api/entities/VCLVerifiedProfile.d.ts +6 -0
- package/lib/typescript/api/entities/VCLVerifiedProfileDescriptor.d.ts +6 -0
- package/lib/typescript/index.d.ts +8 -1
- package/package.json +1 -1
- package/src/api/Dictionary.tsx +7 -0
- package/src/api/VCLApi.tsx +11 -1
- package/src/api/VCLEnvironment.tsx +7 -0
- package/src/api/entities/VCLCountries.tsx +7 -0
- package/src/api/entities/VCLCountry.tsx +7 -0
- package/src/api/entities/VCLCredentialManifest.tsx +7 -0
- package/src/api/entities/VCLCredentialManifestDescriptor.tsx +7 -0
- package/src/api/entities/VCLCredentialManifestDescriptorByDeepLink.tsx +7 -0
- package/src/api/entities/VCLCredentialManifestDescriptorByService.tsx +7 -0
- package/src/api/entities/VCLCredentialManifestDescriptorRefresh.tsx +7 -0
- package/src/api/entities/VCLCredentialType.tsx +7 -0
- package/src/api/entities/VCLCredentialTypeSchema.tsx +7 -0
- package/src/api/entities/VCLCredentialTypeSchemas.tsx +7 -0
- package/src/api/entities/VCLCredentialTypes.tsx +7 -0
- package/src/api/entities/VCLCredentialTypesUIFormSchema.tsx +7 -0
- package/src/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.tsx +7 -0
- package/src/api/entities/VCLDeepLink.tsx +7 -0
- package/src/api/entities/VCLError.tsx +7 -0
- package/src/api/entities/VCLExchange.tsx +7 -0
- package/src/api/entities/VCLExchangeDescriptor.tsx +7 -0
- package/src/api/entities/VCLFilter.tsx +7 -0
- package/src/api/entities/VCLFinalizeOffersDescriptor.tsx +7 -0
- package/src/api/entities/VCLGenerateOffersDescriptor.tsx +7 -0
- package/src/api/entities/VCLInitializationDescriptor.tsx +13 -0
- package/src/api/entities/VCLJWT.tsx +7 -0
- package/src/api/entities/VCLJwtVerifiableCredentials.tsx +7 -0
- package/src/api/entities/VCLOffers.tsx +7 -0
- package/src/api/entities/VCLOrganization.tsx +7 -0
- package/src/api/entities/VCLOrganizations.tsx +7 -0
- package/src/api/entities/VCLOrganizationsSearchDescriptor.tsx +7 -0
- package/src/api/entities/VCLPage.tsx +7 -0
- package/src/api/entities/VCLPresentationRequest.tsx +7 -0
- package/src/api/entities/VCLPresentationSubmission.tsx +7 -0
- package/src/api/entities/VCLPresentationSubmissionResult.tsx +7 -0
- package/src/api/entities/VCLPublicKey.tsx +7 -0
- package/src/api/entities/VCLPushDelegate.tsx +7 -0
- package/src/api/entities/VCLRegion.tsx +7 -0
- package/src/api/entities/VCLRegions.tsx +7 -0
- package/src/api/entities/VCLService.tsx +7 -0
- package/src/api/entities/VCLServiceCredentialAgentIssuer.tsx +7 -0
- package/src/api/entities/VCLServiceType.tsx +7 -0
- package/src/api/entities/VCLSubmissionResult.tsx +7 -0
- package/src/api/entities/VCLToken.tsx +7 -0
- package/src/api/entities/VCLVerifiableCredential.tsx +7 -0
- package/src/api/entities/VCLVerifiedProfile.tsx +7 -0
- package/src/api/entities/VCLVerifiedProfileDescriptor.tsx +7 -0
- package/src/index.tsx +9 -0
- package/vcl-react-native.podspec +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["VCLEnvironment.tsx"],"names":["VCLEnvTypes"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["VCLEnvironment.tsx"],"names":["VCLEnvTypes"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AAMA,WAAYA,WAAZ;;WAAYA,W;AAAAA,EAAAA,W;AAAAA,EAAAA,W;AAAAA,EAAAA,W;GAAAA,W,KAAAA,W","sourcesContent":["/**\n * Created by Michael Avoyan.\n *\n * Copyright 2022 Velocity Career Labs inc.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport interface VCLEnvironment {\n value: string;\n}\n\nexport enum VCLEnvTypes {\n DEV = 'dev',\n STAGING = 'staging',\n PROD = 'prod',\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["VCLCountries.tsx"],"names":["VCLCountryCodes"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["VCLCountries.tsx"],"names":["VCLCountryCodes"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AAQA,WAAYA,eAAZ;;WAAYA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,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e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;AAAAA,EAAAA,e;GAAAA,e,KAAAA,e","sourcesContent":["/**\n * Created by Michael Avoyan.\n *\n * Copyright 2022 Velocity Career Labs inc.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport type { VCLCountry } from './VCLCountry';\n\nexport interface VCLCountries {\n all: VCLCountry[];\n}\n\nexport enum VCLCountryCodes {\n BD = 'BD',\n BE = 'BE',\n BF = 'BF',\n BG = 'BG',\n BA = 'BA',\n BB = 'BB',\n WF = 'WF',\n BL = 'BL',\n BM = 'BM',\n BN = 'BN',\n BO = 'BO',\n BH = 'BH',\n BI = 'BI',\n BJ = 'BJ',\n BT = 'BT',\n JM = 'JM',\n BV = 'BV',\n BW = 'BW',\n WS = 'WS',\n BQ = 'BQ',\n BR = 'BR',\n BS = 'BS',\n JE = 'JE',\n BY = 'BY',\n BZ = 'BZ',\n RU = 'RU',\n RW = 'RW',\n RS = 'RS',\n TL = 'TL',\n RE = 'RE',\n TM = 'TM',\n TJ = 'TJ',\n RO = 'RO',\n TK = 'TK',\n GW = 'GW',\n GU = 'GU',\n GT = 'GT',\n GS = 'GS',\n GR = 'GR',\n GQ = 'GQ',\n GP = 'GP',\n JP = 'JP',\n GY = 'GY',\n GG = 'GG',\n GF = 'GF',\n GE = 'GE',\n GD = 'GD',\n GB = 'GB',\n GA = 'GA',\n SV = 'SV',\n GN = 'GN',\n GM = 'GM',\n GL = 'GL',\n GI = 'GI',\n GH = 'GH',\n OM = 'OM',\n TN = 'TN',\n JO = 'JO',\n HR = 'HR',\n HT = 'HT',\n HU = 'HU',\n HK = 'HK',\n HN = 'HN',\n HM = 'HM',\n VE = 'VE',\n PR = 'PR',\n PS = 'PS',\n PW = 'PW',\n PT = 'PT',\n SJ = 'SJ',\n PY = 'PY',\n IQ = 'IQ',\n PA = 'PA',\n PF = 'PF',\n PG = 'PG',\n PE = 'PE',\n PK = 'PK',\n PH = 'PH',\n PN = 'PN',\n PL = 'PL',\n PM = 'PM',\n ZM = 'ZM',\n EH = 'EH',\n EE = 'EE',\n EG = 'EG',\n ZA = 'ZA',\n EC = 'EC',\n IT = 'IT',\n VN = 'VN',\n SB = 'SB',\n ET = 'ET',\n SO = 'SO',\n ZW = 'ZW',\n SA = 'SA',\n ES = 'ES',\n ER = 'ER',\n ME = 'ME',\n MD = 'MD',\n MG = 'MG',\n MF = 'MF',\n MA = 'MA',\n MC = 'MC',\n UZ = 'UZ',\n MM = 'MM',\n ML = 'ML',\n MO = 'MO',\n MN = 'MN',\n MH = 'MH',\n MK = 'MK',\n MU = 'MU',\n MT = 'MT',\n MW = 'MW',\n MV = 'MV',\n MQ = 'MQ',\n MP = 'MP',\n MS = 'MS',\n MR = 'MR',\n IM = 'IM',\n UG = 'UG',\n TZ = 'TZ',\n MY = 'NY',\n MX = 'MX',\n IL = 'IL',\n FR = 'FR',\n IO = 'IO',\n SH = 'SH',\n FI = 'FI',\n FJ = 'FJ',\n FK = 'FK',\n FM = 'FM',\n FO = 'FO',\n NI = 'NI',\n NL = 'NL',\n NO = 'NO',\n NA = 'NA',\n VU = 'VU',\n NC = 'NC',\n NE = 'NE',\n NF = 'NF',\n NG = 'NG',\n NZ = 'NZ',\n NP = 'NP',\n NR = 'NR',\n NU = 'NU',\n CK = 'CK',\n XK = 'XK',\n CI = 'CI',\n CH = 'CH',\n CO = 'CO',\n CN = 'CN',\n CM = 'CM',\n CL = 'CL',\n CC = 'CC',\n CA = 'CA',\n CG = 'CG',\n CF = 'CF',\n CD = 'CD',\n CZ = 'CZ',\n CY = 'CY',\n CX = 'CX',\n CR = 'CR',\n CW = 'CW',\n CV = 'CV',\n CU = 'CU',\n SZ = 'SZ',\n SY = 'SY',\n SX = 'SX',\n KG = 'KG',\n KE = 'KE',\n SS = 'SS',\n SR = 'SR',\n KI = 'KI',\n KH = 'KH',\n KN = 'KN',\n KM = 'KM',\n ST = 'ST',\n SK = 'SK',\n KR = 'KR',\n SI = 'SI',\n KP = 'KP',\n KW = 'KW',\n SN = 'SN',\n SM = 'SM',\n SL = 'SL',\n SC = 'SC',\n KZ = 'KZ',\n KY = 'KY',\n SG = 'SG',\n SE = 'SE',\n SD = 'SD',\n DO = 'DO',\n DM = 'DM',\n DJ = 'DJ',\n DK = 'DK',\n VG = 'VG',\n DE = 'DE',\n YE = 'YE',\n DZ = 'DZ',\n US = 'US',\n UY = 'UY',\n YT = 'YT',\n UM = 'UM',\n LB = 'LB',\n LC = 'LC',\n LA = 'LA',\n TV = 'TV',\n TW = 'TW',\n TT = 'TT',\n TR = 'TR',\n LK = 'LK',\n LI = 'LI',\n LV = 'LV',\n TO = 'TO',\n LT = 'LT',\n LU = 'LU',\n LR = 'LR',\n LS = 'LS',\n TH = 'TH',\n TF = 'TF',\n TG = 'TG',\n TD = 'TD',\n TC = 'TC',\n LY = 'LY',\n VA = 'VA',\n VC = 'VC',\n AE = 'AE',\n AD = 'AD',\n AG = 'AG',\n AF = 'AF',\n AI = 'AI',\n VI = 'VI',\n IS = 'IS',\n IR = 'IR',\n AM = 'AM',\n AL = 'AL',\n AO = 'AO',\n AQ = 'AQ',\n AS = 'AS',\n AR = 'AR',\n AU = 'AU',\n AT = 'AT',\n AW = 'AW',\n IN = 'IN',\n AX = 'AX',\n AZ = 'AZ',\n IE = 'IE',\n ID = 'ID',\n UA = 'UA',\n QA = 'QA',\n MZ = 'MZ',\n UK = 'UK',\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["VCLServiceType.tsx"],"names":["VCLServiceType"],"mappings":"AAAA,WAAYA,cAAZ;;WAAYA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;GAAAA,c,KAAAA,c","sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["VCLServiceType.tsx"],"names":["VCLServiceType"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AAEA,WAAYA,cAAZ;;WAAYA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;AAAAA,EAAAA,c;GAAAA,c,KAAAA,c","sourcesContent":["/**\n * Created by Michael Avoyan.\n *\n * Copyright 2022 Velocity Career Labs inc.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport enum VCLServiceType {\n Issuer = 'Issuer',\n Inspector = 'Inspector',\n CredentialAgentOperator = 'CredentialAgentOperator',\n NodeOperator = 'NodeOperator',\n TrustRoot = 'TrustRoot',\n NotaryIssuer = 'NotaryIssuer',\n IdentityIssuer = 'IdentityIssuer',\n HolderAppProvider = 'HolderAppProvider',\n}\n"]}
|
package/lib/module/index.js
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created by Michael Avoyan.
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2022 Velocity Career Labs inc.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
1
7
|
import { NativeModules } from 'react-native';
|
|
2
8
|
import { VCLEnvTypes } from './api/VCLEnvironment';
|
|
3
9
|
import { VCLCountryCodes } from './api/entities/VCLCountries';
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.tsx"],"names":["NativeModules","VCLEnvTypes","VCLCountryCodes","VCLServiceType","VclReactNative"],"mappings":"AAAA,SAASA,aAAT,QAA8B,cAA9B;AAGA,SAASC,WAAT,QAA4B,sBAA5B;AAGA,SAASC,eAAT,QAAgC,6BAAhC;AAkCA,SAASC,cAAT,QAA+B,+BAA/B;
|
|
1
|
+
{"version":3,"sources":["index.tsx"],"names":["NativeModules","VCLEnvTypes","VCLCountryCodes","VCLServiceType","VclReactNative"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AAEA,SAASA,aAAT,QAA8B,cAA9B;AAGA,SAASC,WAAT,QAA4B,sBAA5B;AAGA,SAASC,eAAT,QAAgC,6BAAhC;AAkCA,SAASC,cAAT,QAA+B,+BAA/B;AASA,MAAM;AAAEC,EAAAA;AAAF,IAAqBJ,aAA3B;AAEA,eAAeI,cAAf;AACA,SAGEH,WAHF,EAMEC,eANF,EAwCEC,cAxCF","sourcesContent":["/**\n * Created by Michael Avoyan.\n *\n * Copyright 2022 Velocity Career Labs inc.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { NativeModules } from 'react-native';\nimport type { VclApi } from './api/VCLApi';\nimport type { VCLEnvironment } from './api/VCLEnvironment';\nimport { VCLEnvTypes } from './api/VCLEnvironment';\nimport type { VCLCountry } from './api/entities/VCLCountry';\nimport type { VCLCountries } from './api/entities/VCLCountries';\nimport { VCLCountryCodes } from './api/entities/VCLCountries';\nimport type { VCLRegion } from './api/entities/VCLRegion';\nimport type { VCLRegions } from './api/entities/VCLRegions';\nimport type { VCLCredentialManifest } from './api/entities/VCLCredentialManifest';\nimport type { VCLCredentialManifestDescriptor } from './api/entities/VCLCredentialManifestDescriptor';\nimport type { VCLCredentialManifestDescriptorByDeepLink } from './api/entities/VCLCredentialManifestDescriptorByDeepLink';\nimport type { VCLCredentialManifestDescriptorByService } from './api/entities/VCLCredentialManifestDescriptorByService';\nimport type { VCLCredentialManifestDescriptorRefresh } from './api/entities/VCLCredentialManifestDescriptorRefresh';\nimport type { VCLCredentialType } from './api/entities/VCLCredentialType';\nimport type { VCLCredentialTypeSchema } from './api/entities/VCLCredentialTypeSchema';\nimport type { VCLCredentialTypeSchemas } from './api/entities/VCLCredentialTypeSchemas';\nimport type { VCLCredentialTypesUIFormSchemaDescriptor } from './api/entities/VCLCredentialTypesUIFormSchemaDescriptor';\nimport type { VCLCredentialTypesUIFormSchema } from './api/entities/VCLCredentialTypesUIFormSchema';\nimport type { VCLDeepLink } from './api/entities/VCLDeepLink';\nimport type { VCLError } from './api/entities/VCLError';\nimport type { VCLExchange } from './api/entities/VCLExchange';\nimport type { VCLExchangeDescriptor } from './api/entities/VCLExchangeDescriptor';\nimport type { VCLFilter } from './api/entities/VCLFilter';\nimport type { VCLFinalizeOffersDescriptor } from './api/entities/VCLFinalizeOffersDescriptor';\nimport type { VCLGenerateOffersDescriptor } from './api/entities/VCLGenerateOffersDescriptor';\nimport type { VCLJWT } from './api/entities/VCLJWT';\nimport type { VCLJwtVerifiableCredentials } from './api/entities/VCLJwtVerifiableCredentials';\nimport type { VCLOffers } from './api/entities/VCLOffers';\nimport type { VCLOrganization } from './api/entities/VCLOrganization';\nimport type { VCLOrganizations } from './api/entities/VCLOrganizations';\nimport type { VCLOrganizationsSearchDescriptor } from './api/entities/VCLOrganizationsSearchDescriptor';\nimport type { VCLPage } from './api/entities/VCLPage';\nimport type { VCLPresentationRequest } from './api/entities/VCLPresentationRequest';\nimport type { VCLPresentationSubmission } from './api/entities/VCLPresentationSubmission';\nimport type { VCLPresentationSubmissionResult } from './api/entities/VCLPresentationSubmissionResult';\nimport type { VCLPublicKey } from './api/entities/VCLPublicKey';\nimport type { VCLPushDelegate } from './api/entities/VCLPushDelegate';\nimport type { VCLService } from './api/entities/VCLService';\nimport type { VCLServiceCredentialAgentIssuer } from './api/entities/VCLServiceCredentialAgentIssuer';\nimport { VCLServiceType } from './api/entities/VCLServiceType';\nimport type { VCLSubmissionResult } from './api/entities/VCLSubmissionResult';\nimport type { VCLToken } from './api/entities/VCLToken';\nimport type { VCLVerifiableCredential } from './api/entities/VCLVerifiableCredential';\nimport type { VCLVerifiedProfile } from './api/entities/VCLVerifiedProfile';\nimport type { VCLVerifiedProfileDescriptor } from './api/entities/VCLVerifiedProfileDescriptor';\nimport type { Dictionary } from './api/Dictionary';\nimport type { VCLInitializationDescriptor } from './api/entities/VCLInitializationDescriptor';\n\nconst { VclReactNative } = NativeModules;\n\nexport default VclReactNative as VclApi;\nexport {\n Dictionary,\n VCLEnvironment,\n VCLEnvTypes,\n VCLCountry,\n VCLCountries,\n VCLCountryCodes,\n VCLRegion,\n VCLRegions,\n VCLCredentialManifest,\n VCLCredentialManifestDescriptor,\n VCLCredentialManifestDescriptorByDeepLink,\n VCLCredentialManifestDescriptorByService,\n VCLCredentialType,\n VCLCredentialTypeSchema,\n VCLCredentialTypeSchemas,\n VCLCredentialTypesUIFormSchema,\n VCLCredentialTypesUIFormSchemaDescriptor,\n VCLCredentialManifestDescriptorRefresh,\n VCLDeepLink,\n VCLError,\n VCLExchange,\n VCLExchangeDescriptor,\n VCLFilter,\n VCLFinalizeOffersDescriptor,\n VCLGenerateOffersDescriptor,\n VCLJWT,\n VCLJwtVerifiableCredentials,\n VCLOffers,\n VCLOrganization,\n VCLOrganizations,\n VCLOrganizationsSearchDescriptor,\n VCLPage,\n VCLPresentationRequest,\n VCLPresentationSubmission,\n VCLPresentationSubmissionResult,\n VCLPublicKey,\n VCLPushDelegate,\n VCLService,\n VCLServiceCredentialAgentIssuer,\n VCLServiceType,\n VCLSubmissionResult,\n VCLToken,\n VCLVerifiableCredential,\n VCLVerifiedProfile,\n VCLVerifiedProfileDescriptor,\n VCLInitializationDescriptor,\n};\n"]}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created by Michael Avoyan.
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2022 Velocity Career Labs inc.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
1
7
|
import type { VCLCredentialManifest } from './entities/VCLCredentialManifest';
|
|
2
8
|
import type { VCLCredentialManifestDescriptor } from './entities/VCLCredentialManifestDescriptor';
|
|
3
9
|
import type { VCLCredentialType } from './entities/VCLCredentialType';
|
|
@@ -5,7 +11,6 @@ import type { VCLCredentialTypeSchemas } from './entities/VCLCredentialTypeSchem
|
|
|
5
11
|
import type { VCLCredentialTypesUIFormSchema } from './entities/VCLCredentialTypesUIFormSchema';
|
|
6
12
|
import type { VCLCredentialTypesUIFormSchemaDescriptor } from './entities/VCLCredentialTypesUIFormSchemaDescriptor';
|
|
7
13
|
import type { VCLDeepLink } from './entities/VCLDeepLink';
|
|
8
|
-
import type { VCLEnvironment } from './VCLEnvironment';
|
|
9
14
|
import type { VCLExchange } from './entities/VCLExchange';
|
|
10
15
|
import type { VCLExchangeDescriptor } from './entities/VCLExchangeDescriptor';
|
|
11
16
|
import type { VCLFinalizeOffersDescriptor } from './entities/VCLFinalizeOffersDescriptor';
|
|
@@ -24,8 +29,9 @@ import type { VCLVerifiedProfile } from './entities/VCLVerifiedProfile';
|
|
|
24
29
|
import type { VCLVerifiedProfileDescriptor } from './entities/VCLVerifiedProfileDescriptor';
|
|
25
30
|
import type { VCLCountries } from './entities/VCLCountries';
|
|
26
31
|
import type { Dictionary } from './Dictionary';
|
|
32
|
+
import type { VCLInitializationDescriptor } from './entities/VCLInitializationDescriptor';
|
|
27
33
|
export declare type VclApi = {
|
|
28
|
-
initialize(
|
|
34
|
+
initialize(initializationDescriptor: VCLInitializationDescriptor): Promise<void>;
|
|
29
35
|
getCountries(): Promise<VCLCountries>;
|
|
30
36
|
getCredentialTypeSchemas(): Promise<VCLCredentialTypeSchemas>;
|
|
31
37
|
getCredentialTypes(): Promise<Array<VCLCredentialType>>;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created by Michael Avoyan.
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2022 Velocity Career Labs inc.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
1
7
|
import type { VCLPushDelegate } from './VCLPushDelegate';
|
|
2
8
|
export interface VCLCredentialManifestDescriptor {
|
|
3
9
|
credentialTypes?: string[];
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created by Michael Avoyan.
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2022 Velocity Career Labs inc.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
1
7
|
import type { VCLCredentialManifestDescriptor } from './VCLCredentialManifestDescriptor';
|
|
2
8
|
import type { VCLDeepLink } from './VCLDeepLink';
|
|
3
9
|
export interface VCLCredentialManifestDescriptorByDeepLink extends VCLCredentialManifestDescriptor {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created by Michael Avoyan.
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2022 Velocity Career Labs inc.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
1
7
|
import type { VCLCredentialManifestDescriptor } from './VCLCredentialManifestDescriptor';
|
|
2
8
|
import type { VCLService } from './VCLService';
|
|
3
9
|
export interface VCLCredentialManifestDescriptorByService extends VCLCredentialManifestDescriptor {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created by Michael Avoyan.
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2022 Velocity Career Labs inc.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
1
7
|
import type { VCLCredentialManifestDescriptor } from './VCLCredentialManifestDescriptor';
|
|
2
8
|
import type { VCLService } from './VCLService';
|
|
3
9
|
export interface VCLCredentialManifestDescriptorRefresh extends VCLCredentialManifestDescriptor {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created by Michael Avoyan.
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2022 Velocity Career Labs inc.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
1
7
|
import type { Dictionary } from '../Dictionary';
|
|
2
8
|
import type { VCLCredentialTypeSchema } from './VCLCredentialTypeSchema';
|
|
3
9
|
export interface VCLCredentialTypeSchemas {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created by Michael Avoyan.
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2022 Velocity Career Labs inc.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
1
7
|
import type { VCLPresentationSubmission } from './VCLPresentationSubmission';
|
|
2
8
|
import type { VCLSubmissionResult } from './VCLSubmissionResult';
|
|
3
9
|
export interface VCLExchangeDescriptor {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created by Michael Avoyan.
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2022 Velocity Career Labs inc.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
1
7
|
import type { VCLCredentialManifest } from './VCLCredentialManifest';
|
|
2
8
|
export interface VCLFinalizeOffersDescriptor {
|
|
3
9
|
credentialManifest: VCLCredentialManifest;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created by Michael Avoyan.
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2022 Velocity Career Labs inc.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
1
7
|
import type { VCLCredentialManifest } from './VCLCredentialManifest';
|
|
2
8
|
import type { VCLVerifiableCredential } from './VCLVerifiableCredential';
|
|
3
9
|
export interface VCLGenerateOffersDescriptor {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created by Michael Avoyan.
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2022 Velocity Career Labs inc.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
7
|
+
import type { VCLEnvironment } from '../VCLEnvironment';
|
|
8
|
+
export interface VCLInitializationDescriptor {
|
|
9
|
+
environment?: VCLEnvironment;
|
|
10
|
+
resetCache?: Boolean;
|
|
11
|
+
}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created by Michael Avoyan.
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2022 Velocity Career Labs inc.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
1
7
|
import type { Dictionary } from '../Dictionary';
|
|
2
8
|
import type { VCLServiceCredentialAgentIssuer } from './VCLServiceCredentialAgentIssuer';
|
|
3
9
|
export interface VCLOrganization {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created by Michael Avoyan.
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2022 Velocity Career Labs inc.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
1
7
|
import type { VCLFilter } from './VCLFilter';
|
|
2
8
|
import type { VCLPage } from './VCLPage';
|
|
3
9
|
export interface VCLOrganizationsSearchDescriptor {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created by Michael Avoyan.
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2022 Velocity Career Labs inc.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
1
7
|
import type { VCLJWT } from './VCLJWT';
|
|
2
8
|
import type { VCLPublicKey } from './VCLPublicKey';
|
|
3
9
|
export interface VCLPresentationRequest {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created by Michael Avoyan.
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2022 Velocity Career Labs inc.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
1
7
|
import type { VCLPresentationRequest } from './VCLPresentationRequest';
|
|
2
8
|
import type { VCLVerifiableCredential } from './VCLVerifiableCredential';
|
|
3
9
|
export interface VCLPresentationSubmission {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created by Michael Avoyan.
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2022 Velocity Career Labs inc.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
1
7
|
import type { VCLExchange } from './VCLExchange';
|
|
2
8
|
import type { VCLToken } from './VCLToken';
|
|
3
9
|
export interface VCLPresentationSubmissionResult {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created by Michael Avoyan.
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2022 Velocity Career Labs inc.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
1
7
|
import type { VCLExchange } from './VCLExchange';
|
|
2
8
|
import type { VCLToken } from './VCLToken';
|
|
3
9
|
export interface VCLSubmissionResult {
|