@tonder.io/rn-sdk 0.1.0-beta.DEV1355.6 → 0.1.0-beta.DEV1355.8
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 +4 -3
- package/android/build.gradle +99 -0
- package/android/gradle.properties +5 -0
- package/android/src/main/AndroidManifest.xml +3 -0
- package/android/src/main/AndroidManifestNew.xml +2 -0
- package/android/src/main/java/com/tonderio/rnsdk/RnSdkModule.kt +25 -0
- package/android/src/main/java/com/tonderio/rnsdk/RnSdkPackage.kt +17 -0
- package/ios/RnSdk-Bridging-Header.h +2 -0
- package/ios/RnSdk.mm +14 -0
- package/ios/RnSdk.swift +8 -0
- package/lib/commonjs/core/3DSHandler.js +17 -12
- package/lib/commonjs/core/3DSHandler.js.map +1 -1
- package/lib/commonjs/core/BaseCheckout/index.js +22 -23
- package/lib/commonjs/core/BaseCheckout/index.js.map +1 -1
- package/lib/commonjs/core/BaseEnrollment/index.js +8 -9
- package/lib/commonjs/core/BaseEnrollment/index.js.map +1 -1
- package/lib/commonjs/core/BaseSDK/index.js +3 -3
- package/lib/commonjs/core/BaseSDK/index.js.map +1 -1
- package/lib/commonjs/core/EnrollmentContainer/index.js +9 -10
- package/lib/commonjs/core/EnrollmentContainer/index.js.map +1 -1
- package/lib/commonjs/core/PaymentInlineContainer/index.js +5 -5
- package/lib/commonjs/core/PaymentInlineContainer/index.js.map +1 -1
- package/lib/commonjs/core/PaymentLiteContainer/index.js +12 -12
- package/lib/commonjs/core/PaymentLiteContainer/index.js.map +1 -1
- package/lib/commonjs/core/Tonder/index.js +16 -10
- package/lib/commonjs/core/Tonder/index.js.map +1 -1
- package/lib/commonjs/hooks/useTonder/index.js +1 -1
- package/lib/commonjs/hooks/useTonder/index.js.map +1 -1
- package/lib/commonjs/index.js +15 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/infrastructure/HttpClient.js +7 -8
- package/lib/commonjs/infrastructure/HttpClient.js.map +1 -1
- package/lib/commonjs/infrastructure/ServiceManager.js +12 -13
- package/lib/commonjs/infrastructure/ServiceManager.js.map +1 -1
- package/lib/commonjs/services/BusinessService.js +3 -3
- package/lib/commonjs/services/BusinessService.js.map +1 -1
- package/lib/commonjs/services/CardService.js +7 -8
- package/lib/commonjs/services/CardService.js.map +1 -1
- package/lib/commonjs/services/CheckoutService.js +11 -11
- package/lib/commonjs/services/CheckoutService.js.map +1 -1
- package/lib/commonjs/services/CustomerService.js +5 -5
- package/lib/commonjs/services/CustomerService.js.map +1 -1
- package/lib/commonjs/services/PaymentMethodService.js +3 -3
- package/lib/commonjs/services/PaymentMethodService.js.map +1 -1
- package/lib/commonjs/services/SkyflowService.js +4 -4
- package/lib/commonjs/services/SkyflowService.js.map +1 -1
- package/lib/commonjs/services/TokenService.js +4 -4
- package/lib/commonjs/services/TokenService.js.map +1 -1
- package/lib/commonjs/services/TransactionService.js +3 -3
- package/lib/commonjs/services/TransactionService.js.map +1 -1
- package/lib/commonjs/services/index.js +0 -11
- package/lib/commonjs/services/index.js.map +1 -1
- package/lib/commonjs/shared/catalog/cardBrandCatalog.js +1 -1
- package/lib/commonjs/shared/catalog/paymentMethodsCatalog.js +2 -2
- package/lib/commonjs/shared/constants/environments.js +1 -1
- package/lib/commonjs/shared/constants/messages.js +90 -90
- package/lib/commonjs/shared/constants/messages.js.map +1 -1
- package/lib/commonjs/shared/utils/errors.js +2 -2
- package/lib/commonjs/shared/utils/errors.js.map +1 -1
- package/lib/commonjs/shared/utils/paymentMethodUtils.js +3 -3
- package/lib/commonjs/shared/utils/paymentMethodUtils.js.map +1 -1
- package/lib/commonjs/shared/utils/stringUtils.js +17 -1
- package/lib/commonjs/shared/utils/stringUtils.js.map +1 -1
- package/lib/commonjs/types/srn-temp.d.js +2 -0
- package/lib/commonjs/types/srn-temp.d.js.map +1 -0
- package/lib/commonjs/ui/components/Button/ProcessButton.js +1 -1
- package/lib/commonjs/ui/components/Button/ProcessButton.js.map +1 -1
- package/lib/commonjs/ui/components/CardForm/index.js +5 -5
- package/lib/commonjs/ui/components/CardForm/index.js.map +1 -1
- package/lib/commonjs/ui/components/Input/CardCVVInput.js +6 -4
- package/lib/commonjs/ui/components/Input/CardCVVInput.js.map +1 -1
- package/lib/commonjs/ui/components/Input/CardExpirationDateInput.js +5 -5
- package/lib/commonjs/ui/components/Input/CardExpirationDateInput.js.map +1 -1
- package/lib/commonjs/ui/components/Input/CardExpirationMonthInput.js +6 -4
- package/lib/commonjs/ui/components/Input/CardExpirationMonthInput.js.map +1 -1
- package/lib/commonjs/ui/components/Input/CardExpirationYearInput.js +6 -4
- package/lib/commonjs/ui/components/Input/CardExpirationYearInput.js.map +1 -1
- package/lib/commonjs/ui/components/Input/CardHolderInput.js +6 -4
- package/lib/commonjs/ui/components/Input/CardHolderInput.js.map +1 -1
- package/lib/commonjs/ui/components/Input/CardNumberInput.js +6 -4
- package/lib/commonjs/ui/components/Input/CardNumberInput.js.map +1 -1
- package/lib/commonjs/ui/components/PaymentMethodsList/index.js +7 -7
- package/lib/commonjs/ui/components/PaymentMethodsList/index.js.map +1 -1
- package/lib/commonjs/ui/components/SavedCardsList/index.js +6 -4
- package/lib/commonjs/ui/components/SavedCardsList/index.js.map +1 -1
- package/lib/commonjs/ui/features/TonderEnrollment/index.js +7 -7
- package/lib/commonjs/ui/features/TonderEnrollment/index.js.map +1 -1
- package/lib/commonjs/ui/features/TonderPayment/index.js +16 -17
- package/lib/commonjs/ui/features/TonderPayment/index.js.map +1 -1
- package/lib/commonjs/ui/providers/InnerProvider/index.js +1 -1
- package/lib/commonjs/ui/providers/InnerProvider/index.js.map +1 -1
- package/lib/commonjs/ui/providers/SkyflowContainerWrapper/index.js +2 -2
- package/lib/commonjs/ui/providers/SkyflowContainerWrapper/index.js.map +1 -1
- package/lib/commonjs/ui/providers/TonderProvider/hook.js +1 -1
- package/lib/commonjs/ui/providers/TonderProvider/index.js +22 -20
- package/lib/commonjs/ui/providers/TonderProvider/index.js.map +1 -1
- package/lib/commonjs/ui/providers/TonderProvider/uiWrapper.js +3 -3
- package/lib/commonjs/ui/providers/TonderProvider/uiWrapper.js.map +1 -1
- package/lib/commonjs/ui/styles/skyflow.js +1 -1
- package/lib/module/core/3DSHandler.js +16 -11
- package/lib/module/core/3DSHandler.js.map +1 -1
- package/lib/module/core/BaseCheckout/index.js +9 -10
- package/lib/module/core/BaseCheckout/index.js.map +1 -1
- package/lib/module/core/BaseEnrollment/index.js +3 -4
- package/lib/module/core/BaseEnrollment/index.js.map +1 -1
- package/lib/module/core/BaseSDK/index.js +2 -2
- package/lib/module/core/BaseSDK/index.js.map +1 -1
- package/lib/module/core/EnrollmentContainer/index.js +4 -5
- package/lib/module/core/EnrollmentContainer/index.js.map +1 -1
- package/lib/module/core/PaymentInlineContainer/index.js +3 -3
- package/lib/module/core/PaymentInlineContainer/index.js.map +1 -1
- package/lib/module/core/PaymentLiteContainer/index.js +6 -6
- package/lib/module/core/PaymentLiteContainer/index.js.map +1 -1
- package/lib/module/core/Tonder/index.js +14 -8
- package/lib/module/core/Tonder/index.js.map +1 -1
- package/lib/module/hooks/useTonder/index.js +1 -1
- package/lib/module/hooks/useTonder/index.js.map +1 -1
- package/lib/module/index.js +13 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/infrastructure/HttpClient.js +2 -3
- package/lib/module/infrastructure/HttpClient.js.map +1 -1
- package/lib/module/infrastructure/ServiceManager.js +2 -3
- package/lib/module/infrastructure/ServiceManager.js.map +1 -1
- package/lib/module/services/BusinessService.js +2 -2
- package/lib/module/services/BusinessService.js.map +1 -1
- package/lib/module/services/CardService.js +2 -3
- package/lib/module/services/CardService.js.map +1 -1
- package/lib/module/services/CheckoutService.js +2 -2
- package/lib/module/services/CheckoutService.js.map +1 -1
- package/lib/module/services/CustomerService.js +2 -2
- package/lib/module/services/CustomerService.js.map +1 -1
- package/lib/module/services/PaymentMethodService.js +2 -2
- package/lib/module/services/PaymentMethodService.js.map +1 -1
- package/lib/module/services/SkyflowService.js +2 -2
- package/lib/module/services/SkyflowService.js.map +1 -1
- package/lib/module/services/TokenService.js +2 -2
- package/lib/module/services/TokenService.js.map +1 -1
- package/lib/module/services/TransactionService.js +2 -2
- package/lib/module/services/TransactionService.js.map +1 -1
- package/lib/module/services/index.js +0 -1
- package/lib/module/services/index.js.map +1 -1
- package/lib/module/shared/catalog/cardBrandCatalog.js +1 -1
- package/lib/module/shared/catalog/cardBrandCatalog.js.map +1 -1
- package/lib/module/shared/catalog/paymentMethodsCatalog.js +2 -2
- package/lib/module/shared/catalog/paymentMethodsCatalog.js.map +1 -1
- package/lib/module/shared/constants/environments.js +1 -1
- package/lib/module/shared/constants/messages.js +1 -1
- package/lib/module/shared/constants/messages.js.map +1 -1
- package/lib/module/shared/utils/errors.js +1 -1
- package/lib/module/shared/utils/errors.js.map +1 -1
- package/lib/module/shared/utils/paymentMethodUtils.js +2 -2
- package/lib/module/shared/utils/paymentMethodUtils.js.map +1 -1
- package/lib/module/shared/utils/stringUtils.js +15 -0
- package/lib/module/shared/utils/stringUtils.js.map +1 -1
- package/lib/module/types/srn-temp.d.js +2 -0
- package/lib/module/types/srn-temp.d.js.map +1 -0
- package/lib/module/ui/components/Button/ProcessButton.js +1 -1
- package/lib/module/ui/components/Button/ProcessButton.js.map +1 -1
- package/lib/module/ui/components/CardForm/index.js +5 -5
- package/lib/module/ui/components/CardForm/index.js.map +1 -1
- package/lib/module/ui/components/Input/CardCVVInput.js +5 -4
- package/lib/module/ui/components/Input/CardCVVInput.js.map +1 -1
- package/lib/module/ui/components/Input/CardExpirationDateInput.js +5 -5
- package/lib/module/ui/components/Input/CardExpirationDateInput.js.map +1 -1
- package/lib/module/ui/components/Input/CardExpirationMonthInput.js +6 -5
- package/lib/module/ui/components/Input/CardExpirationMonthInput.js.map +1 -1
- package/lib/module/ui/components/Input/CardExpirationYearInput.js +5 -4
- package/lib/module/ui/components/Input/CardExpirationYearInput.js.map +1 -1
- package/lib/module/ui/components/Input/CardHolderInput.js +5 -4
- package/lib/module/ui/components/Input/CardHolderInput.js.map +1 -1
- package/lib/module/ui/components/Input/CardNumberInput.js +5 -4
- package/lib/module/ui/components/Input/CardNumberInput.js.map +1 -1
- package/lib/module/ui/components/PaymentMethodsList/index.js +6 -6
- package/lib/module/ui/components/PaymentMethodsList/index.js.map +1 -1
- package/lib/module/ui/components/SavedCardsList/index.js +4 -3
- package/lib/module/ui/components/SavedCardsList/index.js.map +1 -1
- package/lib/module/ui/features/TonderEnrollment/index.js +6 -6
- package/lib/module/ui/features/TonderEnrollment/index.js.map +1 -1
- package/lib/module/ui/features/TonderPayment/index.js +12 -13
- package/lib/module/ui/features/TonderPayment/index.js.map +1 -1
- package/lib/module/ui/providers/InnerProvider/index.js +1 -1
- package/lib/module/ui/providers/InnerProvider/index.js.map +1 -1
- package/lib/module/ui/providers/SkyflowContainerWrapper/index.js +1 -1
- package/lib/module/ui/providers/SkyflowContainerWrapper/index.js.map +1 -1
- package/lib/module/ui/providers/TonderProvider/hook.js +1 -1
- package/lib/module/ui/providers/TonderProvider/hook.js.map +1 -1
- package/lib/module/ui/providers/TonderProvider/index.js +15 -13
- package/lib/module/ui/providers/TonderProvider/index.js.map +1 -1
- package/lib/module/ui/providers/TonderProvider/uiWrapper.js +2 -2
- package/lib/module/ui/providers/TonderProvider/uiWrapper.js.map +1 -1
- package/lib/module/ui/styles/skyflow.js +1 -1
- package/lib/typescript/commonjs/src/core/3DSHandler.d.ts +4 -4
- package/lib/typescript/commonjs/src/core/3DSHandler.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/core/BaseCheckout/index.d.ts +5 -5
- package/lib/typescript/commonjs/src/core/BaseCheckout/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/core/BaseEnrollment/index.d.ts +5 -5
- package/lib/typescript/commonjs/src/core/BaseEnrollment/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/core/BaseSDK/index.d.ts +2 -2
- package/lib/typescript/commonjs/src/core/BaseSDK/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/core/EnrollmentContainer/index.d.ts +4 -4
- package/lib/typescript/commonjs/src/core/EnrollmentContainer/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/core/PaymentInlineContainer/index.d.ts +4 -4
- package/lib/typescript/commonjs/src/core/PaymentInlineContainer/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/core/PaymentLiteContainer/index.d.ts +4 -4
- package/lib/typescript/commonjs/src/core/PaymentLiteContainer/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/core/Tonder/index.d.ts +2 -2
- package/lib/typescript/commonjs/src/core/Tonder/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/hooks/useTonder/index.d.ts +2 -2
- package/lib/typescript/commonjs/src/hooks/useTonder/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/infrastructure/HttpClient.d.ts +1 -1
- package/lib/typescript/commonjs/src/infrastructure/HttpClient.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/infrastructure/ServiceManager.d.ts +2 -3
- package/lib/typescript/commonjs/src/infrastructure/ServiceManager.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/services/BusinessService.d.ts +2 -2
- package/lib/typescript/commonjs/src/services/BusinessService.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/services/CardService.d.ts +2 -2
- package/lib/typescript/commonjs/src/services/CardService.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/services/CheckoutService.d.ts +2 -2
- package/lib/typescript/commonjs/src/services/CheckoutService.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/services/CustomerService.d.ts +2 -2
- package/lib/typescript/commonjs/src/services/CustomerService.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/services/PaymentMethodService.d.ts +2 -2
- package/lib/typescript/commonjs/src/services/PaymentMethodService.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/services/SkyflowService.d.ts +1 -1
- package/lib/typescript/commonjs/src/services/SkyflowService.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/services/TokenService.d.ts +2 -2
- package/lib/typescript/commonjs/src/services/TokenService.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/services/TransactionService.d.ts +2 -2
- package/lib/typescript/commonjs/src/services/TransactionService.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/services/index.d.ts +0 -1
- package/lib/typescript/commonjs/src/services/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/shared/constants/environments.d.ts +1 -1
- package/lib/typescript/commonjs/src/shared/utils/common.d.ts +1 -1
- package/lib/typescript/commonjs/src/shared/utils/common.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/shared/utils/stringUtils.d.ts +3 -0
- package/lib/typescript/commonjs/src/shared/utils/stringUtils.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/shared/utils/styleUtils.d.ts +1 -1
- package/lib/typescript/commonjs/src/shared/utils/styleUtils.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/base.d.ts +5 -5
- package/lib/typescript/commonjs/src/types/base.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/baseCheckout.d.ts +2 -2
- package/lib/typescript/commonjs/src/types/baseCheckout.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/baseEnrollment.d.ts +2 -2
- package/lib/typescript/commonjs/src/types/baseEnrollment.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/baseSDK.d.ts +2 -2
- package/lib/typescript/commonjs/src/types/baseSDK.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/common.d.ts +1 -1
- package/lib/typescript/commonjs/src/types/common.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/enrollment.d.ts +1 -1
- package/lib/typescript/commonjs/src/types/enrollment.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/inlineCheckout.d.ts +3 -3
- package/lib/typescript/commonjs/src/types/inlineCheckout.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/liteCheckout.d.ts +3 -3
- package/lib/typescript/commonjs/src/types/liteCheckout.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/threeDSHandler.d.ts +2 -2
- package/lib/typescript/commonjs/src/types/threeDSHandler.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/ui/components/Button/ProcessButton.d.ts +1 -1
- package/lib/typescript/commonjs/src/ui/components/Button/ProcessButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/ui/components/CardForm/index.d.ts +1 -1
- package/lib/typescript/commonjs/src/ui/components/CardForm/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/ui/components/Input/CardCVVInput.d.ts +1 -1
- package/lib/typescript/commonjs/src/ui/components/Input/CardCVVInput.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationDateInput.d.ts +1 -1
- package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationDateInput.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationMonthInput.d.ts +1 -1
- package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationMonthInput.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationYearInput.d.ts +1 -1
- package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationYearInput.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/ui/components/Input/CardHolderInput.d.ts +1 -1
- package/lib/typescript/commonjs/src/ui/components/Input/CardHolderInput.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/ui/components/Input/CardNumberInput.d.ts +1 -1
- package/lib/typescript/commonjs/src/ui/components/Input/CardNumberInput.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/ui/components/PaymentMethodsList/index.d.ts +1 -1
- package/lib/typescript/commonjs/src/ui/components/PaymentMethodsList/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/ui/components/RadioButton/index.d.ts +1 -1
- package/lib/typescript/commonjs/src/ui/components/RadioButton/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/ui/components/SavedCardsList/index.d.ts +1 -1
- package/lib/typescript/commonjs/src/ui/components/SavedCardsList/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/ui/features/TonderPayment/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/ui/providers/InnerProvider/index.d.ts +1 -1
- package/lib/typescript/commonjs/src/ui/providers/InnerProvider/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/ui/providers/SkyflowContainerWrapper/index.d.ts +2 -2
- package/lib/typescript/commonjs/src/ui/providers/SkyflowContainerWrapper/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/ui/providers/TonderProvider/context.d.ts +2 -2
- package/lib/typescript/commonjs/src/ui/providers/TonderProvider/context.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/ui/providers/TonderProvider/hook.d.ts +1 -1
- package/lib/typescript/commonjs/src/ui/providers/TonderProvider/hook.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/ui/providers/TonderProvider/index.d.ts +1 -1
- package/lib/typescript/commonjs/src/ui/providers/TonderProvider/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/ui/providers/TonderProvider/uiWrapper.d.ts +1 -1
- package/lib/typescript/commonjs/src/ui/providers/TonderProvider/uiWrapper.d.ts.map +1 -1
- package/lib/typescript/module/src/core/3DSHandler.d.ts +4 -4
- package/lib/typescript/module/src/core/3DSHandler.d.ts.map +1 -1
- package/lib/typescript/module/src/core/BaseCheckout/index.d.ts +5 -5
- package/lib/typescript/module/src/core/BaseCheckout/index.d.ts.map +1 -1
- package/lib/typescript/module/src/core/BaseEnrollment/index.d.ts +5 -5
- package/lib/typescript/module/src/core/BaseEnrollment/index.d.ts.map +1 -1
- package/lib/typescript/module/src/core/BaseSDK/index.d.ts +2 -2
- package/lib/typescript/module/src/core/BaseSDK/index.d.ts.map +1 -1
- package/lib/typescript/module/src/core/EnrollmentContainer/index.d.ts +4 -4
- package/lib/typescript/module/src/core/EnrollmentContainer/index.d.ts.map +1 -1
- package/lib/typescript/module/src/core/PaymentInlineContainer/index.d.ts +4 -4
- package/lib/typescript/module/src/core/PaymentInlineContainer/index.d.ts.map +1 -1
- package/lib/typescript/module/src/core/PaymentLiteContainer/index.d.ts +4 -4
- package/lib/typescript/module/src/core/PaymentLiteContainer/index.d.ts.map +1 -1
- package/lib/typescript/module/src/core/Tonder/index.d.ts +2 -2
- package/lib/typescript/module/src/core/Tonder/index.d.ts.map +1 -1
- package/lib/typescript/module/src/hooks/useTonder/index.d.ts +2 -2
- package/lib/typescript/module/src/hooks/useTonder/index.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts +1 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/infrastructure/HttpClient.d.ts +1 -1
- package/lib/typescript/module/src/infrastructure/HttpClient.d.ts.map +1 -1
- package/lib/typescript/module/src/infrastructure/ServiceManager.d.ts +2 -3
- package/lib/typescript/module/src/infrastructure/ServiceManager.d.ts.map +1 -1
- package/lib/typescript/module/src/services/BusinessService.d.ts +2 -2
- package/lib/typescript/module/src/services/BusinessService.d.ts.map +1 -1
- package/lib/typescript/module/src/services/CardService.d.ts +2 -2
- package/lib/typescript/module/src/services/CardService.d.ts.map +1 -1
- package/lib/typescript/module/src/services/CheckoutService.d.ts +2 -2
- package/lib/typescript/module/src/services/CheckoutService.d.ts.map +1 -1
- package/lib/typescript/module/src/services/CustomerService.d.ts +2 -2
- package/lib/typescript/module/src/services/CustomerService.d.ts.map +1 -1
- package/lib/typescript/module/src/services/PaymentMethodService.d.ts +2 -2
- package/lib/typescript/module/src/services/PaymentMethodService.d.ts.map +1 -1
- package/lib/typescript/module/src/services/SkyflowService.d.ts +1 -1
- package/lib/typescript/module/src/services/SkyflowService.d.ts.map +1 -1
- package/lib/typescript/module/src/services/TokenService.d.ts +2 -2
- package/lib/typescript/module/src/services/TokenService.d.ts.map +1 -1
- package/lib/typescript/module/src/services/TransactionService.d.ts +2 -2
- package/lib/typescript/module/src/services/TransactionService.d.ts.map +1 -1
- package/lib/typescript/module/src/services/index.d.ts +0 -1
- package/lib/typescript/module/src/services/index.d.ts.map +1 -1
- package/lib/typescript/module/src/shared/constants/environments.d.ts +1 -1
- package/lib/typescript/module/src/shared/utils/common.d.ts +1 -1
- package/lib/typescript/module/src/shared/utils/common.d.ts.map +1 -1
- package/lib/typescript/module/src/shared/utils/stringUtils.d.ts +3 -0
- package/lib/typescript/module/src/shared/utils/stringUtils.d.ts.map +1 -1
- package/lib/typescript/module/src/shared/utils/styleUtils.d.ts +1 -1
- package/lib/typescript/module/src/shared/utils/styleUtils.d.ts.map +1 -1
- package/lib/typescript/module/src/types/base.d.ts +5 -5
- package/lib/typescript/module/src/types/base.d.ts.map +1 -1
- package/lib/typescript/module/src/types/baseCheckout.d.ts +2 -2
- package/lib/typescript/module/src/types/baseCheckout.d.ts.map +1 -1
- package/lib/typescript/module/src/types/baseEnrollment.d.ts +2 -2
- package/lib/typescript/module/src/types/baseEnrollment.d.ts.map +1 -1
- package/lib/typescript/module/src/types/baseSDK.d.ts +2 -2
- package/lib/typescript/module/src/types/baseSDK.d.ts.map +1 -1
- package/lib/typescript/module/src/types/common.d.ts +1 -1
- package/lib/typescript/module/src/types/common.d.ts.map +1 -1
- package/lib/typescript/module/src/types/enrollment.d.ts +1 -1
- package/lib/typescript/module/src/types/enrollment.d.ts.map +1 -1
- package/lib/typescript/module/src/types/inlineCheckout.d.ts +3 -3
- package/lib/typescript/module/src/types/inlineCheckout.d.ts.map +1 -1
- package/lib/typescript/module/src/types/liteCheckout.d.ts +3 -3
- package/lib/typescript/module/src/types/liteCheckout.d.ts.map +1 -1
- package/lib/typescript/module/src/types/threeDSHandler.d.ts +2 -2
- package/lib/typescript/module/src/types/threeDSHandler.d.ts.map +1 -1
- package/lib/typescript/module/src/ui/components/Button/ProcessButton.d.ts +1 -1
- package/lib/typescript/module/src/ui/components/Button/ProcessButton.d.ts.map +1 -1
- package/lib/typescript/module/src/ui/components/CardForm/index.d.ts +1 -1
- package/lib/typescript/module/src/ui/components/CardForm/index.d.ts.map +1 -1
- package/lib/typescript/module/src/ui/components/Input/CardCVVInput.d.ts +1 -1
- package/lib/typescript/module/src/ui/components/Input/CardCVVInput.d.ts.map +1 -1
- package/lib/typescript/module/src/ui/components/Input/CardExpirationDateInput.d.ts +1 -1
- package/lib/typescript/module/src/ui/components/Input/CardExpirationDateInput.d.ts.map +1 -1
- package/lib/typescript/module/src/ui/components/Input/CardExpirationMonthInput.d.ts +1 -1
- package/lib/typescript/module/src/ui/components/Input/CardExpirationMonthInput.d.ts.map +1 -1
- package/lib/typescript/module/src/ui/components/Input/CardExpirationYearInput.d.ts +1 -1
- package/lib/typescript/module/src/ui/components/Input/CardExpirationYearInput.d.ts.map +1 -1
- package/lib/typescript/module/src/ui/components/Input/CardHolderInput.d.ts +1 -1
- package/lib/typescript/module/src/ui/components/Input/CardHolderInput.d.ts.map +1 -1
- package/lib/typescript/module/src/ui/components/Input/CardNumberInput.d.ts +1 -1
- package/lib/typescript/module/src/ui/components/Input/CardNumberInput.d.ts.map +1 -1
- package/lib/typescript/module/src/ui/components/PaymentMethodsList/index.d.ts +1 -1
- package/lib/typescript/module/src/ui/components/PaymentMethodsList/index.d.ts.map +1 -1
- package/lib/typescript/module/src/ui/components/RadioButton/index.d.ts +1 -1
- package/lib/typescript/module/src/ui/components/RadioButton/index.d.ts.map +1 -1
- package/lib/typescript/module/src/ui/components/SavedCardsList/index.d.ts +1 -1
- package/lib/typescript/module/src/ui/components/SavedCardsList/index.d.ts.map +1 -1
- package/lib/typescript/module/src/ui/features/TonderPayment/index.d.ts.map +1 -1
- package/lib/typescript/module/src/ui/providers/InnerProvider/index.d.ts +1 -1
- package/lib/typescript/module/src/ui/providers/InnerProvider/index.d.ts.map +1 -1
- package/lib/typescript/module/src/ui/providers/SkyflowContainerWrapper/index.d.ts +2 -2
- package/lib/typescript/module/src/ui/providers/SkyflowContainerWrapper/index.d.ts.map +1 -1
- package/lib/typescript/module/src/ui/providers/TonderProvider/context.d.ts +2 -2
- package/lib/typescript/module/src/ui/providers/TonderProvider/context.d.ts.map +1 -1
- package/lib/typescript/module/src/ui/providers/TonderProvider/hook.d.ts +1 -1
- package/lib/typescript/module/src/ui/providers/TonderProvider/hook.d.ts.map +1 -1
- package/lib/typescript/module/src/ui/providers/TonderProvider/index.d.ts +1 -1
- package/lib/typescript/module/src/ui/providers/TonderProvider/index.d.ts.map +1 -1
- package/lib/typescript/module/src/ui/providers/TonderProvider/uiWrapper.d.ts +1 -1
- package/lib/typescript/module/src/ui/providers/TonderProvider/uiWrapper.d.ts.map +1 -1
- package/package.json +24 -30
- package/src/core/3DSHandler.ts +26 -16
- package/src/core/BaseCheckout/index.ts +11 -12
- package/src/core/BaseEnrollment/index.ts +6 -7
- package/src/core/BaseSDK/index.ts +4 -4
- package/src/core/EnrollmentContainer/index.ts +7 -8
- package/src/core/PaymentInlineContainer/index.ts +6 -6
- package/src/core/PaymentLiteContainer/index.ts +9 -9
- package/src/core/Tonder/index.ts +13 -10
- package/src/hooks/useTonder/index.ts +2 -2
- package/src/index.tsx +23 -0
- package/src/infrastructure/HttpClient.ts +3 -4
- package/src/infrastructure/ServiceManager.ts +3 -6
- package/src/services/BusinessService.ts +4 -4
- package/src/services/CardService.ts +4 -5
- package/src/services/CheckoutService.ts +4 -4
- package/src/services/CustomerService.ts +4 -4
- package/src/services/PaymentMethodService.ts +4 -4
- package/src/services/SkyflowService.ts +3 -3
- package/src/services/TokenService.ts +4 -4
- package/src/services/TransactionService.ts +4 -4
- package/src/services/index.ts +0 -1
- package/src/shared/catalog/cardBrandCatalog.ts +1 -1
- package/src/shared/catalog/paymentMethodsCatalog.ts +2 -2
- package/src/shared/constants/environments.ts +1 -1
- package/src/shared/constants/messages.ts +1 -1
- package/src/shared/utils/common.ts +1 -1
- package/src/shared/utils/errors.ts +1 -1
- package/src/shared/utils/paymentMethodUtils.ts +2 -2
- package/src/shared/utils/stringUtils.ts +24 -0
- package/src/shared/utils/styleUtils.ts +1 -1
- package/src/types/base.ts +5 -5
- package/src/types/baseCheckout.ts +2 -3
- package/src/types/baseEnrollment.ts +2 -2
- package/src/types/baseSDK.ts +2 -2
- package/src/types/common.ts +1 -1
- package/src/types/enrollment.ts +1 -1
- package/src/types/inlineCheckout.ts +3 -3
- package/src/types/liteCheckout.ts +3 -3
- package/src/types/{skyflow-react-native.d.ts → srn-temp.d.ts} +1 -1
- package/src/types/threeDSHandler.ts +2 -2
- package/src/ui/components/Button/ProcessButton.tsx +2 -2
- package/src/ui/components/CardForm/index.tsx +6 -6
- package/src/ui/components/Input/CardCVVInput.tsx +6 -5
- package/src/ui/components/Input/CardExpirationDateInput.tsx +6 -6
- package/src/ui/components/Input/CardExpirationMonthInput.tsx +10 -6
- package/src/ui/components/Input/CardExpirationYearInput.tsx +6 -5
- package/src/ui/components/Input/CardHolderInput.tsx +6 -5
- package/src/ui/components/Input/CardNumberInput.tsx +6 -5
- package/src/ui/components/PaymentMethodsList/index.tsx +7 -7
- package/src/ui/components/RadioButton/index.tsx +1 -1
- package/src/ui/components/SavedCardsList/index.tsx +5 -4
- package/src/ui/features/TonderEnrollment/index.tsx +7 -7
- package/src/ui/features/TonderPayment/index.tsx +13 -20
- package/src/ui/providers/InnerProvider/index.tsx +2 -2
- package/src/ui/providers/SkyflowContainerWrapper/index.tsx +3 -3
- package/src/ui/providers/TonderProvider/context.tsx +3 -3
- package/src/ui/providers/TonderProvider/hook.ts +2 -2
- package/src/ui/providers/TonderProvider/index.tsx +24 -20
- package/src/ui/providers/TonderProvider/uiWrapper.ts +3 -3
- package/src/ui/styles/skyflow.ts +1 -1
- package/tonder-io-rn-sdk.podspec +41 -0
- package/.yarn/patches/skyflow-react-native-npm-1.7.0-0841655e49.patch +0 -13
- package/lib/commonjs/services/StorageService.js +0 -49
- package/lib/commonjs/services/StorageService.js.map +0 -1
- package/lib/commonjs/types/skyflow-react-native.d.js +0 -2
- package/lib/commonjs/types/skyflow-react-native.d.js.map +0 -1
- package/lib/module/services/StorageService.js +0 -43
- package/lib/module/services/StorageService.js.map +0 -1
- package/lib/module/types/skyflow-react-native.d.js +0 -2
- package/lib/module/types/skyflow-react-native.d.js.map +0 -1
- package/lib/typescript/commonjs/src/services/StorageService.d.ts +0 -7
- package/lib/typescript/commonjs/src/services/StorageService.d.ts.map +0 -1
- package/lib/typescript/module/src/services/StorageService.d.ts +0 -7
- package/lib/typescript/module/src/services/StorageService.d.ts.map +0 -1
- package/src/services/StorageService.ts +0 -56
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hook.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/providers/TonderProvider/hook.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"hook.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/providers/TonderProvider/hook.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGzD,QAAA,MAAM,gBAAgB,GAAI,CAAC,SAAS,OAAO,OAAK,cAAc,CAAC,CAAC,CAE/D,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/providers/TonderProvider/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/providers/TonderProvider/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,gBAAgB,CAAC;AAWlE,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,cAAc,CAAC;CACxB;;AAiGD,wBAA0C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uiWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/providers/TonderProvider/uiWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"uiWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/providers/TonderProvider/uiWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAC;AAI/C,MAAM,WAAW,UAAU;IACzB,kBAAkB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACtD,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtD,cAAc,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,mBAAmB,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CAC3C;AAED,QAAA,MAAM,SAAS,WAAY,MAAM,KAAG,UA4DlC,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type { ICheckoutResponse, ISDKBaseConfig,
|
|
2
|
-
import { ServiceManager } from '
|
|
3
|
-
import TonderError from '
|
|
1
|
+
import type { ICheckoutResponse, ISDKBaseConfig, IThreeDSHandler, ITransaction } from '../types';
|
|
2
|
+
import { ServiceManager } from '../infrastructure';
|
|
3
|
+
import TonderError from '../shared/utils/errors';
|
|
4
4
|
export declare class ThreeDSHandler implements IThreeDSHandler {
|
|
5
5
|
protected readonly config: ISDKBaseConfig;
|
|
6
6
|
protected readonly service: ServiceManager;
|
|
7
7
|
private payload?;
|
|
8
|
-
private readonly STORAGE_KEY;
|
|
9
8
|
private onFinish;
|
|
10
9
|
emit3DS: (eventName: string, data: any) => void;
|
|
11
10
|
resumeCheckout: (checkoutId: string) => Promise<ICheckoutResponse>;
|
|
12
11
|
returnURL?: string;
|
|
12
|
+
private verifyURL;
|
|
13
13
|
constructor(config: ISDKBaseConfig, service: ServiceManager, emit3DS: (eventName: string, data: any) => void, resumeCheckout: (checkoutId: string) => Promise<ICheckoutResponse>);
|
|
14
14
|
verifyTransaction(): Promise<ITransaction>;
|
|
15
15
|
handle3DS(payload: ICheckoutResponse, returnURL: string, onFinish: (response: ITransaction | TonderError) => Promise<void>): Promise<ITransaction>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"3DSHandler.d.ts","sourceRoot":"","sources":["../../../../../src/core/3DSHandler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,iBAAiB,EACjB,cAAc,EACd,
|
|
1
|
+
{"version":3,"file":"3DSHandler.d.ts","sourceRoot":"","sources":["../../../../../src/core/3DSHandler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,YAAY,EACb,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,WAAW,MAAM,wBAAwB,CAAC;AAIjD,qBAAa,cAAe,YAAW,eAAe;IASlD,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,cAAc;IAR3C,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC;IAC3C,OAAO,CAAC,OAAO,CAAC,CAAoB;IACpC,OAAO,CAAC,QAAQ,CAA0D;IAC1E,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IAChD,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACnE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,SAAS,CAAS;gBAEL,MAAM,EAAE,cAAc,EACzC,OAAO,EAAE,cAAc,EACvB,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,IAAI,EAC/C,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,iBAAiB,CAAC;IAQvD,iBAAiB,IAAI,OAAO,CAAC,YAAY,CAAC;IAU1C,SAAS,CACpB,OAAO,EAAE,iBAAiB,EAC1B,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,CAAC,QAAQ,EAAE,YAAY,GAAG,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,GAChE,OAAO,CAAC,YAAY,CAAC;YAmFV,UAAU;IAIxB,OAAO,CAAC,cAAc;YAGR,wBAAwB;YAaxB,0BAA0B;YAI1B,UAAU;YACV,kBAAkB;CACjC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type Tonder from '@core/Tonder';
|
|
2
|
-
import BaseSDK from '@core/BaseSDK';
|
|
3
1
|
import React from 'react';
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
2
|
+
import BaseSDK from '../BaseSDK';
|
|
3
|
+
import type { IProcessPaymentRequest, ISaveCardResponse, ITransaction, SDKOptions } from '../../types';
|
|
4
|
+
import Tonder from '../Tonder';
|
|
5
|
+
import { SDKType } from '../../types';
|
|
6
|
+
import TonderError from '../../shared/utils/errors';
|
|
7
7
|
declare class BaseCheckout extends BaseSDK {
|
|
8
8
|
#private;
|
|
9
9
|
constructor(tonderClient: Tonder, getState: () => Readonly<any>, setState: (newState: Partial<any>) => void, setSkyflowConfig: React.Dispatch<React.SetStateAction<any>>);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/BaseCheckout/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/BaseCheckout/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,OAAO,MAAM,YAAY,CAAC;AACjC,OAAO,KAAK,EAMV,sBAAsB,EACtB,iBAAiB,EAGjB,YAAY,EACZ,UAAU,EACX,MAAM,aAAa,CAAC;AACrB,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,WAAW,MAAM,2BAA2B,CAAC;AAMpD,cAAM,YAAa,SAAQ,OAAO;;gBAI9B,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,QAAQ,CAAC,GAAG,CAAC,EAC7B,QAAQ,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,KAAK,IAAI,EAC1C,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;IAWtD,MAAM,SACL,UAAU,CAAC,OAAO,CAAC,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,KAC9C,OAAO,CAAC;QAAE,KAAK,CAAC,EAAE,WAAW,CAAA;KAAE,CAAC,CAkCjC;IAEK,gBAAgB,SACf,sBAAsB,KAC3B,OAAO,CAAC,YAAY,CAAC,CA6CtB;YAEY,mBAAmB;IA0B1B,mBAAmB,YACf,MAAM,aACJ,OAAO,KACjB,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAclC;YAEY,cAAc;YAyBd,WAAW;YAoBX,aAAa;YAiBb,mBAAmB;IAgDjC,OAAO,CAAC,aAAa;IAiCR,kBAAkB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAAC,WAAW,CAAC;YAkCnD,cAAc;YAMd,SAAS;YAmBT,QAAQ;YAkBR,iBAAiB;IA6B/B,OAAO,CAAC,eAAe;CAOxB;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import TonderError from '
|
|
2
|
-
import type { ISaveCardResponse, SDKOptions } from '
|
|
3
|
-
import { SDKType } from '
|
|
4
|
-
import BaseSDK from '
|
|
5
|
-
import type Tonder from '
|
|
1
|
+
import TonderError from '../../shared/utils/errors';
|
|
2
|
+
import type { ISaveCardResponse, SDKOptions } from '../../types';
|
|
3
|
+
import { SDKType } from '../../types';
|
|
4
|
+
import BaseSDK from '../../core/BaseSDK';
|
|
5
|
+
import type Tonder from '../../core/Tonder';
|
|
6
6
|
import React from 'react';
|
|
7
7
|
declare class BaseEnrollment extends BaseSDK {
|
|
8
8
|
#private;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/BaseEnrollment/index.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/BaseEnrollment/index.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,2BAA2B,CAAC;AAEpD,OAAO,KAAK,EACV,iBAAiB,EACjB,UAAU,EAEX,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,OAAO,MAAM,oBAAoB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,cAAM,cAAe,SAAQ,OAAO;;gBAShC,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,QAAQ,CAAC,GAAG,CAAC,EAC7B,QAAQ,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,KAAK,IAAI,EAC1C,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;IAKtD,MAAM,SACL,UAAU,CAAC,OAAO,CAAC,UAAU,CAAC,KACnC,OAAO,CAAC;QAAE,KAAK,CAAC,EAAE,WAAW,CAAA;KAAE,CAAC,CA4CjC;IAEK,QAAQ,YAAmB,MAAM,KAAG,OAAO,CAAC,iBAAiB,CAAC,CAiBnE;CACH;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type Tonder from '
|
|
2
|
-
import type { ICustomer, ICustomerResponse } from '
|
|
1
|
+
import type Tonder from '../Tonder';
|
|
2
|
+
import type { ICustomer, ICustomerResponse } from '../../types';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
declare class BaseSDK {
|
|
5
5
|
tonderClient: Tonder;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/BaseSDK/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/BaseSDK/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGhE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,cAAM,OAAO;IACX,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,QAAQ,CAAC,GAAG,CAAC,CAAC;IAC9B,QAAQ,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC;IAC3C,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAA4C;gBAG3E,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,QAAQ,CAAC,GAAG,CAAC,EAC7B,QAAQ,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,KAAK,IAAI,EAC1C,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;IAQhD,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;cAe5B,qBAAqB,CACnC,QAAQ,CAAC,EAAE,SAAS,GACnB,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC;IAoBvB,mBAAmB,CAAC,SAAS,CAAC,EAAE;QAC3C,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB,GAAG,OAAO,CAAC,IAAI,CAAC;IAOjB,OAAO,CAAC,eAAe;YAQT,WAAW;CAY1B;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { IBaseResponse, IEnrollment, ISaveCardResponse, SDKOptions } from '
|
|
2
|
-
import TonderError from '
|
|
1
|
+
import type { IBaseResponse, IEnrollment, ISaveCardResponse, SDKOptions } from '../../types';
|
|
2
|
+
import TonderError from '../../shared/utils/errors';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { SDKType } from '
|
|
5
|
-
import Tonder from '
|
|
4
|
+
import { SDKType } from '../../types';
|
|
5
|
+
import Tonder from '../../core/Tonder';
|
|
6
6
|
export declare class EnrollmentContainer implements IEnrollment {
|
|
7
7
|
#private;
|
|
8
8
|
constructor(tonderClient: Tonder, setSkyflowConfig: React.Dispatch<React.SetStateAction<any>>);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/EnrollmentContainer/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,WAAW,EACX,iBAAiB,EACjB,UAAU,EACX,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/EnrollmentContainer/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,WAAW,EACX,iBAAiB,EACjB,UAAU,EACX,MAAM,aAAa,CAAC;AACrB,OAAO,WAAW,MAAM,2BAA2B,CAAC;AAEpD,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,qBAAa,mBAAoB,YAAW,WAAW;;gBAKnD,YAAY,EAAE,MAAM,EACpB,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;IAWtD,MAAM,SACL,UAAU,CAAC,OAAO,CAAC,UAAU,CAAC,KACnC,OAAO,CAAC;QAAE,KAAK,CAAC,EAAE,WAAW,CAAA;KAAE,CAAC,CAEjC;IACW,gBAAgB,IAAI,OAAO,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;IAgE1E,KAAK,QAAO,IAAI,CAEd;CACH"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type Tonder from '
|
|
2
|
-
import TonderError from '
|
|
1
|
+
import type Tonder from '../../core/Tonder';
|
|
2
|
+
import TonderError from '../../shared/utils/errors';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import type { IBaseProcessPaymentRequest, IBaseResponse, IPaymentInlineContainer, ITransaction, SDKOptions } from '
|
|
5
|
-
import { SDKType } from '
|
|
4
|
+
import type { IBaseProcessPaymentRequest, IBaseResponse, IPaymentInlineContainer, ITransaction, SDKOptions } from '../../types';
|
|
5
|
+
import { SDKType } from '../../types';
|
|
6
6
|
declare class PaymentInlineContainer implements IPaymentInlineContainer {
|
|
7
7
|
#private;
|
|
8
8
|
constructor(tonderClient: Tonder, setSkyflowConfig: React.Dispatch<React.SetStateAction<any>>);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/PaymentInlineContainer/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/PaymentInlineContainer/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,WAAW,MAAM,2BAA2B,CAAC;AAEpD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EACV,0BAA0B,EAC1B,aAAa,EAEb,uBAAuB,EAEvB,YAAY,EACZ,UAAU,EACX,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,cAAM,sBAAuB,YAAW,uBAAuB;;gBAyB3D,YAAY,EAAE,MAAM,EACpB,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;IAWtD,MAAM,SACL,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC,KAC/B,OAAO,CAAC;QAAE,KAAK,CAAC,EAAE,WAAW,CAAA;KAAE,CAAC,CAmCjC;IACK,OAAO,UACL,0BAA0B,KAChC,OAAO,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC,CAkBrC;IAEF,KAAK,QAAO,IAAI,CAEd;IAEF,OAAO,CAAC,0BAA0B;CAOnC;AAED,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type Tonder from '
|
|
2
|
-
import TonderError from '
|
|
1
|
+
import type Tonder from '../../core/Tonder';
|
|
2
|
+
import TonderError from '../../shared/utils/errors';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import type { IBaseResponse, ICustomerCardsResponse, IPaymentLiteContainer, IPaymentMethod, IProcessPaymentRequest, ISaveCardResponse, ITransaction, SDKOptions } from '
|
|
5
|
-
import { SDKType } from '
|
|
4
|
+
import type { IBaseResponse, ICustomerCardsResponse, IPaymentLiteContainer, IPaymentMethod, IProcessPaymentRequest, ISaveCardResponse, ITransaction, SDKOptions } from '../../types';
|
|
5
|
+
import { SDKType } from '../../types';
|
|
6
6
|
declare class PaymentLiteContainer implements IPaymentLiteContainer {
|
|
7
7
|
#private;
|
|
8
8
|
constructor(tonderClient: Tonder, setSkyflowConfig: React.Dispatch<React.SetStateAction<any>>);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/PaymentLiteContainer/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/PaymentLiteContainer/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,WAAW,MAAM,2BAA2B,CAAC;AAEpD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EACV,aAAa,EACb,sBAAsB,EAEtB,qBAAqB,EACrB,cAAc,EACd,sBAAsB,EACtB,iBAAiB,EACjB,YAAY,EACZ,UAAU,EACX,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAKtC,cAAM,oBAAqB,YAAW,qBAAqB;;gBAUvD,YAAY,EAAE,MAAM,EACpB,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;IAWtD,MAAM,SACL,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,KAC7B,OAAO,CAAC;QAAE,KAAK,CAAC,EAAE,WAAW,CAAA;KAAE,CAAC,CAejC;IACK,OAAO,UACL,sBAAsB,KAC5B,OAAO,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC,CAgBrC;IAEK,gBAAgB,QAAa,OAAO,CACzC,aAAa,CAAC,iBAAiB,CAAC,CACjC,CA6BC;IAEK,gBAAgB,QAAa,OAAO,CACzC,aAAa,CAAC,sBAAsB,CAAC,CACtC,CAuBC;IAEK,kBAAkB,OACnB,MAAM,KACT,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAkB/B;IAEK,iBAAiB,QAAa,OAAO,CAC1C,aAAa,CAAC,cAAc,EAAE,CAAC,CAChC,CAWC;IAEF,KAAK,QAAO,IAAI,CAEd;IAEF,OAAO,CAAC,0BAA0B;CAgBnC;AAED,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ICard, IPaymentMethod, ISDKBaseConfig } from '
|
|
2
|
-
import { ServiceManager } from '
|
|
1
|
+
import type { ICard, IPaymentMethod, ISDKBaseConfig } from '../../types';
|
|
2
|
+
import { ServiceManager } from '../../infrastructure';
|
|
3
3
|
declare class Tonder {
|
|
4
4
|
private config;
|
|
5
5
|
service: ServiceManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/Tonder/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,KAAK,EAEL,cAAc,EACd,cAAc,EACf,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/Tonder/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,KAAK,EAEL,cAAc,EACd,cAAc,EACf,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAItD,cAAM,MAAM;IACV,OAAO,CAAC,MAAM,CAAiB;IACxB,OAAO,EAAE,cAAc,CAAC;IAC/B,OAAO,CAAC,KAAK,CAAM;IACnB,OAAO,CAAC,WAAW,CAAsB;IACzC,OAAO,CAAC,cAAc,CAAoD;gBAE9D,MAAM,EAAE,cAAc;IAIlC,OAAO,CAAC,QAAQ;IAShB,SAAS,IAAI,QAAQ,CAAC,cAAc,CAAC;IAGrC,UAAU,IAAI,cAAc;IAIrB,oBAAoB,IAAI,MAAM;IAU9B,cAAc,IAAI,MAAM;IAIxB,aAAa,IAAI,MAAM;IAIvB,QAAQ,QAAO,QAAQ,CAAC,GAAG,CAAC,CAEjC;IAEK,QAAQ,aAAc,OAAO,CAAC,GAAG,CAAC,KAAG,IAAI,CAG9C;IAEK,aAAa,CAAC,EACnB,IAAI,EACJ,aAAa,EACb,cAAc,EACd,KAAK,EACL,cAAc,EACd,QAAQ,GACT,EAAE;QACD,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC;QAChB,cAAc,CAAC,EAAE,cAAc,EAAE,CAAC;QAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB;IA0BM,SAAS,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI;IAO3C,IAAI,cAAe,MAAM,QAAQ,GAAG,KAAG,IAAI,CAShD;IAEK,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,GAAG,MAAM,IAAI;IAWvE,OAAO,CAAC,iBAAiB;IAIlB,KAAK;CAMb;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SDKType } from '
|
|
2
|
-
declare const useTonder: <T extends SDKType>() => import("
|
|
1
|
+
import { SDKType } from '../../types';
|
|
2
|
+
declare const useTonder: <T extends SDKType>() => import("../..").SDKInstance<T>;
|
|
3
3
|
export default useTonder;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/hooks/useTonder/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/hooks/useTonder/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,QAAA,MAAM,SAAS,GAAI,CAAC,SAAS,OAAO,qCAInC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAmBA,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAE9D;AAED,cAAc,uCAAuC,CAAC;AACtD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAC/D,cAAc,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpClient.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/HttpClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"HttpClient.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/HttpClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAI3C,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IACjC,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAClC,OAAO,CAAC,eAAe,CAAkB;gBAE7B,MAAM,EAAE,UAAU;IAOvB,SAAS,IAAI,MAAM;IAI1B,OAAO,CAAC,cAAc;cAQN,OAAO,CAAC,CAAC,EACvB,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,WAAgB,GACxB,OAAO,CAAC,CAAC,CAAC;IAyBb,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,GAAE,WAAgB,GAAG,OAAO,CAAC,CAAC,CAAC;IAO/D,IAAI,CAAC,CAAC,EACJ,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,OAAO,EACb,OAAO,GAAE,WAAgB,GACxB,OAAO,CAAC,CAAC,CAAC;IAQb,MAAM,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,GAAE,WAAgB,GAAG,OAAO,CAAC,CAAC,CAAC;YAMpD,kBAAkB;IAUhC,OAAO,CAAC,WAAW;IAsBnB;;OAEG;IACI,OAAO,IAAI,IAAI;CAGvB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ISDKBaseConfig } from '
|
|
2
|
-
import { CardService, CheckoutService, CustomerService, OpenPayService, PaymentMethodService, SkyflowService, TokenService, BusinessService, MercadoPagoService, TransactionService
|
|
1
|
+
import type { ISDKBaseConfig } from '../types';
|
|
2
|
+
import { CardService, CheckoutService, CustomerService, OpenPayService, PaymentMethodService, SkyflowService, TokenService, BusinessService, MercadoPagoService, TransactionService } from '../services';
|
|
3
3
|
export declare class ServiceManager {
|
|
4
4
|
private readonly http;
|
|
5
5
|
readonly business: BusinessService;
|
|
@@ -11,7 +11,6 @@ export declare class ServiceManager {
|
|
|
11
11
|
readonly token: TokenService;
|
|
12
12
|
readonly openPay: OpenPayService;
|
|
13
13
|
readonly mercadoPago: MercadoPagoService;
|
|
14
|
-
readonly storage: StorageService;
|
|
15
14
|
readonly transaction: TransactionService;
|
|
16
15
|
constructor(config: ISDKBaseConfig);
|
|
17
16
|
cleanup(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceManager.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/ServiceManager.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ServiceManager.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/ServiceManager.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EACL,WAAW,EACX,eAAe,EACf,eAAe,EACf,cAAc,EACd,oBAAoB,EACpB,cAAc,EACd,YAAY,EACZ,eAAe,EACf,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,aAAa,CAAC;AAErB,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;IAElC,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC;IACnC,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC;IACnC,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC;IACnC,QAAQ,CAAC,aAAa,EAAE,oBAAoB,CAAC;IAC7C,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC;IACjC,QAAQ,CAAC,KAAK,EAAE,YAAY,CAAC;IAC7B,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC;IACjC,QAAQ,CAAC,WAAW,EAAE,kBAAkB,CAAC;IACzC,QAAQ,CAAC,WAAW,EAAE,kBAAkB,CAAC;gBAE7B,MAAM,EAAE,cAAc;IAkB3B,OAAO,IAAI,IAAI;CAGvB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { GetBusinessResponse } from '
|
|
2
|
-
import { HttpClient } from '
|
|
1
|
+
import type { GetBusinessResponse } from '../types';
|
|
2
|
+
import { HttpClient } from '../infrastructure';
|
|
3
3
|
export declare class BusinessService {
|
|
4
4
|
private readonly BASE_PATH;
|
|
5
5
|
private readonly http;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BusinessService.d.ts","sourceRoot":"","sources":["../../../../../src/services/BusinessService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"BusinessService.d.ts","sourceRoot":"","sources":["../../../../../src/services/BusinessService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/C,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA+B;IACzD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;gBAEtB,IAAI,EAAE,UAAU;IAI5B;;;;;OAKG;IACG,aAAa,CAAC,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAaxE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ICustomerCardsResponse, ISaveCardResponse, ISaveCardSkyflowRequest } from '
|
|
2
|
-
import { HttpClient } from '
|
|
1
|
+
import type { ICustomerCardsResponse, ISaveCardResponse, ISaveCardSkyflowRequest } from '../types';
|
|
2
|
+
import { HttpClient } from '../infrastructure';
|
|
3
3
|
export declare class CardService {
|
|
4
4
|
private readonly BASE_PATH;
|
|
5
5
|
private readonly http;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardService.d.ts","sourceRoot":"","sources":["../../../../../src/services/CardService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,
|
|
1
|
+
{"version":3,"file":"CardService.d.ts","sourceRoot":"","sources":["../../../../../src/services/CardService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/C,qBAAa,WAAW;IACtB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAsB;IAChD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;gBAEtB,IAAI,EAAE,UAAU;IAG5B;;;OAGG;IACG,kBAAkB,CACtB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GAAG,MAAM,GAC1B,OAAO,CAAC,sBAAsB,CAAC;IAiBlC;;;OAGG;IACG,gBAAgB,CACpB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GAAG,MAAM,EAC3B,QAAQ,EAAE,uBAAuB,GAChC,OAAO,CAAC,iBAAiB,CAAC;IAmB7B;;;OAGG;IACG,kBAAkB,CACtB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,GAAG,MAAM,GAC1B,OAAO,CAAC,MAAM,CAAC;IAqBlB,OAAO,CAAC,mBAAmB;IAM3B;;OAEG;IACH,OAAO,CAAC,gBAAgB;CASzB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IStartCheckoutRequest, IStartCheckoutIdRequest, ICreateOrderResponse, ICreatePaymentResponse, ICheckoutResponse, ICreatePaymentRequest, ICreateOrderRequest } from '
|
|
2
|
-
import { HttpClient } from '
|
|
1
|
+
import type { IStartCheckoutRequest, IStartCheckoutIdRequest, ICreateOrderResponse, ICreatePaymentResponse, ICheckoutResponse, ICreatePaymentRequest, ICreateOrderRequest } from '../types';
|
|
2
|
+
import { HttpClient } from '../infrastructure';
|
|
3
3
|
export declare class CheckoutService {
|
|
4
4
|
private readonly BASE_PATHS;
|
|
5
5
|
private readonly http;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckoutService.d.ts","sourceRoot":"","sources":["../../../../../src/services/CheckoutService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACtB,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACpB,MAAM,
|
|
1
|
+
{"version":3,"file":"CheckoutService.d.ts","sourceRoot":"","sources":["../../../../../src/services/CheckoutService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACtB,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACpB,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/C,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAIhB;IAEX,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;gBAEtB,IAAI,EAAE,UAAU;IAG5B;;;;OAIG;IACG,WAAW,CACf,UAAU,EAAE,mBAAmB,GAC9B,OAAO,CAAC,oBAAoB,CAAC;IAgBhC;;;;OAIG;IACG,aAAa,CACjB,YAAY,EAAE,qBAAqB,GAClC,OAAO,CAAC,sBAAsB,CAAC;IAgBlC;;;;;OAKG;IACG,mBAAmB,CACvB,WAAW,EAAE,qBAAqB,GAAG,uBAAuB,EAC5D,eAAe,CAAC,EAAE,MAAM,GACvB,OAAO,CAAC,iBAAiB,CAAC;IAmB7B;;;OAGG;IACH,OAAO,CAAC,iBAAiB;IAczB;;;OAGG;IACH,OAAO,CAAC,mBAAmB;CAa5B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ICustomer, ICustomerResponse } from '
|
|
2
|
-
import { HttpClient } from '
|
|
1
|
+
import type { ICustomer, ICustomerResponse } from '../types';
|
|
2
|
+
import { HttpClient } from '../infrastructure';
|
|
3
3
|
export declare class CustomerService {
|
|
4
4
|
private readonly BASE_PATH;
|
|
5
5
|
private readonly http;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomerService.d.ts","sourceRoot":"","sources":["../../../../../src/services/CustomerService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CustomerService.d.ts","sourceRoot":"","sources":["../../../../../src/services/CustomerService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7D,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/C,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAuB;IACjD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;gBAEtB,IAAI,EAAE,UAAU;IAG5B;;;;;OAKG;IACG,uBAAuB,CAC3B,QAAQ,EAAE,SAAS,EACnB,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,iBAAiB,CAAC;IAgB7B;;;OAGG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;OAEG;IACH,OAAO,CAAC,YAAY;CAIrB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IPaymentMethodResponse } from '
|
|
2
|
-
import { HttpClient } from '
|
|
1
|
+
import type { IPaymentMethodResponse } from '../types';
|
|
2
|
+
import { HttpClient } from '../infrastructure';
|
|
3
3
|
export declare class PaymentMethodService {
|
|
4
4
|
private readonly BASE_PATH;
|
|
5
5
|
private readonly DEFAULT_PAGE_SIZE;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentMethodService.d.ts","sourceRoot":"","sources":["../../../../../src/services/PaymentMethodService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"PaymentMethodService.d.ts","sourceRoot":"","sources":["../../../../../src/services/PaymentMethodService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/C,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA6B;IACvD,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAW;IAC7C,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;gBAEtB,IAAI,EAAE,UAAU;IAG5B;;;;OAIG;IACG,mBAAmB,CACvB,MAAM,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAG5B,GACA,OAAO,CAAC,sBAAsB,CAAC;CAcnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SkyflowService.d.ts","sourceRoot":"","sources":["../../../../../src/services/SkyflowService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"SkyflowService.d.ts","sourceRoot":"","sources":["../../../../../src/services/SkyflowService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAGpD,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAyB;IACnD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;gBAEtB,IAAI,EAAE,UAAU;IAI5B;;;;OAIG;IACG,aAAa,CAAC,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAmBpD,mBAAmB,CAAC,YAAY,EAAE,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC;CAW/D"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IGetSecureTokenResponse } from '
|
|
2
|
-
import { HttpClient } from '
|
|
1
|
+
import type { IGetSecureTokenResponse } from '../types';
|
|
2
|
+
import { HttpClient } from '../infrastructure';
|
|
3
3
|
export declare class TokenService {
|
|
4
4
|
private readonly BASE_PATH;
|
|
5
5
|
private readonly http;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenService.d.ts","sourceRoot":"","sources":["../../../../../src/services/TokenService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TokenService.d.ts","sourceRoot":"","sources":["../../../../../src/services/TokenService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/C,qBAAa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAwB;IAClD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;gBAEtB,IAAI,EAAE,UAAU;IAG5B;;;;;OAKG;IACG,cAAc,CAClB,YAAY,EAAE,MAAM,EACpB,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,uBAAuB,CAAC;IAkBnC,OAAO,CAAC,aAAa;CAKtB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ITransaction } from '
|
|
2
|
-
import { HttpClient } from '
|
|
1
|
+
import type { ITransaction } from '../types';
|
|
2
|
+
import { HttpClient } from '../infrastructure';
|
|
3
3
|
export declare class TransactionService {
|
|
4
4
|
private readonly http;
|
|
5
5
|
constructor(http: HttpClient);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionService.d.ts","sourceRoot":"","sources":["../../../../../src/services/TransactionService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TransactionService.d.ts","sourceRoot":"","sources":["../../../../../src/services/TransactionService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/C,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;gBAEtB,IAAI,EAAE,UAAU;IAItB,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;CAUxE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC"}
|
|
@@ -2,7 +2,7 @@ declare const TONDER_URL_BY_MODE: Readonly<{
|
|
|
2
2
|
production: "https://app.tonder.io";
|
|
3
3
|
sandbox: "https://sandbox.tonder.io";
|
|
4
4
|
stage: "https://stage.tonder.io";
|
|
5
|
-
development: "http://192.168.
|
|
5
|
+
development: "http://192.168.68.107:8000";
|
|
6
6
|
}>;
|
|
7
7
|
export { TONDER_URL_BY_MODE };
|
|
8
8
|
//# sourceMappingURL=environments.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/utils/common.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/utils/common.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,UAAU,QAAO,YAgB7B,CAAC;AAEF,eAAO,MAAM,eAAe,+CAKzB;IACD,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,kBAeA,CAAC"}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
export declare const clearSpace: (text: string) => string;
|
|
2
|
+
declare const defaultTo: (value: any, defaultValue: any) => any;
|
|
3
|
+
declare const get: (object: any, path: any, defaultValue?: any) => any;
|
|
4
|
+
export { defaultTo, get };
|
|
2
5
|
//# sourceMappingURL=stringUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stringUtils.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/utils/stringUtils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,SAAU,MAAM,WAEtC,CAAC"}
|
|
1
|
+
{"version":3,"file":"stringUtils.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/utils/stringUtils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,SAAU,MAAM,WAEtC,CAAC;AAEF,QAAA,MAAM,SAAS,wCAEd,CAAC;AAGF,QAAA,MAAM,GAAG,qDAeR,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styleUtils.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/utils/styleUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"styleUtils.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/utils/styleUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,QAAA,MAAM,kBAAkB,WAAY,iBAAiB;;;;CAMpD,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { IEnrollment, IEnrollmentOptions, IEnrollmentState, IInlineCheckoutOptions, IInlineCheckoutState, ILiteCheckoutOptions, ILiteCheckoutState, IPaymentInlineContainer, IPaymentLiteContainer } from '
|
|
2
|
-
import type TonderError from '
|
|
3
|
-
import type PaymentInlineContainer from '
|
|
4
|
-
import type PaymentLiteContainer from '
|
|
5
|
-
import type { EnrollmentContainer } from '
|
|
1
|
+
import type { IEnrollment, IEnrollmentOptions, IEnrollmentState, IInlineCheckoutOptions, IInlineCheckoutState, ILiteCheckoutOptions, ILiteCheckoutState, IPaymentInlineContainer, IPaymentLiteContainer } from '.';
|
|
2
|
+
import type TonderError from '../shared/utils/errors';
|
|
3
|
+
import type PaymentInlineContainer from '../core/PaymentInlineContainer';
|
|
4
|
+
import type PaymentLiteContainer from '../core/PaymentLiteContainer';
|
|
5
|
+
import type { EnrollmentContainer } from '../core/EnrollmentContainer';
|
|
6
6
|
export type Environment = 'production' | 'sandbox' | 'stage' | 'development';
|
|
7
7
|
export declare enum SDKType {
|
|
8
8
|
INLINE = "inline",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/types/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/types/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,GAAG,CAAC;AACX,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,sBAAsB,MAAM,gCAAgC,CAAC;AACzE,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAEvE,MAAM,MAAM,WAAW,GAAG,YAAY,GAAG,SAAS,GAAG,OAAO,GAAG,aAAa,CAAC;AAE7E,oBAAY,OAAO;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,UAAU,eAAe;CAC1B;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,IACvB;IAAE,QAAQ,EAAE,CAAC,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,GAC9B;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,WAAW,CAAA;CAAE,CAAC;AAE7C,MAAM,MAAM,aAAa,GACrB,sBAAsB,GACtB,oBAAoB,GACpB,mBAAmB,CAAC;AACxB,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,UAAU,CAAC,CAAC,SAAS,OAAO;IAC3C,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,WAAW,GAAG,KAAK,GAAG,IAAI,CAAC;IAClC,MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,kBAAkB;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AACD,MAAM,MAAM,aAAa,GAAG;IAC1B,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,sBAAsB,CAAC;IACzC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,oBAAoB,CAAC;IACrC,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,kBAAkB,CAAC;CAC1C,CAAC;AAGF,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,OAAO,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC;AAG7D,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,OAAO,IAAI,CAAC,SAAS,OAAO,CAAC,MAAM,GACjE,uBAAuB,GACvB,CAAC,SAAS,OAAO,CAAC,IAAI,GACpB,qBAAqB,GACrB,CAAC,SAAS,OAAO,CAAC,UAAU,GAC1B,WAAW,GACX,KAAK,CAAC;AAEd,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,OAAO,IAAI,CAAC,SAAS,OAAO,CAAC,MAAM,GACtE,oBAAoB,GACpB,CAAC,SAAS,OAAO,CAAC,IAAI,GACpB,kBAAkB,GAClB,CAAC,SAAS,OAAO,CAAC,UAAU,GAC1B,gBAAgB,GAChB,KAAK,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Business, IBaseProcessPaymentRequest, IBaseResponse, IBaseState, ICustomerResponse, IInlineCallbacks, IInlineCustomizationOptions, IInternalProcessPaymentRequest, ILiteCallbacks, ILiteCustomizationOptions, IProcessPaymentRequest, ITransaction } from '
|
|
1
|
+
import type { Business, IBaseProcessPaymentRequest, IBaseResponse, IBaseState, ICustomerResponse, IInlineCallbacks, IInlineCustomizationOptions, IInternalProcessPaymentRequest, ILiteCallbacks, ILiteCustomizationOptions, IProcessPaymentRequest, ITransaction } from '.';
|
|
2
2
|
import type { IConfig } from 'skyflow-react-native';
|
|
3
|
-
import { SDKType } from '
|
|
3
|
+
import { SDKType } from './base';
|
|
4
4
|
export interface IBaseUIState {
|
|
5
5
|
card?: string;
|
|
6
6
|
payment_method?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseCheckout.d.ts","sourceRoot":"","sources":["../../../../../src/types/baseCheckout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,0BAA0B,EAC1B,aAAa,EACb,UAAU,EACV,iBAAiB,EACjB,gBAAgB,EAChB,2BAA2B,EAC3B,8BAA8B,EAC9B,cAAc,EACd,yBAAyB,EACzB,sBAAsB,EACtB,YAAY,EACb,MAAM,
|
|
1
|
+
{"version":3,"file":"baseCheckout.d.ts","sourceRoot":"","sources":["../../../../../src/types/baseCheckout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,0BAA0B,EAC1B,aAAa,EACb,UAAU,EACV,iBAAiB,EACjB,gBAAgB,EAChB,2BAA2B,EAC3B,8BAA8B,EAC9B,cAAc,EACd,yBAAyB,EACzB,sBAAsB,EACtB,YAAY,EACb,MAAM,GAAG,CAAC;AACX,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEjC,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AACD,MAAM,WAAW,kBAAkB,CAAC,CAAC,SAAS,OAAO,CAAE,SAAQ,UAAU,CAAC,CAAC,CAAC;IAC1E,WAAW,EAAE,0BAA0B,GAAG,sBAAsB,CAAC;IACjE,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,mBAAmB,CAAC,EAAE,8BAA8B,CAAC;IACrD,aAAa,CAAC,EAAE,2BAA2B,GAAG,yBAAyB,CAAC;IACxE,SAAS,CAAC,EAAE,gBAAgB,GAAG,cAAc,CAAC;IAC9C,gBAAgB,CAAC,EAAE;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,YAAY,CAAC;CACtB;AAED,MAAM,WAAW,aAAa;IAC5B,aAAa,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACpC,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,aAAa,CAAC,YAAY,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5E"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Business, IBaseState, ICustomer, ICustomerResponse, IEnrollmentCallbacks } from '
|
|
1
|
+
import type { Business, IBaseState, ICustomer, ICustomerResponse, IEnrollmentCallbacks } from '.';
|
|
2
2
|
import type { IConfig } from 'skyflow-react-native';
|
|
3
|
-
import { SDKType } from '
|
|
3
|
+
import { SDKType } from './base';
|
|
4
4
|
export interface IBaseEnrollmentState extends IBaseState<SDKType.ENROLLMENT> {
|
|
5
5
|
customer?: ICustomer;
|
|
6
6
|
customerData?: ICustomerResponse;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseEnrollment.d.ts","sourceRoot":"","sources":["../../../../../src/types/baseEnrollment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,UAAU,EACV,SAAS,EACT,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,
|
|
1
|
+
{"version":3,"file":"baseEnrollment.d.ts","sourceRoot":"","sources":["../../../../../src/types/baseEnrollment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,UAAU,EACV,SAAS,EACT,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,GAAG,CAAC;AACX,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEjC,MAAM,WAAW,oBAAqB,SAAQ,UAAU,CAAC,OAAO,CAAC,UAAU,CAAC;IAC1E,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE,oBAAoB,CAAC;CAClC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Business, IBaseState, ICustomerResponse } from '
|
|
1
|
+
import type { Business, IBaseState, ICustomerResponse } from '.';
|
|
2
2
|
import type { IConfig } from 'skyflow-react-native';
|
|
3
|
-
import { SDKType } from '
|
|
3
|
+
import { SDKType } from './base';
|
|
4
4
|
export interface IBaseSDKState<T extends SDKType> extends IBaseState<T> {
|
|
5
5
|
customerData?: ICustomerResponse;
|
|
6
6
|
merchantData?: Business;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseSDK.d.ts","sourceRoot":"","sources":["../../../../../src/types/baseSDK.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"baseSDK.d.ts","sourceRoot":"","sources":["../../../../../src/types/baseSDK.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,GAAG,CAAC;AACjE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEjC,MAAM,WAAW,aAAa,CAAC,CAAC,SAAS,OAAO,CAAE,SAAQ,UAAU,CAAC,CAAC,CAAC;IACrE,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,GAAG,CAAC;CACxB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IUIWrapper } from '
|
|
1
|
+
import type { IUIWrapper } from '../ui/providers/TonderProvider/uiWrapper';
|
|
2
2
|
import type { Environment, SDKInstance } from './base';
|
|
3
3
|
import type { IElementStyle } from './input';
|
|
4
4
|
import { SDKType } from './base';
|