@frankieone/one-sdk 1.7.2 → 1.7.3-rc.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/dist/commit.txt +1 -1
- package/dist/esm/modules/biometrics/definition.d.ts +3 -3
- package/dist/esm/modules/biometrics/events.d.ts +2 -2
- package/dist/esm/modules/biometrics/index.d.ts +1 -1
- package/dist/esm/modules/biometrics/index.d.ts.map +1 -1
- package/dist/esm/modules/biometrics/index.js +12 -6
- package/dist/esm/modules/biometrics/index.js.map +1 -1
- package/dist/esm/modules/biometrics/parseConfiguration.d.ts +1 -1
- package/dist/esm/modules/biometrics/vendors/Incode/index.d.ts +3 -3
- package/dist/esm/modules/biometrics/vendors/OcrLabs/index.d.ts +2 -2
- package/dist/esm/modules/biometrics/vendors/Onfido/index.d.ts +5 -5
- package/dist/esm/modules/biometrics/vendors/common/createSession.d.ts +4 -4
- package/dist/esm/modules/biometrics/vendors/common/errors.d.ts +3 -3
- package/dist/esm/modules/biometrics/vendors/common/initProcess.d.ts +4 -4
- package/dist/esm/modules/biometrics/vendors/dummy-biometrics/index.d.ts +2 -2
- package/dist/esm/modules/business/actions/emitEvents.d.ts +2 -2
- package/dist/esm/modules/business/actions/search.d.ts +3 -3
- package/dist/esm/modules/business/actions/upload.d.ts +4 -4
- package/dist/esm/modules/business/definition.d.ts +4 -4
- package/dist/esm/modules/business/events.d.ts +1 -1
- package/dist/esm/modules/common/modules/HOF.d.ts +1 -1
- package/dist/esm/modules/common/modules/ReactiveStore.d.ts +1 -1
- package/dist/esm/modules/common/modules/defineModule.d.ts +1 -1
- package/dist/esm/modules/common/modules/error.d.ts +1 -1
- package/dist/esm/modules/common/modules/eventHub/index.d.ts.map +1 -1
- package/dist/esm/modules/common/modules/eventHub/index.js +14 -6
- package/dist/esm/modules/common/modules/eventHub/index.js.map +1 -1
- package/dist/esm/modules/common/modules/eventHub/types.d.ts +2 -2
- package/dist/esm/modules/common/modules/eventHub/windowEventHub.d.ts +1 -1
- package/dist/esm/modules/common/modules/eventHub/windowEventHub.d.ts.map +1 -1
- package/dist/esm/modules/common/modules/eventHub/windowEventHub.js +4 -2
- package/dist/esm/modules/common/modules/eventHub/windowEventHub.js.map +1 -1
- package/dist/esm/modules/common/modules/objectUtils.d.ts +1 -1
- package/dist/esm/modules/common/modules/vendorLoading.d.ts +4 -4
- package/dist/esm/modules/common/shared/models/DeviceCheck.d.ts +1 -1
- package/dist/esm/modules/common/shared/models/UBOData.d.ts +3 -3
- package/dist/esm/modules/common/types/Accessors.d.ts +1 -1
- package/dist/esm/modules/common/types/oneSDKModules/baseParameters.types.d.ts +6 -6
- package/dist/esm/modules/common/types/oneSDKModules/contextObject.d.ts +1 -1
- package/dist/esm/modules/common/types/oneSDKModules/definition.types.d.ts +2 -2
- package/dist/esm/modules/common/types/oneSDKModules/initialiseFunction.d.ts +2 -2
- package/dist/esm/modules/common/types/oneSDKModules/typeSystem.types.d.ts +1 -1
- package/dist/esm/modules/common/types/oneSDKVendorWrappers/initialiseFunction.d.ts +1 -1
- package/dist/esm/modules/common/types/recipeConfiguration.types.d.ts +5 -5
- package/dist/esm/modules/common/vendors/form/promisifyForm.d.ts +2 -2
- package/dist/esm/modules/common/vendors/form/useForm.d.ts +4 -4
- package/dist/esm/modules/common/vendors/incode/createEventHandlers.d.ts +4 -4
- package/dist/esm/modules/common/vendors/incode/index.d.ts +1 -1
- package/dist/esm/modules/common/vendors/incode/startCamera.d.ts +3 -3
- package/dist/esm/modules/common/vendors/onfido/index.d.ts +3 -3
- package/dist/esm/modules/common/vendors/onfido/onfido.types.d.ts +1 -1
- package/dist/esm/modules/config/modules.d.ts +18 -18
- package/dist/esm/modules/device/definition.d.ts +2 -2
- package/dist/esm/modules/device/events.d.ts +1 -1
- package/dist/esm/modules/device/index.d.ts +4 -4
- package/dist/esm/modules/device/index.d.ts.map +1 -1
- package/dist/esm/modules/device/index.js +19 -16
- package/dist/esm/modules/device/index.js.map +1 -1
- package/dist/esm/modules/device/parseConfiguration.d.ts +1 -1
- package/dist/esm/modules/device/vendors/Sardine.d.ts +6 -6
- package/dist/esm/modules/device/vendors/Threatmetrix/index.d.ts +4 -4
- package/dist/esm/modules/exports.d.ts +1 -1
- package/dist/esm/modules/features.config.d.ts +1 -1
- package/dist/esm/modules/federation/definition.d.ts +2 -2
- package/dist/esm/modules/federation/index.d.ts +2 -2
- package/dist/esm/modules/federation/index.d.ts.map +1 -1
- package/dist/esm/modules/federation/index.js +15 -14
- package/dist/esm/modules/federation/index.js.map +1 -1
- package/dist/esm/modules/federation/parseConfiguration.d.ts +1 -1
- package/dist/esm/modules/federation/vendors/Singpass.d.ts +5 -5
- package/dist/esm/modules/form/definition.d.ts +7 -7
- package/dist/esm/modules/form/events.d.ts +3 -3
- package/dist/esm/modules/form/index.d.ts.map +1 -1
- package/dist/esm/modules/form/index.js +5 -3
- package/dist/esm/modules/form/index.js.map +1 -1
- package/dist/esm/modules/form/validateConfiguration.d.ts +1 -1
- package/dist/esm/modules/form/vendors/formio/formioSdk.d.ts +1 -1
- package/dist/esm/modules/form/vendors/formio/index.d.ts +3 -3
- package/dist/esm/modules/form/vendors/formio/transformers/assignFormioDataToIndividualModule.d.ts +1 -1
- package/dist/esm/modules/form/vendors/formio/transformers/assignIndividualDataToFormioSdk.d.ts +1 -1
- package/dist/esm/modules/form/vendors/legacy/index.d.ts +5 -5
- package/dist/esm/modules/form/vendors/legacy/legacyUIEvents.types.d.ts +5 -5
- package/dist/esm/modules/form/vendors/legacy/loadLegacyUI.d.ts +3 -3
- package/dist/esm/modules/form/vendors/react/App.d.ts +2 -2
- package/dist/esm/modules/form/vendors/react/appConfig.type.d.ts +2 -2
- package/dist/esm/modules/form/vendors/react/components/base/SharedInput/Input.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/ActionFormField/ActionFormField.js +2 -2
- package/dist/esm/modules/form/vendors/react/components/view/ActionFormField/ActionFormField.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieAddress/FrankieAddress.js +2 -2
- package/dist/esm/modules/form/vendors/react/components/view/FrankieAddress/FrankieAddress.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieFormMapper/FrankieFormMapper.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/constants/form.const.d.ts +1 -0
- package/dist/esm/modules/form/vendors/react/constants/form.const.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/constants/form.const.js +1 -0
- package/dist/esm/modules/form/vendors/react/constants/form.const.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/constants/icons.d.ts +62 -62
- package/dist/esm/modules/form/vendors/react/constants/icons.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/constants/icons.js +74 -62
- package/dist/esm/modules/form/vendors/react/constants/icons.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/constants/layoutMapper.const.d.ts +7 -7
- package/dist/esm/modules/form/vendors/react/constants/staticScreenMapper.const.d.ts +3 -3
- package/dist/esm/modules/form/vendors/react/features/Consent/Consent.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Consent/Consent.js +31 -14
- package/dist/esm/modules/form/vendors/react/features/Consent/Consent.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Consent/hostedBusinessConsent.config.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/DocUpload/FileUploader/Main.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/DocUpload/FileUploader/Progress.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/DocUpload/FileUploader/Review.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/DocUpload/FileUploader/index.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/IdPreps/driversLicense.config.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/IdPreps/mediCare.config.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/IdPreps/passport.config.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/IdSelection/idSelection.config.d.ts +6 -6
- package/dist/esm/modules/form/vendors/react/features/IdSelection/idSelection.const.d.ts +4 -4
- package/dist/esm/modules/form/vendors/react/features/IdSelection/manualIdSelection.config.d.ts +47 -47
- package/dist/esm/modules/form/vendors/react/features/PersonalDetails/PersonalDetails.js +1 -1
- package/dist/esm/modules/form/vendors/react/features/PersonalDetails/PersonalDetails.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/PersonalDetails/personalDetails.config.d.ts +392 -392
- package/dist/esm/modules/form/vendors/react/features/Review/Review.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Review/Review.js +5 -0
- package/dist/esm/modules/form/vendors/react/features/Review/Review.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Review/review.config.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Review/review.config.js +0 -1
- package/dist/esm/modules/form/vendors/react/features/Review/review.config.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/ReviewDocument/ReviewDocument.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/ReviewDocument/ReviewDocument.js +3 -2
- package/dist/esm/modules/form/vendors/react/features/ReviewDocument/ReviewDocument.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Welcome/hostedBusinessWelcome.config.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/Welcome/manualWelcome.config.d.ts +4 -4
- package/dist/esm/modules/form/vendors/react/features/Welcome/welcome.config.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/useConfigFactory.hooks.js +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/useConfigFactory.hooks.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/useConsents.hook.d.ts +6 -0
- package/dist/esm/modules/form/vendors/react/hooks/useConsents.hook.d.ts.map +1 -0
- package/dist/esm/modules/form/vendors/react/hooks/useConsents.hook.js +44 -0
- package/dist/esm/modules/form/vendors/react/hooks/useConsents.hook.js.map +1 -0
- package/dist/esm/modules/form/vendors/react/hooks/useEventContext.d.ts +3 -3
- package/dist/esm/modules/form/vendors/react/hooks/useFormMapper.hook.d.ts +526 -526
- package/dist/esm/modules/form/vendors/react/hooks/useManualConfigFactory.hook.js +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/useManualConfigFactory.hook.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/useManualWrapperFactory.hook.d.ts +829 -1
- package/dist/esm/modules/form/vendors/react/hooks/useManualWrapperFactory.hook.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/useManualWrapperFactory.hook.js +11 -2
- package/dist/esm/modules/form/vendors/react/hooks/useManualWrapperFactory.hook.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/usePersonalDetailsUpdateFactory.hook.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/usePersonalDetailsUpdateFactory.hook.js +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/usePersonalDetailsUpdateFactory.hook.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/useReviewUpdateFactory.hook.d.ts +6 -6
- package/dist/esm/modules/form/vendors/react/index.d.ts +4 -4
- package/dist/esm/modules/form/vendors/react/model/address.model.d.ts +2 -2
- package/dist/esm/modules/form/vendors/react/model/googleAddress.model.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/model/idDetails.model.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/model/personalDetails.model.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/model/review.model.d.ts +2 -2
- package/dist/esm/modules/form/vendors/react/types/pages.type.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/utils/layout.util.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/utils/object.util.d.ts +2 -2
- package/dist/esm/modules/form/vendors/react/utils/object.util.js +1 -1
- package/dist/esm/modules/form/vendors/react/utils/object.util.js.map +1 -1
- package/dist/esm/modules/frankie-client/ClientsDictionary.d.ts +1 -1
- package/dist/esm/modules/frankie-client/DummyFrankieApiClient.d.ts +1 -1
- package/dist/esm/modules/frankie-client/FrankieApiClient.d.ts +2 -2
- package/dist/esm/modules/frankie-client/clients/ApplicantClient.d.ts +4 -4
- package/dist/esm/modules/frankie-client/clients/BusinessClient.d.ts +1 -1
- package/dist/esm/modules/frankie-client/clients/FederationClient.d.ts +1 -1
- package/dist/esm/modules/frankie-client/clients/IDVClient.d.ts +2 -2
- package/dist/esm/modules/frankie-client/clients/OCRClient.d.ts +1 -1
- package/dist/esm/modules/frankie-client/clients/SupportingDocumentsClient.d.ts +3 -3
- package/dist/esm/modules/frankie-client/clients/TelemetryEventsClient.d.ts +1 -1
- package/dist/esm/modules/frankie-client/index.d.ts +1 -1
- package/dist/esm/modules/frankie-client/mocks/federation/index.d.ts +1 -1
- package/dist/esm/modules/frankie-client/mocks/idvAndBiometrics/idvSubmission.d.ts +4 -4
- package/dist/esm/modules/frankie-client/mocks/individual/loadIndividual.d.ts +1 -1
- package/dist/esm/modules/frankie-client/mocks/individual/resolveDocumentData.d.ts +2 -2
- package/dist/esm/modules/frankie-client/mocks/individual/resolveIndividualData.d.ts +3 -3
- package/dist/esm/modules/frankie-client/mocks/ocr/ocrSubmission.d.ts +1 -1
- package/dist/esm/modules/frankie-client/mocks/options/simplified/idvFlow.d.ts +4 -4
- package/dist/esm/modules/frankie-client/mocks/options/simplified/ocrFlow.d.ts +4 -4
- package/dist/esm/modules/frankie-client/mocks/options/simplified/preloadedIndividual.d.ts +5 -5
- package/dist/esm/modules/frankie-client/mocks/storage/mockStorage.d.ts +1 -1
- package/dist/esm/modules/idv/actions/mount.d.ts +3 -3
- package/dist/esm/modules/idv/definition.types.d.ts +8 -8
- package/dist/esm/modules/idv/events.types.d.ts +5 -5
- package/dist/esm/modules/idv/index.d.ts.map +1 -1
- package/dist/esm/modules/idv/index.js +9 -5
- package/dist/esm/modules/idv/index.js.map +1 -1
- package/dist/esm/modules/idv/parseConfiguration.d.ts +1 -1
- package/dist/esm/modules/idv/vendors/Incode/index.d.ts +5 -5
- package/dist/esm/modules/idv/vendors/Mastercard/index.d.ts +2 -2
- package/dist/esm/modules/idv/vendors/OcrLabs/endFlow.d.ts +4 -4
- package/dist/esm/modules/idv/vendors/OcrLabs/index.d.ts +3 -3
- package/dist/esm/modules/idv/vendors/OcrLabs/startDummyFlow.d.ts +2 -2
- package/dist/esm/modules/idv/vendors/OcrLabs/startFlow.d.ts +2 -2
- package/dist/esm/modules/idv/vendors/Onfido/index.d.ts +4 -4
- package/dist/esm/modules/idv/vendors/common/checkStatusEventMapping.d.ts +3 -3
- package/dist/esm/modules/idv/vendors/common/iframeUtils/createIframe.d.ts +2 -2
- package/dist/esm/modules/idv/vendors/common/iframeUtils/createIframeEventListener.d.ts +1 -1
- package/dist/esm/modules/idv/vendors/common/iframeUtils/defineIframeIDVWrapper.d.ts +7 -7
- package/dist/esm/modules/idv/vendors/common/iframeUtils/updateIndividualModuleState.d.ts +3 -3
- package/dist/esm/modules/idv/vendors/common/initialiseSession.d.ts +4 -4
- package/dist/esm/modules/idv/vendors/common/windowUtils/createWindow.d.ts +1 -1
- package/dist/esm/modules/index.d.ts +4 -4
- package/dist/esm/modules/individual/actions/addReference.d.ts +3 -3
- package/dist/esm/modules/individual/actions/addresses.d.ts +2 -2
- package/dist/esm/modules/individual/actions/consents.d.ts +1 -1
- package/dist/esm/modules/individual/actions/documents.d.ts +2 -2
- package/dist/esm/modules/individual/actions/email.d.ts +2 -2
- package/dist/esm/modules/individual/actions/emitEvents.d.ts +3 -3
- package/dist/esm/modules/individual/actions/phoneNumber.d.ts +2 -2
- package/dist/esm/modules/individual/actions/profileType.d.ts +2 -2
- package/dist/esm/modules/individual/actions/search.d.ts +3 -3
- package/dist/esm/modules/individual/actions/submit.d.ts +5 -5
- package/dist/esm/modules/individual/definition.d.ts +8 -8
- package/dist/esm/modules/individual/events.d.ts +1 -1
- package/dist/esm/modules/meta.json +1 -1
- package/dist/esm/modules/ocr/actions/mount.d.ts +4 -4
- package/dist/esm/modules/ocr/actions/start.d.ts +7 -7
- package/dist/esm/modules/ocr/definition.d.ts +5 -5
- package/dist/esm/modules/ocr/events.d.ts +2 -2
- package/dist/esm/modules/ocr/index.d.ts +11 -11
- package/dist/esm/modules/ocr/index.d.ts.map +1 -1
- package/dist/esm/modules/ocr/index.js +6 -3
- package/dist/esm/modules/ocr/index.js.map +1 -1
- package/dist/esm/modules/ocr/vendors/Incode/index.d.ts +3 -3
- package/dist/esm/modules/ocr/vendors/Onfido/index.d.ts +2 -2
- package/dist/esm/modules/ocr/vendors/common/createSession.d.ts +4 -4
- package/dist/esm/modules/ocr/vendors/common/initProcess.d.ts +2 -2
- package/dist/esm/modules/ocr/vendors/common/mutationObserver.d.ts +2 -2
- package/dist/esm/modules/ocr/vendors/common/statusEvaluators.d.ts +5 -5
- package/dist/esm/modules/ocr/vendors/dummy-ocr/index.d.ts +3 -3
- package/dist/esm/modules/sdk/initialisation/componentLoader.d.ts +2 -2
- package/dist/esm/modules/sdk/initialisation/configurationParser.d.ts +1 -1
- package/dist/esm/modules/sdk/initialisation/sharedDependencies.d.ts +4 -4
- package/dist/esm/modules/sdk/initialisation/sharedDependencies.d.ts.map +1 -1
- package/dist/esm/modules/sdk/initialisation/sharedDependencies.js +20 -8
- package/dist/esm/modules/sdk/initialisation/sharedDependencies.js.map +1 -1
- package/dist/esm/modules/sdk/types/globalEvents.d.ts +2 -2
- package/dist/esm/modules/sdk/types/oneSDK.d.ts +5 -5
- package/dist/esm/modules/sdk/types/oneSDKParameters.d.ts +2 -2
- package/dist/esm/modules/session/SessionContext.d.ts +1 -1
- package/dist/esm/modules/session/definition.d.ts +3 -3
- package/dist/esm/modules/session/index.d.ts +5 -5
- package/dist/esm/modules/session/index.d.ts.map +1 -1
- package/dist/esm/modules/session/index.js +24 -16
- package/dist/esm/modules/session/index.js.map +1 -1
- package/dist/esm/modules/session/types/module.d.ts +1 -1
- package/dist/esm/modules/types.d.ts +13 -13
- package/dist/esm/modules/workflow/definition.types.d.ts +1 -1
- package/dist/esm/modules/workflow/index.d.ts +1 -1
- package/dist/version.txt +0 -1
- package/package.json +8 -5
- package/dist/esm/node_modules/@reduxjs/toolkit/dist/uncheckedindexed.d.ts +0 -6
- package/dist/esm/node_modules/@reduxjs/toolkit/dist/uncheckedindexed.d.ts.map +0 -1
- package/dist/umd/080b774e0f4f9c679e85.svg +0 -45
- package/dist/umd/0c9574c81d7d87e9ccd3.svg +0 -34
- package/dist/umd/0cd8e74f8a68e0b1ae14.svg +0 -3
- package/dist/umd/10183d99573bcd186235.svg +0 -5
- package/dist/umd/124.js +0 -2
- package/dist/umd/124.js.map +0 -1
- package/dist/umd/1c9c1ef03c6dd661b89b.woff +0 -0
- package/dist/umd/1df3f35eac93c61986b1.svg +0 -60
- package/dist/umd/1f76ff5e84787152adc5.svg +0 -50
- package/dist/umd/2451ce2859277292a2a3.svg +0 -4
- package/dist/umd/24c67c1821feba22f3f7.svg +0 -5
- package/dist/umd/2546128ef2e2d56276b7.svg +0 -5
- package/dist/umd/26a8e1ce5e5578874420.woff2 +0 -0
- package/dist/umd/2f32844e02839dd608a4.svg +0 -4
- package/dist/umd/329d07fd3f40d3967c81.svg +0 -4
- package/dist/umd/32cb4eea6ca1acb9f788.svg +0 -45
- package/dist/umd/3443b53b9b1a00c340f7.svg +0 -27
- package/dist/umd/34fe2370aa5e73787795.svg +0 -30
- package/dist/umd/36ddfb506829cb8cde72.svg +0 -113
- package/dist/umd/396cc7cc5e61acfa8fc8.svg +0 -15
- package/dist/umd/3a660ff8435efa515e98.svg +0 -4
- package/dist/umd/3b687e48c6bb765ed976.svg +0 -5
- package/dist/umd/3d245ccf2dde73ceca07.svg +0 -114
- package/dist/umd/42caa2dd6b4f0de68157.svg +0 -51
- package/dist/umd/463e54e898297e314139.svg +0 -81
- package/dist/umd/4ac349963383ebda508b.svg +0 -50
- package/dist/umd/4db0db393dfe2f9f90c1.svg +0 -60
- package/dist/umd/4ee01199f6f6b7e6fb24.svg +0 -195
- package/dist/umd/4ff338b86cdba19934cf.svg +0 -86
- package/dist/umd/58b74e594849c43b2248.woff2 +0 -0
- package/dist/umd/5c23763467ce9cfda119.svg +0 -41
- package/dist/umd/5ddf80d7ddb1d1c5a0bc.woff +0 -0
- package/dist/umd/6375eb14534238c06a4b.svg +0 -27
- package/dist/umd/6558f8e71743e073c18b.svg +0 -3
- package/dist/umd/67cbc8178ea76ef0d8b4.svg +0 -4
- package/dist/umd/6c874e1a72a4fa9eeed8.woff2 +0 -0
- package/dist/umd/71b71503b4f733079331.svg +0 -3
- package/dist/umd/7f6d57b96337c21c053d.woff +0 -0
- package/dist/umd/8053f51266aa9d864691.svg +0 -4
- package/dist/umd/80929602ea97f94dc18c.svg +0 -65
- package/dist/umd/8a06059b84b1aa2bf661.svg +0 -29
- package/dist/umd/8f10666ff21ef0238370.svg +0 -13
- package/dist/umd/949.js +0 -3
- package/dist/umd/949.js.LICENSE.txt +0 -60
- package/dist/umd/949.js.map +0 -1
- package/dist/umd/9d49ce231cb895b6ef29.svg +0 -50
- package/dist/umd/9dee3446081d7d47623b.svg +0 -4
- package/dist/umd/a96ec21d243a49916487.svg +0 -47
- package/dist/umd/ac457c4800183645b1ad.svg +0 -45
- package/dist/umd/af823d3a76ce1e2e36af.woff +0 -0
- package/dist/umd/aff615d38d2fce3f82b2.svg +0 -83
- package/dist/umd/bc42b55176ae1021b9e4.svg +0 -80
- package/dist/umd/biometrics-dummy.js +0 -2
- package/dist/umd/biometrics-dummy.js.map +0 -1
- package/dist/umd/biometrics-incode.js +0 -2
- package/dist/umd/biometrics-incode.js.map +0 -1
- package/dist/umd/biometrics-ocrlabs.js +0 -2
- package/dist/umd/biometrics-ocrlabs.js.map +0 -1
- package/dist/umd/biometrics-onfido.js +0 -2
- package/dist/umd/biometrics-onfido.js.map +0 -1
- package/dist/umd/c0dede047f9a2b7c1309.svg +0 -51
- package/dist/umd/c16900512bb2f899c7eb.svg +0 -5
- package/dist/umd/c7a05c7d7d1f9347ae1b.svg +0 -53
- package/dist/umd/ce5b46abe62641bddb20.svg +0 -5
- package/dist/umd/d15d58eb544d245877e2.svg +0 -16
- package/dist/umd/d216030199c873b0bf41.woff2 +0 -0
- package/dist/umd/d563d85c23bcbd268d5e.svg +0 -30
- package/dist/umd/d70a547a409868c43a95.svg +0 -43
- package/dist/umd/d9ed930ae3bb52f2abe1.svg +0 -4
- package/dist/umd/dc45d5d9fb4b8959e156.svg +0 -24
- package/dist/umd/dd199fa4125e4ebef289.svg +0 -67
- package/dist/umd/dddc2581e578cfb3b997.svg +0 -195
- package/dist/umd/device-sardine.js +0 -2
- package/dist/umd/device-sardine.js.map +0 -1
- package/dist/umd/device-threatmetrix.js +0 -2
- package/dist/umd/device-threatmetrix.js.map +0 -1
- package/dist/umd/df83da88c151bcf97231.svg +0 -45
- package/dist/umd/e7ac03e5736bea4d6346.svg +0 -53
- package/dist/umd/e84075ff43e508e4fbd5.svg +0 -5
- package/dist/umd/e85b9f93aac09995bad2.svg +0 -80
- package/dist/umd/ef3c33f0d919896ee0bf.svg +0 -25
- package/dist/umd/f22fe25046b4ca4a969a.svg +0 -65
- package/dist/umd/f4a5163b8f91c2c66892.svg +0 -4
- package/dist/umd/f670207e1feb7ec4f6d4.svg +0 -5
- package/dist/umd/f75020be237d9de68d86.svg +0 -192
- package/dist/umd/fc7c8869af28cb1b9c21.svg +0 -5
- package/dist/umd/fdb0a109281e6c12eff6.svg +0 -75
- package/dist/umd/form-formio.js +0 -2
- package/dist/umd/form-formio.js.map +0 -1
- package/dist/umd/form-legacy.js +0 -2
- package/dist/umd/form-legacy.js.map +0 -1
- package/dist/umd/form-react.js +0 -2
- package/dist/umd/form-react.js.map +0 -1
- package/dist/umd/idv-incode.js +0 -2
- package/dist/umd/idv-incode.js.map +0 -1
- package/dist/umd/idv-mastercard.js +0 -2
- package/dist/umd/idv-mastercard.js.map +0 -1
- package/dist/umd/idv-ocrlabs.js +0 -2
- package/dist/umd/idv-ocrlabs.js.map +0 -1
- package/dist/umd/idv-onfido.js +0 -2
- package/dist/umd/idv-onfido.js.map +0 -1
- package/dist/umd/ocr-dummy.js +0 -2
- package/dist/umd/ocr-dummy.js.map +0 -1
- package/dist/umd/ocr-incode.js +0 -2
- package/dist/umd/ocr-incode.js.map +0 -1
- package/dist/umd/ocr-onfido.js +0 -2
- package/dist/umd/ocr-onfido.js.map +0 -1
- package/dist/umd/oneSdk.umd.js +0 -3
- package/dist/umd/oneSdk.umd.js.LICENSE.txt +0 -8
- package/dist/umd/oneSdk.umd.js.map +0 -1
|
@@ -5,7 +5,7 @@ import { mkMountMethod } from './actions/mount.js';
|
|
|
5
5
|
import { validateConfiguration } from './parseConfiguration.js';
|
|
6
6
|
export * from './definition.types.js';
|
|
7
7
|
export default defineModule('idv', (sharedConfiguration) => {
|
|
8
|
-
const { localEventHub, globalEventHub, recipe, oneSdkInstance
|
|
8
|
+
const { localEventHub, globalEventHub, recipe, oneSdkInstance } = sharedConfiguration;
|
|
9
9
|
validateConfiguration(sharedConfiguration);
|
|
10
10
|
/** Load vendor */
|
|
11
11
|
const vendorName = recipe.idv.provider.name;
|
|
@@ -15,10 +15,14 @@ export default defineModule('idv', (sharedConfiguration) => {
|
|
|
15
15
|
vendorName,
|
|
16
16
|
sharedConfiguration,
|
|
17
17
|
vendorLoader: {
|
|
18
|
-
mastercard: () => import(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
mastercard: () => import(
|
|
19
|
+
/* webpackChunkName: 'idv-mastercard' */ './vendors/Mastercard/index.js'),
|
|
20
|
+
ocrlabs: () => import(
|
|
21
|
+
/* webpackChunkName: 'idv-ocrlabs' */ './vendors/OcrLabs/index.js'),
|
|
22
|
+
incode: () => import(
|
|
23
|
+
/* webpackChunkName: 'idv-incode' */ './vendors/Incode/index.js'),
|
|
24
|
+
onfido: () => import(
|
|
25
|
+
/* webpackChunkName: 'idv-onfido' */ './vendors/Onfido/index.js'),
|
|
22
26
|
},
|
|
23
27
|
});
|
|
24
28
|
// Event mappings for telemetry
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../modules/idv/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AAErE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAI7D,cAAc,oBAAoB,CAAC;AAEnC,eAAe,YAAY,CAAY,KAAK,EAAE,CAAC,mBAAmB,EAAE,EAAE;IACpE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../modules/idv/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AAErE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAI7D,cAAc,oBAAoB,CAAC;AAEnC,eAAe,YAAY,CAAY,KAAK,EAAE,CAAC,mBAAmB,EAAE,EAAE;IACpE,MAAM,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,EAAE,cAAc,EAAE,GAC7D,mBAAmB,CAAC;IACtB,qBAAqB,CAAC,mBAAmB,CAAC,CAAC;IAE3C,kBAAkB;IAClB,MAAM,UAAU,GAAG,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC;IAC5C,MAAM,iBAAiB,GAAG,cAAc,CAAC;QACvC,+EAA+E;QAC/E,0DAA0D;QAC1D,UAAU;QACV,mBAAmB;QACnB,YAAY,EAAE;YACZ,UAAU,EAAE,GAAG,EAA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C,cAAc,CAAC,IAAI,CAAC,WAAW,EAAE;QAC/B,SAAS,EAAE,uBAAuB;KACnC,CAAC,CACH,CAAC;IACF,aAAa,CAAC,EAAE,CAAC,kBAAkB,EAAE,CAAC,CAAC,EAAE,EAAE,CACzC,cAAc,CAAC,IAAI,CAAC,WAAW,EAAE;QAC/B,SAAS,EAAE,sBAAsB;QACjC,IAAI,EAAE;YACJ,YAAY,EAAE,CAAC,CAAC,OAAO;SACxB;KACF,CAAC,CACH,CAAC;IAEF,MAAM,QAAQ,GAAG,SAAS,CAAC;IAC3B,sEAAsE;IACtE,MAAM,MAAM,GAAG,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;IAC5B,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,MAAM,UAAU,GAAG,cAAc,CAAC,UAAU,EAAE,CAAC;QAC/C,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE;YAAE,OAAO,KAAK,CAAC;QAC5C,MAAM,SAAS,GAAG,UAAU,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,QAAQ,EAAE,CAAC;QAC5D,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,aAAa,CAAC,CAAC;IAC3D,CAAC,CAAC;IACF,MAAM,KAAK,GAAG,aAAa,iCACtB,mBAAmB,KACtB,QAAQ,EAAE,aAAa,EACvB,YAAY,EAAE,iBAAiB,IAC/B,CAAC;IAEH,OAAO;QACL,MAAM;QACN,WAAW;QACX,KAAK;QACL,QAAQ;KACT,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InjectedState } from "
|
|
1
|
+
import { InjectedState } from "../common/types";
|
|
2
2
|
export declare function validateConfiguration(options: InjectedState): void;
|
|
3
3
|
/**
|
|
4
4
|
* TODO: figure out a way for wrappers to get a fully type safe recipe configuration with the function defineWrapper
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { OneSDKError } from '
|
|
1
|
+
import { OneSDKError } from '../../../common';
|
|
2
2
|
export declare const initialise: import("../../../common/types").WrapperInitialiseFunction<{
|
|
3
|
-
eventHub: import("
|
|
3
|
+
eventHub: import("../../../common").EventHub<import("../../../biometrics").Events>;
|
|
4
4
|
mountElement: HTMLElement;
|
|
5
5
|
}, void, "async", {
|
|
6
|
-
localEventHub: import("
|
|
6
|
+
localEventHub: import("../../../common").EventHub<import("../../../../types").TreeShaken<Omit<import("../../../ocr").Events & import("../../../biometrics").Events, "error" | "session_data_failed_loading" | "input_required" | "detection_failed"> & {
|
|
7
7
|
session_data_failed_loading: [];
|
|
8
8
|
detection_failed: [{
|
|
9
9
|
message: string;
|
|
@@ -11,9 +11,9 @@ export declare const initialise: import("../../../common/types").WrapperInitiali
|
|
|
11
11
|
}];
|
|
12
12
|
input_required: [info: {
|
|
13
13
|
entityId: string;
|
|
14
|
-
}, status: import("
|
|
14
|
+
}, status: import("../../../../modules").IDVStatus];
|
|
15
15
|
error: [OneSDKError<{
|
|
16
|
-
errorStatus: import("
|
|
16
|
+
errorStatus: import("../../../../modules").IDVStatus;
|
|
17
17
|
}>];
|
|
18
18
|
}>>;
|
|
19
19
|
recipe: {
|
|
@@ -11,9 +11,9 @@ export declare const initialise: import("../../../common/types").WrapperInitiali
|
|
|
11
11
|
}];
|
|
12
12
|
input_required: [info: {
|
|
13
13
|
entityId: string;
|
|
14
|
-
}, status: import("
|
|
14
|
+
}, status: import("../../../../modules").IDVStatus];
|
|
15
15
|
error: [OneSDKError<{
|
|
16
|
-
errorStatus: import("
|
|
16
|
+
errorStatus: import("../../../../modules").IDVStatus;
|
|
17
17
|
}>];
|
|
18
18
|
}>>;
|
|
19
19
|
recipe: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { OneSdkContext } from '
|
|
2
|
-
import type { EventHub } from '
|
|
3
|
-
import type { FrankieApiClient } from '
|
|
4
|
-
import type { IDVModule } from '
|
|
1
|
+
import type { OneSdkContext } from '../../../index.js';
|
|
2
|
+
import type { EventHub } from '../../../common';
|
|
3
|
+
import type { FrankieApiClient } from '../../../frankie-client';
|
|
4
|
+
import type { IDVModule } from '../../definition.types';
|
|
5
5
|
export declare function onError(globalState: {
|
|
6
6
|
localEventHub: EventHub<IDVModule['moduleEvents']>;
|
|
7
7
|
frankieClient: FrankieApiClient;
|
|
@@ -10,9 +10,9 @@ export declare const initialise: import("../../../common/types").WrapperInitiali
|
|
|
10
10
|
}];
|
|
11
11
|
input_required: [info: {
|
|
12
12
|
entityId: string;
|
|
13
|
-
}, status: import("
|
|
13
|
+
}, status: import("../../../../modules").IDVStatus];
|
|
14
14
|
error: [import("../../../common").OneSDKError<{
|
|
15
|
-
errorStatus: import("
|
|
15
|
+
errorStatus: import("../../../../modules").IDVStatus;
|
|
16
16
|
}>];
|
|
17
17
|
}>>;
|
|
18
18
|
recipe: {
|
|
@@ -22,7 +22,7 @@ export declare const initialise: import("../../../common/types").WrapperInitiali
|
|
|
22
22
|
type: import("../../../common/shared/models/SupportingDocument").DocumentType;
|
|
23
23
|
countries?: string[];
|
|
24
24
|
}[];
|
|
25
|
-
provider: import("
|
|
25
|
+
provider: import("../../definition.types").IdvProvider;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
}> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WrapperParameters } from '
|
|
2
|
-
import type { IDVModule } from '
|
|
1
|
+
import type { WrapperParameters } from '../../../common/modules/defineModule';
|
|
2
|
+
import type { IDVModule } from '../../definition.types';
|
|
3
3
|
export declare function startDummyFlow(...args: WrapperParameters<IDVModule>): void;
|
|
4
4
|
//# sourceMappingURL=startDummyFlow.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WrapperParameters } from '
|
|
2
|
-
import { IDVModule } from '
|
|
1
|
+
import { WrapperParameters } from '../../../common/modules/defineModule';
|
|
2
|
+
import { IDVModule } from '../../definition.types';
|
|
3
3
|
export declare function startNewFlow(...args: WrapperParameters<IDVModule>): Promise<void>;
|
|
4
4
|
//# sourceMappingURL=startFlow.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const initialise: import("
|
|
1
|
+
export declare const initialise: import("../../../common/types").WrapperInitialiseFunction<{
|
|
2
2
|
eventHub: import("../../../common").EventHub<import("../../../biometrics").Events>;
|
|
3
3
|
mountElement: HTMLElement;
|
|
4
4
|
}, void, "async", {
|
|
@@ -10,9 +10,9 @@ export declare const initialise: import("@module/common/types").WrapperInitialis
|
|
|
10
10
|
}];
|
|
11
11
|
input_required: [info: {
|
|
12
12
|
entityId: string;
|
|
13
|
-
}, status: import("
|
|
13
|
+
}, status: import("../../../../modules").IDVStatus];
|
|
14
14
|
error: [import("../../../common").OneSDKError<{
|
|
15
|
-
errorStatus: import("
|
|
15
|
+
errorStatus: import("../../../../modules").IDVStatus;
|
|
16
16
|
}>];
|
|
17
17
|
}>>;
|
|
18
18
|
recipe: {
|
|
@@ -22,7 +22,7 @@ export declare const initialise: import("@module/common/types").WrapperInitialis
|
|
|
22
22
|
type: import("../../../common/shared/models/SupportingDocument").DocumentType;
|
|
23
23
|
countries?: string[];
|
|
24
24
|
}[];
|
|
25
|
-
provider: import("
|
|
25
|
+
provider: import("../..").IdvProvider;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
}> & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { EventHub } from '
|
|
2
|
-
import { IDVStatus } from '
|
|
3
|
-
import type { IDVModule } from '
|
|
1
|
+
import type { EventHub } from '../../../common';
|
|
2
|
+
import { IDVStatus } from '../../../frankie-client/clients/IDVClient';
|
|
3
|
+
import type { IDVModule } from '../../definition.types';
|
|
4
4
|
import type { Document } from '../../../common/shared/models/Document';
|
|
5
5
|
/** Interpret results from initProcess endpoint and emit appropriate events */
|
|
6
6
|
export declare function checkStatusEventMapping(options: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { EventListener } from '
|
|
2
|
-
import type { InjectedState } from '
|
|
1
|
+
import type { EventListener } from '../../../../common';
|
|
2
|
+
import type { InjectedState } from '../../../../common/types';
|
|
3
3
|
import type { DummyHTMLOptions } from './createDummyIframeTemplate';
|
|
4
4
|
import type { IframeMessagingOptions } from './createIframeEventListener';
|
|
5
5
|
import type { OneSDKError } from '../../../../common';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EventHub, EventListener } from '
|
|
1
|
+
import type { EventHub, EventListener } from '../../../../common';
|
|
2
2
|
import type { IFrameEvents } from './createIframe';
|
|
3
3
|
/**
|
|
4
4
|
* Create a new eventListener that will listen for messages from the provided iframe and callback
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OneSDKError } from '
|
|
2
|
-
import type { IDVModule } from '
|
|
1
|
+
import { OneSDKError } from '../../../../common';
|
|
2
|
+
import type { IDVModule } from '../../../definition.types';
|
|
3
3
|
import type { DummyHTMLOptions } from './createDummyIframeTemplate';
|
|
4
4
|
import type { IframeMessagingOptions } from './createIframeEventListener';
|
|
5
5
|
/**
|
|
@@ -7,10 +7,10 @@ import type { IframeMessagingOptions } from './createIframeEventListener';
|
|
|
7
7
|
* @emits AxiosError when HTTP requests fail
|
|
8
8
|
*/
|
|
9
9
|
export declare const defineIframeIDVWrapper: (wrapperOptions: Options) => import("../../../../common/types").WrapperInitialiseFunction<{
|
|
10
|
-
eventHub: import("
|
|
10
|
+
eventHub: import("../../../../common").EventHub<import("../../../../biometrics").Events>;
|
|
11
11
|
mountElement: HTMLElement;
|
|
12
12
|
}, void, "async", {
|
|
13
|
-
localEventHub: import("
|
|
13
|
+
localEventHub: import("../../../../common").EventHub<import("../../../../../types").TreeShaken<Omit<import("../../../../ocr").Events & import("../../../../biometrics").Events, "error" | "session_data_failed_loading" | "input_required" | "detection_failed"> & {
|
|
14
14
|
session_data_failed_loading: [];
|
|
15
15
|
detection_failed: [{
|
|
16
16
|
message: string;
|
|
@@ -18,9 +18,9 @@ export declare const defineIframeIDVWrapper: (wrapperOptions: Options) => import
|
|
|
18
18
|
}];
|
|
19
19
|
input_required: [info: {
|
|
20
20
|
entityId: string;
|
|
21
|
-
}, status: import("
|
|
21
|
+
}, status: import("../../../../../modules").IDVStatus];
|
|
22
22
|
error: [OneSDKError<{
|
|
23
|
-
errorStatus: import("
|
|
23
|
+
errorStatus: import("../../../../../modules").IDVStatus;
|
|
24
24
|
}>];
|
|
25
25
|
}>>;
|
|
26
26
|
recipe: {
|
|
@@ -30,7 +30,7 @@ export declare const defineIframeIDVWrapper: (wrapperOptions: Options) => import
|
|
|
30
30
|
type: import("../../../../common/shared/models/SupportingDocument").DocumentType;
|
|
31
31
|
countries?: string[];
|
|
32
32
|
}[];
|
|
33
|
-
provider: import("
|
|
33
|
+
provider: import("../../../definition.types").IdvProvider;
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
}> & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { EventHub } from '
|
|
2
|
-
import type { Events } from '
|
|
3
|
-
import type { OneSdkContext } from '
|
|
1
|
+
import type { EventHub } from '../../../../common';
|
|
2
|
+
import type { Events } from '../../../../device';
|
|
3
|
+
import type { OneSdkContext } from '../../../../index';
|
|
4
4
|
/**
|
|
5
5
|
* This function will simply update the local state of the individual module by calling the search method.
|
|
6
6
|
* @param sharedDependencies options object with all the required dependencies
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FrankieApiClient } from '
|
|
2
|
-
import { IDVClient } from '
|
|
3
|
-
import { IDVEventHub } from '
|
|
4
|
-
import { Dictionary } from '
|
|
1
|
+
import { FrankieApiClient } from '../../../frankie-client';
|
|
2
|
+
import { IDVClient } from '../../../frankie-client/clients/IDVClient';
|
|
3
|
+
import { IDVEventHub } from '../../definition.types';
|
|
4
|
+
import { Dictionary } from '../../../../types/index.js';
|
|
5
5
|
/**
|
|
6
6
|
* Helper that initialises a session with the IDV api
|
|
7
7
|
* @param options Options object
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as utils from '
|
|
2
|
-
import { FrankieApiClient } from '
|
|
3
|
-
import { SdkModes } from '
|
|
1
|
+
import * as utils from './common';
|
|
2
|
+
import { FrankieApiClient } from './frankie-client';
|
|
3
|
+
import { SdkModes } from './sdk/types';
|
|
4
4
|
export * from './exports';
|
|
5
5
|
export * from './types';
|
|
6
6
|
export { OneSDK };
|
|
@@ -18,7 +18,7 @@ export { OneSDK };
|
|
|
18
18
|
* @param {OneSdkRootParameters} options
|
|
19
19
|
* @returns {Promise<OneSdkContext>} Promise of an Instance of OneSDK
|
|
20
20
|
*/
|
|
21
|
-
declare const OneSDK: ((p: import("
|
|
21
|
+
declare const OneSDK: ((p: import("./sdk/types").OneSdkRootParameters) => Promise<import("./sdk/types").OneSdkContext>) & {
|
|
22
22
|
FrankieApiClient: typeof FrankieApiClient;
|
|
23
23
|
utils: typeof utils;
|
|
24
24
|
modes: typeof SdkModes;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { EventHub } from '
|
|
2
|
-
import type { Applicant } from '
|
|
3
|
-
import type { Accessors } from '
|
|
1
|
+
import type { EventHub } from '../../common';
|
|
2
|
+
import type { Applicant } from '../../common/shared/models/Applicant';
|
|
3
|
+
import type { Accessors } from '../../types';
|
|
4
4
|
import type { IndividualModule } from '../definition';
|
|
5
5
|
type AddReference = IndividualModule['moduleContext']['addReference'];
|
|
6
6
|
type MkAddReferenceOptions = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Accessors } from '
|
|
2
|
-
import type { Address } from '
|
|
1
|
+
import type { Accessors } from '../../common';
|
|
2
|
+
import type { Address } from '../../common/shared/models/Address';
|
|
3
3
|
import type { IndividualModule } from '../definition';
|
|
4
4
|
type IndividualModuleContext = IndividualModule['moduleContext'];
|
|
5
5
|
type MkAddDocumentOptions = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Accessors } from '
|
|
2
|
-
import type { Document } from '
|
|
1
|
+
import type { Accessors } from '../../common';
|
|
2
|
+
import type { Document } from '../../common/shared/models/Document';
|
|
3
3
|
import type { IndividualModule } from '../definition';
|
|
4
4
|
type IndividualModuleContext = IndividualModule['moduleContext'];
|
|
5
5
|
type MkAddDocumentOptions = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Applicant } from '
|
|
2
|
-
import type { Accessors } from '
|
|
1
|
+
import type { Applicant } from '../../common/shared/models/Applicant';
|
|
2
|
+
import type { Accessors } from '../../types';
|
|
3
3
|
import type { IndividualModule } from '../definition';
|
|
4
4
|
type SetEmail = IndividualModule['moduleContext']['setEmail'];
|
|
5
5
|
type GetEmail = IndividualModule['moduleContext']['getEmail'];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Accessors, EventHub, ReadonlyAccessors } from "
|
|
1
|
+
import { Accessors, EventHub, ReadonlyAccessors } from "../../common";
|
|
2
2
|
import { Events } from "..";
|
|
3
|
-
import { Applicant } from "
|
|
4
|
-
import { Document } from "
|
|
3
|
+
import { Applicant } from "../../common/shared/models/Applicant";
|
|
4
|
+
import { Document } from "../../common/shared/models/Document";
|
|
5
5
|
type SubscribeAndEmitEventsDeps = {
|
|
6
6
|
emitDataUpdatedFor: ReadonlyAccessors<unknown>[];
|
|
7
7
|
eventHub: EventHub<Events>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Applicant } from '
|
|
2
|
-
import type { Accessors } from '
|
|
1
|
+
import type { Applicant } from '../../common/shared/models/Applicant';
|
|
2
|
+
import type { Accessors } from '../../types';
|
|
3
3
|
import type { IndividualModule } from '../definition';
|
|
4
4
|
type SetPhoneNumber = IndividualModule['moduleContext']['setPhoneNumber'];
|
|
5
5
|
type GetPhoneNumber = IndividualModule['moduleContext']['getPhoneNumber'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Applicant } from '
|
|
2
|
-
import type { Accessors } from '
|
|
1
|
+
import type { Applicant } from '../../common/shared/models/Applicant';
|
|
2
|
+
import type { Accessors } from '../../types';
|
|
3
3
|
import type { IndividualModule } from '../definition';
|
|
4
4
|
type SetProfileType = IndividualModule['moduleContext']['setProfileType'];
|
|
5
5
|
type GetProfileType = IndividualModule['moduleContext']['getProfileType'];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { EventHub, ReactiveStore } from '
|
|
2
|
-
import type { ApplicantClient } from '
|
|
3
|
-
import type { Events, InternalState } from '
|
|
1
|
+
import type { EventHub, ReactiveStore } from '../../common';
|
|
2
|
+
import type { ApplicantClient } from '../../frankie-client/clients/ApplicantClient';
|
|
3
|
+
import type { Events, InternalState } from './..';
|
|
4
4
|
type MkSearchDeps = {
|
|
5
5
|
client: ApplicantClient;
|
|
6
6
|
eventHub: EventHub<Events>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { EventHub } from '
|
|
2
|
-
import { ReactiveStore } from '
|
|
3
|
-
import type { CheckSummary } from '
|
|
4
|
-
import type { ApplicantClient } from '
|
|
5
|
-
import type { GlobalEvents } from '
|
|
1
|
+
import type { EventHub } from '../../common';
|
|
2
|
+
import { ReactiveStore } from '../../common';
|
|
3
|
+
import type { CheckSummary } from '../../common/shared/models/CheckSummary';
|
|
4
|
+
import type { ApplicantClient } from '../../frankie-client/clients/ApplicantClient';
|
|
5
|
+
import type { GlobalEvents } from '../../sdk/types';
|
|
6
6
|
import type { InternalState } from '../definition';
|
|
7
7
|
import type { Events } from '../events';
|
|
8
8
|
type Dependencies = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { AccessFunction, AccessorsDictionary } from '
|
|
2
|
-
import type { Address } from '
|
|
3
|
-
import type { Applicant } from '
|
|
4
|
-
import type { CheckSummary } from '
|
|
5
|
-
import type { DeviceCheckDetails } from '
|
|
6
|
-
import type { Document } from '
|
|
7
|
-
import type { ProfileTypeEnumerated } from '
|
|
8
|
-
import type { ModuleDefinition } from '
|
|
1
|
+
import type { AccessFunction, AccessorsDictionary } from '../common';
|
|
2
|
+
import type { Address } from '../common/shared/models/Address';
|
|
3
|
+
import type { Applicant } from '../common/shared/models/Applicant';
|
|
4
|
+
import type { CheckSummary } from '../common/shared/models/CheckSummary';
|
|
5
|
+
import type { DeviceCheckDetails } from '../common/shared/models/DeviceCheck';
|
|
6
|
+
import type { Document } from '../common/shared/models/Document';
|
|
7
|
+
import type { ProfileTypeEnumerated } from '../common/shared/models/Profile';
|
|
8
|
+
import type { ModuleDefinition } from '../common/types';
|
|
9
9
|
import type { Events } from './events';
|
|
10
10
|
export type IndividualModule = ModuleDefinition<{
|
|
11
11
|
module: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "version": "1.7.
|
|
1
|
+
{ "version": "1.7.3-rc.1" }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { ModuleVendorLoader } from '
|
|
2
|
-
import type { OCRModule } from '
|
|
3
|
-
import type { Dependencies as StartDependencies } from '
|
|
4
|
-
import type { OneSdkContext } from '
|
|
1
|
+
import type { ModuleVendorLoader } from '../../common';
|
|
2
|
+
import type { OCRModule } from './..';
|
|
3
|
+
import type { Dependencies as StartDependencies } from './start';
|
|
4
|
+
import type { OneSdkContext } from '../../types';
|
|
5
5
|
type Dependencies = StartDependencies & {
|
|
6
6
|
vendorLoader: ModuleVendorLoader<OCRModule>;
|
|
7
7
|
recipe: OCRModule['recipeConfiguration'];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { Accessors, EventHub, ReadonlyAccessors } from '
|
|
2
|
-
import { Document } from '
|
|
3
|
-
import type { CompleteStatus, FailedStatus, InputRequiredStatus, OCRClient, OCRResults } from '
|
|
4
|
-
import { OCRStatus } from '
|
|
5
|
-
import type { IndividualModule } from '
|
|
6
|
-
import type { OCRRecipeOptions } from '
|
|
7
|
-
import type { GlobalEvents } from '
|
|
1
|
+
import type { Accessors, EventHub, ReadonlyAccessors } from '../../common';
|
|
2
|
+
import { Document } from '../../common/shared/models/Document';
|
|
3
|
+
import type { CompleteStatus, FailedStatus, InputRequiredStatus, OCRClient, OCRResults } from '../../frankie-client/clients/OCRClient';
|
|
4
|
+
import { OCRStatus } from '../../frankie-client/clients/OCRClient';
|
|
5
|
+
import type { IndividualModule } from '../../individual';
|
|
6
|
+
import type { OCRRecipeOptions } from './..';
|
|
7
|
+
import type { GlobalEvents } from '../../sdk/types';
|
|
8
8
|
import type { Events } from '../events';
|
|
9
9
|
export type Dependencies = {
|
|
10
10
|
_expectedSide$: ReadonlyAccessors<'front' | 'back'>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { AccessFunction, AccessorsDictionary, EventHub } from '
|
|
2
|
-
import type { DocumentType } from '
|
|
3
|
-
import type { ModuleDefinition } from '
|
|
4
|
-
import type { OnfidoCustomUIProps } from '
|
|
5
|
-
import type { OCRStatus } from '
|
|
1
|
+
import type { AccessFunction, AccessorsDictionary, EventHub } from '../common';
|
|
2
|
+
import type { DocumentType } from '../common/shared/models/SupportingDocument';
|
|
3
|
+
import type { ModuleDefinition } from '../common/types';
|
|
4
|
+
import type { OnfidoCustomUIProps } from '../common/vendors/onfido/onfido.types';
|
|
5
|
+
import type { OCRStatus } from '../frankie-client/clients/OCRClient';
|
|
6
6
|
import type { Events } from './events';
|
|
7
7
|
import type { PartialDeep } from 'type-fest';
|
|
8
8
|
export type OCRModule = ModuleDefinition<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Document } from '
|
|
2
|
-
import type { OCRStatus } from '
|
|
1
|
+
import type { Document } from '../common/shared/models/Document';
|
|
2
|
+
import type { OCRStatus } from '../frankie-client/clients/OCRClient';
|
|
3
3
|
export type Events = {
|
|
4
4
|
session_data_generated: [{
|
|
5
5
|
session: unknown;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ReactiveStore } from '
|
|
2
|
-
import type { Document } from '
|
|
3
|
-
import type { FailedStatus, InputRequiredStatus } from '
|
|
4
|
-
import { OCRStatus } from '
|
|
5
|
-
import type { Events } from '
|
|
1
|
+
import { ReactiveStore } from '../common';
|
|
2
|
+
import type { Document } from '../common/shared/models/Document';
|
|
3
|
+
import type { FailedStatus, InputRequiredStatus } from '../frankie-client/clients/OCRClient';
|
|
4
|
+
import { OCRStatus } from '../frankie-client/clients/OCRClient';
|
|
5
|
+
import type { Events } from './events';
|
|
6
6
|
import type { OCRModule } from './definition';
|
|
7
7
|
export * from './definition';
|
|
8
8
|
export type { Events };
|
|
@@ -18,11 +18,11 @@ type State = {
|
|
|
18
18
|
};
|
|
19
19
|
export declare function createOCRInternalState(initialState: State): {
|
|
20
20
|
state$: ReactiveStore<State>;
|
|
21
|
-
status$: import("
|
|
22
|
-
failedStatus$: import("
|
|
23
|
-
document$: import("
|
|
24
|
-
files$: import("
|
|
25
|
-
isPreloaded$: import("
|
|
26
|
-
_expectedSide$: import("
|
|
21
|
+
status$: import("../common").Accessors<OCRStatus.COMPLETE | InputRequiredStatus, OCRStatus.COMPLETE | InputRequiredStatus>;
|
|
22
|
+
failedStatus$: import("../common").Accessors<FailedStatus, FailedStatus>;
|
|
23
|
+
document$: import("../common").Accessors<Document, Document>;
|
|
24
|
+
files$: import("../common").Accessors<File[], File[]>;
|
|
25
|
+
isPreloaded$: import("../common").Accessors<boolean, boolean>;
|
|
26
|
+
_expectedSide$: import("../common").ReadonlyAccessors<"front" | "back">;
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/ocr/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAkB,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,KAAK,EACV,YAAY,EACZ,mBAAmB,EACpB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAGL,SAAS,EACV,MAAM,0CAA0C,CAAC;AAElD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAMjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,cAAc,cAAc,CAAC;AAC7B,YAAY,EAAE,MAAM,EAAE,CAAC;AACvB,OAAO,EAAE,SAAS,IAAI,MAAM,EAAE,CAAC;;AAE/B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/ocr/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAkB,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,KAAK,EACV,YAAY,EACZ,mBAAmB,EACpB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAGL,SAAS,EACV,MAAM,0CAA0C,CAAC;AAElD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAMjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,cAAc,cAAc,CAAC;AAC7B,YAAY,EAAE,MAAM,EAAE,CAAC;AACvB,OAAO,EAAE,SAAS,IAAI,MAAM,EAAE,CAAC;;AAE/B,wBAwHG;AAEH,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,mBAAmB,GAAG,SAAS,CAAC,QAAQ,CAAC;IACjD,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,YAAY,EAAE,KAAK;;;;;;;;EA4BzD"}
|
|
@@ -44,9 +44,12 @@ export default defineModule('ocr', (globalState, options = {}) => {
|
|
|
44
44
|
: ocr.provider.name,
|
|
45
45
|
sharedConfiguration: globalState,
|
|
46
46
|
vendorLoader: {
|
|
47
|
-
'dummy-ocr': () => import(
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
'dummy-ocr': () => import(
|
|
48
|
+
/* webpackChunkName: 'ocr-dummy' */ './vendors/dummy-ocr/index.js'),
|
|
49
|
+
incode: () => import(
|
|
50
|
+
/* webpackChunkName: 'ocr-incode' */ './vendors/Incode/index.js'),
|
|
51
|
+
onfido: () => import(
|
|
52
|
+
/* webpackChunkName: 'ocr-onfido' */ './vendors/Onfido/index.js'),
|
|
50
53
|
ocrlabs: null,
|
|
51
54
|
},
|
|
52
55
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../modules/ocr/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,cAAc,CAAC;AAEjC,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAMnE,OAAO,EACL,qBAAqB,EACrB,SAAS,EACT,SAAS,GACV,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE1D,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAKhD,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,SAAS,IAAI,MAAM,EAAE,CAAC;AAE/B,eAAe,YAAY,CAAY,KAAK,EAAE,CAAC,WAAW,EAAE,OAAO,GAAG,EAAE,EAAE,EAAE;;IAC1E,MAAM,EACJ,aAAa,EACb,cAAc,EACd,cAAc,EACd,aAAa,EACb,MAAM,EAAE,EAAE,GAAG,EAAE,GAChB,GAAG,WAAW,CAAC;IAEhB,SAAS,kBAAkB,CACzB,QAAoB,EACpB,SAAyB;QAEzB,IAAI,SAAS,IAAI,SAAS,CAAC,SAAS,EAAE,CAAC;YACrC,QAAQ,CAAC,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;QAC3C,CAAC;IACH,CAAC;IA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,EAAE,CAAC,MAAM,EAAE,EAAE;YACtB,IAAI,qBAAqB,CAAC,MAAM,CAAC,EAAE,CAAC;gBAClC,OAAO,MAAM,KAAK,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC;YAC/D,CAAC;iBAAM,CAAC;gBACN,OAAO,IAAI,CAAC;YACd,CAAC;QACH,CAAC;QACD,YAAY,EAAE,cAAc;KAC7B,CAAC,CAAC;IACH,OAAO;QACL,MAAM;QACN,OAAO;QACP,aAAa;QACb,SAAS;QACT,MAAM;QACN,YAAY;QACZ,cAAc;KACf,CAAC;AACJ,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const initialise: import("../../../common/types").WrapperInitialiseFunction<{
|
|
2
|
-
eventHub: import("
|
|
2
|
+
eventHub: import("../../../common").EventHub<import("../..").Events>;
|
|
3
3
|
mountElement: HTMLElement;
|
|
4
4
|
}, void, "sync", {
|
|
5
|
-
localEventHub: import("
|
|
5
|
+
localEventHub: import("../../../common").EventHub<import("../..").Events>;
|
|
6
6
|
recipe: {
|
|
7
|
-
ocr: import("
|
|
7
|
+
ocr: import("../..").OCRRecipeOptions;
|
|
8
8
|
};
|
|
9
9
|
}> & {
|
|
10
10
|
vendorName: "incode" | "onfido" | "dummy-ocr";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { EventHub } from '
|
|
2
|
-
import type { Events, OCRRecipeOptions } from '
|
|
1
|
+
import type { EventHub } from '../../../common';
|
|
2
|
+
import type { Events, OCRRecipeOptions } from '../..';
|
|
3
3
|
export declare const initialise: import("../../../common/types").WrapperInitialiseFunction<{
|
|
4
4
|
eventHub: EventHub<Events>;
|
|
5
5
|
mountElement: HTMLElement;
|