react-native-unit-components 1.10.0 → 1.11.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/android/build.gradle +36 -88
- package/android/gradle.properties +2 -2
- package/android/src/main/AndroidManifestNew.xml +14 -0
- package/android/src/main/java/com/unitreactnativecomponents/UnitAddToWalletButtonViewManager.kt +2 -2
- package/android/src/main/java/com/unitreactnativecomponents/UnitReactNativeComponentsEvent.kt +3 -3
- package/android/src/main/java/com/unitreactnativecomponents/UnitReactNativeComponentsPackage.kt +1 -1
- package/android/src/main/java/com/unitreactnativecomponents/visapresentation/UNGooglePayView.kt +147 -152
- package/lib/commonjs/assets/images/index.js.map +1 -1
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.js +13 -4
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.js.map +1 -1
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.utils.js +13 -2
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNACHCreditComponent/index.js +2 -2
- package/lib/commonjs/components/UNACHCreditComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.js +13 -4
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.js.map +1 -1
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.utils.js +12 -2
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNACHDebitComponent/index.js +2 -2
- package/lib/commonjs/components/UNACHDebitComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.js +31 -15
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.js.map +1 -1
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.utils.js +9 -8
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNAccountComponent/index.js +2 -2
- package/lib/commonjs/components/UNAccountComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js +16 -7
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js.map +1 -1
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js +4 -2
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNActivityComponent/index.js +8 -2
- package/lib/commonjs/components/UNActivityComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.js +13 -4
- package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.js.map +1 -1
- package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js +11 -4
- package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNBookPaymentComponent/index.js +2 -2
- package/lib/commonjs/components/UNBookPaymentComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js +13 -3
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.js +151 -255
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js +13 -16
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js +50 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js.map +1 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js +17 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js.map +1 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js +166 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js.map +1 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js +17 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js.map +1 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/index.js +15 -4
- package/lib/commonjs/components/UNBottomSheetComponent/components/index.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.js +4 -5
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.js.map +1 -1
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js +7 -5
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNCardComponent/index.js +2 -2
- package/lib/commonjs/components/UNCardComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.js +14 -4
- package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.js.map +1 -1
- package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js +7 -1
- package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNCheckDepositComponent/index.js +2 -2
- package/lib/commonjs/components/UNCheckDepositComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js +3 -4
- package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js.map +1 -1
- package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js +1 -0
- package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNMultipleCardsComponent/index.js +2 -2
- package/lib/commonjs/components/UNMultipleCardsComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js +61 -0
- package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js.map +1 -0
- package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js +15 -0
- package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js.map +1 -0
- package/lib/commonjs/components/UNNextRepaymentComponent/index.js +21 -0
- package/lib/commonjs/components/UNNextRepaymentComponent/index.js.map +1 -0
- package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js +61 -0
- package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js.map +1 -0
- package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js +15 -0
- package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js.map +1 -0
- package/lib/commonjs/components/UNProgramDetailsComponent/index.js +21 -0
- package/lib/commonjs/components/UNProgramDetailsComponent/index.js.map +1 -0
- package/lib/commonjs/components/index.js +22 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/custom.d.js.map +1 -1
- package/lib/commonjs/flows/UNFlows.js +1 -1
- package/lib/commonjs/flows/UNFlows.js.map +1 -1
- package/lib/commonjs/flows/card/UNCardFlows.js +26 -26
- package/lib/commonjs/flows/card/UNCardFlows.js.map +1 -1
- package/lib/commonjs/helpers/BottomSheet/BottomSheet.js +26 -29
- package/lib/commonjs/helpers/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/commonjs/helpers/BottomSheet/BottomSheet.styles.js +0 -2
- package/lib/commonjs/helpers/BottomSheet/BottomSheet.styles.js.map +1 -1
- package/lib/commonjs/helpers/pushProvisioningService/helpers.js.map +1 -1
- package/lib/commonjs/helpers/pushProvisioningService/hooks/useCardWallet.js +1 -2
- package/lib/commonjs/helpers/pushProvisioningService/hooks/useCardWallet.js.map +1 -1
- package/lib/commonjs/helpers/pushProvisioningService/hooks/useLaunchInitialize.js.map +1 -1
- package/lib/commonjs/helpers/pushProvisioningService/startProvisioning.js +3 -3
- package/lib/commonjs/helpers/pushProvisioningService/startProvisioning.js.map +1 -1
- package/lib/commonjs/helpers/pushProvisioningService/types.js +3 -4
- package/lib/commonjs/helpers/pushProvisioningService/types.js.map +1 -1
- package/lib/commonjs/helpers/store/helpers.js.map +1 -1
- package/lib/commonjs/hooks/useAppStateListener.js.map +1 -1
- package/lib/commonjs/hooks/useListenerToEvent.js +1 -1
- package/lib/commonjs/hooks/useListenerToEvent.js.map +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/messages/nativeMessages/bottomSheetMessage.js +7 -9
- package/lib/commonjs/messages/nativeMessages/bottomSheetMessage.js.map +1 -1
- package/lib/commonjs/messages/nativeMessages/cardMessage.js +3 -4
- package/lib/commonjs/messages/nativeMessages/cardMessage.js.map +1 -1
- package/lib/commonjs/messages/nativeMessages/index.js.map +1 -1
- package/lib/commonjs/messages/nativeMessages/sdkMessage.js +3 -4
- package/lib/commonjs/messages/nativeMessages/sdkMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/accountMessage.js +3 -4
- package/lib/commonjs/messages/webMessages/accountMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/achCreditMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/activityMessage.js +3 -4
- package/lib/commonjs/messages/webMessages/activityMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/bookPaymentMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/cardMessage.js +3 -4
- package/lib/commonjs/messages/webMessages/cardMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/checkMessage.js +3 -4
- package/lib/commonjs/messages/webMessages/checkMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/index.js.map +1 -1
- package/lib/commonjs/messages/webMessages/multipleCardsMessage.js +3 -4
- package/lib/commonjs/messages/webMessages/multipleCardsMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/onLoadMessage.js +4 -4
- package/lib/commonjs/messages/webMessages/onLoadMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/pageMessage.js +3 -4
- package/lib/commonjs/messages/webMessages/pageMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/paymentsMessage.js +5 -4
- package/lib/commonjs/messages/webMessages/paymentsMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/unitMessages.js +9 -6
- package/lib/commonjs/messages/webMessages/unitMessages.js.map +1 -1
- package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletBottomSheetItem.styles.js.map +1 -0
- package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js +79 -0
- package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js.map +1 -0
- package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js +20 -0
- package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js.map +1 -0
- package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js +14 -0
- package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js.map +1 -0
- package/lib/commonjs/{nativeComponent → nativeComponents/UNAddToWallet}/UnitAddToWalletButton.js +1 -2
- package/lib/commonjs/nativeComponents/UNAddToWallet/UnitAddToWalletButton.js.map +1 -0
- package/lib/commonjs/networking/common/UNNetworkConstants.js +2 -4
- package/lib/commonjs/networking/common/UNNetworkConstants.js.map +1 -1
- package/lib/commonjs/networking/requests/UNWalletPayloadRequest.js.map +1 -1
- package/lib/commonjs/scripts/html/bodyHtml.js +1 -2
- package/lib/commonjs/scripts/html/bodyHtml.js.map +1 -1
- package/lib/commonjs/scripts/html/bodyScript.js +46 -32
- package/lib/commonjs/scripts/html/bodyScript.js.map +1 -1
- package/lib/commonjs/scripts/html/fontFaces.js +2 -3
- package/lib/commonjs/scripts/html/fontFaces.js.map +1 -1
- package/lib/commonjs/slices/BottomSheetSlice.js +74 -0
- package/lib/commonjs/slices/BottomSheetSlice.js.map +1 -0
- package/lib/commonjs/slices/ConfigurationSlice.js +1 -2
- package/lib/commonjs/slices/ConfigurationSlice.js.map +1 -1
- package/lib/commonjs/slices/SharedEventsSlice.js +3 -2
- package/lib/commonjs/slices/SharedEventsSlice.js.map +1 -1
- package/lib/commonjs/slices/pushProvisioningSlice.js +1 -2
- package/lib/commonjs/slices/pushProvisioningSlice.js.map +1 -1
- package/lib/commonjs/store/index.js.map +1 -1
- package/lib/commonjs/store/store.js +4 -3
- package/lib/commonjs/store/store.js.map +1 -1
- package/lib/commonjs/styles/fonts.js.map +1 -1
- package/lib/commonjs/styles/variables.js +5 -3
- package/lib/commonjs/styles/variables.js.map +1 -1
- package/lib/commonjs/types/internal/bottomSheet.types.js +22 -7
- package/lib/commonjs/types/internal/bottomSheet.types.js.map +1 -1
- package/lib/commonjs/types/internal/errorHelpers.js.map +1 -1
- package/lib/commonjs/types/internal/webComponent.types.js +8 -8
- package/lib/commonjs/types/internal/webComponent.types.js.map +1 -1
- package/lib/commonjs/types/shared/account.types.js +19 -16
- package/lib/commonjs/types/shared/account.types.js.map +1 -1
- package/lib/commonjs/types/shared/achCredit.types.js.map +1 -1
- package/lib/commonjs/types/shared/activity.types.js +3 -4
- package/lib/commonjs/types/shared/activity.types.js.map +1 -1
- package/lib/commonjs/types/shared/authorization.types.js.map +1 -1
- package/lib/commonjs/types/shared/bookPayment.types.js.map +1 -1
- package/lib/commonjs/types/shared/card.types.js +13 -5
- package/lib/commonjs/types/shared/card.types.js.map +1 -1
- package/lib/commonjs/types/shared/checkDeposit.types.js +3 -4
- package/lib/commonjs/types/shared/checkDeposit.types.js.map +1 -1
- package/lib/commonjs/types/shared/error.types.js +3 -4
- package/lib/commonjs/types/shared/error.types.js.map +1 -1
- package/lib/commonjs/types/shared/fonts.types.js +3 -4
- package/lib/commonjs/types/shared/fonts.types.js.map +1 -1
- package/lib/commonjs/types/shared/index.js.map +1 -1
- package/lib/commonjs/types/shared/multipleCards.types.js +3 -4
- package/lib/commonjs/types/shared/multipleCards.types.js.map +1 -1
- package/lib/commonjs/types/shared/onLoadResponse.types.js.map +1 -1
- package/lib/commonjs/types/shared/payments.types.js +9 -5
- package/lib/commonjs/types/shared/payments.types.js.map +1 -1
- package/lib/commonjs/types/shared/repayment.types.js +2 -0
- package/lib/commonjs/types/shared/repayment.types.js.map +1 -0
- package/lib/commonjs/types/shared/transactions.types.js +6 -8
- package/lib/commonjs/types/shared/transactions.types.js.map +1 -1
- package/lib/commonjs/types/shared/types.js.map +1 -1
- package/lib/commonjs/types/shared/versioning.types.js +4 -4
- package/lib/commonjs/types/shared/versioning.types.js.map +1 -1
- package/lib/commonjs/types/shared/wallet.types.js +9 -12
- package/lib/commonjs/types/shared/wallet.types.js.map +1 -1
- package/lib/commonjs/unitSdkManager/UnitSdk.api.js.map +1 -1
- package/lib/commonjs/unitSdkManager/UnitSdk.constants.js +2 -3
- package/lib/commonjs/unitSdkManager/UnitSdk.constants.js.map +1 -1
- package/lib/commonjs/unitSdkManager/UnitSdkManager.js +54 -63
- package/lib/commonjs/unitSdkManager/UnitSdkManager.js.map +1 -1
- package/lib/commonjs/unitSdkManager/UnitSdkManager.utils.internal.js.map +1 -1
- package/lib/commonjs/unitSdkManager/unitUiManager/unitUiManager.js +4 -7
- package/lib/commonjs/unitSdkManager/unitUiManager/unitUiManager.js.map +1 -1
- package/lib/commonjs/utils/AppInfo.js.map +1 -1
- package/lib/commonjs/utils/SDKInfo.js.map +1 -1
- package/lib/commonjs/utils/webVersioningStrategy.utils.js +7 -0
- package/lib/commonjs/utils/webVersioningStrategy.utils.js.map +1 -1
- package/lib/commonjs/webComponent/WebComponent.js +10 -4
- package/lib/commonjs/webComponent/WebComponent.js.map +1 -1
- package/lib/commonjs/webComponent/WebComponent.utils.js +2 -2
- package/lib/commonjs/webComponent/WebComponent.utils.js.map +1 -1
- package/lib/commonjs/webComponent/html.js +2 -4
- package/lib/commonjs/webComponent/html.js.map +1 -1
- package/lib/module/assets/images/index.js.map +1 -1
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.js +10 -0
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.js.map +1 -1
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.utils.js +13 -2
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.utils.js.map +1 -1
- package/lib/module/components/UNACHCreditComponent/index.js.map +1 -1
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.js +10 -0
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.js.map +1 -1
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.utils.js +12 -2
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.utils.js.map +1 -1
- package/lib/module/components/UNACHDebitComponent/index.js.map +1 -1
- package/lib/module/components/UNAccountComponent/UNAccountComponent.js +30 -12
- package/lib/module/components/UNAccountComponent/UNAccountComponent.js.map +1 -1
- package/lib/module/components/UNAccountComponent/UNAccountComponent.utils.js +10 -8
- package/lib/module/components/UNAccountComponent/UNAccountComponent.utils.js.map +1 -1
- package/lib/module/components/UNAccountComponent/index.js.map +1 -1
- package/lib/module/components/UNActivityComponent/UNActivityComponent.js +17 -7
- package/lib/module/components/UNActivityComponent/UNActivityComponent.js.map +1 -1
- package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js +4 -2
- package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -1
- package/lib/module/components/UNActivityComponent/index.js +1 -1
- package/lib/module/components/UNActivityComponent/index.js.map +1 -1
- package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.js +10 -0
- package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.js.map +1 -1
- package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js +11 -4
- package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js.map +1 -1
- package/lib/module/components/UNBookPaymentComponent/index.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js +12 -1
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.js +147 -250
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js +11 -14
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js +42 -0
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js.map +1 -0
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js +2 -0
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js.map +1 -0
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js +158 -0
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js.map +1 -0
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js +2 -0
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js.map +1 -0
- package/lib/module/components/UNBottomSheetComponent/components/index.js +2 -1
- package/lib/module/components/UNBottomSheetComponent/components/index.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/index.js.map +1 -1
- package/lib/module/components/UNCardComponent/UNCardComponent.js +1 -1
- package/lib/module/components/UNCardComponent/UNCardComponent.js.map +1 -1
- package/lib/module/components/UNCardComponent/UNCardComponent.utils.js +7 -5
- package/lib/module/components/UNCardComponent/UNCardComponent.utils.js.map +1 -1
- package/lib/module/components/UNCardComponent/index.js.map +1 -1
- package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.js +11 -0
- package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.js.map +1 -1
- package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js +7 -1
- package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js.map +1 -1
- package/lib/module/components/UNCheckDepositComponent/index.js.map +1 -1
- package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js.map +1 -1
- package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js +1 -0
- package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js.map +1 -1
- package/lib/module/components/UNMultipleCardsComponent/index.js.map +1 -1
- package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js +53 -0
- package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js.map +1 -0
- package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js +8 -0
- package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js.map +1 -0
- package/lib/module/components/UNNextRepaymentComponent/index.js +2 -0
- package/lib/module/components/UNNextRepaymentComponent/index.js.map +1 -0
- package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js +53 -0
- package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js.map +1 -0
- package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js +8 -0
- package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js.map +1 -0
- package/lib/module/components/UNProgramDetailsComponent/index.js +2 -0
- package/lib/module/components/UNProgramDetailsComponent/index.js.map +1 -0
- package/lib/module/components/index.js +2 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/custom.d.js.map +1 -1
- package/lib/module/flows/UNFlows.js +1 -1
- package/lib/module/flows/UNFlows.js.map +1 -1
- package/lib/module/flows/card/UNCardFlows.js +27 -27
- package/lib/module/flows/card/UNCardFlows.js.map +1 -1
- package/lib/module/helpers/BottomSheet/BottomSheet.js +25 -27
- package/lib/module/helpers/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/module/helpers/BottomSheet/BottomSheet.styles.js +1 -3
- package/lib/module/helpers/BottomSheet/BottomSheet.styles.js.map +1 -1
- package/lib/module/helpers/pushProvisioningService/helpers.js.map +1 -1
- package/lib/module/helpers/pushProvisioningService/hooks/useCardWallet.js +1 -2
- package/lib/module/helpers/pushProvisioningService/hooks/useCardWallet.js.map +1 -1
- package/lib/module/helpers/pushProvisioningService/hooks/useLaunchInitialize.js.map +1 -1
- package/lib/module/helpers/pushProvisioningService/startProvisioning.js +3 -3
- package/lib/module/helpers/pushProvisioningService/startProvisioning.js.map +1 -1
- package/lib/module/helpers/pushProvisioningService/types.js +3 -3
- package/lib/module/helpers/pushProvisioningService/types.js.map +1 -1
- package/lib/module/helpers/store/helpers.js.map +1 -1
- package/lib/module/hooks/useAppStateListener.js.map +1 -1
- package/lib/module/hooks/useListenerToEvent.js +1 -1
- package/lib/module/hooks/useListenerToEvent.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/messages/nativeMessages/bottomSheetMessage.js +7 -7
- package/lib/module/messages/nativeMessages/bottomSheetMessage.js.map +1 -1
- package/lib/module/messages/nativeMessages/cardMessage.js +3 -3
- package/lib/module/messages/nativeMessages/cardMessage.js.map +1 -1
- package/lib/module/messages/nativeMessages/index.js.map +1 -1
- package/lib/module/messages/nativeMessages/sdkMessage.js +3 -3
- package/lib/module/messages/nativeMessages/sdkMessage.js.map +1 -1
- package/lib/module/messages/webMessages/accountMessage.js +3 -3
- package/lib/module/messages/webMessages/accountMessage.js.map +1 -1
- package/lib/module/messages/webMessages/achCreditMessage.js.map +1 -1
- package/lib/module/messages/webMessages/activityMessage.js +3 -3
- package/lib/module/messages/webMessages/activityMessage.js.map +1 -1
- package/lib/module/messages/webMessages/bookPaymentMessage.js.map +1 -1
- package/lib/module/messages/webMessages/cardMessage.js +3 -3
- package/lib/module/messages/webMessages/cardMessage.js.map +1 -1
- package/lib/module/messages/webMessages/checkMessage.js +3 -3
- package/lib/module/messages/webMessages/checkMessage.js.map +1 -1
- package/lib/module/messages/webMessages/index.js.map +1 -1
- package/lib/module/messages/webMessages/multipleCardsMessage.js +3 -3
- package/lib/module/messages/webMessages/multipleCardsMessage.js.map +1 -1
- package/lib/module/messages/webMessages/onLoadMessage.js +4 -3
- package/lib/module/messages/webMessages/onLoadMessage.js.map +1 -1
- package/lib/module/messages/webMessages/pageMessage.js +3 -3
- package/lib/module/messages/webMessages/pageMessage.js.map +1 -1
- package/lib/module/messages/webMessages/paymentsMessage.js +5 -3
- package/lib/module/messages/webMessages/paymentsMessage.js.map +1 -1
- package/lib/module/messages/webMessages/unitMessages.js +8 -4
- package/lib/module/messages/webMessages/unitMessages.js.map +1 -1
- package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletBottomSheetItem.styles.js.map +1 -0
- package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js +70 -0
- package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js.map +1 -0
- package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js +12 -0
- package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js.map +1 -0
- package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js +2 -0
- package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js.map +1 -0
- package/lib/module/nativeComponents/UNAddToWallet/UnitAddToWalletButton.js.map +1 -0
- package/lib/module/networking/common/UNNetworkConstants.js.map +1 -1
- package/lib/module/networking/requests/UNWalletPayloadRequest.js.map +1 -1
- package/lib/module/scripts/html/bodyHtml.js.map +1 -1
- package/lib/module/scripts/html/bodyScript.js +34 -8
- package/lib/module/scripts/html/bodyScript.js.map +1 -1
- package/lib/module/scripts/html/fontFaces.js +2 -3
- package/lib/module/scripts/html/fontFaces.js.map +1 -1
- package/lib/module/slices/BottomSheetSlice.js +59 -0
- package/lib/module/slices/BottomSheetSlice.js.map +1 -0
- package/lib/module/slices/ConfigurationSlice.js.map +1 -1
- package/lib/module/slices/SharedEventsSlice.js +3 -0
- package/lib/module/slices/SharedEventsSlice.js.map +1 -1
- package/lib/module/slices/pushProvisioningSlice.js.map +1 -1
- package/lib/module/store/index.js.map +1 -1
- package/lib/module/store/store.js +3 -1
- package/lib/module/store/store.js.map +1 -1
- package/lib/module/styles/fonts.js.map +1 -1
- package/lib/module/styles/variables.js +4 -1
- package/lib/module/styles/variables.js.map +1 -1
- package/lib/module/types/internal/bottomSheet.types.js +21 -5
- package/lib/module/types/internal/bottomSheet.types.js.map +1 -1
- package/lib/module/types/internal/errorHelpers.js.map +1 -1
- package/lib/module/types/internal/webComponent.types.js +8 -6
- package/lib/module/types/internal/webComponent.types.js.map +1 -1
- package/lib/module/types/shared/account.types.js +18 -12
- package/lib/module/types/shared/account.types.js.map +1 -1
- package/lib/module/types/shared/achCredit.types.js.map +1 -1
- package/lib/module/types/shared/activity.types.js +3 -3
- package/lib/module/types/shared/activity.types.js.map +1 -1
- package/lib/module/types/shared/authorization.types.js.map +1 -1
- package/lib/module/types/shared/bookPayment.types.js.map +1 -1
- package/lib/module/types/shared/card.types.js +12 -3
- package/lib/module/types/shared/card.types.js.map +1 -1
- package/lib/module/types/shared/checkDeposit.types.js +3 -3
- package/lib/module/types/shared/checkDeposit.types.js.map +1 -1
- package/lib/module/types/shared/error.types.js +3 -3
- package/lib/module/types/shared/error.types.js.map +1 -1
- package/lib/module/types/shared/fonts.types.js +3 -3
- package/lib/module/types/shared/fonts.types.js.map +1 -1
- package/lib/module/types/shared/index.js.map +1 -1
- package/lib/module/types/shared/multipleCards.types.js +3 -3
- package/lib/module/types/shared/multipleCards.types.js.map +1 -1
- package/lib/module/types/shared/onLoadResponse.types.js.map +1 -1
- package/lib/module/types/shared/payments.types.js +8 -3
- package/lib/module/types/shared/payments.types.js.map +1 -1
- package/lib/module/types/shared/repayment.types.js +2 -0
- package/lib/module/types/shared/repayment.types.js.map +1 -0
- package/lib/module/types/shared/transactions.types.js +6 -6
- package/lib/module/types/shared/transactions.types.js.map +1 -1
- package/lib/module/types/shared/types.js.map +1 -1
- package/lib/module/types/shared/versioning.types.js +4 -3
- package/lib/module/types/shared/versioning.types.js.map +1 -1
- package/lib/module/types/shared/wallet.types.js +9 -9
- package/lib/module/types/shared/wallet.types.js.map +1 -1
- package/lib/module/unitSdkManager/UnitSdk.api.js.map +1 -1
- package/lib/module/unitSdkManager/UnitSdk.constants.js +1 -1
- package/lib/module/unitSdkManager/UnitSdk.constants.js.map +1 -1
- package/lib/module/unitSdkManager/UnitSdkManager.js +54 -62
- package/lib/module/unitSdkManager/UnitSdkManager.js.map +1 -1
- package/lib/module/unitSdkManager/UnitSdkManager.utils.internal.js.map +1 -1
- package/lib/module/unitSdkManager/unitUiManager/unitUiManager.js +4 -7
- package/lib/module/unitSdkManager/unitUiManager/unitUiManager.js.map +1 -1
- package/lib/module/utils/AppInfo.js.map +1 -1
- package/lib/module/utils/SDKInfo.js.map +1 -1
- package/lib/module/utils/webVersioningStrategy.utils.js +7 -0
- package/lib/module/utils/webVersioningStrategy.utils.js.map +1 -1
- package/lib/module/webComponent/WebComponent.js +8 -1
- package/lib/module/webComponent/WebComponent.js.map +1 -1
- package/lib/module/webComponent/WebComponent.utils.js.map +1 -1
- package/lib/module/webComponent/html.js.map +1 -1
- package/lib/typescript/src/assets/images/index.d.ts +1 -0
- package/lib/typescript/src/assets/images/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.d.ts +10 -1
- package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.d.ts +1 -0
- package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNACHCreditComponent/index.d.ts +1 -0
- package/lib/typescript/src/components/UNACHCreditComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.d.ts +10 -1
- package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.d.ts +1 -0
- package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNACHDebitComponent/index.d.ts +1 -0
- package/lib/typescript/src/components/UNACHDebitComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.d.ts +6 -0
- package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.utils.d.ts +2 -1
- package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNAccountComponent/index.d.ts +1 -0
- package/lib/typescript/src/components/UNAccountComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.d.ts +8 -1
- package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.utils.d.ts +1 -0
- package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNActivityComponent/index.d.ts +2 -1
- package/lib/typescript/src/components/UNActivityComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.d.ts +10 -4
- package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.d.ts +1 -0
- package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBookPaymentComponent/index.d.ts +1 -0
- package/lib/typescript/src/components/UNBookPaymentComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.d.ts +8 -1
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.d.ts +2 -6
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.d.ts +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.d.ts +2 -1
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.d.ts +8 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.d.ts +2 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.d.ts +11 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.d.ts +2 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/components/index.d.ts +3 -1
- package/lib/typescript/src/components/UNBottomSheetComponent/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/index.d.ts +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNCardComponent/UNCardComponent.d.ts +3 -0
- package/lib/typescript/src/components/UNCardComponent/UNCardComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNCardComponent/UNCardComponent.utils.d.ts +1 -0
- package/lib/typescript/src/components/UNCardComponent/UNCardComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNCardComponent/index.d.ts +1 -0
- package/lib/typescript/src/components/UNCardComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.d.ts +7 -1
- package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.d.ts +1 -0
- package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNCheckDepositComponent/index.d.ts +1 -0
- package/lib/typescript/src/components/UNCheckDepositComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.d.ts +3 -0
- package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.d.ts +1 -0
- package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNMultipleCardsComponent/index.d.ts +1 -0
- package/lib/typescript/src/components/UNMultipleCardsComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.d.ts +14 -0
- package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.d.ts +3 -0
- package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNNextRepaymentComponent/index.d.ts +2 -0
- package/lib/typescript/src/components/UNNextRepaymentComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.d.ts +13 -0
- package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.d.ts +3 -0
- package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNProgramDetailsComponent/index.d.ts +2 -0
- package/lib/typescript/src/components/UNProgramDetailsComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts +3 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -0
- package/lib/typescript/src/flows/UNFlows.d.ts +1 -0
- package/lib/typescript/src/flows/UNFlows.d.ts.map +1 -0
- package/lib/typescript/src/flows/card/UNCardFlows.d.ts +1 -0
- package/lib/typescript/src/flows/card/UNCardFlows.d.ts.map +1 -0
- package/lib/typescript/src/helpers/BottomSheet/BottomSheet.d.ts +5 -3
- package/lib/typescript/src/helpers/BottomSheet/BottomSheet.d.ts.map +1 -0
- package/lib/typescript/src/helpers/BottomSheet/BottomSheet.styles.d.ts +1 -1
- package/lib/typescript/src/helpers/BottomSheet/BottomSheet.styles.d.ts.map +1 -0
- package/lib/typescript/src/helpers/pushProvisioningService/helpers.d.ts +1 -0
- package/lib/typescript/src/helpers/pushProvisioningService/helpers.d.ts.map +1 -0
- package/lib/typescript/src/helpers/pushProvisioningService/hooks/useCardWallet.d.ts +2 -1
- package/lib/typescript/src/helpers/pushProvisioningService/hooks/useCardWallet.d.ts.map +1 -0
- package/lib/typescript/src/helpers/pushProvisioningService/hooks/useLaunchInitialize.d.ts +1 -0
- package/lib/typescript/src/helpers/pushProvisioningService/hooks/useLaunchInitialize.d.ts.map +1 -0
- package/lib/typescript/src/helpers/pushProvisioningService/startProvisioning.d.ts +1 -0
- package/lib/typescript/src/helpers/pushProvisioningService/startProvisioning.d.ts.map +1 -0
- package/lib/typescript/src/helpers/pushProvisioningService/types.d.ts +1 -0
- package/lib/typescript/src/helpers/pushProvisioningService/types.d.ts.map +1 -0
- package/lib/typescript/src/helpers/store/helpers.d.ts +1 -0
- package/lib/typescript/src/helpers/store/helpers.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useAppStateListener.d.ts +1 -0
- package/lib/typescript/src/hooks/useAppStateListener.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useListenerToEvent.d.ts +1 -0
- package/lib/typescript/src/hooks/useListenerToEvent.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +1 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/messages/nativeMessages/bottomSheetMessage.d.ts +5 -4
- package/lib/typescript/src/messages/nativeMessages/bottomSheetMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/nativeMessages/cardMessage.d.ts +1 -0
- package/lib/typescript/src/messages/nativeMessages/cardMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/nativeMessages/index.d.ts +1 -0
- package/lib/typescript/src/messages/nativeMessages/index.d.ts.map +1 -0
- package/lib/typescript/src/messages/nativeMessages/sdkMessage.d.ts +1 -0
- package/lib/typescript/src/messages/nativeMessages/sdkMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/accountMessage.d.ts +1 -0
- package/lib/typescript/src/messages/webMessages/accountMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/achCreditMessage.d.ts +1 -0
- package/lib/typescript/src/messages/webMessages/achCreditMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/activityMessage.d.ts +1 -0
- package/lib/typescript/src/messages/webMessages/activityMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/bookPaymentMessage.d.ts +1 -0
- package/lib/typescript/src/messages/webMessages/bookPaymentMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/cardMessage.d.ts +1 -0
- package/lib/typescript/src/messages/webMessages/cardMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/checkMessage.d.ts +1 -0
- package/lib/typescript/src/messages/webMessages/checkMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/index.d.ts +1 -0
- package/lib/typescript/src/messages/webMessages/index.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/multipleCardsMessage.d.ts +1 -0
- package/lib/typescript/src/messages/webMessages/multipleCardsMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/onLoadMessage.d.ts +5 -3
- package/lib/typescript/src/messages/webMessages/onLoadMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/pageMessage.d.ts +1 -0
- package/lib/typescript/src/messages/webMessages/pageMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/paymentsMessage.d.ts +4 -1
- package/lib/typescript/src/messages/webMessages/paymentsMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/unitMessages.d.ts +11 -5
- package/lib/typescript/src/messages/webMessages/unitMessages.d.ts.map +1 -0
- package/lib/typescript/src/{components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem → nativeComponents/UNAddToWallet/UNAddToWalletComponent}/UNAddToWalletBottomSheetItem.styles.d.ts +1 -0
- package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletBottomSheetItem.styles.d.ts.map +1 -0
- package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.d.ts +8 -0
- package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.d.ts.map +1 -0
- package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.d.ts +5 -0
- package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.d.ts +2 -0
- package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/{nativeComponent → nativeComponents/UNAddToWallet}/UnitAddToWalletButton.d.ts +1 -0
- package/lib/typescript/src/nativeComponents/UNAddToWallet/UnitAddToWalletButton.d.ts.map +1 -0
- package/lib/typescript/src/networking/common/UNNetworkConstants.d.ts +1 -0
- package/lib/typescript/src/networking/common/UNNetworkConstants.d.ts.map +1 -0
- package/lib/typescript/src/networking/requests/UNWalletPayloadRequest.d.ts +1 -0
- package/lib/typescript/src/networking/requests/UNWalletPayloadRequest.d.ts.map +1 -0
- package/lib/typescript/src/scripts/html/bodyHtml.d.ts +1 -0
- package/lib/typescript/src/scripts/html/bodyHtml.d.ts.map +1 -0
- package/lib/typescript/src/scripts/html/bodyScript.d.ts +5 -1
- package/lib/typescript/src/scripts/html/bodyScript.d.ts.map +1 -0
- package/lib/typescript/src/scripts/html/fontFaces.d.ts +1 -0
- package/lib/typescript/src/scripts/html/fontFaces.d.ts.map +1 -0
- package/lib/typescript/src/slices/BottomSheetSlice.d.ts +16 -0
- package/lib/typescript/src/slices/BottomSheetSlice.d.ts.map +1 -0
- package/lib/typescript/src/slices/ConfigurationSlice.d.ts +1 -0
- package/lib/typescript/src/slices/ConfigurationSlice.d.ts.map +1 -0
- package/lib/typescript/src/slices/SharedEventsSlice.d.ts +7 -10
- package/lib/typescript/src/slices/SharedEventsSlice.d.ts.map +1 -0
- package/lib/typescript/src/slices/pushProvisioningSlice.d.ts +1 -0
- package/lib/typescript/src/slices/pushProvisioningSlice.d.ts.map +1 -0
- package/lib/typescript/src/store/index.d.ts +1 -0
- package/lib/typescript/src/store/index.d.ts.map +1 -0
- package/lib/typescript/src/store/store.d.ts +5 -8
- package/lib/typescript/src/store/store.d.ts.map +1 -0
- package/lib/typescript/src/styles/fonts.d.ts +1 -0
- package/lib/typescript/src/styles/fonts.d.ts.map +1 -0
- package/lib/typescript/src/styles/variables.d.ts +4 -0
- package/lib/typescript/src/styles/variables.d.ts.map +1 -0
- package/lib/typescript/src/types/internal/bottomSheet.types.d.ts +29 -7
- package/lib/typescript/src/types/internal/bottomSheet.types.d.ts.map +1 -0
- package/lib/typescript/src/types/internal/errorHelpers.d.ts +1 -0
- package/lib/typescript/src/types/internal/errorHelpers.d.ts.map +1 -0
- package/lib/typescript/src/types/internal/webComponent.types.d.ts +4 -1
- package/lib/typescript/src/types/internal/webComponent.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/account.types.d.ts +6 -0
- package/lib/typescript/src/types/shared/account.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/achCredit.types.d.ts +1 -0
- package/lib/typescript/src/types/shared/achCredit.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/activity.types.d.ts +4 -3
- package/lib/typescript/src/types/shared/activity.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/authorization.types.d.ts +1 -0
- package/lib/typescript/src/types/shared/authorization.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/bookPayment.types.d.ts +1 -0
- package/lib/typescript/src/types/shared/bookPayment.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/card.types.d.ts +9 -0
- package/lib/typescript/src/types/shared/card.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/checkDeposit.types.d.ts +1 -0
- package/lib/typescript/src/types/shared/checkDeposit.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/error.types.d.ts +1 -0
- package/lib/typescript/src/types/shared/error.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/fonts.types.d.ts +1 -0
- package/lib/typescript/src/types/shared/fonts.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/index.d.ts +1 -0
- package/lib/typescript/src/types/shared/index.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/multipleCards.types.d.ts +2 -1
- package/lib/typescript/src/types/shared/multipleCards.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/onLoadResponse.types.d.ts +1 -0
- package/lib/typescript/src/types/shared/onLoadResponse.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/payments.types.d.ts +5 -0
- package/lib/typescript/src/types/shared/payments.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/repayment.types.d.ts +12 -0
- package/lib/typescript/src/types/shared/repayment.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transactions.types.d.ts +1 -0
- package/lib/typescript/src/types/shared/transactions.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/types.d.ts +1 -0
- package/lib/typescript/src/types/shared/types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/versioning.types.d.ts +6 -1
- package/lib/typescript/src/types/shared/versioning.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/wallet.types.d.ts +1 -0
- package/lib/typescript/src/types/shared/wallet.types.d.ts.map +1 -0
- package/lib/typescript/src/unitSdkManager/UnitSdk.api.d.ts +1 -0
- package/lib/typescript/src/unitSdkManager/UnitSdk.api.d.ts.map +1 -0
- package/lib/typescript/src/unitSdkManager/UnitSdk.constants.d.ts +1 -0
- package/lib/typescript/src/unitSdkManager/UnitSdk.constants.d.ts.map +1 -0
- package/lib/typescript/src/unitSdkManager/UnitSdkManager.d.ts +1 -0
- package/lib/typescript/src/unitSdkManager/UnitSdkManager.d.ts.map +1 -0
- package/lib/typescript/src/unitSdkManager/UnitSdkManager.utils.internal.d.ts +1 -0
- package/lib/typescript/src/unitSdkManager/UnitSdkManager.utils.internal.d.ts.map +1 -0
- package/lib/typescript/src/unitSdkManager/unitUiManager/unitUiManager.d.ts +1 -0
- package/lib/typescript/src/unitSdkManager/unitUiManager/unitUiManager.d.ts.map +1 -0
- package/lib/typescript/src/utils/AppInfo.d.ts +1 -0
- package/lib/typescript/src/utils/AppInfo.d.ts.map +1 -0
- package/lib/typescript/src/utils/SDKInfo.d.ts +1 -0
- package/lib/typescript/src/utils/SDKInfo.d.ts.map +1 -0
- package/lib/typescript/src/utils/webVersioningStrategy.utils.d.ts +1 -0
- package/lib/typescript/src/utils/webVersioningStrategy.utils.d.ts.map +1 -0
- package/lib/typescript/src/webComponent/WebComponent.d.ts +1 -0
- package/lib/typescript/src/webComponent/WebComponent.d.ts.map +1 -0
- package/lib/typescript/src/webComponent/WebComponent.utils.d.ts +1 -0
- package/lib/typescript/src/webComponent/WebComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/webComponent/html.d.ts +1 -0
- package/lib/typescript/src/webComponent/html.d.ts.map +1 -0
- package/package.json +26 -38
- package/react-native-unit-components.podspec +9 -2
- package/src/components/UNACHCreditComponent/UNACHCreditComponent.tsx +26 -4
- package/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.ts +13 -2
- package/src/components/UNACHDebitComponent/UNACHDebitComponent.tsx +26 -4
- package/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.ts +12 -2
- package/src/components/UNAccountComponent/UNAccountComponent.tsx +40 -14
- package/src/components/UNAccountComponent/UNAccountComponent.utils.ts +9 -6
- package/src/components/UNActivityComponent/UNActivityComponent.tsx +30 -9
- package/src/components/UNActivityComponent/UNActivityComponent.utils.ts +2 -0
- package/src/components/UNActivityComponent/index.ts +1 -1
- package/src/components/UNBookPaymentComponent/UNBookPaymentComponent.tsx +23 -5
- package/src/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.ts +11 -4
- package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.ts +20 -1
- package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.tsx +174 -281
- package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.ts +5 -6
- package/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.tsx +60 -0
- package/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.ts +1 -0
- package/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.tsx +181 -0
- package/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.ts +1 -0
- package/src/components/UNBottomSheetComponent/components/index.ts +2 -1
- package/src/components/UNCardComponent/UNCardComponent.tsx +4 -2
- package/src/components/UNCardComponent/UNCardComponent.utils.ts +2 -0
- package/src/components/UNCheckDepositComponent/UNCheckDepositComponent.tsx +16 -3
- package/src/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.ts +8 -2
- package/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.tsx +1 -0
- package/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.ts +1 -0
- package/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.tsx +80 -0
- package/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.ts +10 -0
- package/src/components/UNNextRepaymentComponent/index.ts +3 -0
- package/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.tsx +77 -0
- package/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.ts +9 -0
- package/src/components/UNProgramDetailsComponent/index.ts +3 -0
- package/src/components/index.ts +2 -0
- package/src/flows/UNFlows.ts +1 -1
- package/src/flows/card/UNCardFlows.ts +16 -17
- package/src/helpers/BottomSheet/BottomSheet.styles.ts +7 -8
- package/src/helpers/BottomSheet/BottomSheet.tsx +44 -39
- package/src/helpers/pushProvisioningService/hooks/useCardWallet.ts +3 -2
- package/src/helpers/pushProvisioningService/startProvisioning.ts +3 -5
- package/src/helpers/store/helpers.tsx +1 -1
- package/src/messages/nativeMessages/bottomSheetMessage.ts +7 -7
- package/src/messages/webMessages/onLoadMessage.ts +4 -3
- package/src/messages/webMessages/paymentsMessage.ts +3 -1
- package/src/messages/webMessages/unitMessages.ts +19 -13
- package/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.tsx +93 -0
- package/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.ts +15 -0
- package/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.ts +1 -0
- package/src/scripts/html/bodyScript.ts +36 -8
- package/src/slices/BottomSheetSlice.ts +72 -0
- package/src/slices/SharedEventsSlice.ts +7 -12
- package/src/store/store.ts +2 -0
- package/src/styles/variables.ts +5 -2
- package/src/types/internal/bottomSheet.types.ts +51 -7
- package/src/types/internal/webComponent.types.ts +2 -0
- package/src/types/shared/account.types.ts +6 -0
- package/src/types/shared/activity.types.ts +3 -3
- package/src/types/shared/card.types.ts +10 -1
- package/src/types/shared/multipleCards.types.ts +1 -1
- package/src/types/shared/payments.types.ts +10 -5
- package/src/types/shared/repayment.types.ts +12 -0
- package/src/types/shared/versioning.types.ts +7 -1
- package/src/unitSdkManager/UnitSdk.constants.ts +1 -1
- package/src/utils/webVersioningStrategy.utils.ts +7 -0
- package/src/webComponent/WebComponent.tsx +21 -9
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js +0 -91
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js.map +0 -1
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.styles.js.map +0 -1
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js +0 -17
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js.map +0 -1
- package/lib/commonjs/nativeComponent/UnitAddToWalletButton.js.map +0 -1
- package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js +0 -81
- package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js.map +0 -1
- package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.styles.js.map +0 -1
- package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js +0 -2
- package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js.map +0 -1
- package/lib/module/nativeComponent/UnitAddToWalletButton.js.map +0 -1
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.d.ts +0 -10
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.d.ts +0 -1
- package/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.tsx +0 -109
- package/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.ts +0 -1
- /package/lib/commonjs/{components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem → nativeComponents/UNAddToWallet/UNAddToWalletComponent}/UNAddToWalletBottomSheetItem.styles.js +0 -0
- /package/lib/module/{components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem → nativeComponents/UNAddToWallet/UNAddToWalletComponent}/UNAddToWalletBottomSheetItem.styles.js +0 -0
- /package/lib/module/{nativeComponent → nativeComponents/UNAddToWallet}/UnitAddToWalletButton.js +0 -0
- /package/src/{components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem → nativeComponents/UNAddToWallet/UNAddToWalletComponent}/UNAddToWalletBottomSheetItem.styles.ts +0 -0
- /package/src/{nativeComponent → nativeComponents/UNAddToWallet}/UnitAddToWalletButton.tsx +0 -0
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
export let
|
|
2
|
-
|
|
1
|
+
export let UNPlaidAccountFilter = /*#__PURE__*/function (UNPlaidAccountFilter) {
|
|
2
|
+
UNPlaidAccountFilter["checking"] = "checking";
|
|
3
|
+
UNPlaidAccountFilter["savings"] = "savings";
|
|
4
|
+
return UNPlaidAccountFilter;
|
|
5
|
+
}({});
|
|
6
|
+
export let UNCounterpartyVerificationMethod = /*#__PURE__*/function (UNCounterpartyVerificationMethod) {
|
|
3
7
|
UNCounterpartyVerificationMethod["Plaid"] = "Plaid";
|
|
4
|
-
|
|
8
|
+
return UNCounterpartyVerificationMethod;
|
|
9
|
+
}({});
|
|
5
10
|
//# sourceMappingURL=payments.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["UNCounterpartyVerificationMethod"],"sources":["payments.types.ts"],"
|
|
1
|
+
{"version":3,"names":["UNPlaidAccountFilter","UNCounterpartyVerificationMethod"],"sourceRoot":"../../../../src","sources":["types/shared/payments.types.ts"],"mappings":"AAWA,WAAYA,oBAAoB,0BAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAAA,OAApBA,oBAAoB;AAAA;AAKhC,WAAYC,gCAAgC,0BAAhCA,gCAAgC;EAAhCA,gCAAgC;EAAA,OAAhCA,gCAAgC;AAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/shared/repayment.types.ts"],"mappings":""}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
export let UNDirection
|
|
2
|
-
(function (UNDirection) {
|
|
1
|
+
export let UNDirection = /*#__PURE__*/function (UNDirection) {
|
|
3
2
|
UNDirection["Debit"] = "Debit";
|
|
4
3
|
UNDirection["Credit"] = "Credit";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
return UNDirection;
|
|
5
|
+
}({});
|
|
6
|
+
export let UNTransactionType = /*#__PURE__*/function (UNTransactionType) {
|
|
8
7
|
UNTransactionType["ATM"] = "atmTransaction";
|
|
9
8
|
UNTransactionType["Adjustment"] = "adjustmentTransaction";
|
|
10
9
|
UNTransactionType["BillPay"] = "billPayTransaction";
|
|
@@ -40,5 +39,6 @@ export let UNTransactionType;
|
|
|
40
39
|
UNTransactionType["BankRepayment"] = "bankRepaymentTransaction";
|
|
41
40
|
UNTransactionType["CustomerRepayment"] = "CustomerRepaymentTransaction";
|
|
42
41
|
UNTransactionType["CustomerRepaymentReturned"] = "CustomerRepaymentReturnedTransaction";
|
|
43
|
-
|
|
42
|
+
return UNTransactionType;
|
|
43
|
+
}({});
|
|
44
44
|
//# sourceMappingURL=transactions.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["UNDirection","UNTransactionType"],"sources":["transactions.types.ts"],"
|
|
1
|
+
{"version":3,"names":["UNDirection","UNTransactionType"],"sourceRoot":"../../../../src","sources":["types/shared/transactions.types.ts"],"mappings":"AA0CA,WAAYA,WAAW,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA;AAKvB,WAAYC,iBAAiB,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/shared/types.ts"],"mappings":""}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export let UNVersioningStrategyType
|
|
2
|
-
|
|
1
|
+
export let UNVersioningStrategyType = /*#__PURE__*/function (UNVersioningStrategyType) {
|
|
2
|
+
UNVersioningStrategyType["latest"] = "latest";
|
|
3
3
|
UNVersioningStrategyType["exact"] = "exact";
|
|
4
4
|
UNVersioningStrategyType["upToNextMinor"] = "upToNextMinor";
|
|
5
5
|
UNVersioningStrategyType["upToNextMajor"] = "upToNextMajor";
|
|
6
|
-
|
|
6
|
+
return UNVersioningStrategyType;
|
|
7
|
+
}({});
|
|
7
8
|
//# sourceMappingURL=versioning.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["UNVersioningStrategyType"],"
|
|
1
|
+
{"version":3,"names":["UNVersioningStrategyType"],"sourceRoot":"../../../../src","sources":["types/shared/versioning.types.ts"],"mappings":"AAAA,WAAYA,wBAAwB,0BAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAA,OAAxBA,wBAAwB;AAAA"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
export let UNWalletCode
|
|
2
|
-
(function (UNWalletCode) {
|
|
1
|
+
export let UNWalletCode = /*#__PURE__*/function (UNWalletCode) {
|
|
3
2
|
UNWalletCode["Apple"] = "ApplePayPushProvision";
|
|
4
3
|
UNWalletCode["Google"] = "GooglePayPushProvision";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
return UNWalletCode;
|
|
5
|
+
}({});
|
|
6
|
+
export let UNWalletName = /*#__PURE__*/function (UNWalletName) {
|
|
8
7
|
UNWalletName["Apple"] = "APPLE";
|
|
9
8
|
UNWalletName["Google"] = "GOOGLE";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
return UNWalletName;
|
|
10
|
+
}({});
|
|
11
|
+
export let UNCardAddToWalletStatus = /*#__PURE__*/function (UNCardAddToWalletStatus) {
|
|
13
12
|
UNCardAddToWalletStatus[UNCardAddToWalletStatus["pending"] = 0] = "pending";
|
|
14
13
|
UNCardAddToWalletStatus["readyToProvisioning"] = "ReadyToProvision";
|
|
15
14
|
UNCardAddToWalletStatus["addedToWallet"] = "AlreadyProvisioned";
|
|
@@ -18,5 +17,6 @@ export let UNCardAddToWalletStatus;
|
|
|
18
17
|
UNCardAddToWalletStatus["androidNotInstalled"] = "NotInstalled";
|
|
19
18
|
UNCardAddToWalletStatus["androidWalletSetupNotCompleted"] = "WalletSetupNotCompleted";
|
|
20
19
|
UNCardAddToWalletStatus["androidWalletAppUpdateAvailable"] = "WalletAppUpdateAvailable";
|
|
21
|
-
|
|
20
|
+
return UNCardAddToWalletStatus;
|
|
21
|
+
}({});
|
|
22
22
|
//# sourceMappingURL=wallet.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["UNWalletCode","UNWalletName","UNCardAddToWalletStatus"],"sources":["wallet.types.ts"],"
|
|
1
|
+
{"version":3,"names":["UNWalletCode","UNWalletName","UNCardAddToWalletStatus"],"sourceRoot":"../../../../src","sources":["types/shared/wallet.types.ts"],"mappings":"AAAA,WAAYA,YAAY,0BAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA;AAKxB,WAAYC,YAAY,0BAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA;AAWxB,WAAYC,uBAAuB,0BAAvBA,uBAAuB;EAAvBA,uBAAuB,CAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAA,OAAvBA,uBAAuB;AAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["UnitSDK","getUnitScriptUrl","store","setUnitScript","selectConfiguration","isLoadingScript","fetchUnitScript","configurationState","getState","globalUnitScript","unitScript","env","getEnv","webVersioningStrategy","getWebVersioningStrategy","unitScriptRes","fetch","text","dispatch","e","console","log"],"
|
|
1
|
+
{"version":3,"names":["UnitSDK","getUnitScriptUrl","store","setUnitScript","selectConfiguration","isLoadingScript","fetchUnitScript","configurationState","getState","globalUnitScript","unitScript","env","getEnv","webVersioningStrategy","getWebVersioningStrategy","unitScriptRes","fetch","text","dispatch","e","console","log"],"sourceRoot":"../../../src","sources":["unitSdkManager/UnitSdk.api.ts"],"mappings":"AAAA,SAASA,OAAO,QAAQ,kBAAkB;AAE1C,SAASC,gBAAgB,QAAQ,iCAAiC;AAClE,SAASC,KAAK,QAAQ,gBAAgB;AACtC,SAASC,aAAa,EAAEC,mBAAmB,QAAQ,8BAA8B;AAEjF,IAAIC,eAAe,GAAG,KAAK;AAE3B,OAAO,MAAMC,eAAe,GAAG,MAAAA,CAAA,KAAY;EACzC,MAAMC,kBAAkB,GAAGH,mBAAmB,CAACF,KAAK,CAACM,QAAQ,CAAC,CAAC,CAAC;EAChE,MAAMC,gBAAgB,GAAGF,kBAAkB,CAACG,UAAU;EACtD,MAAMC,GAAG,GAAGX,OAAO,CAACY,MAAM,CAAC,CAAC;EAC5B,MAAMC,qBAAqB,GAAGb,OAAO,CAACc,wBAAwB,CAAC,CAAC;EAChE,IAAIT,eAAe,IAAII,gBAAgB,IAAI,CAACE,GAAG,EAAE;IAC/C;IACA,OAAO,IAAI;EACb;EACAN,eAAe,GAAG,IAAI;EACtB,IAAI;IACF,MAAMU,aAAa,GAAG,MAAMC,KAAK,CAACf,gBAAgB,CAACU,GAAG,EAAEE,qBAAqB,CAAC,CAAC;IAC/E,MAAMH,UAAU,GAAG,MAAMK,aAAa,CAACE,IAAI,CAAC,CAAC;IAC7C,IAAIP,UAAU,EAAE;MACdR,KAAK,CAACgB,QAAQ,CAACf,aAAa,CAACO,UAAU,CAAC,CAAC;IAC3C;IACA,OAAO,IAAI;EACb,CAAC,CAAC,OAAOS,CAAC,EAAE;IACVC,OAAO,CAACC,GAAG,CAACF,CAAC,CAAC;IACd,OAAO,IAAI;EACb,CAAC,SAAS;IACRd,eAAe,GAAG,KAAK;EACzB;AACF,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { UNVersioningStrategyType } from '../types/shared';
|
|
|
2
2
|
const WEB_SDK_RECOMMENDED_STRATEGY = {
|
|
3
3
|
type: UNVersioningStrategyType.upToNextMinor,
|
|
4
4
|
major: 1,
|
|
5
|
-
minor:
|
|
5
|
+
minor: 6
|
|
6
6
|
};
|
|
7
7
|
export const UNSDKConstants = {
|
|
8
8
|
webSDKRecommendedStrategy: WEB_SDK_RECOMMENDED_STRATEGY
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["UNVersioningStrategyType","WEB_SDK_RECOMMENDED_STRATEGY","type","upToNextMinor","major","minor","UNSDKConstants","webSDKRecommendedStrategy"],"
|
|
1
|
+
{"version":3,"names":["UNVersioningStrategyType","WEB_SDK_RECOMMENDED_STRATEGY","type","upToNextMinor","major","minor","UNSDKConstants","webSDKRecommendedStrategy"],"sourceRoot":"../../../src","sources":["unitSdkManager/UnitSdk.constants.ts"],"mappings":"AAAA,SAASA,wBAAwB,QAAiC,iBAAiB;AAEnF,MAAMC,4BAAqD,GAAG;EAC5DC,IAAI,EAAEF,wBAAwB,CAACG,aAAa;EAC5CC,KAAK,EAAE,CAAC;EACRC,KAAK,EAAE;AACT,CAAC;AAED,OAAO,MAAMC,cAAc,GAAG;EAC5BC,yBAAyB,EAAEN;AAC7B,CAAC"}
|
|
@@ -1,71 +1,63 @@
|
|
|
1
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
3
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
4
1
|
import { fetchUnitScript } from './UnitSdk.api';
|
|
5
2
|
import { UnitUiManager } from './unitUiManager/unitUiManager';
|
|
6
3
|
import { warnClientIfNeeded } from '../utils/webVersioningStrategy.utils';
|
|
7
4
|
import { UNSDKConstants } from './UnitSdk.constants';
|
|
8
5
|
import { setTheme, setLanguage } from '../slices/ConfigurationSlice';
|
|
9
6
|
import { store } from '../store/store';
|
|
10
|
-
export let UNEnvironment
|
|
11
|
-
(function (UNEnvironment) {
|
|
7
|
+
export let UNEnvironment = /*#__PURE__*/function (UNEnvironment) {
|
|
12
8
|
UNEnvironment["sandbox"] = "sandbox";
|
|
13
9
|
UNEnvironment["production"] = "production";
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
});
|
|
68
|
-
_defineProperty(UnitSDK, "getCustomerToken", () => {
|
|
69
|
-
return UnitSDK.customerToken;
|
|
70
|
-
});
|
|
10
|
+
return UNEnvironment;
|
|
11
|
+
}({});
|
|
12
|
+
export class UnitSDK {
|
|
13
|
+
static init = async (env, theme, language, fonts, webVersioningStrategy = UNSDKConstants.webSDKRecommendedStrategy) => {
|
|
14
|
+
try {
|
|
15
|
+
this.env = env;
|
|
16
|
+
this.webVersioningStrategy = webVersioningStrategy;
|
|
17
|
+
this.fonts = fonts;
|
|
18
|
+
store.dispatch(setTheme(theme));
|
|
19
|
+
store.dispatch(setLanguage(language));
|
|
20
|
+
this.ui = new UnitUiManager();
|
|
21
|
+
warnClientIfNeeded(this.webVersioningStrategy);
|
|
22
|
+
await fetchUnitScript();
|
|
23
|
+
} catch (e) {
|
|
24
|
+
console.log(e);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
static setPushProvisioningModule = pushProvisionModule => {
|
|
28
|
+
this.pushProvisionModule = pushProvisionModule;
|
|
29
|
+
};
|
|
30
|
+
static getPushProvisionModule = () => {
|
|
31
|
+
return this.pushProvisionModule;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated - Unit SDK is managing the signedNonce, no need to provide it
|
|
36
|
+
*/
|
|
37
|
+
static setSignedNonce = signedNonce => {
|
|
38
|
+
this.signedNonce = signedNonce;
|
|
39
|
+
};
|
|
40
|
+
static getEnv = () => {
|
|
41
|
+
return this.env;
|
|
42
|
+
};
|
|
43
|
+
static getWebVersioningStrategy = () => {
|
|
44
|
+
return this.webVersioningStrategy;
|
|
45
|
+
};
|
|
46
|
+
static getFonts = () => {
|
|
47
|
+
return this.fonts;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @deprecated - Unit SDK is managing the signedNonce, no need to provide it
|
|
52
|
+
*/
|
|
53
|
+
static getSignedNonce = () => {
|
|
54
|
+
return this.signedNonce;
|
|
55
|
+
};
|
|
56
|
+
static setCustomerToken = customerToken => {
|
|
57
|
+
this.customerToken = customerToken;
|
|
58
|
+
};
|
|
59
|
+
static getCustomerToken = () => {
|
|
60
|
+
return this.customerToken;
|
|
61
|
+
};
|
|
62
|
+
}
|
|
71
63
|
//# sourceMappingURL=UnitSdkManager.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["fetchUnitScript","UnitUiManager","warnClientIfNeeded","UNSDKConstants","setTheme","setLanguage","store","UNEnvironment","UnitSDK","
|
|
1
|
+
{"version":3,"names":["fetchUnitScript","UnitUiManager","warnClientIfNeeded","UNSDKConstants","setTheme","setLanguage","store","UNEnvironment","UnitSDK","init","env","theme","language","fonts","webVersioningStrategy","webSDKRecommendedStrategy","dispatch","ui","e","console","log","setPushProvisioningModule","pushProvisionModule","getPushProvisionModule","setSignedNonce","signedNonce","getEnv","getWebVersioningStrategy","getFonts","getSignedNonce","setCustomerToken","customerToken","getCustomerToken"],"sourceRoot":"../../../src","sources":["unitSdkManager/UnitSdkManager.ts"],"mappings":"AACA,SAASA,eAAe,QAAQ,eAAe;AAC/C,SAASC,aAAa,QAAQ,+BAA+B;AAE7D,SAASC,kBAAkB,QAAQ,sCAAsC;AACzE,SAASC,cAAc,QAAQ,qBAAqB;AAEpD,SAASC,QAAQ,EAAEC,WAAW,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AAqB;EACnC,CAAC;EAED,OAAcc,QAAQ,GAAGA,CAAA,KAAM;IAC7B,OAAO,IAAI,CAACf,KAAK;EACnB,CAAC;;EAED;AACF;AACA;EACE,OAAcgB,cAAc,GAAGA,CAAA,KAAM;IACnC,OAAO,IAAI,CAACJ,WAAW;EACzB,CAAC;EAED,OAAcK,gBAAgB,GAAIC,aAAqB,IAAK;IAC1D,IAAI,CAACA,aAAa,GAAGA,aAAa;EACpC,CAAC;EAED,OAAcC,gBAAgB,GAAGA,CAAA,KAAM;IACrC,OAAO,IAAI,CAACD,aAAa;EAC3B,CAAC;AAEH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getWebSdkVersionString","UNEnvironment","getUnitScriptUrl","env","webVersioningStrategy","webSdkVersionString","sandbox","production"],"
|
|
1
|
+
{"version":3,"names":["getWebSdkVersionString","UNEnvironment","getUnitScriptUrl","env","webVersioningStrategy","webSdkVersionString","sandbox","production"],"sourceRoot":"../../../src","sources":["unitSdkManager/UnitSdkManager.utils.internal.ts"],"mappings":"AACA,SAASA,sBAAsB,QAAQ,sCAAsC;AAC7E,SAASC,aAAa,QAAQ,kBAAkB;AAEhD,OAAO,MAAMC,gBAAgB,GAAGA,CAACC,GAAkB,EAAEC,qBAA8C,KAAK;EACtG,MAAMC,mBAAmB,GAAGL,sBAAsB,CAACI,qBAAqB,CAAC;EACzE,QAAQD,GAAG;IACT,KAAKF,aAAa,CAACK,OAAO;MACxB,OAAQ,gCAA+BD,mBAAoB,gBAAe;IAC5E,KAAKJ,aAAa,CAACM,UAAU;MAC3B,OAAQ,8BAA6BF,mBAAoB,gBAAe;EAC5E;AACF,CAAC"}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
3
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
4
1
|
import { UNFlows } from '../../flows/UNFlows';
|
|
5
2
|
export class UnitUiManager {
|
|
3
|
+
flows = new UNFlows();
|
|
6
4
|
constructor() {
|
|
7
|
-
_defineProperty(this, "flows", new UNFlows());
|
|
8
|
-
_defineProperty(this, "init", () => {
|
|
9
|
-
this.flows = new UNFlows();
|
|
10
|
-
});
|
|
11
5
|
this.init();
|
|
12
6
|
}
|
|
7
|
+
init = () => {
|
|
8
|
+
this.flows = new UNFlows();
|
|
9
|
+
};
|
|
13
10
|
}
|
|
14
11
|
//# sourceMappingURL=unitUiManager.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["UNFlows","UnitUiManager","
|
|
1
|
+
{"version":3,"names":["UNFlows","UnitUiManager","flows","constructor","init"],"sourceRoot":"../../../../src","sources":["unitSdkManager/unitUiManager/unitUiManager.ts"],"mappings":"AAAA,SAASA,OAAO,QAAQ,qBAAqB;AAE7C,OAAO,MAAMC,aAAa,CAAC;EAClBC,KAAK,GAAY,IAAIF,OAAO,CAAC,CAAC;EAErCG,WAAWA,CAAA,EAAG;IACZ,IAAI,CAACC,IAAI,CAAC,CAAC;EACb;EAEQA,IAAI,GAAGA,CAAA,KAAM;IACnB,IAAI,CAACF,KAAK,GAAG,IAAIF,OAAO,CAAC,CAAC;EAC5B,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["NativeModules","Platform","AndroidAppInfo","IOSAppInfo","appInfoModule","OS","getAppName","response","error","console","getVersion","getBuildNumber","getAppIdentifier"],"
|
|
1
|
+
{"version":3,"names":["NativeModules","Platform","AndroidAppInfo","IOSAppInfo","appInfoModule","OS","getAppName","response","error","console","getVersion","getBuildNumber","getAppIdentifier"],"sourceRoot":"../../../src","sources":["utils/AppInfo.ts"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAQ,cAAc;AACtD,MAAM;EAAEC,cAAc;EAAEC;AAAW,CAAC,GAAGH,aAAa;AAEpD,MAAMI,aAAa,GAAGH,QAAQ,CAACI,EAAE,KAAK,SAAS,GAAGH,cAAc,GAAGC,UAAU;AAE7E,OAAO,MAAMG,UAAU,GAAG,MAAAA,CAAA,KAAY;EACpC,IAAI;IACF,MAAMC,QAAQ,GAAG,MAAMH,aAAa,CAACE,UAAU,CAAC,CAAC;IACjD,OAAOC,QAAQ;EACjB,CAAC,CAAC,OAAOC,KAAK,EAAE;IACdC,OAAO,CAACD,KAAK,CAACA,KAAK,CAAC;EACtB;AACF,CAAC;AAED,OAAO,MAAME,UAAU,GAAG,MAAAA,CAAA,KAAY;EACpC,IAAI;IACF,MAAMH,QAAQ,GAAG,MAAMH,aAAa,CAACM,UAAU,CAAC,CAAC;IACjD,OAAOH,QAAQ;EACjB,CAAC,CAAC,OAAOC,KAAK,EAAE;IACdC,OAAO,CAACD,KAAK,CAACA,KAAK,CAAC;EACtB;AACF,CAAC;AAED,OAAO,MAAMG,cAAc,GAAG,MAAAA,CAAA,KAAY;EACxC,IAAI;IACF,MAAMJ,QAAQ,GAAG,MAAMH,aAAa,CAACO,cAAc,CAAC,CAAC;IACrD,OAAOJ,QAAQ;EACjB,CAAC,CAAC,OAAOC,KAAK,EAAE;IACdC,OAAO,CAACD,KAAK,CAACA,KAAK,CAAC;EACtB;AACF,CAAC;AAED,OAAO,MAAMI,gBAAgB,GAAG,MAAAA,CAAA,KAAY;EAC1C,IAAI;IACF,MAAML,QAAQ,GAAG,MAAMH,aAAa,CAACQ,gBAAgB,CAAC,CAAC;IACvD,OAAOL,QAAQ;EACjB,CAAC,CAAC,OAAOC,KAAK,EAAE;IACdC,OAAO,CAACD,KAAK,CAACA,KAAK,CAAC;EACtB;AACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Package","getSDKVersion","version"],"
|
|
1
|
+
{"version":3,"names":["Package","getSDKVersion","version"],"sourceRoot":"../../../src","sources":["utils/SDKInfo.ts"],"mappings":"AAAA,OAAOA,OAAO,MAAM,oBAAoB;AAExC,OAAO,MAAMC,aAAa,GAAGA,CAAA,KAAM;EACjC,OAAOD,OAAO,CAACE,OAAO;AACxB,CAAC"}
|
|
@@ -2,6 +2,8 @@ import { UNVersioningStrategyType } from '../types/shared';
|
|
|
2
2
|
import { UNSDKConstants } from '../unitSdkManager/UnitSdk.constants';
|
|
3
3
|
export const getWebSdkVersionString = webVersioningStrategy => {
|
|
4
4
|
switch (webVersioningStrategy.type) {
|
|
5
|
+
case UNVersioningStrategyType.latest:
|
|
6
|
+
return 'latest';
|
|
5
7
|
case UNVersioningStrategyType.exact:
|
|
6
8
|
return `${webVersioningStrategy.major}.${webVersioningStrategy.minor}.${webVersioningStrategy.patch}`;
|
|
7
9
|
case UNVersioningStrategyType.upToNextMinor:
|
|
@@ -12,6 +14,8 @@ export const getWebSdkVersionString = webVersioningStrategy => {
|
|
|
12
14
|
};
|
|
13
15
|
export const getVersionArray = webVersioningStrategy => {
|
|
14
16
|
switch (webVersioningStrategy.type) {
|
|
17
|
+
case UNVersioningStrategyType.latest:
|
|
18
|
+
return [null, null, null];
|
|
15
19
|
case UNVersioningStrategyType.exact:
|
|
16
20
|
return [webVersioningStrategy.major, webVersioningStrategy.minor, webVersioningStrategy.patch];
|
|
17
21
|
case UNVersioningStrategyType.upToNextMinor:
|
|
@@ -38,6 +42,9 @@ export const isBehindRecommendedStrategy = currentWebVersioningStrategy => {
|
|
|
38
42
|
return false;
|
|
39
43
|
};
|
|
40
44
|
export const warnClientIfNeeded = currentWebVersioningStrategy => {
|
|
45
|
+
if (currentWebVersioningStrategy.type === UNVersioningStrategyType.latest) {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
41
48
|
if (currentWebVersioningStrategy.major > UNSDKConstants.webSDKRecommendedStrategy.major) {
|
|
42
49
|
console.log(`The current web sdk version is ${getWebSdkVersionString(currentWebVersioningStrategy)} which is higher than the latest supported version ${getWebSdkVersionString(UNSDKConstants.webSDKRecommendedStrategy)}. Please update the latest version of the web sdk.`);
|
|
43
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["UNVersioningStrategyType","UNSDKConstants","getWebSdkVersionString","webVersioningStrategy","type","exact","major","minor","patch","upToNextMinor","upToNextMajor","getVersionArray","isBehindRecommendedStrategy","currentWebVersioningStrategy","recommendedWebVersionArray","webSDKRecommendedStrategy","currentWebVersionArray","i","currentVersion","recommendedVersion","warnClientIfNeeded","console","log"],"
|
|
1
|
+
{"version":3,"names":["UNVersioningStrategyType","UNSDKConstants","getWebSdkVersionString","webVersioningStrategy","type","latest","exact","major","minor","patch","upToNextMinor","upToNextMajor","getVersionArray","isBehindRecommendedStrategy","currentWebVersioningStrategy","recommendedWebVersionArray","webSDKRecommendedStrategy","currentWebVersionArray","i","currentVersion","recommendedVersion","warnClientIfNeeded","console","log"],"sourceRoot":"../../../src","sources":["utils/webVersioningStrategy.utils.ts"],"mappings":"AAAA,SAASA,wBAAwB,QAAiC,iBAAiB;AACnF,SAASC,cAAc,QAAQ,qCAAqC;AAEpE,OAAO,MAAMC,sBAAsB,GAAIC,qBAA8C,IAAK;EACxF,QAAQA,qBAAqB,CAACC,IAAI;IAChC,KAAKJ,wBAAwB,CAACK,MAAM;MAClC,OAAO,QAAQ;IACjB,KAAKL,wBAAwB,CAACM,KAAK;MACjC,OAAQ,GAAEH,qBAAqB,CAACI,KAAM,IAAGJ,qBAAqB,CAACK,KAAM,IAAGL,qBAAqB,CAACM,KAAM,EAAC;IACvG,KAAKT,wBAAwB,CAACU,aAAa;MACzC,OAAQ,GAAEP,qBAAqB,CAACI,KAAM,IAAGJ,qBAAqB,CAACK,KAAM,EAAC;IACxE,KAA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F;EACA,OAAO,KAAK;AACd,CAAC;AAED,OAAO,MAAMC,kBAAkB,GAAIP,4BAAqD,IAAK;EAC3F,IAAIA,4BAA4B,CAACV,IAAI,KAAKJ,wBAAwB,CAACK,MAAM,EAAE;IACzE;EACF;EACA,IAAIS,4BAA4B,CAACP,KAAK,GAAGN,cAAc,CAACe,yBAAyB,CAACT,KAAK,EAAE;IACvFe,OAAO,CAACC,GAAG,CAAE,kCAAiCrB,sBAAsB,CAACY,4BAA4B,CAAE,sDAAqDZ,sBAAsB,CAACD,cAAc,CAACe,yBAAyB,CAAE,oDAAmD,CAAC;EAC/Q;EACA,IAAIH,2BAA2B,CAACC,4BAA4B,CAAC,EAAE;IAC7DQ,OAAO,CAACC,GAAG,CAAE,kCAAiCrB,sBAAsB,CAACY,4BAA4B,CAAE,qDAAoDZ,sBAAsB,CAACD,cAAc,CAACe,yBAAyB,CAAE,kEAAiE,CAAC;EAC5R;AACF,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
2
|
import React, { useEffect, useState } from 'react';
|
|
3
|
-
import { Platform } from 'react-native';
|
|
3
|
+
import { Linking, Platform } from 'react-native';
|
|
4
4
|
import { useDispatch, useSelector } from 'react-redux';
|
|
5
5
|
import { WebView } from 'react-native-webview';
|
|
6
6
|
import html, { HTML_PLACEHOLDER } from './html';
|
|
@@ -71,6 +71,13 @@ export const WebComponent = /*#__PURE__*/React.forwardRef(function WebComponent(
|
|
|
71
71
|
data: message.details
|
|
72
72
|
}));
|
|
73
73
|
break;
|
|
74
|
+
case UnitMessage.UNIT_REQUEST_OPEN_LINK:
|
|
75
|
+
// eslint-disable-next-line no-case-declarations
|
|
76
|
+
const {
|
|
77
|
+
href
|
|
78
|
+
} = message.details;
|
|
79
|
+
Linking.openURL(href);
|
|
80
|
+
break;
|
|
74
81
|
case UnitMessage.UNIT_REQUEST_DOWNLOAD:
|
|
75
82
|
message.details && handleRequestDownload(message.details, () => {
|
|
76
83
|
dispatch(setEvent({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useEffect","useState","Platform","useDispatch","useSelector","WebView","html","HTML_PLACEHOLDER","UnitMessage","getHtmlBody","fetchUnitScript","UnitSDK","getInfoParams","handleRequestDownload","getFontFacesString","setEvent","AppInfo","WebComponent","forwardRef","props","webRef","dispatch","unitScript","state","configuration","globalTheme","theme","globalLanguage","language","sourceHtml","setSourceHtml","baseName","setBaseName","infoParams","setInfoParams","getAppName","OS","name","replace","error","console","updateInfoParams","componentCurrentTheme","componentCurrentLanguage","themeParam","languageParam","componentParams","params","fontFaces","getFonts","windowInfoParams","JSON","stringify","windowParams","newHtml","BODY","type","valueOf","presentationMode","FONT_FACES","SCRIPT_FROM_NATIVE","script","WINDOW_PARAMS","onMessage","e","message","parse","nativeEvent","data","UNIT_REQUEST_REFRESH","details","key","UNIT_REQUEST_DOWNLOAD","UNIT_REQUEST_CLOSE_FLOW","_onScroll","event","handleScroll","createElement","ref","originWhitelist","mediaPlaybackRequiresUserAction","allowsInlineMediaPlayback","cacheEnabled","scrollEnabled","isScrollable","nestedScrollEnabled","onScroll","overScrollMode","injectedJavaScript","style","width","flex","opacity","backgroundColor","source","baseUrl","androidLayerType","webviewDebuggingEnabled","__DEV__"],"sources":["WebComponent.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport React, { useEffect, useState } from 'react';\nimport { Platform } from 'react-native';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { WebView, WebViewMessageEvent } from 'react-native-webview';\nimport html, { HTML_PLACEHOLDER } from './html';\nimport { RequestRefreshEvent, UnitMessage, RequestDownloadEvent } from '../messages/webMessages/unitMessages';\nimport { getHtmlBody } from '../scripts/html/bodyHtml';\nimport { fetchUnitScript } from '../unitSdkManager/UnitSdk.api';\nimport { UnitSDK } from '../unitSdkManager/UnitSdkManager';\nimport type { WebViewMessage } from '../messages/webMessages';\n\nimport { getInfoParams, handleRequestDownload } from './WebComponent.utils';\nimport type { PresentationMode, WebComponentType } from '../types/internal/webComponent.types';\nimport { getFontFacesString } from '../scripts/html/fontFaces';\nimport type { RootState } from '../store';\nimport { setEvent } from '../slices/SharedEventsSlice';\nimport * as AppInfo from '../utils/AppInfo';\n\nexport interface WebComponentProps {\n type: WebComponentType;\n presentationMode?: PresentationMode,\n params?: string;\n theme?: string;\n language?: string;\n onMessage?: (message: WebViewMessage) => void;\n script?: string;\n isScrollable?: boolean,\n nestedScrollEnabled?: boolean,\n handleScroll?: (event: any) => void,\n windowParams?: string;\n}\n\nexport const WebComponent = React.forwardRef<WebView, WebComponentProps>(function WebComponent(props, webRef) {\n const dispatch = useDispatch();\n const unitScript = useSelector((state: RootState) => state.configuration.unitScript);\n const globalTheme = useSelector((state: RootState) => state.configuration.theme);\n const globalLanguage = useSelector((state: RootState) => state.configuration.language);\n const [sourceHtml, setSourceHtml] = useState<string | null>(null);\n const [baseName, setBaseName] = useState<string>();\n const [infoParams, setInfoParams] = useState<{ [key: string]: string }>({});\n\n useEffect(() => {\n const getAppName = async () => {\n // For iOS, we extend the app name from the HTML to display a prettier access request message.\n // On Android, there is no request message sent from HTML.\n try {\n if (Platform.OS == 'ios') {\n const name = await AppInfo.getAppName();\n setBaseName(name.replace(/ /g, '-'));\n } else { // android\n setBaseName('unit');\n }\n } catch (error: any) {\n console.error(error);\n }\n };\n\n const updateInfoParams = async () => {\n const infoParams = await getInfoParams();\n setInfoParams(infoParams);\n };\n\n getAppName();\n updateInfoParams();\n }, []);\n\n useEffect(() => {\n if (!unitScript) {\n fetchUnitScript();\n return;\n }\n\n const componentCurrentTheme = props.theme ?? globalTheme;\n const componentCurrentLanguage = props.language ?? globalLanguage;\n\n const themeParam = componentCurrentTheme ? ` theme=\"${componentCurrentTheme}\"` : '';\n const languageParam = componentCurrentLanguage ? ` language=\"${componentCurrentLanguage}\"` : '';\n\n const componentParams = (props.params || '') + themeParam + languageParam;\n\n const fontFaces = getFontFacesString(UnitSDK.getFonts());\n\n const windowInfoParams = `window.UnitMobileSDKConfig['info'] = ${JSON.stringify(infoParams)}`;\n const windowParams = `${windowInfoParams}; ${props.windowParams || ''}`;\n\n let newHtml = html.replace(HTML_PLACEHOLDER.BODY, getHtmlBody(props.type.valueOf(), componentParams, props.presentationMode));\n newHtml = newHtml.replace(HTML_PLACEHOLDER.FONT_FACES, fontFaces);\n newHtml = newHtml.replace(HTML_PLACEHOLDER.SCRIPT_FROM_NATIVE, props.script || '');\n newHtml = newHtml.replace(HTML_PLACEHOLDER.WINDOW_PARAMS, windowParams);\n setSourceHtml(newHtml);\n }, [props.params, unitScript, props.presentationMode, props.script, props.windowParams, globalTheme, globalLanguage, infoParams]);\n\n const onMessage = (e: WebViewMessageEvent) => {\n const message = JSON.parse(e.nativeEvent.data) as WebViewMessage;\n switch (message.type) {\n case UnitMessage.UNIT_REQUEST_REFRESH:\n message.details &&\n dispatch(setEvent({\n key: UnitMessage.UNIT_REQUEST_REFRESH,\n data: message.details as RequestRefreshEvent,\n }));\n break;\n case UnitMessage.UNIT_REQUEST_DOWNLOAD:\n message.details &&\n handleRequestDownload(message.details as RequestDownloadEvent, () => {\n dispatch(setEvent({ key: UnitMessage.UNIT_REQUEST_CLOSE_FLOW, data: {} }));\n });\n break;\n default:\n props.onMessage && props.onMessage(message);\n }\n };\n\n if (!sourceHtml) return null;\n\n const _onScroll = (event: any) => {\n if (props.handleScroll) {\n props.handleScroll(event);\n }\n };\n\n if (!baseName) {\n return null;\n }\n\n return (\n <WebView\n ref={webRef}\n originWhitelist={['*']}\n mediaPlaybackRequiresUserAction={false}\n allowsInlineMediaPlayback={true}\n cacheEnabled={false}\n scrollEnabled={props.isScrollable}\n nestedScrollEnabled={props.nestedScrollEnabled}\n onScroll={_onScroll}\n overScrollMode='never'\n injectedJavaScript={unitScript}\n style={{ width: '100%', flex: 1, opacity: 0.99, backgroundColor: 'transparent' }}\n source={{ html: sourceHtml, baseUrl: Platform.OS === 'android' ? `https://${base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AS,EAAC,GAAG;IAAG,CAAE;IAC9FgC,SAAS,EAAEA,SAAU;IACrBiC,gBAAgB,EAAC,UAAU;IAC3BC,uBAAuB,EAAEC;EAAQ,EACjC;AAEN,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"names":["React","useEffect","useState","Linking","Platform","useDispatch","useSelector","WebView","html","HTML_PLACEHOLDER","UnitMessage","getHtmlBody","fetchUnitScript","UnitSDK","getInfoParams","handleRequestDownload","getFontFacesString","setEvent","AppInfo","WebComponent","forwardRef","props","webRef","dispatch","unitScript","state","configuration","globalTheme","theme","globalLanguage","language","sourceHtml","setSourceHtml","baseName","setBaseName","infoParams","setInfoParams","getAppName","OS","name","replace","error","console","updateInfoParams","componentCurrentTheme","componentCurrentLanguage","themeParam","languageParam","componentParams","params","fontFaces","getFonts","windowInfoParams","JSON","stringify","windowParams","newHtml","BODY","type","valueOf","presentationMode","FONT_FACES","SCRIPT_FROM_NATIVE","script","WINDOW_PARAMS","onMessage","e","message","parse","nativeEvent","data","UNIT_REQUEST_REFRESH","details","key","UNIT_REQUEST_OPEN_LINK","href","openURL","UNIT_REQUEST_DOWNLOAD","UNIT_REQUEST_CLOSE_FLOW","_onScroll","event","handleScroll","createElement","ref","originWhitelist","mediaPlaybackRequiresUserAction","allowsInlineMediaPlayback","cacheEnabled","scrollEnabled","isScrollable","nestedScrollEnabled","onScroll","overScrollMode","injectedJavaScript","style","width","flex","opacity","backgroundColor","source","baseUrl","androidLayerType","webviewDebuggingEnabled","__DEV__"],"sourceRoot":"../../../src","sources":["webComponent/WebComponent.tsx"],"mappings":"AAAA;AACA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SAASC,OAAO,EAAEC,QAAQ,QAAQ,cAAc;AAChD,SAASC,WAAW,EAAEC,WAAW,QAAQ,aAAa;AACtD,SAASC,OAAO,QAA6B,sBAAsB;AACnE,OAAOC,IAAI,IAAIC,gBAAgB,QAAQ,QAAQ;AAC/C,SAEEC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AClC,CAAC;AAEN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["axios","Share","NativeModules","Platform","SDKInfo","AppInfo","RNShareFile","getInfoParams","appVersion","getVersion","appBuildNumber","getBuildNumber","appIdentifier","getAppIdentifier","infoParams","getSDKVersion","OS","handleRequestDownload","details","onReadyToShare","fileType","res","get","url","headers","accessToken","responseEncoding","responseType","base64Data","request","_response","share","fileName"],"
|
|
1
|
+
{"version":3,"names":["axios","Share","NativeModules","Platform","SDKInfo","AppInfo","RNShareFile","getInfoParams","appVersion","getVersion","appBuildNumber","getBuildNumber","appIdentifier","getAppIdentifier","infoParams","getSDKVersion","OS","handleRequestDownload","details","onReadyToShare","fileType","res","get","url","headers","accessToken","responseEncoding","responseType","base64Data","request","_response","share","fileName"],"sourceRoot":"../../../src","sources":["webComponent/WebComponent.utils.ts"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,aAAa,EAAEC,QAAQ,QAAQ,cAAc;AAC7D,OAAO,KAAKC,OAAO,MAAM,kBAAkB;AAC3C,OAAO,KAAKC,OAAO,MAAM,kBAAkB;AAE3C,MAAM;EAAEC;AAAY,CAAC,GAAGJ,aAAa;AAErC,OAAO,MAAMK,aAAa,GAAG,MAAAA,CAAA,KAAY;EACvC,MAAMC,UAAU,GAAG,MAAMH,OAAO,CAACI,UAAU,CAAC,CAAC;EAC7C,MAAMC,cAAc,GAAG,MAAML,OAAO,CAACM,cAAc,CAAC,CAAC;EACrD,MAAMC,aAAa,GAAG,MAAMP,OAAO,CAACQ,gBAAgB,CAAC,CAAC;EAEtD,MAAMC,UAAqC,GAAG,CAAC,CAAC;EAChDA,UAAU,CAAC,YAAY,CAAC,GAAGV,OAAO,CAACW,aAAa,CAAC,CAAC;EAClDD,UAAU,CAAC,aAAa,CAAC,GAAG,cAAc;EAC1CA,UAAU,CAAC,IAAI,CAAC,GAAGX,QAAQ,CAACa,EAAE,IAAI,SAAS,GAAG,SAAS,GAAG,KAAK;EAC/DF,UAAU,CAAC,kBAAkB,CAAC,GAAGN,UAAU;EAC3CM,UAAU,CAAC,sBAAsB,CAAC,GAAGJ,cAAc;EACnDI,UAAU,CAAC,qBAAqB,CAAC,GAAGF,aAAa;EACjD,OAAOE,UAAU;AACnB,CAAC;AAED,OAAO,MAAMG,qBAAqB,GAAG,MAAAA,CAAOC,OAA6B,EAAEC,cAA0B,KAAK;EACxG,IAAID,OAAO,CAACE,QAAQ,KAAK,iBAAiB,EAAE;IAC1C,MAAMC,GAAG,GAAG,MAAMrB,KAAK,CAACsB,GAAG,CAACJ,OAAO,CAACK,GAAG,EAAE;MACvCC,OAAO,EAAE;QACP,eAAe,EAAG,UAASN,OAAO,CAACO,WAAY;MACjD,CAAC;MACDC,gBAAgB,EAAE,QAAQ;MAC1BC,YAAY,EAAE;IAChB,CAAC,CAAC;IAEF,MAAMC,UAAU,GAAGP,GAAG,CAACQ,OAAO,CAACC,SAAS;IAExCX,cAAc,CAAC,CAAC;IAEhB,IAAIhB,QAAQ,CAACa,EAAE,KAAK,KAAK,EAAE;MACzBf,KAAK,CAAC8B,KAAK,CAAC;QAAER,GAAG,EAAG,+BAA8BK,UAAW;MAAE,CAAC,CAAC;IACnE,CAAC,MAAM;MACLtB,WAAW,CAACyB,KAAK,CAACH,UAAU,EAAEV,OAAO,CAACc,QAAQ,CAAC;IACjD;EACF;AACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Platform","DISPATCH_RENDERING_EVENT","LISTENERS","POST_MESSAGE_TO_SDK","POST_PAGE_HEIGHT","DISPATCH_REQUEST_CARD_ACTION","DISPATCH_OPEN_ACTIONS_MENU","DISPATCH_REQUEST_ACCOUNT_ACTION","DISPATCH_ACTIVITY_FILTER_CHANGED_EVENT","DISPATCH_REQUEST_SHOW_SENSITIVE_DATA","DISPATCH_REQUEST_HIDE_SENSITIVE_DATA","HTML_PLACEHOLDER","SCRIPT_UNIT","BODY","SCRIPT_FROM_NATIVE","WINDOW_PARAMS","FONT_FACES","htmlText","OS","isPageLoaded","onLoad","unitRequestDownload","requestRendering","requestOpenLink","requestCloseFlow","cardActivated","cardStatusChange","unitRequestExternalSdk","unitAccountChanged","unitActivityFiltersChanged"],"
|
|
1
|
+
{"version":3,"names":["Platform","DISPATCH_RENDERING_EVENT","LISTENERS","POST_MESSAGE_TO_SDK","POST_PAGE_HEIGHT","DISPATCH_REQUEST_CARD_ACTION","DISPATCH_OPEN_ACTIONS_MENU","DISPATCH_REQUEST_ACCOUNT_ACTION","DISPATCH_ACTIVITY_FILTER_CHANGED_EVENT","DISPATCH_REQUEST_SHOW_SENSITIVE_DATA","DISPATCH_REQUEST_HIDE_SENSITIVE_DATA","HTML_PLACEHOLDER","SCRIPT_UNIT","BODY","SCRIPT_FROM_NATIVE","WINDOW_PARAMS","FONT_FACES","htmlText","OS","isPageLoaded","onLoad","unitRequestDownload","requestRendering","requestOpenLink","requestCloseFlow","cardActivated","cardStatusChange","unitRequestExternalSdk","unitAccountChanged","unitActivityFiltersChanged"],"sourceRoot":"../../../src","sources":["webComponent/html.ts"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,cAAc;AACvC,SACEC,wBAAwB,EACxBC,SAAS,EACTC,mBAAmB,EACnBC,gBAAgB,EAChBC,4BAA4B,EAC5BC,0BAA0B,EAC1BC,+BAA+B,EAC/BC,sCAAsC,EACtCC,oCAAoC,EAAEC,oCAAoC,QACrE,4BAA4B;AAEnC,OAAO,MAAMC,gBAAgB,GAAG;EAC9BC,WAAW,EAAE,eAAe;EAC5BC,IAAI,EAAE,kBAAkB;EACxBC,kBAAkB,EAAE,sBAAsB;EAC1CC,aAAa,EAAE,iBAAiB;EAChCC,UAAU,EAAE;AACd,CAAC;AAED,MAAMC,QAAQ,GAAI;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAajB,QAAQ,CAACkB,EAAG;AACzB,qBAAqBlB,QAAQ,CAACkB,EAAE,KAAK,KAAK,GAAG,OAAO,GAAG,QAAS;AAChE;AACA,MAAMP,gBAAgB,CAACI,aAAc;AACrC;AACA;AACA;AACA;AACA,QAAQJ,gBAAgB,CAACK,UAAW;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAML,gBAAgB,CAACE,IAAK;AAC5B;AACA;AACA,QAAQV,mBAAoB;AAC5B;AACA,QAAQC,gBAAiB;AACzB;AACA,QAAQF,SAAS,CAACiB,YAAa;AAC/B;AACA,QAAQjB,SAAS,CAACkB,MAAO;AACzB;AACA,QAAQlB,SAAS,CAACmB,mBAAoB;AACtC;AACA,QAAQnB,SAAS,CAACoB,gBAAiB;AACnC;AACA,QAAQpB,SAAS,CAACqB,eAAgB;AAClC;AACA,QAAQrB,SAAS,CAACsB,gBAAiB;AACnC;AACA,QAAQtB,SAAS,CAACuB,aAAc;AAChC;AACA,QAAQvB,SAAS,CAACwB,gBAAiB;AACnC;AACA,QAAQxB,SAAS,CAACyB,sBAAuB;AACzC;AACA,QAAQzB,SAAS,CAAC0B,kBAAmB;AACrC;AACA,QAAQ1B,SAAS,CAAC2B,0BAA2B;AAC7C;AACA,QAAQ5B,wBAAyB;AACjC;AACA,QAAQK,0BAA2B;AACnC;AACA,QAAQI,oCAAqC;AAC7C;AACA,QAAQD,oCAAqC;AAC7C;AACA,QAAQJ,4BAA6B;AACrC;AACA,QAAQG,sCAAuC;AAC/C;AACA,QAAQD,+BAAgC;AACxC;AACA,QAAQI,gBAAgB,CAACG,kBAAmB;AAC5C;AACA;AACA;AACA,CAAC;AAED,eAAeG,QAAQ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/assets/images/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import type { UNOnLoadResponse, UNACHData, UNACHOnLoadData } from '../../types/shared';
|
|
3
|
+
import { UNPlaidAccountFilter } from '../../types/shared';
|
|
2
4
|
export interface UNACHCreditComponentProps {
|
|
3
|
-
accountId
|
|
5
|
+
accountId?: string;
|
|
4
6
|
customerToken: string;
|
|
5
7
|
theme?: string;
|
|
6
8
|
language?: string;
|
|
@@ -8,8 +10,15 @@ export interface UNACHCreditComponentProps {
|
|
|
8
10
|
fee?: number;
|
|
9
11
|
withPlaid?: boolean;
|
|
10
12
|
onPaymentCreated?: (data: UNACHData) => void;
|
|
13
|
+
onInitialStageBackButtonClicked?: () => void;
|
|
14
|
+
onFinalStageDoneButtonClicked?: () => void;
|
|
11
15
|
onLoad?: (response: UNOnLoadResponse<UNACHOnLoadData>) => void;
|
|
12
16
|
sameDay?: boolean;
|
|
17
|
+
plaidAccountFilters?: UNPlaidAccountFilter[];
|
|
18
|
+
plaidLinkCustomizationName?: string;
|
|
19
|
+
initialStageBackButton?: boolean;
|
|
20
|
+
finalStageDoneButton?: boolean;
|
|
13
21
|
}
|
|
14
22
|
declare const _default: (props: UNACHCreditComponentProps) => JSX.Element;
|
|
15
23
|
export default _default;
|
|
24
|
+
//# sourceMappingURL=UNACHCreditComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UNACHCreditComponent.d.ts","sourceRoot":"","sources":["../../../../../src/components/UNACHCreditComponent/UNACHCreditComponent.tsx"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,eAAe,EAAiC,MAAM,oBAAoB,CAAC;AAkBtH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,MAAM,WAAW,yBAAyB;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IAC7C,+BAA+B,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7C,6BAA6B,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3C,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,gBAAgB,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;IAC/D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mBAAmB,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAC7C,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;;AA8HD,wBAA+E"}
|
|
@@ -4,3 +4,4 @@ import type { LinkSuccess } from 'react-native-plaid-link-sdk';
|
|
|
4
4
|
export declare const getACHCreditParams: (props: UNACHCreditComponentProps) => string;
|
|
5
5
|
export declare const getACHCreditScript: (appPackageName?: string) => string;
|
|
6
6
|
export declare const injectUnitPlaidResponse: (currentWeb: WebView | null, success: LinkSuccess) => void;
|
|
7
|
+
//# sourceMappingURL=UNACHCreditComponent.utils.d.ts.map
|
package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UNACHCreditComponent.utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/UNACHCreditComponent/UNACHCreditComponent.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAG/D,eAAO,MAAM,kBAAkB,UAAW,yBAAyB,WAiBlE,CAAC;AAEF,eAAO,MAAM,kBAAkB,oBAAqB,MAAM,WAWzD,CAAC;AAEF,eAAO,MAAM,uBAAuB,eAAgB,OAAO,GAAG,IAAI,WAAW,WAAW,SAGvF,CAAC"}
|