@bytexbyte/berifyme-react-native-sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +79 -0
- package/lib/commonjs/BerifymeModal/MainModal.js +83 -0
- package/lib/commonjs/BerifymeModal/MainModal.js.map +1 -0
- package/lib/commonjs/BerifymeModal/index.js +357 -0
- package/lib/commonjs/BerifymeModal/index.js.map +1 -0
- package/lib/commonjs/api/api.js +726 -0
- package/lib/commonjs/api/api.js.map +1 -0
- package/lib/commonjs/components/AllSet.js +186 -0
- package/lib/commonjs/components/AllSet.js.map +1 -0
- package/lib/commonjs/components/AuthenticationLogs.js +75 -0
- package/lib/commonjs/components/AuthenticationLogs.js.map +1 -0
- package/lib/commonjs/components/AuthidLogin.js +68 -0
- package/lib/commonjs/components/AuthidLogin.js.map +1 -0
- package/lib/commonjs/components/AuthidOnboarding.js +66 -0
- package/lib/commonjs/components/AuthidOnboarding.js.map +1 -0
- package/lib/commonjs/components/ClearLogin.js +70 -0
- package/lib/commonjs/components/ClearLogin.js.map +1 -0
- package/lib/commonjs/components/ClearOnboarding.js +83 -0
- package/lib/commonjs/components/ClearOnboarding.js.map +1 -0
- package/lib/commonjs/components/Footer.js +40 -0
- package/lib/commonjs/components/Footer.js.map +1 -0
- package/lib/commonjs/components/IncodeOnBoarding.js +53 -0
- package/lib/commonjs/components/IncodeOnBoarding.js.map +1 -0
- package/lib/commonjs/components/IncodeProvider.js +161 -0
- package/lib/commonjs/components/IncodeProvider.js.map +1 -0
- package/lib/commonjs/components/Onboarding/Authid/AuthIdSelectType.js +133 -0
- package/lib/commonjs/components/Onboarding/Authid/AuthIdSelectType.js.map +1 -0
- package/lib/commonjs/components/Onboarding/Authid/idOrPassport.js +139 -0
- package/lib/commonjs/components/Onboarding/Authid/idOrPassport.js.map +1 -0
- package/lib/commonjs/components/Onboarding/Vender.js +264 -0
- package/lib/commonjs/components/Onboarding/Vender.js.map +1 -0
- package/lib/commonjs/components/SendSNS/index.js +385 -0
- package/lib/commonjs/components/SendSNS/index.js.map +1 -0
- package/lib/commonjs/components/SumsubLogin.js +58 -0
- package/lib/commonjs/components/SumsubLogin.js.map +1 -0
- package/lib/commonjs/components/SumsubOnboarding.js +58 -0
- package/lib/commonjs/components/SumsubOnboarding.js.map +1 -0
- package/lib/commonjs/components/TryAgainInModal.js +67 -0
- package/lib/commonjs/components/TryAgainInModal.js.map +1 -0
- package/lib/commonjs/components/VeriffLogin.js +68 -0
- package/lib/commonjs/components/VeriffLogin.js.map +1 -0
- package/lib/commonjs/components/VeriffOnboarding.js +68 -0
- package/lib/commonjs/components/VeriffOnboarding.js.map +1 -0
- package/lib/commonjs/components/VerifiedExternalPhoneNumber/index.js +306 -0
- package/lib/commonjs/components/VerifiedExternalPhoneNumber/index.js.map +1 -0
- package/lib/commonjs/components/VerifyWithPhoneNumber/NewUser.js +274 -0
- package/lib/commonjs/components/VerifyWithPhoneNumber/NewUser.js.map +1 -0
- package/lib/commonjs/components/VerifyWithPhoneNumber/User.js +366 -0
- package/lib/commonjs/components/VerifyWithPhoneNumber/User.js.map +1 -0
- package/lib/commonjs/components/VerifyWithPhoneNumber/biometrics.js +73 -0
- package/lib/commonjs/components/VerifyWithPhoneNumber/biometrics.js.map +1 -0
- package/lib/commonjs/components/YotiLogin.js +63 -0
- package/lib/commonjs/components/YotiLogin.js.map +1 -0
- package/lib/commonjs/components/YotiOnboarding.js +68 -0
- package/lib/commonjs/components/YotiOnboarding.js.map +1 -0
- package/lib/commonjs/components/biometrics/EnableBiometricsTypes.js +16 -0
- package/lib/commonjs/components/biometrics/EnableBiometricsTypes.js.map +1 -0
- package/lib/commonjs/components/biometrics/index.js +241 -0
- package/lib/commonjs/components/biometrics/index.js.map +1 -0
- package/lib/commonjs/components/incodeLogin.js +53 -0
- package/lib/commonjs/components/incodeLogin.js.map +1 -0
- package/lib/commonjs/enum/index.js +38 -0
- package/lib/commonjs/enum/index.js.map +1 -0
- package/lib/commonjs/environmentDomains.js +18 -0
- package/lib/commonjs/environmentDomains.js.map +1 -0
- package/lib/commonjs/index.js +14 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/phoneNumberProcessor.js +84 -0
- package/lib/commonjs/phoneNumberProcessor.js.map +1 -0
- package/lib/module/BerifymeModal/MainModal.js +78 -0
- package/lib/module/BerifymeModal/MainModal.js.map +1 -0
- package/lib/module/BerifymeModal/index.js +349 -0
- package/lib/module/BerifymeModal/index.js.map +1 -0
- package/lib/module/api/api.js +720 -0
- package/lib/module/api/api.js.map +1 -0
- package/lib/module/components/AllSet.js +179 -0
- package/lib/module/components/AllSet.js.map +1 -0
- package/lib/module/components/AuthenticationLogs.js +68 -0
- package/lib/module/components/AuthenticationLogs.js.map +1 -0
- package/lib/module/components/AuthidLogin.js +63 -0
- package/lib/module/components/AuthidLogin.js.map +1 -0
- package/lib/module/components/AuthidOnboarding.js +61 -0
- package/lib/module/components/AuthidOnboarding.js.map +1 -0
- package/lib/module/components/ClearLogin.js +65 -0
- package/lib/module/components/ClearLogin.js.map +1 -0
- package/lib/module/components/ClearOnboarding.js +78 -0
- package/lib/module/components/ClearOnboarding.js.map +1 -0
- package/lib/module/components/Footer.js +35 -0
- package/lib/module/components/Footer.js.map +1 -0
- package/lib/module/components/IncodeOnBoarding.js +48 -0
- package/lib/module/components/IncodeOnBoarding.js.map +1 -0
- package/lib/module/components/IncodeProvider.js +161 -0
- package/lib/module/components/IncodeProvider.js.map +1 -0
- package/lib/module/components/Onboarding/Authid/AuthIdSelectType.js +126 -0
- package/lib/module/components/Onboarding/Authid/AuthIdSelectType.js.map +1 -0
- package/lib/module/components/Onboarding/Authid/idOrPassport.js +134 -0
- package/lib/module/components/Onboarding/Authid/idOrPassport.js.map +1 -0
- package/lib/module/components/Onboarding/Vender.js +257 -0
- package/lib/module/components/Onboarding/Vender.js.map +1 -0
- package/lib/module/components/SendSNS/index.js +378 -0
- package/lib/module/components/SendSNS/index.js.map +1 -0
- package/lib/module/components/SumsubLogin.js +53 -0
- package/lib/module/components/SumsubLogin.js.map +1 -0
- package/lib/module/components/SumsubOnboarding.js +53 -0
- package/lib/module/components/SumsubOnboarding.js.map +1 -0
- package/lib/module/components/TryAgainInModal.js +62 -0
- package/lib/module/components/TryAgainInModal.js.map +1 -0
- package/lib/module/components/VeriffLogin.js +63 -0
- package/lib/module/components/VeriffLogin.js.map +1 -0
- package/lib/module/components/VeriffOnboarding.js +63 -0
- package/lib/module/components/VeriffOnboarding.js.map +1 -0
- package/lib/module/components/VerifiedExternalPhoneNumber/index.js +299 -0
- package/lib/module/components/VerifiedExternalPhoneNumber/index.js.map +1 -0
- package/lib/module/components/VerifyWithPhoneNumber/NewUser.js +267 -0
- package/lib/module/components/VerifyWithPhoneNumber/NewUser.js.map +1 -0
- package/lib/module/components/VerifyWithPhoneNumber/User.js +359 -0
- package/lib/module/components/VerifyWithPhoneNumber/User.js.map +1 -0
- package/lib/module/components/VerifyWithPhoneNumber/biometrics.js +67 -0
- package/lib/module/components/VerifyWithPhoneNumber/biometrics.js.map +1 -0
- package/lib/module/components/YotiLogin.js +58 -0
- package/lib/module/components/YotiLogin.js.map +1 -0
- package/lib/module/components/YotiOnboarding.js +63 -0
- package/lib/module/components/YotiOnboarding.js.map +1 -0
- package/lib/module/components/biometrics/EnableBiometricsTypes.js +12 -0
- package/lib/module/components/biometrics/EnableBiometricsTypes.js.map +1 -0
- package/lib/module/components/biometrics/index.js +236 -0
- package/lib/module/components/biometrics/index.js.map +1 -0
- package/lib/module/components/incodeLogin.js +48 -0
- package/lib/module/components/incodeLogin.js.map +1 -0
- package/lib/module/enum/index.js +34 -0
- package/lib/module/enum/index.js.map +1 -0
- package/lib/module/environmentDomains.js +14 -0
- package/lib/module/environmentDomains.js.map +1 -0
- package/lib/module/index.js +9 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/phoneNumberProcessor.js +80 -0
- package/lib/module/phoneNumberProcessor.js.map +1 -0
- package/lib/typescript/commonjs/App.d.ts +10 -0
- package/lib/typescript/commonjs/App.d.ts.map +1 -0
- package/lib/typescript/commonjs/babel.config.d.ts +2 -0
- package/lib/typescript/commonjs/babel.config.d.ts.map +1 -0
- package/lib/typescript/commonjs/index.d.ts +2 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/jest.config.d.ts +2 -0
- package/lib/typescript/commonjs/jest.config.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/BerifymeModal/MainModal.d.ts +11 -0
- package/lib/typescript/commonjs/lib/commonjs/BerifymeModal/MainModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/BerifymeModal/index.d.ts +10 -0
- package/lib/typescript/commonjs/lib/commonjs/BerifymeModal/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/api/api.d.ts +266 -0
- package/lib/typescript/commonjs/lib/commonjs/api/api.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/AllSet.d.ts +10 -0
- package/lib/typescript/commonjs/lib/commonjs/components/AllSet.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/AuthenticationLogs.d.ts +18 -0
- package/lib/typescript/commonjs/lib/commonjs/components/AuthenticationLogs.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/AuthidLogin.d.ts +11 -0
- package/lib/typescript/commonjs/lib/commonjs/components/AuthidLogin.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/AuthidOnboarding.d.ts +14 -0
- package/lib/typescript/commonjs/lib/commonjs/components/AuthidOnboarding.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/ClearLogin.d.ts +12 -0
- package/lib/typescript/commonjs/lib/commonjs/components/ClearLogin.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/ClearOnboarding.d.ts +12 -0
- package/lib/typescript/commonjs/lib/commonjs/components/ClearOnboarding.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/Footer.d.ts +4 -0
- package/lib/typescript/commonjs/lib/commonjs/components/Footer.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/IncodeOnBoarding.d.ts +11 -0
- package/lib/typescript/commonjs/lib/commonjs/components/IncodeOnBoarding.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/IncodeProvider.d.ts +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/IncodeProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/Onboarding/Authid/AuthIdSelectType.d.ts +7 -0
- package/lib/typescript/commonjs/lib/commonjs/components/Onboarding/Authid/AuthIdSelectType.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/Onboarding/Authid/idOrPassport.d.ts +8 -0
- package/lib/typescript/commonjs/lib/commonjs/components/Onboarding/Authid/idOrPassport.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/Onboarding/Vender.d.ts +8 -0
- package/lib/typescript/commonjs/lib/commonjs/components/Onboarding/Vender.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/SendSNS/index.d.ts +14 -0
- package/lib/typescript/commonjs/lib/commonjs/components/SendSNS/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/SumsubLogin.d.ts +11 -0
- package/lib/typescript/commonjs/lib/commonjs/components/SumsubLogin.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/SumsubOnboarding.d.ts +11 -0
- package/lib/typescript/commonjs/lib/commonjs/components/SumsubOnboarding.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/TryAgainInModal.d.ts +7 -0
- package/lib/typescript/commonjs/lib/commonjs/components/TryAgainInModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/VeriffLogin.d.ts +12 -0
- package/lib/typescript/commonjs/lib/commonjs/components/VeriffLogin.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/VeriffOnboarding.d.ts +12 -0
- package/lib/typescript/commonjs/lib/commonjs/components/VeriffOnboarding.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/VerifiedExternalPhoneNumber/index.d.ts +13 -0
- package/lib/typescript/commonjs/lib/commonjs/components/VerifiedExternalPhoneNumber/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/VerifyWithPhoneNumber/NewUser.d.ts +10 -0
- package/lib/typescript/commonjs/lib/commonjs/components/VerifyWithPhoneNumber/NewUser.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/VerifyWithPhoneNumber/User.d.ts +11 -0
- package/lib/typescript/commonjs/lib/commonjs/components/VerifyWithPhoneNumber/User.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/VerifyWithPhoneNumber/biometrics.d.ts +8 -0
- package/lib/typescript/commonjs/lib/commonjs/components/VerifyWithPhoneNumber/biometrics.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/YotiLogin.d.ts +11 -0
- package/lib/typescript/commonjs/lib/commonjs/components/YotiLogin.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/YotiOnboarding.d.ts +12 -0
- package/lib/typescript/commonjs/lib/commonjs/components/YotiOnboarding.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/biometrics/EnableBiometricsTypes.d.ts +5 -0
- package/lib/typescript/commonjs/lib/commonjs/components/biometrics/EnableBiometricsTypes.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/biometrics/index.d.ts +25 -0
- package/lib/typescript/commonjs/lib/commonjs/components/biometrics/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/incodeLogin.d.ts +11 -0
- package/lib/typescript/commonjs/lib/commonjs/components/incodeLogin.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/enum/index.d.ts +4 -0
- package/lib/typescript/commonjs/lib/commonjs/enum/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/environmentDomains.d.ts +8 -0
- package/lib/typescript/commonjs/lib/commonjs/environmentDomains.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/index.d.ts +6 -0
- package/lib/typescript/commonjs/lib/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/phoneNumberProcessor.d.ts +8 -0
- package/lib/typescript/commonjs/lib/commonjs/phoneNumberProcessor.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/BerifymeModal/MainModal.d.ts +11 -0
- package/lib/typescript/commonjs/lib/module/BerifymeModal/MainModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/BerifymeModal/index.d.ts +10 -0
- package/lib/typescript/commonjs/lib/module/BerifymeModal/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/api/api.d.ts +265 -0
- package/lib/typescript/commonjs/lib/module/api/api.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/AllSet.d.ts +10 -0
- package/lib/typescript/commonjs/lib/module/components/AllSet.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/AuthenticationLogs.d.ts +17 -0
- package/lib/typescript/commonjs/lib/module/components/AuthenticationLogs.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/AuthidLogin.d.ts +11 -0
- package/lib/typescript/commonjs/lib/module/components/AuthidLogin.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/AuthidOnboarding.d.ts +14 -0
- package/lib/typescript/commonjs/lib/module/components/AuthidOnboarding.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/ClearLogin.d.ts +12 -0
- package/lib/typescript/commonjs/lib/module/components/ClearLogin.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/ClearOnboarding.d.ts +12 -0
- package/lib/typescript/commonjs/lib/module/components/ClearOnboarding.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/Footer.d.ts +4 -0
- package/lib/typescript/commonjs/lib/module/components/Footer.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/IncodeOnBoarding.d.ts +11 -0
- package/lib/typescript/commonjs/lib/module/components/IncodeOnBoarding.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/IncodeProvider.d.ts +1 -0
- package/lib/typescript/commonjs/lib/module/components/IncodeProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/Onboarding/Authid/AuthIdSelectType.d.ts +7 -0
- package/lib/typescript/commonjs/lib/module/components/Onboarding/Authid/AuthIdSelectType.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/Onboarding/Authid/idOrPassport.d.ts +8 -0
- package/lib/typescript/commonjs/lib/module/components/Onboarding/Authid/idOrPassport.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/Onboarding/Vender.d.ts +8 -0
- package/lib/typescript/commonjs/lib/module/components/Onboarding/Vender.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/SendSNS/index.d.ts +14 -0
- package/lib/typescript/commonjs/lib/module/components/SendSNS/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/SumsubLogin.d.ts +11 -0
- package/lib/typescript/commonjs/lib/module/components/SumsubLogin.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/SumsubOnboarding.d.ts +11 -0
- package/lib/typescript/commonjs/lib/module/components/SumsubOnboarding.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/TryAgainInModal.d.ts +7 -0
- package/lib/typescript/commonjs/lib/module/components/TryAgainInModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/VeriffLogin.d.ts +12 -0
- package/lib/typescript/commonjs/lib/module/components/VeriffLogin.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/VeriffOnboarding.d.ts +12 -0
- package/lib/typescript/commonjs/lib/module/components/VeriffOnboarding.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/VerifiedExternalPhoneNumber/index.d.ts +13 -0
- package/lib/typescript/commonjs/lib/module/components/VerifiedExternalPhoneNumber/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/VerifyWithPhoneNumber/NewUser.d.ts +10 -0
- package/lib/typescript/commonjs/lib/module/components/VerifyWithPhoneNumber/NewUser.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/VerifyWithPhoneNumber/User.d.ts +11 -0
- package/lib/typescript/commonjs/lib/module/components/VerifyWithPhoneNumber/User.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/VerifyWithPhoneNumber/biometrics.d.ts +7 -0
- package/lib/typescript/commonjs/lib/module/components/VerifyWithPhoneNumber/biometrics.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/YotiLogin.d.ts +11 -0
- package/lib/typescript/commonjs/lib/module/components/YotiLogin.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/YotiOnboarding.d.ts +12 -0
- package/lib/typescript/commonjs/lib/module/components/YotiOnboarding.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/biometrics/EnableBiometricsTypes.d.ts +3 -0
- package/lib/typescript/commonjs/lib/module/components/biometrics/EnableBiometricsTypes.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/biometrics/index.d.ts +30 -0
- package/lib/typescript/commonjs/lib/module/components/biometrics/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/incodeLogin.d.ts +11 -0
- package/lib/typescript/commonjs/lib/module/components/incodeLogin.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/enum/index.d.ts +3 -0
- package/lib/typescript/commonjs/lib/module/enum/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/environmentDomains.d.ts +7 -0
- package/lib/typescript/commonjs/lib/module/environmentDomains.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/index.d.ts +7 -0
- package/lib/typescript/commonjs/lib/module/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/phoneNumberProcessor.d.ts +7 -0
- package/lib/typescript/commonjs/lib/module/phoneNumberProcessor.d.ts.map +1 -0
- package/lib/typescript/commonjs/metro.config.d.ts +3 -0
- package/lib/typescript/commonjs/metro.config.d.ts.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/src/BerifymeModal/MainModal.d.ts +12 -0
- package/lib/typescript/commonjs/src/BerifymeModal/MainModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BerifymeModal/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/BerifymeModal/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/api/api.d.ts +484 -0
- package/lib/typescript/commonjs/src/api/api.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/AllSet.d.ts +11 -0
- package/lib/typescript/commonjs/src/components/AllSet.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/AuthenticationLogs.d.ts +20 -0
- package/lib/typescript/commonjs/src/components/AuthenticationLogs.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/AuthidLogin.d.ts +13 -0
- package/lib/typescript/commonjs/src/components/AuthidLogin.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/AuthidOnboarding.d.ts +16 -0
- package/lib/typescript/commonjs/src/components/AuthidOnboarding.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ClearLogin.d.ts +14 -0
- package/lib/typescript/commonjs/src/components/ClearLogin.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ClearOnboarding.d.ts +14 -0
- package/lib/typescript/commonjs/src/components/ClearOnboarding.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Footer.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/Footer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/IncodeOnBoarding.d.ts +13 -0
- package/lib/typescript/commonjs/src/components/IncodeOnBoarding.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/IncodeProvider.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/IncodeProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Onboarding/Authid/AuthIdSelectType.d.ts +7 -0
- package/lib/typescript/commonjs/src/components/Onboarding/Authid/AuthIdSelectType.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Onboarding/Authid/idOrPassport.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/Onboarding/Authid/idOrPassport.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Onboarding/Vender.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/Onboarding/Vender.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/SendSNS/index.d.ts +17 -0
- package/lib/typescript/commonjs/src/components/SendSNS/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/SumsubLogin.d.ts +13 -0
- package/lib/typescript/commonjs/src/components/SumsubLogin.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/SumsubOnboarding.d.ts +13 -0
- package/lib/typescript/commonjs/src/components/SumsubOnboarding.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/TryAgainInModal.d.ts +7 -0
- package/lib/typescript/commonjs/src/components/TryAgainInModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/VeriffLogin.d.ts +14 -0
- package/lib/typescript/commonjs/src/components/VeriffLogin.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/VeriffOnboarding.d.ts +14 -0
- package/lib/typescript/commonjs/src/components/VeriffOnboarding.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/VerifiedExternalPhoneNumber/index.d.ts +16 -0
- package/lib/typescript/commonjs/src/components/VerifiedExternalPhoneNumber/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/VerifyWithPhoneNumber/NewUser.d.ts +12 -0
- package/lib/typescript/commonjs/src/components/VerifyWithPhoneNumber/NewUser.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/VerifyWithPhoneNumber/User.d.ts +13 -0
- package/lib/typescript/commonjs/src/components/VerifyWithPhoneNumber/User.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/VerifyWithPhoneNumber/biometrics.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/VerifyWithPhoneNumber/biometrics.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/YotiLogin.d.ts +13 -0
- package/lib/typescript/commonjs/src/components/YotiLogin.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/YotiOnboarding.d.ts +14 -0
- package/lib/typescript/commonjs/src/components/YotiOnboarding.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/biometrics/EnableBiometricsTypes.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/biometrics/EnableBiometricsTypes.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/biometrics/index.d.ts +35 -0
- package/lib/typescript/commonjs/src/components/biometrics/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/incodeLogin.d.ts +13 -0
- package/lib/typescript/commonjs/src/components/incodeLogin.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/enum/index.d.ts +30 -0
- package/lib/typescript/commonjs/src/enum/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/environmentDomains.d.ts +8 -0
- package/lib/typescript/commonjs/src/environmentDomains.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +7 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/phoneNumberProcessor.d.ts +7 -0
- package/lib/typescript/commonjs/src/phoneNumberProcessor.d.ts.map +1 -0
- package/lib/typescript/module/App.d.ts +10 -0
- package/lib/typescript/module/App.d.ts.map +1 -0
- package/lib/typescript/module/babel.config.d.ts +2 -0
- package/lib/typescript/module/babel.config.d.ts.map +1 -0
- package/lib/typescript/module/index.d.ts +2 -0
- package/lib/typescript/module/index.d.ts.map +1 -0
- package/lib/typescript/module/jest.config.d.ts +2 -0
- package/lib/typescript/module/jest.config.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/BerifymeModal/MainModal.d.ts +11 -0
- package/lib/typescript/module/lib/commonjs/BerifymeModal/MainModal.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/BerifymeModal/index.d.ts +10 -0
- package/lib/typescript/module/lib/commonjs/BerifymeModal/index.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/api/api.d.ts +266 -0
- package/lib/typescript/module/lib/commonjs/api/api.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/AllSet.d.ts +10 -0
- package/lib/typescript/module/lib/commonjs/components/AllSet.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/AuthenticationLogs.d.ts +18 -0
- package/lib/typescript/module/lib/commonjs/components/AuthenticationLogs.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/AuthidLogin.d.ts +11 -0
- package/lib/typescript/module/lib/commonjs/components/AuthidLogin.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/AuthidOnboarding.d.ts +14 -0
- package/lib/typescript/module/lib/commonjs/components/AuthidOnboarding.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/ClearLogin.d.ts +12 -0
- package/lib/typescript/module/lib/commonjs/components/ClearLogin.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/ClearOnboarding.d.ts +12 -0
- package/lib/typescript/module/lib/commonjs/components/ClearOnboarding.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/Footer.d.ts +4 -0
- package/lib/typescript/module/lib/commonjs/components/Footer.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/IncodeOnBoarding.d.ts +11 -0
- package/lib/typescript/module/lib/commonjs/components/IncodeOnBoarding.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/IncodeProvider.d.ts +1 -0
- package/lib/typescript/module/lib/commonjs/components/IncodeProvider.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/Onboarding/Authid/AuthIdSelectType.d.ts +7 -0
- package/lib/typescript/module/lib/commonjs/components/Onboarding/Authid/AuthIdSelectType.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/Onboarding/Authid/idOrPassport.d.ts +8 -0
- package/lib/typescript/module/lib/commonjs/components/Onboarding/Authid/idOrPassport.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/Onboarding/Vender.d.ts +8 -0
- package/lib/typescript/module/lib/commonjs/components/Onboarding/Vender.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/SendSNS/index.d.ts +14 -0
- package/lib/typescript/module/lib/commonjs/components/SendSNS/index.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/SumsubLogin.d.ts +11 -0
- package/lib/typescript/module/lib/commonjs/components/SumsubLogin.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/SumsubOnboarding.d.ts +11 -0
- package/lib/typescript/module/lib/commonjs/components/SumsubOnboarding.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/TryAgainInModal.d.ts +7 -0
- package/lib/typescript/module/lib/commonjs/components/TryAgainInModal.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/VeriffLogin.d.ts +12 -0
- package/lib/typescript/module/lib/commonjs/components/VeriffLogin.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/VeriffOnboarding.d.ts +12 -0
- package/lib/typescript/module/lib/commonjs/components/VeriffOnboarding.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/VerifiedExternalPhoneNumber/index.d.ts +13 -0
- package/lib/typescript/module/lib/commonjs/components/VerifiedExternalPhoneNumber/index.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/VerifyWithPhoneNumber/NewUser.d.ts +10 -0
- package/lib/typescript/module/lib/commonjs/components/VerifyWithPhoneNumber/NewUser.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/VerifyWithPhoneNumber/User.d.ts +11 -0
- package/lib/typescript/module/lib/commonjs/components/VerifyWithPhoneNumber/User.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/VerifyWithPhoneNumber/biometrics.d.ts +8 -0
- package/lib/typescript/module/lib/commonjs/components/VerifyWithPhoneNumber/biometrics.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/YotiLogin.d.ts +11 -0
- package/lib/typescript/module/lib/commonjs/components/YotiLogin.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/YotiOnboarding.d.ts +12 -0
- package/lib/typescript/module/lib/commonjs/components/YotiOnboarding.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/biometrics/EnableBiometricsTypes.d.ts +5 -0
- package/lib/typescript/module/lib/commonjs/components/biometrics/EnableBiometricsTypes.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/biometrics/index.d.ts +25 -0
- package/lib/typescript/module/lib/commonjs/components/biometrics/index.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/incodeLogin.d.ts +11 -0
- package/lib/typescript/module/lib/commonjs/components/incodeLogin.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/enum/index.d.ts +4 -0
- package/lib/typescript/module/lib/commonjs/enum/index.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/environmentDomains.d.ts +8 -0
- package/lib/typescript/module/lib/commonjs/environmentDomains.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/index.d.ts +6 -0
- package/lib/typescript/module/lib/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/phoneNumberProcessor.d.ts +8 -0
- package/lib/typescript/module/lib/commonjs/phoneNumberProcessor.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/BerifymeModal/MainModal.d.ts +11 -0
- package/lib/typescript/module/lib/module/BerifymeModal/MainModal.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/BerifymeModal/index.d.ts +10 -0
- package/lib/typescript/module/lib/module/BerifymeModal/index.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/api/api.d.ts +265 -0
- package/lib/typescript/module/lib/module/api/api.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/AllSet.d.ts +10 -0
- package/lib/typescript/module/lib/module/components/AllSet.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/AuthenticationLogs.d.ts +17 -0
- package/lib/typescript/module/lib/module/components/AuthenticationLogs.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/AuthidLogin.d.ts +11 -0
- package/lib/typescript/module/lib/module/components/AuthidLogin.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/AuthidOnboarding.d.ts +14 -0
- package/lib/typescript/module/lib/module/components/AuthidOnboarding.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/ClearLogin.d.ts +12 -0
- package/lib/typescript/module/lib/module/components/ClearLogin.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/ClearOnboarding.d.ts +12 -0
- package/lib/typescript/module/lib/module/components/ClearOnboarding.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/Footer.d.ts +4 -0
- package/lib/typescript/module/lib/module/components/Footer.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/IncodeOnBoarding.d.ts +11 -0
- package/lib/typescript/module/lib/module/components/IncodeOnBoarding.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/IncodeProvider.d.ts +1 -0
- package/lib/typescript/module/lib/module/components/IncodeProvider.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/Onboarding/Authid/AuthIdSelectType.d.ts +7 -0
- package/lib/typescript/module/lib/module/components/Onboarding/Authid/AuthIdSelectType.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/Onboarding/Authid/idOrPassport.d.ts +8 -0
- package/lib/typescript/module/lib/module/components/Onboarding/Authid/idOrPassport.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/Onboarding/Vender.d.ts +8 -0
- package/lib/typescript/module/lib/module/components/Onboarding/Vender.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/SendSNS/index.d.ts +14 -0
- package/lib/typescript/module/lib/module/components/SendSNS/index.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/SumsubLogin.d.ts +11 -0
- package/lib/typescript/module/lib/module/components/SumsubLogin.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/SumsubOnboarding.d.ts +11 -0
- package/lib/typescript/module/lib/module/components/SumsubOnboarding.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/TryAgainInModal.d.ts +7 -0
- package/lib/typescript/module/lib/module/components/TryAgainInModal.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/VeriffLogin.d.ts +12 -0
- package/lib/typescript/module/lib/module/components/VeriffLogin.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/VeriffOnboarding.d.ts +12 -0
- package/lib/typescript/module/lib/module/components/VeriffOnboarding.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/VerifiedExternalPhoneNumber/index.d.ts +13 -0
- package/lib/typescript/module/lib/module/components/VerifiedExternalPhoneNumber/index.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/VerifyWithPhoneNumber/NewUser.d.ts +10 -0
- package/lib/typescript/module/lib/module/components/VerifyWithPhoneNumber/NewUser.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/VerifyWithPhoneNumber/User.d.ts +11 -0
- package/lib/typescript/module/lib/module/components/VerifyWithPhoneNumber/User.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/VerifyWithPhoneNumber/biometrics.d.ts +7 -0
- package/lib/typescript/module/lib/module/components/VerifyWithPhoneNumber/biometrics.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/YotiLogin.d.ts +11 -0
- package/lib/typescript/module/lib/module/components/YotiLogin.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/YotiOnboarding.d.ts +12 -0
- package/lib/typescript/module/lib/module/components/YotiOnboarding.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/biometrics/EnableBiometricsTypes.d.ts +3 -0
- package/lib/typescript/module/lib/module/components/biometrics/EnableBiometricsTypes.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/biometrics/index.d.ts +30 -0
- package/lib/typescript/module/lib/module/components/biometrics/index.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/incodeLogin.d.ts +11 -0
- package/lib/typescript/module/lib/module/components/incodeLogin.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/enum/index.d.ts +3 -0
- package/lib/typescript/module/lib/module/enum/index.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/environmentDomains.d.ts +7 -0
- package/lib/typescript/module/lib/module/environmentDomains.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/index.d.ts +7 -0
- package/lib/typescript/module/lib/module/index.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/phoneNumberProcessor.d.ts +7 -0
- package/lib/typescript/module/lib/module/phoneNumberProcessor.d.ts.map +1 -0
- package/lib/typescript/module/metro.config.d.ts +3 -0
- package/lib/typescript/module/metro.config.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/src/BerifymeModal/MainModal.d.ts +12 -0
- package/lib/typescript/module/src/BerifymeModal/MainModal.d.ts.map +1 -0
- package/lib/typescript/module/src/BerifymeModal/index.d.ts +11 -0
- package/lib/typescript/module/src/BerifymeModal/index.d.ts.map +1 -0
- package/lib/typescript/module/src/api/api.d.ts +484 -0
- package/lib/typescript/module/src/api/api.d.ts.map +1 -0
- package/lib/typescript/module/src/components/AllSet.d.ts +11 -0
- package/lib/typescript/module/src/components/AllSet.d.ts.map +1 -0
- package/lib/typescript/module/src/components/AuthenticationLogs.d.ts +20 -0
- package/lib/typescript/module/src/components/AuthenticationLogs.d.ts.map +1 -0
- package/lib/typescript/module/src/components/AuthidLogin.d.ts +13 -0
- package/lib/typescript/module/src/components/AuthidLogin.d.ts.map +1 -0
- package/lib/typescript/module/src/components/AuthidOnboarding.d.ts +16 -0
- package/lib/typescript/module/src/components/AuthidOnboarding.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ClearLogin.d.ts +14 -0
- package/lib/typescript/module/src/components/ClearLogin.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ClearOnboarding.d.ts +14 -0
- package/lib/typescript/module/src/components/ClearOnboarding.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Footer.d.ts +4 -0
- package/lib/typescript/module/src/components/Footer.d.ts.map +1 -0
- package/lib/typescript/module/src/components/IncodeOnBoarding.d.ts +13 -0
- package/lib/typescript/module/src/components/IncodeOnBoarding.d.ts.map +1 -0
- package/lib/typescript/module/src/components/IncodeProvider.d.ts +1 -0
- package/lib/typescript/module/src/components/IncodeProvider.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Onboarding/Authid/AuthIdSelectType.d.ts +7 -0
- package/lib/typescript/module/src/components/Onboarding/Authid/AuthIdSelectType.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Onboarding/Authid/idOrPassport.d.ts +8 -0
- package/lib/typescript/module/src/components/Onboarding/Authid/idOrPassport.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Onboarding/Vender.d.ts +9 -0
- package/lib/typescript/module/src/components/Onboarding/Vender.d.ts.map +1 -0
- package/lib/typescript/module/src/components/SendSNS/index.d.ts +17 -0
- package/lib/typescript/module/src/components/SendSNS/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/SumsubLogin.d.ts +13 -0
- package/lib/typescript/module/src/components/SumsubLogin.d.ts.map +1 -0
- package/lib/typescript/module/src/components/SumsubOnboarding.d.ts +13 -0
- package/lib/typescript/module/src/components/SumsubOnboarding.d.ts.map +1 -0
- package/lib/typescript/module/src/components/TryAgainInModal.d.ts +7 -0
- package/lib/typescript/module/src/components/TryAgainInModal.d.ts.map +1 -0
- package/lib/typescript/module/src/components/VeriffLogin.d.ts +14 -0
- package/lib/typescript/module/src/components/VeriffLogin.d.ts.map +1 -0
- package/lib/typescript/module/src/components/VeriffOnboarding.d.ts +14 -0
- package/lib/typescript/module/src/components/VeriffOnboarding.d.ts.map +1 -0
- package/lib/typescript/module/src/components/VerifiedExternalPhoneNumber/index.d.ts +16 -0
- package/lib/typescript/module/src/components/VerifiedExternalPhoneNumber/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/VerifyWithPhoneNumber/NewUser.d.ts +12 -0
- package/lib/typescript/module/src/components/VerifyWithPhoneNumber/NewUser.d.ts.map +1 -0
- package/lib/typescript/module/src/components/VerifyWithPhoneNumber/User.d.ts +13 -0
- package/lib/typescript/module/src/components/VerifyWithPhoneNumber/User.d.ts.map +1 -0
- package/lib/typescript/module/src/components/VerifyWithPhoneNumber/biometrics.d.ts +9 -0
- package/lib/typescript/module/src/components/VerifyWithPhoneNumber/biometrics.d.ts.map +1 -0
- package/lib/typescript/module/src/components/YotiLogin.d.ts +13 -0
- package/lib/typescript/module/src/components/YotiLogin.d.ts.map +1 -0
- package/lib/typescript/module/src/components/YotiOnboarding.d.ts +14 -0
- package/lib/typescript/module/src/components/YotiOnboarding.d.ts.map +1 -0
- package/lib/typescript/module/src/components/biometrics/EnableBiometricsTypes.d.ts +8 -0
- package/lib/typescript/module/src/components/biometrics/EnableBiometricsTypes.d.ts.map +1 -0
- package/lib/typescript/module/src/components/biometrics/index.d.ts +35 -0
- package/lib/typescript/module/src/components/biometrics/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/incodeLogin.d.ts +13 -0
- package/lib/typescript/module/src/components/incodeLogin.d.ts.map +1 -0
- package/lib/typescript/module/src/enum/index.d.ts +30 -0
- package/lib/typescript/module/src/enum/index.d.ts.map +1 -0
- package/lib/typescript/module/src/environmentDomains.d.ts +8 -0
- package/lib/typescript/module/src/environmentDomains.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +7 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/lib/typescript/module/src/phoneNumberProcessor.d.ts +7 -0
- package/lib/typescript/module/src/phoneNumberProcessor.d.ts.map +1 -0
- package/package.json +98 -0
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _asyncStorage = _interopRequireDefault(require("@react-native-async-storage/async-storage"));
|
|
8
|
+
var _core = require("@react-native-material/core");
|
|
9
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
+
var _reactNative = require("react-native");
|
|
11
|
+
var _api = _interopRequireDefault(require("../../api/api.js"));
|
|
12
|
+
var _index = require("../../enum/index.js");
|
|
13
|
+
var _Footer = _interopRequireDefault(require("../Footer.js"));
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
16
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
18
|
+
const Vender = ({
|
|
19
|
+
setPageStatus,
|
|
20
|
+
setError,
|
|
21
|
+
user
|
|
22
|
+
}) => {
|
|
23
|
+
const [loading, setLoading] = (0, _react.useState)(false);
|
|
24
|
+
const getAuthIdAccountDetail = async () => {
|
|
25
|
+
const account = await _api.default.authID.getAccount({
|
|
26
|
+
token: (await _asyncStorage.default.getItem('authID_token')) ?? '',
|
|
27
|
+
phone: user?.phoneNumber ?? ''
|
|
28
|
+
});
|
|
29
|
+
return account;
|
|
30
|
+
};
|
|
31
|
+
const handleBerifyClick = async () => {
|
|
32
|
+
setLoading(true);
|
|
33
|
+
try {
|
|
34
|
+
const authIdTokenRes = await _api.default.authID.getAuthIDToken();
|
|
35
|
+
if (!authIdTokenRes.token) {
|
|
36
|
+
setError('Auth id error');
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
if (!user) {
|
|
40
|
+
setError('User error');
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
const account = await getAuthIdAccountDetail();
|
|
44
|
+
if (account.error === 'User data not found.') {
|
|
45
|
+
await _api.default.authID.createAccount({
|
|
46
|
+
token: authIdTokenRes.token || '',
|
|
47
|
+
userId: user.id
|
|
48
|
+
});
|
|
49
|
+
// 保存token到本地存储
|
|
50
|
+
_asyncStorage.default.setItem('authID_token', authIdTokenRes.token); // 本地存储在react native中为AsyncStorage
|
|
51
|
+
setPageStatus(1.2);
|
|
52
|
+
} else {
|
|
53
|
+
setError('Unknown error. Please contact support.');
|
|
54
|
+
}
|
|
55
|
+
} catch (error) {
|
|
56
|
+
setError('Error processing request');
|
|
57
|
+
} finally {
|
|
58
|
+
setLoading(false);
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ScrollView, {
|
|
62
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_core.Stack, {
|
|
63
|
+
h: '100%',
|
|
64
|
+
ph: 8,
|
|
65
|
+
pv: 16,
|
|
66
|
+
spacing: 16,
|
|
67
|
+
justify: "between",
|
|
68
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_core.Stack, {
|
|
69
|
+
spacing: 32,
|
|
70
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_core.Stack, {
|
|
71
|
+
direction: "row",
|
|
72
|
+
justify: "between",
|
|
73
|
+
items: "center",
|
|
74
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_core.Stack, {
|
|
75
|
+
spacing: 8,
|
|
76
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_core.Text, {
|
|
77
|
+
variant: "h6",
|
|
78
|
+
style: styles.textTitle,
|
|
79
|
+
children: "Choose verification provider"
|
|
80
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_core.Text, {
|
|
81
|
+
variant: "body2",
|
|
82
|
+
style: styles.textBody2,
|
|
83
|
+
children: "Next: Upload ID and Take Selfie"
|
|
84
|
+
})]
|
|
85
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Image, {
|
|
86
|
+
source: {
|
|
87
|
+
uri: 'https://idv.berify.me/circlestep1.png'
|
|
88
|
+
},
|
|
89
|
+
resizeMode: "contain",
|
|
90
|
+
style: {
|
|
91
|
+
width: 70,
|
|
92
|
+
height: 70
|
|
93
|
+
}
|
|
94
|
+
})]
|
|
95
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_core.Stack, {
|
|
96
|
+
spacing: 16,
|
|
97
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
98
|
+
onPress: handleBerifyClick,
|
|
99
|
+
activeOpacity: 0.8,
|
|
100
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_core.Stack, {
|
|
101
|
+
w: '100%',
|
|
102
|
+
bg: '#f2f2f2',
|
|
103
|
+
spacing: 8,
|
|
104
|
+
pv: 24,
|
|
105
|
+
center: true,
|
|
106
|
+
radius: 24,
|
|
107
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Image, {
|
|
108
|
+
source: {
|
|
109
|
+
uri: 'https://idv.berify.me/little-berify.png'
|
|
110
|
+
},
|
|
111
|
+
resizeMode: "contain",
|
|
112
|
+
style: styles.image
|
|
113
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_core.Text, {
|
|
114
|
+
variant: "h6",
|
|
115
|
+
style: styles.textTitle,
|
|
116
|
+
children: "Berify.me"
|
|
117
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_core.Text, {
|
|
118
|
+
variant: "body2",
|
|
119
|
+
style: styles.textSubTittle,
|
|
120
|
+
children: "avg. 26s completion"
|
|
121
|
+
})]
|
|
122
|
+
})
|
|
123
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_core.Stack, {
|
|
124
|
+
w: '100%',
|
|
125
|
+
direction: "row",
|
|
126
|
+
justify: "between",
|
|
127
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
128
|
+
onPress: () => setPageStatus(2.1),
|
|
129
|
+
activeOpacity: 0.8,
|
|
130
|
+
style: {
|
|
131
|
+
width: '49%'
|
|
132
|
+
},
|
|
133
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_core.Stack, {
|
|
134
|
+
bg: '#f2f2f2',
|
|
135
|
+
spacing: 8,
|
|
136
|
+
pv: 24,
|
|
137
|
+
center: true,
|
|
138
|
+
radius: 24,
|
|
139
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Image, {
|
|
140
|
+
source: {
|
|
141
|
+
uri: 'https://idv.berify.me/clear.png'
|
|
142
|
+
},
|
|
143
|
+
resizeMode: "contain",
|
|
144
|
+
style: styles.image
|
|
145
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_core.Text, {
|
|
146
|
+
variant: "h6",
|
|
147
|
+
style: styles.textTitle,
|
|
148
|
+
children: "CLEAR"
|
|
149
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_core.Text, {
|
|
150
|
+
variant: "body2",
|
|
151
|
+
style: styles.textSubTittle,
|
|
152
|
+
children: "avg. 60s completion"
|
|
153
|
+
})]
|
|
154
|
+
})
|
|
155
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
156
|
+
onPress: () => {
|
|
157
|
+
setPageStatus(_index.PageStatus.IncodeOnBoarding);
|
|
158
|
+
},
|
|
159
|
+
activeOpacity: 0.8,
|
|
160
|
+
style: {
|
|
161
|
+
width: '49%'
|
|
162
|
+
},
|
|
163
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_core.Stack, {
|
|
164
|
+
bg: '#f2f2f2',
|
|
165
|
+
spacing: 8,
|
|
166
|
+
pv: 24,
|
|
167
|
+
center: true,
|
|
168
|
+
radius: 24,
|
|
169
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Image, {
|
|
170
|
+
source: {
|
|
171
|
+
uri: 'https://idv.berify.me/incode.png'
|
|
172
|
+
},
|
|
173
|
+
resizeMode: "contain",
|
|
174
|
+
style: styles.image
|
|
175
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_core.Text, {
|
|
176
|
+
variant: "h6",
|
|
177
|
+
style: styles.textTitle,
|
|
178
|
+
children: "Incode"
|
|
179
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_core.Text, {
|
|
180
|
+
variant: "body2",
|
|
181
|
+
style: styles.textSubTittle,
|
|
182
|
+
children: "avg. 30s completion"
|
|
183
|
+
})]
|
|
184
|
+
})
|
|
185
|
+
})]
|
|
186
|
+
})]
|
|
187
|
+
})]
|
|
188
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Footer.default, {})]
|
|
189
|
+
})
|
|
190
|
+
});
|
|
191
|
+
};
|
|
192
|
+
const styles = _reactNative.StyleSheet.create({
|
|
193
|
+
container: {
|
|
194
|
+
flex: 1,
|
|
195
|
+
padding: 20,
|
|
196
|
+
justifyContent: 'center'
|
|
197
|
+
},
|
|
198
|
+
image: {
|
|
199
|
+
width: 32,
|
|
200
|
+
height: 32
|
|
201
|
+
},
|
|
202
|
+
grayBg: {
|
|
203
|
+
backgroundColor: '#f2f2f2'
|
|
204
|
+
},
|
|
205
|
+
textTitle: {
|
|
206
|
+
fontSize: 16,
|
|
207
|
+
fontWeight: 700,
|
|
208
|
+
color: '#000000'
|
|
209
|
+
},
|
|
210
|
+
textSubTittle: {
|
|
211
|
+
fontSize: 12,
|
|
212
|
+
color: '#696969',
|
|
213
|
+
fontWeight: 500,
|
|
214
|
+
fontStyle: 'italic'
|
|
215
|
+
},
|
|
216
|
+
textError: {
|
|
217
|
+
fontSize: 12,
|
|
218
|
+
color: '#FF5454',
|
|
219
|
+
fontWeight: 500
|
|
220
|
+
},
|
|
221
|
+
textBody1: {
|
|
222
|
+
fontSize: 16,
|
|
223
|
+
color: '#696969',
|
|
224
|
+
fontWeight: 500,
|
|
225
|
+
lineHeight: 24
|
|
226
|
+
},
|
|
227
|
+
textBody2: {
|
|
228
|
+
fontSize: 12,
|
|
229
|
+
color: '#696969',
|
|
230
|
+
fontWeight: 500,
|
|
231
|
+
lineHeight: 16
|
|
232
|
+
},
|
|
233
|
+
progressText: {
|
|
234
|
+
fontSize: 14,
|
|
235
|
+
fontWeight: 700,
|
|
236
|
+
color: '#000000'
|
|
237
|
+
},
|
|
238
|
+
button: {
|
|
239
|
+
backgroundColor: '#4C4CDC',
|
|
240
|
+
borderTopStartRadius: 20,
|
|
241
|
+
borderTopEndRadius: 20,
|
|
242
|
+
borderBottomStartRadius: 20,
|
|
243
|
+
borderBottomEndRadius: 20,
|
|
244
|
+
width: 200,
|
|
245
|
+
height: 52,
|
|
246
|
+
fontWeight: 700,
|
|
247
|
+
alignItems: 'center',
|
|
248
|
+
justifyContent: 'center'
|
|
249
|
+
},
|
|
250
|
+
textInput: {
|
|
251
|
+
height: 48,
|
|
252
|
+
backgroundColor: '#f2f2f2',
|
|
253
|
+
color: 'black',
|
|
254
|
+
letterSpacing: 0,
|
|
255
|
+
fontWeight: '500',
|
|
256
|
+
paddingLeft: 24,
|
|
257
|
+
paddingRight: 24,
|
|
258
|
+
borderColor: '#f2f2f2',
|
|
259
|
+
borderWidth: 2,
|
|
260
|
+
borderRadius: 12
|
|
261
|
+
}
|
|
262
|
+
});
|
|
263
|
+
var _default = exports.default = Vender;
|
|
264
|
+
//# sourceMappingURL=Vender.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_asyncStorage","_interopRequireDefault","require","_core","_react","_interopRequireWildcard","_reactNative","_api","_index","_Footer","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Vender","setPageStatus","setError","user","loading","setLoading","useState","getAuthIdAccountDetail","account","berifymeApi","authID","getAccount","token","AsyncStorage","getItem","phone","phoneNumber","handleBerifyClick","authIdTokenRes","getAuthIDToken","error","createAccount","userId","id","setItem","jsx","ScrollView","children","jsxs","Stack","h","ph","pv","spacing","justify","direction","items","Text","variant","style","styles","textTitle","textBody2","Image","source","uri","resizeMode","width","height","TouchableOpacity","onPress","activeOpacity","w","bg","center","radius","image","textSubTittle","PageStatus","IncodeOnBoarding","StyleSheet","create","container","flex","padding","justifyContent","grayBg","backgroundColor","fontSize","fontWeight","color","fontStyle","textError","textBody1","lineHeight","progressText","button","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","alignItems","textInput","letterSpacing","paddingLeft","paddingRight","borderColor","borderWidth","borderRadius","_default","exports"],"sourceRoot":"../../../../src","sources":["components/Onboarding/Vender.tsx"],"mappings":";;;;;;AAAA,IAAAA,aAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,uBAAA,CAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,IAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AACA,IAAAO,OAAA,GAAAR,sBAAA,CAAAC,OAAA;AAA+B,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAS,yBAAAC,CAAA,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|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _asyncStorage = _interopRequireDefault(require("@react-native-async-storage/async-storage"));
|
|
8
|
+
var _core = require("@react-native-material/core");
|
|
9
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
+
var _reactNative = require("react-native");
|
|
11
|
+
var _reactNativePhoneNumberInput = _interopRequireDefault(require("react-native-phone-number-input"));
|
|
12
|
+
var _api = _interopRequireWildcard(require("../../api/api.js"));
|
|
13
|
+
var _index = require("../../enum/index.js");
|
|
14
|
+
var _phoneNumberProcessor = require("../../phoneNumberProcessor.js");
|
|
15
|
+
var _AuthenticationLogs = require("../AuthenticationLogs.js");
|
|
16
|
+
var _index2 = require("../biometrics/index.js");
|
|
17
|
+
var _Footer = _interopRequireDefault(require("../Footer.js"));
|
|
18
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
20
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
22
|
+
const SendSns = ({
|
|
23
|
+
token,
|
|
24
|
+
inputValue,
|
|
25
|
+
setInputValue,
|
|
26
|
+
setError,
|
|
27
|
+
setPageStatus,
|
|
28
|
+
setProcessedPhoneNumber,
|
|
29
|
+
setUser,
|
|
30
|
+
setModalHeight,
|
|
31
|
+
environment
|
|
32
|
+
}) => {
|
|
33
|
+
const [isValid, setIsValid] = (0, _react.useState)(false);
|
|
34
|
+
const [loading, setIsLoading] = (0, _react.useState)(false);
|
|
35
|
+
const [login, setLogin] = (0, _react.useState)();
|
|
36
|
+
const [fullName, setFullName] = (0, _react.useState)();
|
|
37
|
+
// const { startFaceLogin } = useIncode(); //useIncode
|
|
38
|
+
const phoneInput = (0, _react.useRef)(null);
|
|
39
|
+
const [forComponentPhone, setForComponentPhone] = (0, _react.useState)('');
|
|
40
|
+
const {
|
|
41
|
+
createSignature
|
|
42
|
+
} = (0, _index2.useRNBiometrics)();
|
|
43
|
+
const handleChange = value => {
|
|
44
|
+
setForComponentPhone(value);
|
|
45
|
+
};
|
|
46
|
+
const handleFormattedChange = value => {
|
|
47
|
+
let processedInputValue = value;
|
|
48
|
+
processedInputValue = (0, _phoneNumberProcessor.processPhoneNumber)(processedInputValue);
|
|
49
|
+
setInputValue(processedInputValue);
|
|
50
|
+
setIsValid(phoneInput.current?.isValidNumber(value) || false); // 確認電話格式是否正確
|
|
51
|
+
};
|
|
52
|
+
const handleSubmit = async () => {
|
|
53
|
+
setIsLoading(true);
|
|
54
|
+
let processedInputValue = inputValue;
|
|
55
|
+
processedInputValue = (0, _phoneNumberProcessor.processPhoneNumber)(processedInputValue);
|
|
56
|
+
setProcessedPhoneNumber(processedInputValue);
|
|
57
|
+
if (!isValid) {
|
|
58
|
+
_reactNative.Alert.alert('Error', 'Please enter a valid phone number.');
|
|
59
|
+
setIsLoading(false);
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
const getVender = await _api.default.user.getUserVenderByPhone({
|
|
63
|
+
phoneNumber: processedInputValue
|
|
64
|
+
});
|
|
65
|
+
if (getVender.error) {
|
|
66
|
+
setError('Oops! Something went wrong...');
|
|
67
|
+
setIsLoading(false);
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
const newSignature = await createSignature();
|
|
71
|
+
if (newSignature && newSignature.publicKey && !newSignature.error) {
|
|
72
|
+
const result = await _api.default.biometrics.checkBiometricsStatus({
|
|
73
|
+
phoneNumber: processedInputValue,
|
|
74
|
+
publicKey: newSignature.publicKey
|
|
75
|
+
});
|
|
76
|
+
if (result.status === 'Match') {
|
|
77
|
+
setUser(result.user);
|
|
78
|
+
const deviceId = await _asyncStorage.default.getItem('deviceId');
|
|
79
|
+
if (deviceId && token) {
|
|
80
|
+
const deviceUser = await _api.default.user.checkDeviceId({
|
|
81
|
+
phoneNumber: processedInputValue,
|
|
82
|
+
deviceId,
|
|
83
|
+
token
|
|
84
|
+
});
|
|
85
|
+
if (deviceUser.user) {
|
|
86
|
+
(0, _AuthenticationLogs.createAuthenticationLog)({
|
|
87
|
+
actionType: _api.ActionType.LOGIN,
|
|
88
|
+
userId: deviceUser.user.id,
|
|
89
|
+
vender: 'auto verify',
|
|
90
|
+
token,
|
|
91
|
+
isPass: true
|
|
92
|
+
});
|
|
93
|
+
setUser(deviceUser.user);
|
|
94
|
+
setPageStatus(10);
|
|
95
|
+
setIsLoading(false);
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
if (getVender.vender === 'authid') {
|
|
100
|
+
setLogin(_index.PageStatus.AuthidLogin);
|
|
101
|
+
setFullName(getVender.fullName);
|
|
102
|
+
setModalHeight('50%');
|
|
103
|
+
} else if (getVender.vender === 'clear') {
|
|
104
|
+
setLogin(_index.PageStatus.ClearLogin);
|
|
105
|
+
setFullName(getVender.fullName);
|
|
106
|
+
setModalHeight('50%');
|
|
107
|
+
} else if (getVender.vender === 'incode') {
|
|
108
|
+
//useIncode SDK
|
|
109
|
+
// const res = await startFaceLogin({phoneNumber: processedInputValue});
|
|
110
|
+
// if (res.error) setError(res.error);
|
|
111
|
+
// console.log('incode掃臉成功, 用戶是', res.getUser?.user);
|
|
112
|
+
// setUser(res.getUser?.user);
|
|
113
|
+
// createAuthenticationLog({
|
|
114
|
+
// actionType: ActionType.LOGIN,
|
|
115
|
+
// userId: res.getUser?.user?.id ?? '',
|
|
116
|
+
// vender: 'incode',
|
|
117
|
+
// token: token ?? '',
|
|
118
|
+
// isPass: true,
|
|
119
|
+
// incodeSessionId: res.faceLogin?.transactionId,
|
|
120
|
+
// });
|
|
121
|
+
// setPageStatus(PageStatus.AllSet);
|
|
122
|
+
//useIncode webview
|
|
123
|
+
setLogin(_index.PageStatus.IncodeLogin);
|
|
124
|
+
setFullName(getVender.fullName);
|
|
125
|
+
setModalHeight('50%');
|
|
126
|
+
} else if (getVender.vender === 'sumsub') {
|
|
127
|
+
setLogin(_index.PageStatus.SumsubLogin);
|
|
128
|
+
setFullName(getVender.fullName);
|
|
129
|
+
setModalHeight('50%');
|
|
130
|
+
} else if (getVender.vender === 'veriff') {
|
|
131
|
+
setLogin(_index.PageStatus.VeriffLogin);
|
|
132
|
+
setFullName(getVender.fullName);
|
|
133
|
+
setModalHeight('50%');
|
|
134
|
+
} else if (getVender.vender === 'yoti') {
|
|
135
|
+
setLogin(_index.PageStatus.YotiLogin);
|
|
136
|
+
setFullName(getVender.fullName);
|
|
137
|
+
setModalHeight('50%');
|
|
138
|
+
} else {
|
|
139
|
+
setPageStatus(1.1);
|
|
140
|
+
}
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
if (getVender.vender === null) {
|
|
145
|
+
const res = await _api.default.auth.sendPhoneNumberCode({
|
|
146
|
+
phoneNumber: processedInputValue,
|
|
147
|
+
token
|
|
148
|
+
});
|
|
149
|
+
if (res.success) {
|
|
150
|
+
setPageStatus(1);
|
|
151
|
+
}
|
|
152
|
+
if (res.error) {
|
|
153
|
+
setError(res.error);
|
|
154
|
+
}
|
|
155
|
+
} else {
|
|
156
|
+
const res = await _api.default.auth.sendPhoneNumberCode({
|
|
157
|
+
phoneNumber: processedInputValue,
|
|
158
|
+
token
|
|
159
|
+
});
|
|
160
|
+
if (res.success) {
|
|
161
|
+
setPageStatus(1.5);
|
|
162
|
+
}
|
|
163
|
+
if (res.error) {
|
|
164
|
+
setError(res.error);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
setIsLoading(false);
|
|
168
|
+
};
|
|
169
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ScrollView, {
|
|
170
|
+
contentContainerStyle: styles.container,
|
|
171
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_core.Stack, {
|
|
172
|
+
h: '100%',
|
|
173
|
+
ph: 8,
|
|
174
|
+
pv: 16,
|
|
175
|
+
justify: "between",
|
|
176
|
+
children: [!login && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_core.Stack, {
|
|
177
|
+
spacing: 32,
|
|
178
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_core.Stack, {
|
|
179
|
+
spacing: 8,
|
|
180
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_core.Text, {
|
|
181
|
+
variant: "h5",
|
|
182
|
+
style: styles.textTitle,
|
|
183
|
+
children: "Log in / Sign Up"
|
|
184
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_core.Text, {
|
|
185
|
+
variant: "body1",
|
|
186
|
+
style: styles.textBody1,
|
|
187
|
+
children: "We need your phone number to securely process your identity verification."
|
|
188
|
+
})]
|
|
189
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_core.Stack, {
|
|
190
|
+
spacing: 8,
|
|
191
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_core.Text, {
|
|
192
|
+
variant: "body1",
|
|
193
|
+
style: styles.textSubTittle,
|
|
194
|
+
children: "Phone number"
|
|
195
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_core.Stack, {
|
|
196
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativePhoneNumberInput.default, {
|
|
197
|
+
ref: phoneInput,
|
|
198
|
+
defaultValue: forComponentPhone,
|
|
199
|
+
defaultCode: "US",
|
|
200
|
+
layout: "first",
|
|
201
|
+
onChangeText: value => handleChange(value),
|
|
202
|
+
onChangeFormattedText: value => handleFormattedChange(value),
|
|
203
|
+
withDarkTheme: true,
|
|
204
|
+
textContainerStyle: styles.textContainerStyle,
|
|
205
|
+
countryPickerButtonStyle: styles.countryPickerButtonStyle
|
|
206
|
+
})
|
|
207
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_core.Text, {
|
|
208
|
+
variant: "body1",
|
|
209
|
+
style: styles.textBody2,
|
|
210
|
+
children: "By tapping \u201CAccept & Continue\u201D I agree to Berify.me\u2019s Terms and Conditions, which contain a mandatory arbitration clause, class action waiver, and consent to e-sign."
|
|
211
|
+
})]
|
|
212
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
213
|
+
style: [styles.button, loading || !isValid ? styles.buttonDisabled : null],
|
|
214
|
+
activeOpacity: 0.8,
|
|
215
|
+
onPress: handleSubmit,
|
|
216
|
+
disabled: loading || !isValid,
|
|
217
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_core.Text, {
|
|
218
|
+
style: styles.buttonText,
|
|
219
|
+
children: "Accept & Continue"
|
|
220
|
+
})
|
|
221
|
+
})]
|
|
222
|
+
}), login && /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
223
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_core.Stack, {
|
|
224
|
+
spacing: 32,
|
|
225
|
+
center: true,
|
|
226
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_core.Stack, {
|
|
227
|
+
spacing: 16,
|
|
228
|
+
center: true,
|
|
229
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_core.Text, {
|
|
230
|
+
variant: "h2",
|
|
231
|
+
children: "\uD83D\uDC4B"
|
|
232
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_core.Stack, {
|
|
233
|
+
center: true,
|
|
234
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_core.Text, {
|
|
235
|
+
variant: "h5",
|
|
236
|
+
style: styles.textTitle,
|
|
237
|
+
children: "Welcome back,"
|
|
238
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_core.Text, {
|
|
239
|
+
variant: "h5",
|
|
240
|
+
style: styles.textTitle,
|
|
241
|
+
children: fullName
|
|
242
|
+
})]
|
|
243
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_core.Text, {
|
|
244
|
+
variant: "body1",
|
|
245
|
+
style: styles.textBody1,
|
|
246
|
+
children: "Take a selfie to verify your identity."
|
|
247
|
+
})]
|
|
248
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
249
|
+
onPress: () => setPageStatus(login),
|
|
250
|
+
style: styles.blackButton,
|
|
251
|
+
activeOpacity: 0.8,
|
|
252
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_core.Text, {
|
|
253
|
+
style: styles.blackButtonText,
|
|
254
|
+
children: "Take my selfie"
|
|
255
|
+
})
|
|
256
|
+
})]
|
|
257
|
+
})
|
|
258
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Footer.default, {})]
|
|
259
|
+
})
|
|
260
|
+
});
|
|
261
|
+
};
|
|
262
|
+
const styles = _reactNative.StyleSheet.create({
|
|
263
|
+
label: {
|
|
264
|
+
fontSize: 18,
|
|
265
|
+
marginBottom: 8
|
|
266
|
+
},
|
|
267
|
+
selectedCode: {
|
|
268
|
+
marginTop: 16,
|
|
269
|
+
fontSize: 16
|
|
270
|
+
},
|
|
271
|
+
container: {
|
|
272
|
+
flexGrow: 1,
|
|
273
|
+
justifyContent: 'center',
|
|
274
|
+
alignItems: 'center'
|
|
275
|
+
},
|
|
276
|
+
textTitle: {
|
|
277
|
+
fontSize: 24,
|
|
278
|
+
fontWeight: 700,
|
|
279
|
+
color: '#000000'
|
|
280
|
+
},
|
|
281
|
+
textSubTittle: {
|
|
282
|
+
fontSize: 16,
|
|
283
|
+
color: '#000000',
|
|
284
|
+
fontWeight: 500
|
|
285
|
+
},
|
|
286
|
+
textBody1: {
|
|
287
|
+
fontSize: 16,
|
|
288
|
+
color: '#696969',
|
|
289
|
+
fontWeight: 500,
|
|
290
|
+
lineHeight: 24
|
|
291
|
+
},
|
|
292
|
+
textBody2: {
|
|
293
|
+
fontSize: 12,
|
|
294
|
+
color: '#696969',
|
|
295
|
+
fontWeight: 500,
|
|
296
|
+
lineHeight: 16
|
|
297
|
+
},
|
|
298
|
+
textInput: {
|
|
299
|
+
height: 48,
|
|
300
|
+
backgroundColor: '#f2f2f2',
|
|
301
|
+
color: 'black',
|
|
302
|
+
letterSpacing: 0,
|
|
303
|
+
fontWeight: '500',
|
|
304
|
+
paddingLeft: 24,
|
|
305
|
+
paddingRight: 24,
|
|
306
|
+
borderColor: '#f2f2f2',
|
|
307
|
+
borderWidth: 2,
|
|
308
|
+
borderRadius: 12
|
|
309
|
+
},
|
|
310
|
+
textContainerStyle: {
|
|
311
|
+
backgroundColor: '#f2f2f2',
|
|
312
|
+
borderColor: '#f2f2f2',
|
|
313
|
+
borderTopRightRadius: 12,
|
|
314
|
+
borderBottomRightRadius: 12
|
|
315
|
+
},
|
|
316
|
+
countryPickerButtonStyle: {
|
|
317
|
+
backgroundColor: '#f2f2f2',
|
|
318
|
+
borderColor: '#f2f2f2',
|
|
319
|
+
borderTopLeftRadius: 12,
|
|
320
|
+
borderBottomLeftRadius: 12
|
|
321
|
+
},
|
|
322
|
+
button: {
|
|
323
|
+
backgroundColor: '#000000',
|
|
324
|
+
borderTopStartRadius: 999,
|
|
325
|
+
borderTopEndRadius: 999,
|
|
326
|
+
borderBottomStartRadius: 999,
|
|
327
|
+
borderBottomEndRadius: 999,
|
|
328
|
+
width: 200,
|
|
329
|
+
height: 52,
|
|
330
|
+
fontWeight: 700,
|
|
331
|
+
justifyContent: 'center',
|
|
332
|
+
alignItems: 'center'
|
|
333
|
+
},
|
|
334
|
+
buttonDisabled: {
|
|
335
|
+
backgroundColor: '#64646464' // 灰色背景
|
|
336
|
+
},
|
|
337
|
+
buttonText: {
|
|
338
|
+
color: '#FFFFFF',
|
|
339
|
+
// 文本颜色
|
|
340
|
+
fontSize: 16 // 文本大小
|
|
341
|
+
},
|
|
342
|
+
blackButton: {
|
|
343
|
+
backgroundColor: '#000000',
|
|
344
|
+
borderTopStartRadius: 20,
|
|
345
|
+
borderTopEndRadius: 20,
|
|
346
|
+
borderBottomStartRadius: 20,
|
|
347
|
+
borderBottomEndRadius: 20,
|
|
348
|
+
width: 200,
|
|
349
|
+
height: 52,
|
|
350
|
+
fontWeight: 700,
|
|
351
|
+
justifyContent: 'center',
|
|
352
|
+
alignItems: 'center'
|
|
353
|
+
},
|
|
354
|
+
blackButtonText: {
|
|
355
|
+
color: '#FFFFFF',
|
|
356
|
+
// 文本颜色
|
|
357
|
+
fontSize: 16,
|
|
358
|
+
// 文本大小
|
|
359
|
+
fontWeight: 'bold'
|
|
360
|
+
}
|
|
361
|
+
});
|
|
362
|
+
const pickerSelectStyles = _reactNative.StyleSheet.create({
|
|
363
|
+
inputIOS: {
|
|
364
|
+
fontSize: 16,
|
|
365
|
+
paddingVertical: 12,
|
|
366
|
+
paddingHorizontal: 10,
|
|
367
|
+
borderWidth: 1,
|
|
368
|
+
borderColor: '#ccc',
|
|
369
|
+
borderRadius: 4,
|
|
370
|
+
color: '#333',
|
|
371
|
+
paddingRight: 30 // 為下拉箭頭保留空間
|
|
372
|
+
},
|
|
373
|
+
inputAndroid: {
|
|
374
|
+
fontSize: 16,
|
|
375
|
+
paddingVertical: 12,
|
|
376
|
+
paddingHorizontal: 10,
|
|
377
|
+
borderWidth: 1,
|
|
378
|
+
borderColor: '#ccc',
|
|
379
|
+
borderRadius: 4,
|
|
380
|
+
color: '#333',
|
|
381
|
+
paddingRight: 30
|
|
382
|
+
}
|
|
383
|
+
});
|
|
384
|
+
var _default = exports.default = SendSns;
|
|
385
|
+
//# sourceMappingURL=index.js.map
|