react-native-unit-components 1.15.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/android/src/main/java/com/unitreactnativecomponents/UnitReactNativeComponentsPackage.kt +16 -15
- package/android/src/main/java/com/unitreactnativecomponents/extensions/ContextExtensions.kt +1 -3
- package/android/src/main/java/com/unitreactnativecomponents/{UnitAddToWalletButtonViewManager.kt → nativeComponents/UnitAddToWalletButtonViewManager.kt} +14 -8
- package/android/src/main/java/com/unitreactnativecomponents/{UnitReactNativeComponentsEvent.kt → nativeComponents/UnitReactNativeComponentsEvent.kt} +1 -1
- package/android/src/main/java/com/unitreactnativecomponents/{secureView/UNSecureViewManager.kt → nativeComponents/secureView/UNSecureNativeViewManager.kt} +10 -4
- package/android/src/main/java/com/unitreactnativecomponents/{visapresentation → nativeComponents/visapresentation}/UNGooglePayView.kt +5 -1
- package/android/src/main/java/com/unitreactnativecomponents/{appInfo → nativeModules/appInfo}/UNAppInfoModule.kt +2 -2
- package/android/src/main/java/com/unitreactnativecomponents/{security/UNSecurityHelper.kt → nativeModules/security/UNSecurityHelperModule.kt} +6 -4
- package/android/src/main/java/com/unitreactnativecomponents/{sharepdf/UNSharePDF.kt → nativeModules/sharefile/UNShareFile.kt} +3 -3
- package/android/src/main/java/com/unitreactnativecomponents/{unSnapshotProtectionManager/UNSnapshotProtectionManager.kt → nativeModules/unComponentsSnapshotProtectionModule/UNComponentsSnapshotProtectionModule.kt} +6 -6
- package/android/src/main/java/com/unitreactnativecomponents/{unStoreManager/UNStoreManager.kt → nativeModules/unStoreModule/UNStoreModule.kt} +6 -4
- package/ios/NativeComponents/UnitAddToWalletButton/UnitAddToWalletButtonNativeView.h +28 -0
- package/ios/NativeComponents/UnitAddToWalletButton/UnitAddToWalletButtonNativeView.mm +81 -0
- package/ios/{UnitReactNativeComponentsViewManager.m → NativeComponents/UnitReactNativeComponentsViewManager.m} +1 -1
- package/ios/{UnitReactNativeComponentsViewManager.swift → NativeComponents/UnitReactNativeComponentsViewManager.swift} +2 -2
- package/ios/{UNAppInfo → NativeModules/UNAppInfo}/UNAppInfoExportModule.m +1 -1
- package/ios/NativeModules/UNAppInfo/UNAppInfoModule.swift +49 -0
- package/ios/NativeModules/UNPermissionsModule/UNPermissionsExportModule.mm +7 -0
- package/ios/NativeModules/UNPermissionsModule/UNPermissionsModule.swift +25 -0
- package/ios/{UNSecurity → NativeModules/UNSecurity}/UNSecurityHelperExportModule.m +1 -1
- package/ios/{UNSecurity/UNSecurityHelper.swift → NativeModules/UNSecurity/UNSecurityHelperModule.swift} +24 -20
- package/ios/{UNSnapshotProtectionManager → NativeModules/UNSnapshotProtectionManager}/UNSnapshotProtectionManager.swift +3 -3
- package/ios/{UNSnapshotProtectionManager → NativeModules/UNSnapshotProtectionManager}/UNSnapshotProtectionManagerExportModule.m +1 -1
- package/ios/{UNStoreManager/UNStoreManagerExportModule.m → NativeModules/UNStoreModule/UNStoreExportModule.m} +1 -1
- package/ios/NativeModules/UNStoreModule/UNStoreModule.swift +31 -0
- package/ios/UnitReactNativeComponents.xcodeproj/project.pbxproj +23 -45
- package/lib/commonjs/assets/images/index.js +1 -1
- package/lib/commonjs/assets/images/index.js.map +1 -1
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.js +9 -7
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.js.map +1 -1
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.utils.js +0 -1
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNACHCreditComponent/index.js +1 -1
- package/lib/commonjs/components/UNACHCreditComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.js +9 -7
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.js.map +1 -1
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.utils.js +0 -1
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNACHDebitComponent/index.js +1 -1
- package/lib/commonjs/components/UNACHDebitComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.js +9 -8
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.js.map +1 -1
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.utils.js +6 -1
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNAccountComponent/index.js +1 -1
- package/lib/commonjs/components/UNAccountComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js +8 -7
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js.map +1 -1
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js +0 -1
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNActivityComponent/index.js +1 -1
- package/lib/commonjs/components/UNActivityComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.js +6 -5
- package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.js.map +1 -1
- package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js +0 -1
- package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNBookPaymentComponent/index.js +1 -1
- package/lib/commonjs/components/UNBookPaymentComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.js +11 -11
- 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 +80 -27
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js +41 -21
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js +18 -9
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/components/index.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/index.js +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNCardActionComponent/UNCardActionComponent.js +6 -5
- package/lib/commonjs/components/UNCardActionComponent/UNCardActionComponent.js.map +1 -1
- package/lib/commonjs/components/UNCardActionComponent/UNCardActionComponent.utils.js +0 -1
- package/lib/commonjs/components/UNCardActionComponent/UNCardActionComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNCardActionComponent/index.js +1 -1
- package/lib/commonjs/components/UNCardActionComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.js +10 -12
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.js.map +1 -1
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js +4 -3
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNCardComponent/index.js +1 -1
- package/lib/commonjs/components/UNCardComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.js +8 -8
- package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.js.map +1 -1
- package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js +0 -1
- package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNCheckDepositComponent/index.js +1 -1
- package/lib/commonjs/components/UNCheckDepositComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.js +7 -6
- package/lib/commonjs/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.js.map +1 -1
- package/lib/commonjs/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.utils.js +1 -2
- package/lib/commonjs/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNMultiFactorAuthenticationComponent/index.js +1 -1
- package/lib/commonjs/components/UNMultiFactorAuthenticationComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js +19 -4
- package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js.map +1 -1
- package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js +0 -1
- package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNMultipleCardsComponent/index.js +1 -1
- package/lib/commonjs/components/UNMultipleCardsComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js +5 -4
- package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js.map +1 -1
- package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js +0 -1
- package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNNextRepaymentComponent/index.js +1 -1
- package/lib/commonjs/components/UNNextRepaymentComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNPayeeManagementComponent/UNPayeeManagementComponent.js +7 -6
- package/lib/commonjs/components/UNPayeeManagementComponent/UNPayeeManagementComponent.js.map +1 -1
- package/lib/commonjs/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.js +0 -1
- package/lib/commonjs/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNPayeeManagementComponent/index.js +1 -1
- package/lib/commonjs/components/UNPayeeManagementComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js +5 -4
- package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js.map +1 -1
- package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js +0 -1
- package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNProgramDetailsComponent/index.js +1 -1
- package/lib/commonjs/components/UNProgramDetailsComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.js +11 -9
- package/lib/commonjs/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.js.map +1 -1
- package/lib/commonjs/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNWhiteLabelAppComponent/index.js +1 -1
- package/lib/commonjs/components/UNWhiteLabelAppComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNWirePaymentComponent/UNWirePaymentComponent.js +5 -4
- package/lib/commonjs/components/UNWirePaymentComponent/UNWirePaymentComponent.js.map +1 -1
- package/lib/commonjs/components/UNWirePaymentComponent/UNWirePaymentComponent.utils.js +0 -1
- package/lib/commonjs/components/UNWirePaymentComponent/UNWirePaymentComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNWirePaymentComponent/index.js +1 -1
- package/lib/commonjs/components/UNWirePaymentComponent/index.js.map +1 -1
- package/lib/commonjs/components/index.js +0 -11
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/custom.d.js.map +1 -1
- package/lib/commonjs/flows/{UNFlows.js → UNComponentsFlows.js} +6 -6
- package/lib/commonjs/flows/UNComponentsFlows.js.map +1 -0
- package/lib/commonjs/flows/card/UNCardFlows.js.map +1 -1
- package/lib/commonjs/helpers/BottomSheet/BottomSheet.js +10 -27
- package/lib/commonjs/helpers/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/commonjs/helpers/BottomSheet/BottomSheet.styles.js.map +1 -1
- package/lib/commonjs/helpers/UNKeyboardAvoidingView/UNKeyboardAvoidingView.js +26 -0
- package/lib/commonjs/helpers/UNKeyboardAvoidingView/UNKeyboardAvoidingView.js.map +1 -0
- package/lib/commonjs/helpers/pushProvisioningService/helpers.js.map +1 -1
- package/lib/commonjs/helpers/pushProvisioningService/hooks/useCardWallet.js +7 -7
- package/lib/commonjs/helpers/pushProvisioningService/hooks/useCardWallet.js.map +1 -1
- package/lib/commonjs/helpers/pushProvisioningService/hooks/useLaunchInitialize.js +2 -2
- package/lib/commonjs/helpers/pushProvisioningService/hooks/useLaunchInitialize.js.map +1 -1
- package/lib/commonjs/helpers/pushProvisioningService/startProvisioning.js +2 -2
- package/lib/commonjs/helpers/pushProvisioningService/startProvisioning.js.map +1 -1
- package/lib/commonjs/helpers/pushProvisioningService/types.js +7 -0
- package/lib/commonjs/helpers/pushProvisioningService/types.js.map +1 -1
- package/lib/commonjs/helpers/store/helpers.js +2 -2
- package/lib/commonjs/helpers/store/helpers.js.map +1 -1
- package/lib/commonjs/hooks/useAppStateListener.js +38 -6
- package/lib/commonjs/hooks/useAppStateListener.js.map +1 -1
- package/lib/commonjs/hooks/useIsJailbrokeDevice.js +1 -1
- package/lib/commonjs/hooks/useIsJailbrokeDevice.js.map +1 -1
- package/lib/commonjs/hooks/useListenerToEvent.js.map +1 -1
- package/lib/commonjs/hooks/useSnapshotProtection.js +4 -4
- package/lib/commonjs/hooks/useSnapshotProtection.js.map +1 -1
- package/lib/commonjs/index.js +4 -4
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/messages/nativeMessages/bottomSheetMessage.js.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/lib/commonjs/messages/webMessages/bookPaymentMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/cardMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/checkMessage.js +1 -0
- 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/multiFactorAuthenticationMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/multipleCardsMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/onLoadMessage.js +0 -1
- package/lib/commonjs/messages/webMessages/onLoadMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/pageMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/payeeManagementMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/paymentsMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/plaidMessages.js.map +1 -1
- package/lib/commonjs/messages/webMessages/unitComponentsMessages.js +26 -0
- package/lib/commonjs/messages/webMessages/unitComponentsMessages.js.map +1 -0
- package/lib/commonjs/{types/shared/fundAccountPayment.types.js → messages/webMessages/wirePaymentMessage.js} +1 -1
- package/lib/commonjs/messages/webMessages/wirePaymentMessage.js.map +1 -0
- package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletBottomSheetItem.styles.js.map +1 -1
- package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js +9 -8
- package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js.map +1 -1
- package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js.map +1 -1
- package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js +1 -1
- package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js.map +1 -1
- package/lib/commonjs/nativeComponents/UNAddToWallet/UnitAddToWalletButtonNativeComponent.js +10 -0
- package/lib/commonjs/nativeComponents/UNAddToWallet/UnitAddToWalletButtonNativeComponent.js.map +1 -0
- package/lib/commonjs/nativeComponents/UNBaseView/UNBaseView.js +18 -4
- package/lib/commonjs/nativeComponents/UNBaseView/UNBaseView.js.map +1 -1
- package/lib/commonjs/nativeComponents/UNBaseView/index.js +1 -1
- package/lib/commonjs/nativeComponents/UNBaseView/index.js.map +1 -1
- package/lib/commonjs/nativeComponents/UNSecureView/UNSecureViewNativeComponent.js +10 -0
- package/lib/commonjs/nativeComponents/UNSecureView/UNSecureViewNativeComponent.js.map +1 -0
- package/lib/commonjs/nativeModulesHelpers/RNShareFile/RNShareFile.js +20 -0
- package/lib/commonjs/nativeModulesHelpers/RNShareFile/RNShareFile.js.map +1 -0
- package/lib/commonjs/nativeModulesHelpers/UNPermissionsHelper/UNPermissionsHelper.js +20 -0
- package/lib/commonjs/nativeModulesHelpers/UNPermissionsHelper/UNPermissionsHelper.js.map +1 -0
- package/lib/commonjs/nativeModulesHelpers/UNSanpshotProtectionHelper/UNSnapshotProtectionHelper.js +3 -5
- package/lib/commonjs/nativeModulesHelpers/UNSanpshotProtectionHelper/UNSnapshotProtectionHelper.js.map +1 -1
- package/lib/commonjs/nativeModulesHelpers/UNSecurityHelper.js +1 -3
- package/lib/commonjs/nativeModulesHelpers/UNSecurityHelper.js.map +1 -1
- package/lib/commonjs/nativeModulesHelpers/UNStoreModuleHelper/UNStoreModuleHelper.js +9 -0
- package/lib/commonjs/nativeModulesHelpers/UNStoreModuleHelper/UNStoreModuleHelper.js.map +1 -0
- package/lib/commonjs/networking/common/UNNetworkConstants.js +3 -3
- package/lib/commonjs/networking/common/UNNetworkConstants.js.map +1 -1
- package/lib/commonjs/networking/requests/UNWalletPayloadRequest.js +4 -4
- package/lib/commonjs/networking/requests/UNWalletPayloadRequest.js.map +1 -1
- package/lib/commonjs/scripts/html/bodyHtml.js.map +1 -1
- package/lib/commonjs/scripts/html/bodyScript.js +43 -29
- package/lib/commonjs/scripts/html/bodyScript.js.map +1 -1
- package/lib/commonjs/scripts/html/fontFaces.js.map +1 -1
- package/lib/commonjs/slices/BottomSheetSlice.js.map +1 -1
- package/lib/commonjs/slices/ConfigurationSlice.js +7 -2
- package/lib/commonjs/slices/ConfigurationSlice.js.map +1 -1
- package/lib/commonjs/slices/SharedEventsSlice.js.map +1 -1
- package/lib/commonjs/slices/pushProvisioningSlice.js.map +1 -1
- package/lib/commonjs/store/index.js.map +1 -1
- package/lib/commonjs/store/store.js +1 -1
- package/lib/commonjs/store/store.js.map +1 -1
- package/lib/commonjs/styles/fonts.js +2 -2
- package/lib/commonjs/styles/fonts.js.map +1 -1
- package/lib/commonjs/styles/variables.js.map +1 -1
- package/lib/commonjs/types/internal/bottomSheet.types.js +15 -0
- package/lib/commonjs/types/internal/bottomSheet.types.js.map +1 -1
- package/lib/commonjs/types/internal/errorHelpers.js +8 -8
- package/lib/commonjs/types/internal/errorHelpers.js.map +1 -1
- package/lib/commonjs/types/internal/unitStore.types.js.map +1 -1
- package/lib/commonjs/types/internal/webComponent.types.js +5 -1
- package/lib/commonjs/types/internal/webComponent.types.js.map +1 -1
- package/lib/commonjs/types/shared/account.types.js +7 -1
- package/lib/commonjs/types/shared/account.types.js.map +1 -1
- package/lib/commonjs/types/shared/{achCredit.types.js → ach.types.js} +1 -1
- package/lib/commonjs/types/shared/{wirePayment.types.js.map → ach.types.js.map} +1 -1
- package/lib/commonjs/types/shared/activity.types.js +8 -1
- package/lib/commonjs/types/shared/activity.types.js.map +1 -1
- package/lib/commonjs/types/shared/authorization.types.js +4 -0
- package/lib/commonjs/types/shared/authorization.types.js.map +1 -1
- package/lib/commonjs/types/shared/card.types.js +21 -1
- package/lib/commonjs/types/shared/card.types.js.map +1 -1
- package/lib/commonjs/types/shared/checkDeposit.types.js +6 -1
- package/lib/commonjs/types/shared/checkDeposit.types.js.map +1 -1
- package/lib/commonjs/types/shared/counterparty.types.js +24 -0
- package/lib/commonjs/types/shared/counterparty.types.js.map +1 -0
- package/lib/commonjs/types/shared/customer.types.js +34 -0
- package/lib/commonjs/types/shared/customer.types.js.map +1 -0
- package/lib/commonjs/types/shared/env.types.js +6 -6
- package/lib/commonjs/types/shared/env.types.js.map +1 -1
- package/lib/commonjs/types/shared/error.types.js +22 -21
- package/lib/commonjs/types/shared/error.types.js.map +1 -1
- package/lib/commonjs/types/shared/fonts.types.js.map +1 -1
- package/lib/commonjs/types/shared/index.js +71 -27
- package/lib/commonjs/types/shared/index.js.map +1 -1
- package/lib/commonjs/types/shared/multiFactorAuthentication.types.js.map +1 -1
- 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/payeeManagement.types.js.map +1 -1
- package/lib/commonjs/types/shared/payment/achPayment.types.js +6 -0
- package/lib/commonjs/types/shared/payment/achPayment.types.js.map +1 -0
- package/lib/commonjs/types/shared/payment/billPayment.types.js +6 -0
- package/lib/commonjs/types/shared/payment/billPayment.types.js.map +1 -0
- package/lib/commonjs/types/shared/payment/bookPayment.types.js.map +1 -0
- package/lib/commonjs/types/shared/payment/index.js +61 -0
- package/lib/commonjs/types/shared/payment/index.js.map +1 -0
- package/lib/commonjs/types/shared/{payments.types.js → payment/payments.types.js} +8 -19
- package/lib/commonjs/types/shared/payment/payments.types.js.map +1 -0
- package/lib/commonjs/types/shared/payment/wirePayment.types.js.map +1 -0
- package/lib/commonjs/types/shared/repayment.types.js.map +1 -1
- package/lib/commonjs/types/shared/securitySettings.js +5 -5
- package/lib/commonjs/types/shared/securitySettings.js.map +1 -1
- package/lib/commonjs/types/shared/transaction/UNAccountLowBalanceClosureTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNAccountLowBalanceClosureTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNAdjustmentTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNAdjustmentTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNAtmTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNAtmTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNBankRepaymentTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNBankRepaymentTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNBillPayTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNBillPayTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNBookTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNBookTransaction.js.map +1 -0
- package/lib/commonjs/{messages/webMessages/fundAccountPaymentMessage.js → types/shared/transaction/UNCardReversalTransaction.js} +1 -1
- package/lib/commonjs/types/shared/transaction/UNCardReversalTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNCardTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNCardTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNCashDepositTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNCashDepositTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNChargebackTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNChargebackTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNCheckDepositTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNCheckDepositTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNCustomerRepaymentReturnedTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNCustomerRepaymentReturnedTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNCustomerRepaymentTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNCustomerRepaymentTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNDishonoredAchTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNDishonoredAchTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNDisputeSettlementTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNDisputeSettlementTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNDisputeTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNDisputeTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNFeeReversalTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNFeeReversalTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNFeeTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNFeeTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNInterchangeShareTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNInterchangeShareTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNInterestShareTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNInterestShareTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNInterestTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNInterestTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNNegativeBalanceCoverageTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNNegativeBalanceCoverageTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNOriginatedAchTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNOriginatedAchTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNPaymentAdvanceTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNPaymentAdvanceTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNPaymentCanceledTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNPaymentCanceledTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNPurchaseTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNPurchaseTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNReceivedAchTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNReceivedAchTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNReleaseTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNReleaseTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNRepaidPaymentAdvanceTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNRepaidPaymentAdvanceTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNReturnedAchTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNReturnedAchTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNReturnedCheckDepositTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNReturnedCheckDepositTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNReturnedReceivedAchTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNReturnedReceivedAchTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNRewardTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNRewardTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNSettlementTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNSettlementTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNSponsoredInterestTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNSponsoredInterestTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/UNWireTransaction.js +6 -0
- package/lib/commonjs/types/shared/transaction/UNWireTransaction.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/index.js +413 -0
- package/lib/commonjs/types/shared/transaction/index.js.map +1 -0
- package/lib/commonjs/types/shared/transaction/transactions.types.js +84 -0
- package/lib/commonjs/types/shared/transaction/transactions.types.js.map +1 -0
- package/lib/commonjs/types/shared/types.js +1 -1
- package/lib/commonjs/types/shared/types.js.map +1 -1
- package/lib/commonjs/types/shared/versioning.types.js.map +1 -1
- package/lib/commonjs/types/shared/wallet.types.js.map +1 -1
- package/lib/commonjs/{unitSdkManager/UnitSdk.api.js → unitComponentsSdkManager/UnitComponentsSdk.api.js} +6 -6
- package/lib/commonjs/unitComponentsSdkManager/UnitComponentsSdk.api.js.map +1 -0
- package/lib/commonjs/{unitSdkManager/UnitSdk.constants.js → unitComponentsSdkManager/UnitComponentsSdk.constants.js} +6 -6
- package/lib/commonjs/unitComponentsSdkManager/UnitComponentsSdk.constants.js.map +1 -0
- package/lib/commonjs/{unitSdkManager/UnitSdkManager.js → unitComponentsSdkManager/UnitComponentsSdkManager.js} +20 -23
- package/lib/commonjs/unitComponentsSdkManager/UnitComponentsSdkManager.js.map +1 -0
- package/lib/commonjs/{unitSdkManager/UnitSdkManager.utils.internal.js → unitComponentsSdkManager/UnitComponentsSdkManager.utils.internal.js} +4 -4
- package/lib/commonjs/unitComponentsSdkManager/UnitComponentsSdkManager.utils.internal.js.map +1 -0
- package/lib/commonjs/{unitSdkManager/unitHelpersManager/UnitHelpersManager.js → unitComponentsSdkManager/unitComponentsHelpersManager/UnitComponentsHelpersManager.js} +4 -4
- package/lib/commonjs/unitComponentsSdkManager/unitComponentsHelpersManager/UnitComponentsHelpersManager.js.map +1 -0
- package/lib/commonjs/unitComponentsSdkManager/unitComponentsUiManager/unitComponentsUiManager.js +18 -0
- package/lib/commonjs/unitComponentsSdkManager/unitComponentsUiManager/unitComponentsUiManager.js.map +1 -0
- package/lib/commonjs/utils/AppInfo.js +2 -42
- package/lib/commonjs/utils/AppInfo.js.map +1 -1
- package/lib/commonjs/utils/onLoadMessages.utils.js.map +1 -1
- package/lib/commonjs/utils/webVersioningStrategy.utils.js +5 -5
- package/lib/commonjs/utils/webVersioningStrategy.utils.js.map +1 -1
- package/lib/commonjs/utils/windowUnitStore.js.map +1 -1
- package/lib/commonjs/webComponent/WebComponent.js +31 -27
- package/lib/commonjs/webComponent/WebComponent.js.map +1 -1
- package/lib/commonjs/webComponent/WebComponent.utils.js +9 -13
- package/lib/commonjs/webComponent/WebComponent.utils.js.map +1 -1
- package/lib/commonjs/webComponent/html.js +2 -0
- 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 +6 -5
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.js.map +1 -1
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.utils.js +0 -1
- 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 +6 -5
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.js.map +1 -1
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.utils.js +0 -1
- 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 +7 -6
- package/lib/module/components/UNAccountComponent/UNAccountComponent.js.map +1 -1
- package/lib/module/components/UNAccountComponent/UNAccountComponent.utils.js +6 -1
- 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 +6 -5
- package/lib/module/components/UNActivityComponent/UNActivityComponent.js.map +1 -1
- package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js +0 -1
- package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -1
- package/lib/module/components/UNActivityComponent/index.js.map +1 -1
- package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.js +5 -4
- package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.js.map +1 -1
- package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js +0 -1
- 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.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.js +9 -9
- 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 +80 -27
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js +39 -19
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js +16 -8
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js.map +1 -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/UNCardActionComponent/UNCardActionComponent.js +5 -4
- package/lib/module/components/UNCardActionComponent/UNCardActionComponent.js.map +1 -1
- package/lib/module/components/UNCardActionComponent/UNCardActionComponent.utils.js +0 -1
- package/lib/module/components/UNCardActionComponent/UNCardActionComponent.utils.js.map +1 -1
- package/lib/module/components/UNCardActionComponent/index.js.map +1 -1
- package/lib/module/components/UNCardComponent/UNCardComponent.js +9 -11
- package/lib/module/components/UNCardComponent/UNCardComponent.js.map +1 -1
- package/lib/module/components/UNCardComponent/UNCardComponent.utils.js +4 -3
- 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 +7 -8
- package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.js.map +1 -1
- package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js +0 -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/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.js +6 -5
- package/lib/module/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.js.map +1 -1
- package/lib/module/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.utils.js +1 -2
- package/lib/module/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.utils.js.map +1 -1
- package/lib/module/components/UNMultiFactorAuthenticationComponent/index.js.map +1 -1
- package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js +18 -3
- package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js.map +1 -1
- package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js +0 -1
- 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 +4 -3
- package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js.map +1 -1
- package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js +0 -1
- package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js.map +1 -1
- package/lib/module/components/UNNextRepaymentComponent/index.js.map +1 -1
- package/lib/module/components/UNPayeeManagementComponent/UNPayeeManagementComponent.js +6 -5
- package/lib/module/components/UNPayeeManagementComponent/UNPayeeManagementComponent.js.map +1 -1
- package/lib/module/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.js +0 -1
- package/lib/module/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.js.map +1 -1
- package/lib/module/components/UNPayeeManagementComponent/index.js.map +1 -1
- package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js +4 -3
- package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js.map +1 -1
- package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js +0 -1
- package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js.map +1 -1
- package/lib/module/components/UNProgramDetailsComponent/index.js.map +1 -1
- package/lib/module/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.js +7 -5
- package/lib/module/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.js.map +1 -1
- package/lib/module/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.js.map +1 -1
- package/lib/module/components/UNWhiteLabelAppComponent/index.js.map +1 -1
- package/lib/module/components/UNWirePaymentComponent/UNWirePaymentComponent.js +4 -3
- package/lib/module/components/UNWirePaymentComponent/UNWirePaymentComponent.js.map +1 -1
- package/lib/module/components/UNWirePaymentComponent/UNWirePaymentComponent.utils.js +0 -1
- package/lib/module/components/UNWirePaymentComponent/UNWirePaymentComponent.utils.js.map +1 -1
- package/lib/module/components/UNWirePaymentComponent/index.js.map +1 -1
- package/lib/module/components/index.js +0 -1
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/custom.d.js.map +1 -1
- package/lib/module/flows/{UNFlows.js → UNComponentsFlows.js} +4 -4
- package/lib/module/flows/UNComponentsFlows.js.map +1 -0
- package/lib/module/flows/card/UNCardFlows.js.map +1 -1
- package/lib/module/helpers/BottomSheet/BottomSheet.js +10 -26
- package/lib/module/helpers/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/module/helpers/BottomSheet/BottomSheet.styles.js.map +1 -1
- package/lib/module/helpers/UNKeyboardAvoidingView/UNKeyboardAvoidingView.js +19 -0
- package/lib/module/helpers/UNKeyboardAvoidingView/UNKeyboardAvoidingView.js.map +1 -0
- package/lib/module/helpers/pushProvisioningService/helpers.js.map +1 -1
- package/lib/module/helpers/pushProvisioningService/hooks/useCardWallet.js +9 -9
- package/lib/module/helpers/pushProvisioningService/hooks/useCardWallet.js.map +1 -1
- package/lib/module/helpers/pushProvisioningService/hooks/useLaunchInitialize.js +2 -2
- package/lib/module/helpers/pushProvisioningService/hooks/useLaunchInitialize.js.map +1 -1
- package/lib/module/helpers/pushProvisioningService/startProvisioning.js +2 -2
- package/lib/module/helpers/pushProvisioningService/startProvisioning.js.map +1 -1
- package/lib/module/helpers/pushProvisioningService/types.js +7 -0
- package/lib/module/helpers/pushProvisioningService/types.js.map +1 -1
- package/lib/module/helpers/store/helpers.js +1 -1
- package/lib/module/helpers/store/helpers.js.map +1 -1
- package/lib/module/hooks/useAppStateListener.js +36 -4
- package/lib/module/hooks/useAppStateListener.js.map +1 -1
- package/lib/module/hooks/useIsJailbrokeDevice.js.map +1 -1
- package/lib/module/hooks/useListenerToEvent.js.map +1 -1
- package/lib/module/hooks/useSnapshotProtection.js +4 -4
- package/lib/module/hooks/useSnapshotProtection.js.map +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/messages/nativeMessages/bottomSheetMessage.js.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/lib/module/messages/webMessages/bookPaymentMessage.js.map +1 -1
- package/lib/module/messages/webMessages/cardMessage.js.map +1 -1
- package/lib/module/messages/webMessages/checkMessage.js +1 -0
- 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/multiFactorAuthenticationMessage.js.map +1 -1
- package/lib/module/messages/webMessages/multipleCardsMessage.js.map +1 -1
- package/lib/module/messages/webMessages/onLoadMessage.js +0 -1
- package/lib/module/messages/webMessages/onLoadMessage.js.map +1 -1
- package/lib/module/messages/webMessages/pageMessage.js.map +1 -1
- package/lib/module/messages/webMessages/payeeManagementMessage.js.map +1 -1
- package/lib/module/messages/webMessages/paymentsMessage.js.map +1 -1
- package/lib/module/messages/webMessages/plaidMessages.js.map +1 -1
- package/lib/module/messages/webMessages/unitComponentsMessages.js +20 -0
- package/lib/module/messages/webMessages/unitComponentsMessages.js.map +1 -0
- package/lib/module/messages/webMessages/wirePaymentMessage.js +2 -0
- package/lib/module/messages/webMessages/wirePaymentMessage.js.map +1 -0
- package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletBottomSheetItem.styles.js.map +1 -1
- package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js +6 -5
- package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js.map +1 -1
- package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js.map +1 -1
- package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js.map +1 -1
- package/lib/module/nativeComponents/UNAddToWallet/UnitAddToWalletButtonNativeComponent.js +3 -0
- package/lib/module/nativeComponents/UNAddToWallet/UnitAddToWalletButtonNativeComponent.js.map +1 -0
- package/lib/module/nativeComponents/UNBaseView/UNBaseView.js +16 -3
- package/lib/module/nativeComponents/UNBaseView/UNBaseView.js.map +1 -1
- package/lib/module/nativeComponents/UNBaseView/index.js.map +1 -1
- package/lib/module/nativeComponents/UNSecureView/UNSecureViewNativeComponent.js +3 -0
- package/lib/module/nativeComponents/UNSecureView/UNSecureViewNativeComponent.js.map +1 -0
- package/lib/module/nativeModulesHelpers/RNShareFile/RNShareFile.js +14 -0
- package/lib/module/nativeModulesHelpers/RNShareFile/RNShareFile.js.map +1 -0
- package/lib/module/nativeModulesHelpers/UNPermissionsHelper/UNPermissionsHelper.js +14 -0
- package/lib/module/nativeModulesHelpers/UNPermissionsHelper/UNPermissionsHelper.js.map +1 -0
- package/lib/module/nativeModulesHelpers/UNSanpshotProtectionHelper/UNSnapshotProtectionHelper.js +4 -6
- package/lib/module/nativeModulesHelpers/UNSanpshotProtectionHelper/UNSnapshotProtectionHelper.js.map +1 -1
- package/lib/module/nativeModulesHelpers/UNSecurityHelper.js +2 -4
- package/lib/module/nativeModulesHelpers/UNSecurityHelper.js.map +1 -1
- package/lib/module/nativeModulesHelpers/UNStoreModuleHelper/UNStoreModuleHelper.js +3 -0
- package/lib/module/nativeModulesHelpers/UNStoreModuleHelper/UNStoreModuleHelper.js.map +1 -0
- package/lib/module/networking/common/UNNetworkConstants.js +4 -4
- package/lib/module/networking/common/UNNetworkConstants.js.map +1 -1
- package/lib/module/networking/requests/UNWalletPayloadRequest.js +3 -3
- 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 +42 -28
- package/lib/module/scripts/html/bodyScript.js.map +1 -1
- package/lib/module/scripts/html/fontFaces.js.map +1 -1
- package/lib/module/slices/BottomSheetSlice.js.map +1 -1
- package/lib/module/slices/ConfigurationSlice.js +5 -1
- package/lib/module/slices/ConfigurationSlice.js.map +1 -1
- 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.map +1 -1
- package/lib/module/styles/fonts.js +2 -2
- package/lib/module/styles/fonts.js.map +1 -1
- package/lib/module/styles/variables.js.map +1 -1
- package/lib/module/types/internal/bottomSheet.types.js +15 -0
- package/lib/module/types/internal/bottomSheet.types.js.map +1 -1
- package/lib/module/types/internal/errorHelpers.js +5 -5
- package/lib/module/types/internal/errorHelpers.js.map +1 -1
- package/lib/module/types/internal/unitStore.types.js.map +1 -1
- package/lib/module/types/internal/webComponent.types.js +5 -1
- package/lib/module/types/internal/webComponent.types.js.map +1 -1
- package/lib/module/types/shared/account.types.js +6 -0
- package/lib/module/types/shared/account.types.js.map +1 -1
- package/lib/module/types/shared/ach.types.js +2 -0
- package/lib/{commonjs/types/shared/achCredit.types.js.map → module/types/shared/ach.types.js.map} +1 -1
- package/lib/module/types/shared/activity.types.js +7 -0
- package/lib/module/types/shared/activity.types.js.map +1 -1
- package/lib/module/types/shared/authorization.types.js +1 -1
- package/lib/module/types/shared/authorization.types.js.map +1 -1
- package/lib/module/types/shared/card.types.js +20 -0
- package/lib/module/types/shared/card.types.js.map +1 -1
- package/lib/module/types/shared/checkDeposit.types.js +5 -0
- package/lib/module/types/shared/checkDeposit.types.js.map +1 -1
- package/lib/module/types/shared/counterparty.types.js +18 -0
- package/lib/module/types/shared/counterparty.types.js.map +1 -0
- package/lib/module/types/shared/customer.types.js +28 -0
- package/lib/module/types/shared/customer.types.js.map +1 -0
- package/lib/module/types/shared/env.types.js +5 -5
- package/lib/module/types/shared/env.types.js.map +1 -1
- package/lib/module/types/shared/error.types.js +21 -20
- package/lib/module/types/shared/error.types.js.map +1 -1
- package/lib/module/types/shared/fonts.types.js.map +1 -1
- package/lib/module/types/shared/index.js +8 -4
- package/lib/module/types/shared/index.js.map +1 -1
- package/lib/module/types/shared/multiFactorAuthentication.types.js.map +1 -1
- 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/payeeManagement.types.js.map +1 -1
- package/lib/module/types/shared/payment/achPayment.types.js +2 -0
- package/lib/module/types/shared/payment/achPayment.types.js.map +1 -0
- package/lib/module/types/shared/payment/billPayment.types.js +2 -0
- package/lib/module/types/shared/payment/billPayment.types.js.map +1 -0
- package/lib/module/types/shared/payment/bookPayment.types.js.map +1 -0
- package/lib/module/types/shared/payment/index.js +6 -0
- package/lib/module/types/shared/payment/index.js.map +1 -0
- package/lib/module/types/shared/{payments.types.js → payment/payments.types.js} +6 -18
- package/lib/module/types/shared/payment/payments.types.js.map +1 -0
- package/lib/module/types/shared/payment/wirePayment.types.js.map +1 -0
- package/lib/module/types/shared/repayment.types.js.map +1 -1
- package/lib/module/types/shared/securitySettings.js +4 -4
- package/lib/module/types/shared/securitySettings.js.map +1 -1
- package/lib/module/types/shared/transaction/UNAccountLowBalanceClosureTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNAccountLowBalanceClosureTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNAdjustmentTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNAdjustmentTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNAtmTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNAtmTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNBankRepaymentTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNBankRepaymentTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNBillPayTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNBillPayTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNBookTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNBookTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNCardReversalTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNCardReversalTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNCardTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNCardTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNCashDepositTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNCashDepositTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNChargebackTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNChargebackTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNCheckDepositTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNCheckDepositTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNCustomerRepaymentReturnedTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNCustomerRepaymentReturnedTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNCustomerRepaymentTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNCustomerRepaymentTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNDishonoredAchTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNDishonoredAchTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNDisputeSettlementTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNDisputeSettlementTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNDisputeTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNDisputeTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNFeeReversalTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNFeeReversalTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNFeeTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNFeeTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNInterchangeShareTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNInterchangeShareTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNInterestShareTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNInterestShareTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNInterestTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNInterestTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNNegativeBalanceCoverageTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNNegativeBalanceCoverageTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNOriginatedAchTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNOriginatedAchTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNPaymentAdvanceTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNPaymentAdvanceTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNPaymentCanceledTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNPaymentCanceledTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNPurchaseTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNPurchaseTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNReceivedAchTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNReceivedAchTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNReleaseTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNReleaseTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNRepaidPaymentAdvanceTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNRepaidPaymentAdvanceTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNReturnedAchTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNReturnedAchTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNReturnedCheckDepositTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNReturnedCheckDepositTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNReturnedReceivedAchTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNReturnedReceivedAchTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNRewardTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNRewardTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNSettlementTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNSettlementTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNSponsoredInterestTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNSponsoredInterestTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/UNWireTransaction.js +2 -0
- package/lib/module/types/shared/transaction/UNWireTransaction.js.map +1 -0
- package/lib/module/types/shared/transaction/index.js +38 -0
- package/lib/module/types/shared/transaction/index.js.map +1 -0
- package/lib/module/types/shared/transaction/transactions.types.js +78 -0
- package/lib/module/types/shared/transaction/transactions.types.js.map +1 -0
- package/lib/module/types/shared/types.js +0 -2
- package/lib/module/types/shared/types.js.map +1 -1
- package/lib/module/types/shared/versioning.types.js.map +1 -1
- package/lib/module/types/shared/wallet.types.js.map +1 -1
- package/lib/module/{unitSdkManager/UnitSdk.api.js → unitComponentsSdkManager/UnitComponentsSdk.api.js} +5 -5
- package/lib/module/unitComponentsSdkManager/UnitComponentsSdk.api.js.map +1 -0
- package/lib/module/{unitSdkManager/UnitSdk.constants.js → unitComponentsSdkManager/UnitComponentsSdk.constants.js} +6 -6
- package/lib/module/unitComponentsSdkManager/UnitComponentsSdk.constants.js.map +1 -0
- package/lib/module/{unitSdkManager/UnitSdkManager.js → unitComponentsSdkManager/UnitComponentsSdkManager.js} +16 -19
- package/lib/module/unitComponentsSdkManager/UnitComponentsSdkManager.js.map +1 -0
- package/lib/module/{unitSdkManager/UnitSdkManager.utils.internal.js → unitComponentsSdkManager/UnitComponentsSdkManager.utils.internal.js} +5 -5
- package/lib/module/unitComponentsSdkManager/UnitComponentsSdkManager.utils.internal.js.map +1 -0
- package/lib/module/{unitSdkManager/unitHelpersManager/UnitHelpersManager.js → unitComponentsSdkManager/unitComponentsHelpersManager/UnitComponentsHelpersManager.js} +2 -2
- package/lib/module/unitComponentsSdkManager/unitComponentsHelpersManager/UnitComponentsHelpersManager.js.map +1 -0
- package/lib/module/unitComponentsSdkManager/unitComponentsUiManager/unitComponentsUiManager.js +11 -0
- package/lib/module/unitComponentsSdkManager/unitComponentsUiManager/unitComponentsUiManager.js.map +1 -0
- package/lib/module/utils/AppInfo.js +2 -38
- package/lib/module/utils/AppInfo.js.map +1 -1
- package/lib/module/utils/onLoadMessages.utils.js.map +1 -1
- package/lib/module/utils/webVersioningStrategy.utils.js +5 -5
- package/lib/module/utils/webVersioningStrategy.utils.js.map +1 -1
- package/lib/module/utils/windowUnitStore.js.map +1 -1
- package/lib/module/webComponent/WebComponent.js +25 -21
- package/lib/module/webComponent/WebComponent.js.map +1 -1
- package/lib/module/webComponent/WebComponent.utils.js +5 -7
- package/lib/module/webComponent/WebComponent.utils.js.map +1 -1
- package/lib/module/webComponent/html.js +3 -1
- package/lib/module/webComponent/html.js.map +1 -1
- package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.d.ts +3 -5
- package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.d.ts +3 -5
- package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.d.ts +9 -7
- package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.utils.d.ts +1 -1
- package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.d.ts +2 -5
- package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.utils.d.ts +1 -1
- package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.d.ts +3 -4
- package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.d.ts +3 -3
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.d.ts +1 -1
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNCardActionComponent/UNCardActionComponent.d.ts +2 -3
- package/lib/typescript/src/components/UNCardActionComponent/UNCardActionComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNCardActionComponent/UNCardActionComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNCardComponent/UNCardComponent.d.ts +5 -6
- package/lib/typescript/src/components/UNCardComponent/UNCardComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNCardComponent/UNCardComponent.utils.d.ts +1 -1
- package/lib/typescript/src/components/UNCardComponent/UNCardComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.d.ts +4 -6
- package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.d.ts +2 -4
- package/lib/typescript/src/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.utils.d.ts +1 -2
- package/lib/typescript/src/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.d.ts +3 -4
- package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.d.ts +2 -4
- package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.d.ts +7 -8
- package/lib/typescript/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.d.ts +1 -1
- package/lib/typescript/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.d.ts +2 -3
- package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.d.ts +1 -1
- package/lib/typescript/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNWirePaymentComponent/UNWirePaymentComponent.d.ts +3 -5
- package/lib/typescript/src/components/UNWirePaymentComponent/UNWirePaymentComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNWirePaymentComponent/UNWirePaymentComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/index.d.ts +0 -1
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/flows/{UNFlows.d.ts → UNComponentsFlows.d.ts} +2 -2
- package/lib/typescript/src/flows/UNComponentsFlows.d.ts.map +1 -0
- package/lib/typescript/src/helpers/BottomSheet/BottomSheet.d.ts +1 -21
- package/lib/typescript/src/helpers/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/src/helpers/UNKeyboardAvoidingView/UNKeyboardAvoidingView.d.ts +10 -0
- package/lib/typescript/src/helpers/UNKeyboardAvoidingView/UNKeyboardAvoidingView.d.ts.map +1 -0
- package/lib/typescript/src/helpers/pushProvisioningService/hooks/useCardWallet.d.ts.map +1 -1
- package/lib/typescript/src/helpers/pushProvisioningService/types.d.ts +7 -0
- package/lib/typescript/src/helpers/pushProvisioningService/types.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useAppStateListener.d.ts +1 -1
- package/lib/typescript/src/hooks/useAppStateListener.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/messages/webMessages/accountMessage.d.ts +2 -2
- package/lib/typescript/src/messages/webMessages/accountMessage.d.ts.map +1 -1
- package/lib/typescript/src/messages/webMessages/achCreditMessage.d.ts +2 -2
- package/lib/typescript/src/messages/webMessages/achCreditMessage.d.ts.map +1 -1
- package/lib/typescript/src/messages/webMessages/bookPaymentMessage.d.ts +2 -2
- package/lib/typescript/src/messages/webMessages/bookPaymentMessage.d.ts.map +1 -1
- package/lib/typescript/src/messages/webMessages/cardMessage.d.ts +3 -3
- package/lib/typescript/src/messages/webMessages/cardMessage.d.ts.map +1 -1
- package/lib/typescript/src/messages/webMessages/checkMessage.d.ts +3 -3
- package/lib/typescript/src/messages/webMessages/checkMessage.d.ts.map +1 -1
- package/lib/typescript/src/messages/webMessages/index.d.ts +4 -4
- package/lib/typescript/src/messages/webMessages/index.d.ts.map +1 -1
- package/lib/typescript/src/messages/webMessages/multipleCardsMessage.d.ts +2 -2
- package/lib/typescript/src/messages/webMessages/multipleCardsMessage.d.ts.map +1 -1
- package/lib/typescript/src/messages/webMessages/onLoadMessage.d.ts +12 -20
- package/lib/typescript/src/messages/webMessages/onLoadMessage.d.ts.map +1 -1
- package/lib/typescript/src/messages/webMessages/payeeManagementMessage.d.ts +4 -4
- package/lib/typescript/src/messages/webMessages/payeeManagementMessage.d.ts.map +1 -1
- package/lib/typescript/src/messages/webMessages/plaidMessages.d.ts.map +1 -1
- package/lib/typescript/src/messages/webMessages/{unitMessages.d.ts → unitComponentsMessages.d.ts} +5 -4
- package/lib/typescript/src/messages/webMessages/unitComponentsMessages.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/wirePaymentMessage.d.ts +5 -0
- package/lib/typescript/src/messages/webMessages/wirePaymentMessage.d.ts.map +1 -0
- package/lib/typescript/src/nativeComponents/UNAddToWallet/UnitAddToWalletButtonNativeComponent.d.ts +8 -0
- package/lib/typescript/src/nativeComponents/UNAddToWallet/UnitAddToWalletButtonNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/nativeComponents/UNBaseView/UNBaseView.d.ts +5 -4
- package/lib/typescript/src/nativeComponents/UNBaseView/UNBaseView.d.ts.map +1 -1
- package/lib/typescript/src/nativeComponents/UNSecureView/UNSecureViewNativeComponent.d.ts +7 -0
- package/lib/typescript/src/nativeComponents/UNSecureView/UNSecureViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/nativeModulesHelpers/RNShareFile/RNShareFile.d.ts +3 -0
- package/lib/typescript/src/nativeModulesHelpers/RNShareFile/RNShareFile.d.ts.map +1 -0
- package/lib/typescript/src/nativeModulesHelpers/UNPermissionsHelper/UNPermissionsHelper.d.ts +3 -0
- package/lib/typescript/src/nativeModulesHelpers/UNPermissionsHelper/UNPermissionsHelper.d.ts.map +1 -0
- package/lib/typescript/src/nativeModulesHelpers/UNSanpshotProtectionHelper/UNSnapshotProtectionHelper.d.ts.map +1 -1
- package/lib/typescript/src/nativeModulesHelpers/UNSecurityHelper.d.ts.map +1 -1
- package/lib/typescript/src/nativeModulesHelpers/UNStoreModuleHelper/UNStoreModuleHelper.d.ts +9 -0
- package/lib/typescript/src/nativeModulesHelpers/UNStoreModuleHelper/UNStoreModuleHelper.d.ts.map +1 -0
- package/lib/typescript/src/networking/requests/UNWalletPayloadRequest.d.ts +2 -2
- package/lib/typescript/src/networking/requests/UNWalletPayloadRequest.d.ts.map +1 -1
- package/lib/typescript/src/scripts/html/bodyScript.d.ts +1 -0
- package/lib/typescript/src/scripts/html/bodyScript.d.ts.map +1 -1
- package/lib/typescript/src/slices/ConfigurationSlice.d.ts +2 -1
- package/lib/typescript/src/slices/ConfigurationSlice.d.ts.map +1 -1
- package/lib/typescript/src/slices/SharedEventsSlice.d.ts +12 -11
- package/lib/typescript/src/slices/SharedEventsSlice.d.ts.map +1 -1
- package/lib/typescript/src/store/store.d.ts +20 -20
- package/lib/typescript/src/types/internal/bottomSheet.types.d.ts +9 -3
- package/lib/typescript/src/types/internal/bottomSheet.types.d.ts.map +1 -1
- package/lib/typescript/src/types/internal/errorHelpers.d.ts +4 -4
- package/lib/typescript/src/types/internal/errorHelpers.d.ts.map +1 -1
- package/lib/typescript/src/types/internal/webComponent.types.d.ts +0 -1
- package/lib/typescript/src/types/internal/webComponent.types.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/account.types.d.ts +85 -48
- package/lib/typescript/src/types/shared/account.types.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/ach.types.d.ts +8 -0
- package/lib/typescript/src/types/shared/ach.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/activity.types.d.ts +10 -4
- package/lib/typescript/src/types/shared/activity.types.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/authorization.types.d.ts +23 -10
- package/lib/typescript/src/types/shared/authorization.types.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/card.types.d.ts +190 -30
- package/lib/typescript/src/types/shared/card.types.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/checkDeposit.types.d.ts +68 -25
- package/lib/typescript/src/types/shared/checkDeposit.types.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/counterparty.types.d.ts +63 -0
- package/lib/typescript/src/types/shared/counterparty.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/customer.types.d.ts +115 -0
- package/lib/typescript/src/types/shared/customer.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/env.types.d.ts +1 -1
- package/lib/typescript/src/types/shared/env.types.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/error.types.d.ts +9 -8
- package/lib/typescript/src/types/shared/error.types.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/index.d.ts +8 -4
- package/lib/typescript/src/types/shared/index.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/multiFactorAuthentication.types.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/multipleCards.types.d.ts +2 -2
- package/lib/typescript/src/types/shared/multipleCards.types.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/onLoadResponse.types.d.ts +3 -3
- package/lib/typescript/src/types/shared/onLoadResponse.types.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/payeeManagement.types.d.ts +0 -71
- package/lib/typescript/src/types/shared/payeeManagement.types.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/payment/achPayment.types.d.ts +48 -0
- package/lib/typescript/src/types/shared/payment/achPayment.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/payment/billPayment.types.d.ts +35 -0
- package/lib/typescript/src/types/shared/payment/billPayment.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/payment/bookPayment.types.d.ts +50 -0
- package/lib/typescript/src/types/shared/payment/bookPayment.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/payment/index.d.ts +6 -0
- package/lib/typescript/src/types/shared/payment/index.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/payment/payments.types.d.ts +59 -0
- package/lib/typescript/src/types/shared/payment/payments.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/payment/wirePayment.types.d.ts +49 -0
- package/lib/typescript/src/types/shared/payment/wirePayment.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/repayment.types.d.ts +10 -9
- package/lib/typescript/src/types/shared/repayment.types.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/securitySettings.d.ts +3 -3
- package/lib/typescript/src/types/shared/securitySettings.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/transaction/UNAccountLowBalanceClosureTransaction.d.ts +43 -0
- package/lib/typescript/src/types/shared/transaction/UNAccountLowBalanceClosureTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNAdjustmentTransaction.d.ts +43 -0
- package/lib/typescript/src/types/shared/transaction/UNAdjustmentTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNAtmTransaction.d.ts +48 -0
- package/lib/typescript/src/types/shared/transaction/UNAtmTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNBankRepaymentTransaction.d.ts +53 -0
- package/lib/typescript/src/types/shared/transaction/UNBankRepaymentTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNBillPayTransaction.d.ts +43 -0
- package/lib/typescript/src/types/shared/transaction/UNBillPayTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNBookTransaction.d.ts +59 -0
- package/lib/typescript/src/types/shared/transaction/UNBookTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNCardReversalTransaction.d.ts +50 -0
- package/lib/typescript/src/types/shared/transaction/UNCardReversalTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNCardTransaction.d.ts +51 -0
- package/lib/typescript/src/types/shared/transaction/UNCardTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNCashDepositTransaction.d.ts +43 -0
- package/lib/typescript/src/types/shared/transaction/UNCashDepositTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNChargebackTransaction.d.ts +59 -0
- package/lib/typescript/src/types/shared/transaction/UNChargebackTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNCheckDepositTransaction.d.ts +49 -0
- package/lib/typescript/src/types/shared/transaction/UNCheckDepositTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNCustomerRepaymentReturnedTransaction.d.ts +52 -0
- package/lib/typescript/src/types/shared/transaction/UNCustomerRepaymentReturnedTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNCustomerRepaymentTransaction.d.ts +52 -0
- package/lib/typescript/src/types/shared/transaction/UNCustomerRepaymentTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNDishonoredAchTransaction.d.ts +53 -0
- package/lib/typescript/src/types/shared/transaction/UNDishonoredAchTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNDisputeSettlementTransaction.d.ts +43 -0
- package/lib/typescript/src/types/shared/transaction/UNDisputeSettlementTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNDisputeTransaction.d.ts +43 -0
- package/lib/typescript/src/types/shared/transaction/UNDisputeTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNFeeReversalTransaction.d.ts +49 -0
- package/lib/typescript/src/types/shared/transaction/UNFeeReversalTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNFeeTransaction.d.ts +49 -0
- package/lib/typescript/src/types/shared/transaction/UNFeeTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNInterchangeShareTransaction.d.ts +43 -0
- package/lib/typescript/src/types/shared/transaction/UNInterchangeShareTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNInterestShareTransaction.d.ts +43 -0
- package/lib/typescript/src/types/shared/transaction/UNInterestShareTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNInterestTransaction.d.ts +43 -0
- package/lib/typescript/src/types/shared/transaction/UNInterestTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNNegativeBalanceCoverageTransaction.d.ts +43 -0
- package/lib/typescript/src/types/shared/transaction/UNNegativeBalanceCoverageTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNOriginatedAchTransaction.d.ts +48 -0
- package/lib/typescript/src/types/shared/transaction/UNOriginatedAchTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNPaymentAdvanceTransaction.d.ts +52 -0
- package/lib/typescript/src/types/shared/transaction/UNPaymentAdvanceTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNPaymentCanceledTransaction.d.ts +43 -0
- package/lib/typescript/src/types/shared/transaction/UNPaymentCanceledTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNPurchaseTransaction.d.ts +52 -0
- package/lib/typescript/src/types/shared/transaction/UNPurchaseTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNReceivedAchTransaction.d.ts +54 -0
- package/lib/typescript/src/types/shared/transaction/UNReceivedAchTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNReleaseTransaction.d.ts +43 -0
- package/lib/typescript/src/types/shared/transaction/UNReleaseTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNRepaidPaymentAdvanceTransaction.d.ts +58 -0
- package/lib/typescript/src/types/shared/transaction/UNRepaidPaymentAdvanceTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNReturnedAchTransaction.d.ts +47 -0
- package/lib/typescript/src/types/shared/transaction/UNReturnedAchTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNReturnedCheckDepositTransaction.d.ts +43 -0
- package/lib/typescript/src/types/shared/transaction/UNReturnedCheckDepositTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNReturnedReceivedAchTransaction.d.ts +53 -0
- package/lib/typescript/src/types/shared/transaction/UNReturnedReceivedAchTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNRewardTransaction.d.ts +53 -0
- package/lib/typescript/src/types/shared/transaction/UNRewardTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNSettlementTransaction.d.ts +43 -0
- package/lib/typescript/src/types/shared/transaction/UNSettlementTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNSponsoredInterestTransaction.d.ts +43 -0
- package/lib/typescript/src/types/shared/transaction/UNSponsoredInterestTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/UNWireTransaction.d.ts +44 -0
- package/lib/typescript/src/types/shared/transaction/UNWireTransaction.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/index.d.ts +38 -0
- package/lib/typescript/src/types/shared/transaction/index.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transaction/transactions.types.d.ts +140 -0
- package/lib/typescript/src/types/shared/transaction/transactions.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/types.d.ts +14 -14
- package/lib/typescript/src/types/shared/types.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/versioning.types.d.ts +1 -1
- package/lib/typescript/src/types/shared/versioning.types.d.ts.map +1 -1
- package/lib/typescript/src/{unitSdkManager/UnitSdk.api.d.ts → unitComponentsSdkManager/UnitComponentsSdk.api.d.ts} +1 -1
- package/lib/typescript/src/unitComponentsSdkManager/UnitComponentsSdk.api.d.ts.map +1 -0
- package/lib/typescript/src/unitComponentsSdkManager/UnitComponentsSdk.constants.d.ts +11 -0
- package/lib/typescript/src/unitComponentsSdkManager/UnitComponentsSdk.constants.d.ts.map +1 -0
- package/lib/typescript/src/unitComponentsSdkManager/UnitComponentsSdkManager.d.ts +38 -0
- package/lib/typescript/src/unitComponentsSdkManager/UnitComponentsSdkManager.d.ts.map +1 -0
- package/lib/typescript/src/unitComponentsSdkManager/UnitComponentsSdkManager.utils.internal.d.ts +4 -0
- package/lib/typescript/src/unitComponentsSdkManager/UnitComponentsSdkManager.utils.internal.d.ts.map +1 -0
- package/lib/typescript/src/{unitSdkManager/unitHelpersManager/UnitHelpersManager.d.ts → unitComponentsSdkManager/unitComponentsHelpersManager/UnitComponentsHelpersManager.d.ts} +2 -2
- package/lib/typescript/src/unitComponentsSdkManager/unitComponentsHelpersManager/UnitComponentsHelpersManager.d.ts.map +1 -0
- package/lib/typescript/src/unitComponentsSdkManager/unitComponentsUiManager/unitComponentsUiManager.d.ts +7 -0
- package/lib/typescript/src/unitComponentsSdkManager/unitComponentsUiManager/unitComponentsUiManager.d.ts.map +1 -0
- package/lib/typescript/src/utils/AppInfo.d.ts +9 -4
- package/lib/typescript/src/utils/AppInfo.d.ts.map +1 -1
- package/lib/typescript/src/utils/webVersioningStrategy.utils.d.ts +5 -5
- package/lib/typescript/src/utils/webVersioningStrategy.utils.d.ts.map +1 -1
- package/lib/typescript/src/webComponent/WebComponent.d.ts +1 -1
- package/lib/typescript/src/webComponent/WebComponent.d.ts.map +1 -1
- package/lib/typescript/src/webComponent/WebComponent.utils.d.ts +1 -1
- package/lib/typescript/src/webComponent/WebComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/webComponent/html.d.ts.map +1 -1
- package/package.json +20 -2
- package/src/components/UNACHCreditComponent/UNACHCreditComponent.tsx +19 -14
- package/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.ts +0 -1
- package/src/components/UNACHDebitComponent/UNACHDebitComponent.tsx +19 -15
- package/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.ts +0 -1
- package/src/components/UNAccountComponent/UNAccountComponent.tsx +28 -18
- package/src/components/UNAccountComponent/UNAccountComponent.utils.ts +7 -2
- package/src/components/UNActivityComponent/UNActivityComponent.tsx +16 -13
- package/src/components/UNActivityComponent/UNActivityComponent.utils.ts +1 -2
- package/src/components/UNBookPaymentComponent/UNBookPaymentComponent.tsx +13 -15
- package/src/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.ts +0 -1
- package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.tsx +9 -10
- package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.ts +88 -28
- package/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.tsx +44 -21
- package/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.tsx +24 -17
- package/src/components/UNCardActionComponent/UNCardActionComponent.tsx +7 -8
- package/src/components/UNCardActionComponent/UNCardActionComponent.utils.ts +0 -1
- package/src/components/UNCardComponent/UNCardComponent.tsx +17 -22
- package/src/components/UNCardComponent/UNCardComponent.utils.ts +5 -4
- package/src/components/UNCheckDepositComponent/UNCheckDepositComponent.tsx +14 -17
- package/src/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.ts +0 -1
- package/src/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.tsx +8 -11
- package/src/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.utils.ts +1 -3
- package/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.tsx +24 -15
- package/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.ts +0 -1
- package/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.tsx +7 -9
- package/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.ts +0 -1
- package/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.tsx +29 -22
- package/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.ts +1 -2
- package/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.tsx +7 -8
- package/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.ts +0 -1
- package/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.tsx +8 -6
- package/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.ts +2 -2
- package/src/components/UNWirePaymentComponent/UNWirePaymentComponent.tsx +10 -11
- package/src/components/UNWirePaymentComponent/UNWirePaymentComponent.utils.ts +0 -1
- package/src/components/index.ts +0 -1
- package/src/flows/{UNFlows.ts → UNComponentsFlows.ts} +3 -3
- package/src/helpers/BottomSheet/BottomSheet.tsx +9 -27
- package/src/helpers/UNKeyboardAvoidingView/UNKeyboardAvoidingView.tsx +24 -0
- package/src/helpers/pushProvisioningService/hooks/useCardWallet.ts +12 -10
- package/src/helpers/pushProvisioningService/hooks/useLaunchInitialize.ts +2 -2
- package/src/helpers/pushProvisioningService/startProvisioning.ts +2 -2
- package/src/helpers/pushProvisioningService/types.ts +7 -0
- package/src/hooks/useAppStateListener.ts +38 -4
- package/src/hooks/useSnapshotProtection.ts +4 -4
- package/src/index.tsx +1 -1
- package/src/messages/webMessages/accountMessage.ts +2 -2
- package/src/messages/webMessages/achCreditMessage.ts +3 -3
- package/src/messages/webMessages/bookPaymentMessage.ts +3 -3
- package/src/messages/webMessages/cardMessage.ts +3 -3
- package/src/messages/webMessages/checkMessage.ts +7 -7
- package/src/messages/webMessages/index.ts +5 -5
- package/src/messages/webMessages/multipleCardsMessage.ts +2 -2
- package/src/messages/webMessages/onLoadMessage.ts +17 -28
- package/src/messages/webMessages/payeeManagementMessage.ts +4 -4
- package/src/messages/webMessages/plaidMessages.ts +2 -2
- package/src/messages/webMessages/{unitMessages.ts → unitComponentsMessages.ts} +5 -2
- package/src/messages/webMessages/wirePaymentMessage.ts +5 -0
- package/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.tsx +5 -5
- package/src/nativeComponents/UNAddToWallet/UnitAddToWalletButtonNativeComponent.ts +14 -0
- package/src/nativeComponents/UNBaseView/UNBaseView.tsx +19 -14
- package/src/nativeComponents/UNSecureView/UNSecureViewNativeComponent.ts +10 -0
- package/src/nativeModulesHelpers/RNShareFile/RNShareFile.ts +20 -0
- package/src/nativeModulesHelpers/UNPermissionsHelper/UNPermissionsHelper.ts +20 -0
- package/src/nativeModulesHelpers/UNSanpshotProtectionHelper/UNSnapshotProtectionHelper.ts +9 -4
- package/src/nativeModulesHelpers/UNSecurityHelper.ts +7 -3
- package/src/nativeModulesHelpers/UNStoreModuleHelper/UNStoreModuleHelper.ts +9 -0
- package/src/networking/common/UNNetworkConstants.ts +4 -4
- package/src/networking/requests/UNWalletPayloadRequest.ts +12 -12
- package/src/scripts/html/bodyScript.ts +43 -28
- package/src/slices/ConfigurationSlice.ts +5 -1
- package/src/slices/SharedEventsSlice.ts +12 -11
- package/src/styles/fonts.ts +3 -3
- package/src/types/internal/bottomSheet.types.ts +10 -2
- package/src/types/internal/errorHelpers.ts +7 -7
- package/src/types/internal/webComponent.types.ts +0 -1
- package/src/types/shared/account.types.ts +88 -51
- package/src/types/shared/ach.types.ts +8 -0
- package/src/types/shared/activity.types.ts +11 -4
- package/src/types/shared/authorization.types.ts +30 -16
- package/src/types/shared/card.types.ts +212 -45
- package/src/types/shared/checkDeposit.types.ts +83 -40
- package/src/types/shared/counterparty.types.ts +65 -0
- package/src/types/shared/customer.types.ts +118 -0
- package/src/types/shared/env.types.ts +1 -1
- package/src/types/shared/error.types.ts +26 -25
- package/src/types/shared/index.ts +8 -4
- package/src/types/shared/multiFactorAuthentication.types.ts +7 -7
- package/src/types/shared/multipleCards.types.ts +2 -2
- package/src/types/shared/onLoadResponse.types.ts +5 -5
- package/src/types/shared/payeeManagement.types.ts +4 -75
- package/src/types/shared/payment/achPayment.types.ts +47 -0
- package/src/types/shared/payment/billPayment.types.ts +33 -0
- package/src/types/shared/payment/bookPayment.types.ts +48 -0
- package/src/types/shared/payment/index.ts +5 -0
- package/src/types/shared/payment/payments.types.ts +79 -0
- package/src/types/shared/payment/wirePayment.types.ts +47 -0
- package/src/types/shared/repayment.types.ts +12 -11
- package/src/types/shared/securitySettings.ts +3 -3
- package/src/types/shared/transaction/UNAccountLowBalanceClosureTransaction.ts +43 -0
- package/src/types/shared/transaction/UNAdjustmentTransaction.ts +43 -0
- package/src/types/shared/transaction/UNAtmTransaction.ts +48 -0
- package/src/types/shared/transaction/UNBankRepaymentTransaction.ts +51 -0
- package/src/types/shared/transaction/UNBillPayTransaction.ts +43 -0
- package/src/types/shared/transaction/UNBookTransaction.ts +57 -0
- package/src/types/shared/transaction/UNCardReversalTransaction.ts +50 -0
- package/src/types/shared/transaction/UNCardTransaction.ts +51 -0
- package/src/types/shared/transaction/UNCashDepositTransaction.ts +43 -0
- package/src/types/shared/transaction/UNChargebackTransaction.ts +57 -0
- package/src/types/shared/transaction/UNCheckDepositTransaction.ts +49 -0
- package/src/types/shared/transaction/UNCustomerRepaymentReturnedTransaction.ts +50 -0
- package/src/types/shared/transaction/UNCustomerRepaymentTransaction.ts +50 -0
- package/src/types/shared/transaction/UNDishonoredAchTransaction.ts +51 -0
- package/src/types/shared/transaction/UNDisputeSettlementTransaction.ts +43 -0
- package/src/types/shared/transaction/UNDisputeTransaction.ts +43 -0
- package/src/types/shared/transaction/UNFeeReversalTransaction.ts +49 -0
- package/src/types/shared/transaction/UNFeeTransaction.ts +49 -0
- package/src/types/shared/transaction/UNInterchangeShareTransaction.ts +43 -0
- package/src/types/shared/transaction/UNInterestShareTransaction.ts +43 -0
- package/src/types/shared/transaction/UNInterestTransaction.ts +43 -0
- package/src/types/shared/transaction/UNNegativeBalanceCoverageTransaction.ts +43 -0
- package/src/types/shared/transaction/UNOriginatedAchTransaction.ts +46 -0
- package/src/types/shared/transaction/UNPaymentAdvanceTransaction.ts +50 -0
- package/src/types/shared/transaction/UNPaymentCanceledTransaction.ts +43 -0
- package/src/types/shared/transaction/UNPurchaseTransaction.ts +52 -0
- package/src/types/shared/transaction/UNReceivedAchTransaction.ts +54 -0
- package/src/types/shared/transaction/UNReleaseTransaction.ts +43 -0
- package/src/types/shared/transaction/UNRepaidPaymentAdvanceTransaction.ts +56 -0
- package/src/types/shared/transaction/UNReturnedAchTransaction.ts +47 -0
- package/src/types/shared/transaction/UNReturnedCheckDepositTransaction.ts +43 -0
- package/src/types/shared/transaction/UNReturnedReceivedAchTransaction.ts +53 -0
- package/src/types/shared/transaction/UNRewardTransaction.ts +51 -0
- package/src/types/shared/transaction/UNSettlementTransaction.ts +43 -0
- package/src/types/shared/transaction/UNSponsoredInterestTransaction.ts +43 -0
- package/src/types/shared/transaction/UNWireTransaction.ts +44 -0
- package/src/types/shared/transaction/index.ts +37 -0
- package/src/types/shared/transaction/transactions.types.ts +182 -0
- package/src/types/shared/types.ts +17 -21
- package/src/types/shared/versioning.types.ts +1 -1
- package/src/{unitSdkManager/UnitSdk.api.ts → unitComponentsSdkManager/UnitComponentsSdk.api.ts} +4 -4
- package/src/unitComponentsSdkManager/UnitComponentsSdk.constants.ts +17 -0
- package/src/{unitSdkManager/UnitSdkManager.ts → unitComponentsSdkManager/UnitComponentsSdkManager.ts} +23 -28
- package/src/{unitSdkManager/UnitSdkManager.utils.internal.ts → unitComponentsSdkManager/UnitComponentsSdkManager.utils.internal.ts} +6 -6
- package/src/{unitSdkManager/unitHelpersManager/UnitHelpersManager.ts → unitComponentsSdkManager/unitComponentsHelpersManager/UnitComponentsHelpersManager.ts} +1 -1
- package/src/unitComponentsSdkManager/unitComponentsUiManager/unitComponentsUiManager.ts +13 -0
- package/src/utils/AppInfo.ts +8 -38
- package/src/utils/webVersioningStrategy.utils.ts +10 -10
- package/src/webComponent/WebComponent.tsx +29 -23
- package/src/webComponent/WebComponent.utils.ts +6 -6
- package/src/webComponent/html.ts +4 -1
- package/ios/Camera/Camera.swift +0 -22
- package/ios/Camera/CameraExportModule.m +0 -7
- package/ios/UNAppInfo/IOSAppInfo.swift +0 -47
- package/ios/UNStoreManager/UNStoreManager.swift +0 -28
- package/lib/commonjs/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.js +0 -88
- package/lib/commonjs/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.js.map +0 -1
- package/lib/commonjs/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.utils.js +0 -30
- package/lib/commonjs/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.utils.js.map +0 -1
- package/lib/commonjs/components/UNFundAccountPaymentComponent/index.js +0 -21
- package/lib/commonjs/components/UNFundAccountPaymentComponent/index.js.map +0 -1
- package/lib/commonjs/flows/UNFlows.js.map +0 -1
- package/lib/commonjs/messages/webMessages/fundAccountPaymentMessage.js.map +0 -1
- package/lib/commonjs/messages/webMessages/unitMessages.js +0 -26
- package/lib/commonjs/messages/webMessages/unitMessages.js.map +0 -1
- package/lib/commonjs/nativeComponents/UNAddToWallet/UnitAddToWalletButton.js +0 -10
- package/lib/commonjs/nativeComponents/UNAddToWallet/UnitAddToWalletButton.js.map +0 -1
- package/lib/commonjs/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.js +0 -23
- package/lib/commonjs/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.js.map +0 -1
- package/lib/commonjs/types/shared/bookPayment.types.js.map +0 -1
- package/lib/commonjs/types/shared/fundAccountPayment.types.js.map +0 -1
- package/lib/commonjs/types/shared/payments.types.js.map +0 -1
- package/lib/commonjs/types/shared/transactions.types.js +0 -50
- package/lib/commonjs/types/shared/transactions.types.js.map +0 -1
- package/lib/commonjs/unitSdkManager/UnitSdk.api.js.map +0 -1
- package/lib/commonjs/unitSdkManager/UnitSdk.constants.js.map +0 -1
- package/lib/commonjs/unitSdkManager/UnitSdkManager.js.map +0 -1
- package/lib/commonjs/unitSdkManager/UnitSdkManager.utils.internal.js.map +0 -1
- package/lib/commonjs/unitSdkManager/unitHelpersManager/UnitHelpersManager.js.map +0 -1
- package/lib/commonjs/unitSdkManager/unitUiManager/unitUiManager.js +0 -18
- package/lib/commonjs/unitSdkManager/unitUiManager/unitUiManager.js.map +0 -1
- package/lib/module/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.js +0 -79
- package/lib/module/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.js.map +0 -1
- package/lib/module/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.utils.js +0 -22
- package/lib/module/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.utils.js.map +0 -1
- package/lib/module/components/UNFundAccountPaymentComponent/index.js +0 -2
- package/lib/module/components/UNFundAccountPaymentComponent/index.js.map +0 -1
- package/lib/module/flows/UNFlows.js.map +0 -1
- package/lib/module/messages/webMessages/fundAccountPaymentMessage.js +0 -2
- package/lib/module/messages/webMessages/fundAccountPaymentMessage.js.map +0 -1
- package/lib/module/messages/webMessages/unitMessages.js +0 -20
- package/lib/module/messages/webMessages/unitMessages.js.map +0 -1
- package/lib/module/nativeComponents/UNAddToWallet/UnitAddToWalletButton.js +0 -4
- package/lib/module/nativeComponents/UNAddToWallet/UnitAddToWalletButton.js.map +0 -1
- package/lib/module/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.js +0 -17
- package/lib/module/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.js.map +0 -1
- package/lib/module/types/shared/achCredit.types.js +0 -2
- package/lib/module/types/shared/achCredit.types.js.map +0 -1
- package/lib/module/types/shared/bookPayment.types.js.map +0 -1
- package/lib/module/types/shared/fundAccountPayment.types.js +0 -2
- package/lib/module/types/shared/fundAccountPayment.types.js.map +0 -1
- package/lib/module/types/shared/payments.types.js.map +0 -1
- package/lib/module/types/shared/transactions.types.js +0 -44
- package/lib/module/types/shared/transactions.types.js.map +0 -1
- package/lib/module/types/shared/wirePayment.types.js.map +0 -1
- package/lib/module/unitSdkManager/UnitSdk.api.js.map +0 -1
- package/lib/module/unitSdkManager/UnitSdk.constants.js.map +0 -1
- package/lib/module/unitSdkManager/UnitSdkManager.js.map +0 -1
- package/lib/module/unitSdkManager/UnitSdkManager.utils.internal.js.map +0 -1
- package/lib/module/unitSdkManager/unitHelpersManager/UnitHelpersManager.js.map +0 -1
- package/lib/module/unitSdkManager/unitUiManager/unitUiManager.js +0 -11
- package/lib/module/unitSdkManager/unitUiManager/unitUiManager.js.map +0 -1
- package/lib/typescript/src/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.d.ts +0 -19
- package/lib/typescript/src/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.d.ts.map +0 -1
- package/lib/typescript/src/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.utils.d.ts +0 -4
- package/lib/typescript/src/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.utils.d.ts.map +0 -1
- package/lib/typescript/src/components/UNFundAccountPaymentComponent/index.d.ts +0 -2
- package/lib/typescript/src/components/UNFundAccountPaymentComponent/index.d.ts.map +0 -1
- package/lib/typescript/src/flows/UNFlows.d.ts.map +0 -1
- package/lib/typescript/src/messages/webMessages/fundAccountPaymentMessage.d.ts +0 -6
- package/lib/typescript/src/messages/webMessages/fundAccountPaymentMessage.d.ts.map +0 -1
- package/lib/typescript/src/messages/webMessages/unitMessages.d.ts.map +0 -1
- package/lib/typescript/src/nativeComponents/UNAddToWallet/UnitAddToWalletButton.d.ts +0 -7
- package/lib/typescript/src/nativeComponents/UNAddToWallet/UnitAddToWalletButton.d.ts.map +0 -1
- package/lib/typescript/src/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.d.ts +0 -7
- package/lib/typescript/src/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.d.ts.map +0 -1
- package/lib/typescript/src/types/shared/achCredit.types.d.ts +0 -38
- package/lib/typescript/src/types/shared/achCredit.types.d.ts.map +0 -1
- package/lib/typescript/src/types/shared/bookPayment.types.d.ts +0 -26
- package/lib/typescript/src/types/shared/bookPayment.types.d.ts.map +0 -1
- package/lib/typescript/src/types/shared/fundAccountPayment.types.d.ts +0 -38
- package/lib/typescript/src/types/shared/fundAccountPayment.types.d.ts.map +0 -1
- package/lib/typescript/src/types/shared/payments.types.d.ts +0 -59
- package/lib/typescript/src/types/shared/payments.types.d.ts.map +0 -1
- package/lib/typescript/src/types/shared/transactions.types.d.ts +0 -81
- package/lib/typescript/src/types/shared/transactions.types.d.ts.map +0 -1
- package/lib/typescript/src/types/shared/wirePayment.types.d.ts +0 -42
- package/lib/typescript/src/types/shared/wirePayment.types.d.ts.map +0 -1
- package/lib/typescript/src/unitSdkManager/UnitSdk.api.d.ts.map +0 -1
- package/lib/typescript/src/unitSdkManager/UnitSdk.constants.d.ts +0 -11
- package/lib/typescript/src/unitSdkManager/UnitSdk.constants.d.ts.map +0 -1
- package/lib/typescript/src/unitSdkManager/UnitSdkManager.d.ts +0 -40
- package/lib/typescript/src/unitSdkManager/UnitSdkManager.d.ts.map +0 -1
- package/lib/typescript/src/unitSdkManager/UnitSdkManager.utils.internal.d.ts +0 -4
- package/lib/typescript/src/unitSdkManager/UnitSdkManager.utils.internal.d.ts.map +0 -1
- package/lib/typescript/src/unitSdkManager/unitHelpersManager/UnitHelpersManager.d.ts.map +0 -1
- package/lib/typescript/src/unitSdkManager/unitUiManager/unitUiManager.d.ts +0 -7
- package/lib/typescript/src/unitSdkManager/unitUiManager/unitUiManager.d.ts.map +0 -1
- package/src/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.tsx +0 -111
- package/src/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.utils.ts +0 -24
- package/src/components/UNFundAccountPaymentComponent/index.ts +0 -1
- package/src/messages/webMessages/fundAccountPaymentMessage.ts +0 -8
- package/src/nativeComponents/UNAddToWallet/UnitAddToWalletButton.tsx +0 -12
- package/src/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.ts +0 -19
- package/src/types/shared/achCredit.types.ts +0 -39
- package/src/types/shared/bookPayment.types.ts +0 -26
- package/src/types/shared/fundAccountPayment.types.ts +0 -38
- package/src/types/shared/payments.types.ts +0 -69
- package/src/types/shared/transactions.types.ts +0 -84
- package/src/types/shared/wirePayment.types.ts +0 -43
- package/src/unitSdkManager/UnitSdk.constants.ts +0 -17
- package/src/unitSdkManager/unitUiManager/unitUiManager.ts +0 -13
- /package/lib/commonjs/types/shared/{bookPayment.types.js → payment/bookPayment.types.js} +0 -0
- /package/lib/commonjs/types/shared/{wirePayment.types.js → payment/wirePayment.types.js} +0 -0
- /package/lib/module/types/shared/{bookPayment.types.js → payment/bookPayment.types.js} +0 -0
- /package/lib/module/types/shared/{wirePayment.types.js → payment/wirePayment.types.js} +0 -0
|
@@ -2,16 +2,24 @@ import React, { useRef } from 'react';
|
|
|
2
2
|
import type WebView from 'react-native-webview';
|
|
3
3
|
import {
|
|
4
4
|
RequestRefreshEvent,
|
|
5
|
-
|
|
6
|
-
} from '../../messages/webMessages/
|
|
5
|
+
UnitComponentsMessage,
|
|
6
|
+
} from '../../messages/webMessages/unitComponentsMessages';
|
|
7
7
|
import { WebComponent } from '../../webComponent/WebComponent';
|
|
8
8
|
import type { WebViewMessage } from '../../messages/webMessages';
|
|
9
9
|
import { PresentationMode, WebComponentType } from '../../types/internal/webComponent.types';
|
|
10
10
|
import { withReduxStore } from '../../helpers/store/helpers';
|
|
11
|
-
import {
|
|
11
|
+
import {
|
|
12
|
+
UNConnectedAccount,
|
|
13
|
+
UNCounterparty,
|
|
14
|
+
UNComponentsError,
|
|
15
|
+
UNComponentsOnLoadResponse,
|
|
16
|
+
UNPayeeManagementComponentPaginationType,
|
|
17
|
+
UNPayeeManagementMenuItem,
|
|
18
|
+
UNPlaidAccountFilter
|
|
19
|
+
} from '../../types/shared';
|
|
12
20
|
import { getPayeeParams, getPayeeManagementScript, injectRefreshEventIfNeeded, injectUnitPlaidResponse, injectUnitOpenPlaid, injectUnitPlaidExit } from './UNPayeeManagementComponent.utils';
|
|
13
21
|
import { BottomSheetRenderingType, BottomSheetSlotData, SlotRendering } from '../../types/internal/bottomSheet.types';
|
|
14
|
-
import { RequestRenderingEvent } from '../../messages/webMessages/
|
|
22
|
+
import { RequestRenderingEvent } from '../../messages/webMessages/unitComponentsMessages';
|
|
15
23
|
import { useDispatch } from 'react-redux';
|
|
16
24
|
import { setEvent } from '../../slices/SharedEventsSlice';
|
|
17
25
|
import { BottomSheetNativeMessage } from '../../messages/nativeMessages/bottomSheetMessage';
|
|
@@ -24,7 +32,6 @@ import { RESPONSE_KEYS, UnitOnLoadResponseEvent } from '../../messages/webMessag
|
|
|
24
32
|
|
|
25
33
|
export interface UNPayeeManagementComponentProps {
|
|
26
34
|
// inputs
|
|
27
|
-
customerToken: string;
|
|
28
35
|
menuItems?: UNPayeeManagementMenuItem[];
|
|
29
36
|
queryFilter?: string;
|
|
30
37
|
paginationType?: UNPayeeManagementComponentPaginationType;
|
|
@@ -46,13 +53,13 @@ export interface UNPayeeManagementComponentProps {
|
|
|
46
53
|
plaidLinkCustomizationName?: string;
|
|
47
54
|
|
|
48
55
|
// events
|
|
49
|
-
onLoad?: (response:
|
|
50
|
-
onCounterpartyCreated?: (counterparty:
|
|
51
|
-
onCounterpartyDeleted?: (counterparty:
|
|
56
|
+
onLoad?: (response: UNComponentsOnLoadResponse<[UNCounterparty]>) => void;
|
|
57
|
+
onCounterpartyCreated?: (counterparty: UNCounterparty) => void;
|
|
58
|
+
onCounterpartyDeleted?: (counterparty: UNCounterparty) => void;
|
|
52
59
|
|
|
53
|
-
onConnectedAccountCreated?: (connectedAccount:
|
|
54
|
-
onMicroDepositConnectionCreated?: (onnectedAccount:
|
|
55
|
-
onMicroDepositConnectionRejected?: (connectedAccount:
|
|
60
|
+
onConnectedAccountCreated?: (connectedAccount: UNConnectedAccount) => void;
|
|
61
|
+
onMicroDepositConnectionCreated?: (onnectedAccount: UNCounterparty) => void;
|
|
62
|
+
onMicroDepositConnectionRejected?: (connectedAccount: UNConnectedAccount) => void;
|
|
56
63
|
}
|
|
57
64
|
|
|
58
65
|
const UNPayeeManagementComponent = (props: UNPayeeManagementComponentProps) => {
|
|
@@ -81,11 +88,11 @@ const UNPayeeManagementComponent = (props: UNPayeeManagementComponentProps) => {
|
|
|
81
88
|
});
|
|
82
89
|
};
|
|
83
90
|
|
|
84
|
-
const reportCounterpartyDeleted = (counterparty:
|
|
91
|
+
const reportCounterpartyDeleted = (counterparty: UNCounterparty) => {
|
|
85
92
|
props.onCounterpartyDeleted && props.onCounterpartyDeleted(counterparty);
|
|
86
93
|
};
|
|
87
94
|
|
|
88
|
-
useListenerToEvent({ busEventKey:
|
|
95
|
+
useListenerToEvent({ busEventKey: UnitComponentsMessage.UNIT_REQUEST_REFRESH, action: requestRefresh });
|
|
89
96
|
useListenerToEvent({ busEventKey: PlaidMessage.UNIT_OPEN_PLAID, action: openPlaid });
|
|
90
97
|
useListenerToEvent({ busEventKey: PayeeManagementMessage.UNIT_COUNTERPARTY_DELETED, action: reportCounterpartyDeleted });
|
|
91
98
|
|
|
@@ -111,12 +118,12 @@ const UNPayeeManagementComponent = (props: UNPayeeManagementComponentProps) => {
|
|
|
111
118
|
}
|
|
112
119
|
|
|
113
120
|
if (RESPONSE_KEYS.errors in response) {
|
|
114
|
-
props.onLoad(response as
|
|
121
|
+
props.onLoad(response as UNComponentsError);
|
|
115
122
|
return;
|
|
116
123
|
}
|
|
117
124
|
|
|
118
125
|
if (RESPONSE_KEYS.counterpartiesResult in response) {
|
|
119
|
-
props.onLoad(response[RESPONSE_KEYS.counterpartiesResult] as
|
|
126
|
+
props.onLoad(response[RESPONSE_KEYS.counterpartiesResult] as UNComponentsOnLoadResponse<[UNCounterparty]>);
|
|
120
127
|
return;
|
|
121
128
|
}
|
|
122
129
|
|
|
@@ -126,32 +133,32 @@ const UNPayeeManagementComponent = (props: UNPayeeManagementComponentProps) => {
|
|
|
126
133
|
|
|
127
134
|
const handleMessage = (message: WebViewMessage) => {
|
|
128
135
|
switch (message.type) {
|
|
129
|
-
case
|
|
136
|
+
case UnitComponentsMessage.UNIT_REQUEST_RENDERING: {
|
|
130
137
|
const requestRenderingEvent = message.details as RequestRenderingEvent;
|
|
131
138
|
handleRequestRendering(requestRenderingEvent);
|
|
132
139
|
break;
|
|
133
140
|
}
|
|
134
|
-
case
|
|
141
|
+
case UnitComponentsMessage.UNIT_ON_LOAD: {
|
|
135
142
|
handleUnitOnLoad(message.details as UnitOnLoadResponseEvent);
|
|
136
143
|
break;
|
|
137
144
|
}
|
|
138
145
|
case PayeeManagementMessage.UNIT_CONNECTED_ACCOUNT_CREATED: {
|
|
139
|
-
const account:
|
|
146
|
+
const account: UNConnectedAccount = (message.details as PayeeConnectedAccountEvent).account;
|
|
140
147
|
props.onConnectedAccountCreated && props.onConnectedAccountCreated(account);
|
|
141
148
|
break;
|
|
142
149
|
}
|
|
143
150
|
case PayeeManagementMessage.UNIT_COUNTERPARTY_CREATED: {
|
|
144
|
-
const counterparty:
|
|
151
|
+
const counterparty: UNCounterparty = (message.details as PayeeCounterpartyEvent).counterparty;
|
|
145
152
|
props.onCounterpartyCreated && props.onCounterpartyCreated(counterparty);
|
|
146
153
|
break;
|
|
147
154
|
}
|
|
148
155
|
case PayeeManagementMessage.UNIT_MICRO_DEPOSIT_CONNECTION_CREATED: {
|
|
149
|
-
const counterparty:
|
|
156
|
+
const counterparty: UNCounterparty = (message.details as PayeeMicroDepositeConnectionEvent).account;
|
|
150
157
|
props.onMicroDepositConnectionCreated && props.onMicroDepositConnectionCreated(counterparty);
|
|
151
158
|
break;
|
|
152
159
|
}
|
|
153
160
|
case PayeeManagementMessage.UNIT_MICRO_DEPOSIT_CONNECTION_REJECTED: {
|
|
154
|
-
const account:
|
|
161
|
+
const account: UNConnectedAccount = (message.details as PayeeConnectedAccountEvent).account;
|
|
155
162
|
props.onMicroDepositConnectionRejected && props.onMicroDepositConnectionRejected(account);
|
|
156
163
|
break;
|
|
157
164
|
}
|
|
@@ -159,7 +166,7 @@ const UNPayeeManagementComponent = (props: UNPayeeManagementComponentProps) => {
|
|
|
159
166
|
};
|
|
160
167
|
|
|
161
168
|
return (
|
|
162
|
-
<UNBaseView style={{ height: '100%' }}>
|
|
169
|
+
<UNBaseView style={{ height: '100%' }} fallback={<></>}>
|
|
163
170
|
<WebComponent
|
|
164
171
|
ref={webRef}
|
|
165
172
|
type={WebComponentType.payeeManagement}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RequestRefreshEvent } from '../../messages/webMessages/
|
|
1
|
+
import { RequestRefreshEvent } from '../../messages/webMessages/unitComponentsMessages';
|
|
2
2
|
import type WebView from 'react-native-webview';
|
|
3
3
|
import type { UNAccountMenuAction } from '../../types/shared';
|
|
4
4
|
import { WebComponentType } from '../../types/internal/webComponent.types';
|
|
@@ -22,7 +22,6 @@ export const getPayeeParams = (props: UNPayeeManagementComponentProps) => {
|
|
|
22
22
|
const payeeCreationPlaceholderParam = props.payeeCreationPlaceholder ? `payee-creation-placeholder="${props.payeeCreationPlaceholder}"` : '';
|
|
23
23
|
const microDepositConnectionPlaceholderParam = props.microDepositConnectionPlaceholder ? `micro-deposit-connection-placeholder="${props.microDepositConnectionPlaceholder}"` : '';
|
|
24
24
|
return `
|
|
25
|
-
customer-token="${props.customerToken}"
|
|
26
25
|
${menuItemsParam}
|
|
27
26
|
${queryFilterParam}
|
|
28
27
|
${paginationTypeParam}
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import { WebComponent } from '../../webComponent/WebComponent';
|
|
3
|
-
import {
|
|
3
|
+
import { UNAccount, UNComponentsError, UNComponentsOnLoadResponse, UNComponentsOnLoadResponseData } from '../../types/shared';
|
|
4
4
|
import { PresentationMode, WebComponentType } from '../../types/internal/webComponent.types';
|
|
5
5
|
import { WebViewMessage } from '../../messages/webMessages';
|
|
6
6
|
import { getProgramDetailsParams } from './UNProgramDetailsComponent.utils';
|
|
7
7
|
import { withReduxStore } from '../../helpers/store/helpers';
|
|
8
8
|
import { RESPONSE_KEYS, UnitOnLoadResponseEvent } from '../../messages/webMessages/onLoadMessage';
|
|
9
|
-
import {
|
|
9
|
+
import { UnitComponentsMessage } from '../../messages/webMessages/unitComponentsMessages';
|
|
10
10
|
import { HeightEvent, PageMessage } from '../../messages/webMessages/pageMessage';
|
|
11
11
|
import { UNBaseView } from '../../nativeComponents/UNBaseView';
|
|
12
12
|
|
|
13
13
|
export interface UNProgramDetailsComponentProps {
|
|
14
14
|
// inputs
|
|
15
|
-
customerToken: string;
|
|
16
15
|
accountId: string;
|
|
17
16
|
|
|
18
17
|
// ui
|
|
@@ -21,7 +20,7 @@ export interface UNProgramDetailsComponentProps {
|
|
|
21
20
|
hideTitle?: boolean;
|
|
22
21
|
|
|
23
22
|
// events
|
|
24
|
-
onLoad?: (response:
|
|
23
|
+
onLoad?: (response: UNComponentsOnLoadResponse<[UNAccount]>) => void;
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
const UNProgramDetailsComponent = (props: UNProgramDetailsComponentProps) => {
|
|
@@ -35,12 +34,12 @@ const UNProgramDetailsComponent = (props: UNProgramDetailsComponentProps) => {
|
|
|
35
34
|
}
|
|
36
35
|
|
|
37
36
|
if (RESPONSE_KEYS.errors in response) {
|
|
38
|
-
props.onLoad(response as
|
|
37
|
+
props.onLoad(response as UNComponentsError);
|
|
39
38
|
return;
|
|
40
39
|
}
|
|
41
40
|
|
|
42
41
|
if (RESPONSE_KEYS.account in response) {
|
|
43
|
-
props.onLoad(response[RESPONSE_KEYS.account] as
|
|
42
|
+
props.onLoad(response[RESPONSE_KEYS.account] as UNComponentsOnLoadResponseData<[UNAccount]>);
|
|
44
43
|
return;
|
|
45
44
|
}
|
|
46
45
|
|
|
@@ -50,7 +49,7 @@ const UNProgramDetailsComponent = (props: UNProgramDetailsComponentProps) => {
|
|
|
50
49
|
|
|
51
50
|
const handleMessage = (message: WebViewMessage) => {
|
|
52
51
|
switch (message.type) {
|
|
53
|
-
case
|
|
52
|
+
case UnitComponentsMessage.UNIT_ON_LOAD:
|
|
54
53
|
handleUnitOnLoad(message.details as UnitOnLoadResponseEvent);
|
|
55
54
|
break;
|
|
56
55
|
|
|
@@ -61,7 +60,7 @@ const UNProgramDetailsComponent = (props: UNProgramDetailsComponentProps) => {
|
|
|
61
60
|
};
|
|
62
61
|
|
|
63
62
|
return (
|
|
64
|
-
<UNBaseView style={{ height, width: '100%' }} onLoadError={ handleUnitOnLoad }>
|
|
63
|
+
<UNBaseView style={{ height, width: '100%' }} onLoadError={ handleUnitOnLoad } fallback={<></>}>
|
|
65
64
|
<WebComponent
|
|
66
65
|
type={WebComponentType.programDetails}
|
|
67
66
|
presentationMode={PresentationMode.Default}
|
|
@@ -2,7 +2,6 @@ import { UNProgramDetailsComponentProps } from './UNProgramDetailsComponent';
|
|
|
2
2
|
|
|
3
3
|
export const getProgramDetailsParams = (props: UNProgramDetailsComponentProps) => {
|
|
4
4
|
return `
|
|
5
|
-
customer-token="${props.customerToken}"
|
|
6
5
|
account-id="${props.accountId}"
|
|
7
6
|
hide-title="${props.hideTitle || false}"
|
|
8
7
|
`;
|
|
@@ -2,7 +2,7 @@ import React, { useRef } from 'react';
|
|
|
2
2
|
import { WebComponent } from '../../webComponent/WebComponent';
|
|
3
3
|
import { withReduxStore } from '../../helpers/store/helpers';
|
|
4
4
|
import { PresentationMode, WebComponentType } from '../../types/internal/webComponent.types';
|
|
5
|
-
import { RequestRefreshEvent, RequestRenderingEvent,
|
|
5
|
+
import { RequestRefreshEvent, RequestRenderingEvent, UnitComponentsMessage, UnitWhiteLabelAppEvent } from '../../messages/webMessages/unitComponentsMessages';
|
|
6
6
|
import type { WebViewMessage } from '../../messages/webMessages';
|
|
7
7
|
import {
|
|
8
8
|
BottomSheetRenderingType,
|
|
@@ -21,10 +21,11 @@ import {
|
|
|
21
21
|
} from './UNWhiteLabelAppComponent.utils';
|
|
22
22
|
import { UserDataKeys } from '../../types/internal/unitStore.types';
|
|
23
23
|
import { PageMessage } from '../../messages/webMessages/pageMessage';
|
|
24
|
-
import UNStoreManagerHelper from '../../nativeModulesHelpers/
|
|
24
|
+
import UNStoreManagerHelper from '../../nativeModulesHelpers/UNStoreModuleHelper/UNStoreModuleHelper';
|
|
25
25
|
import { ActivityMessage } from '../../messages/webMessages/activityMessage';
|
|
26
26
|
import { setItemInWindowUnitStore } from '../../utils/windowUnitStore';
|
|
27
27
|
import { UNBaseView } from '../../nativeComponents/UNBaseView';
|
|
28
|
+
import { UnitComponentsSDK } from '../../unitComponentsSdkManager/UnitComponentsSdkManager';
|
|
28
29
|
|
|
29
30
|
export interface UNWhiteLabelAppComponentProps {
|
|
30
31
|
// inputs
|
|
@@ -43,7 +44,7 @@ const UNWhiteLabelAppComponent = (props: UNWhiteLabelAppComponentProps) => {
|
|
|
43
44
|
|
|
44
45
|
const handleWebViewMessage = (message: WebViewMessage) => {
|
|
45
46
|
switch (message.type) {
|
|
46
|
-
case
|
|
47
|
+
case UnitComponentsMessage.UNIT_REQUEST_RENDERING: {
|
|
47
48
|
|
|
48
49
|
const slotData: BottomSheetSlotData = {
|
|
49
50
|
componentName: WebComponentType.whiteLabelApp,
|
|
@@ -58,9 +59,10 @@ const UNWhiteLabelAppComponent = (props: UNWhiteLabelAppComponentProps) => {
|
|
|
58
59
|
dispatch(setEvent({ key: BottomSheetNativeMessage.REQUEST_RENDERING, data }));
|
|
59
60
|
break;
|
|
60
61
|
}
|
|
61
|
-
case
|
|
62
|
+
case UnitComponentsMessage.UNIT_WHITE_LABEL_APP_ON_LOAD: {
|
|
62
63
|
const data = message.details as UnitWhiteLabelAppEvent;
|
|
63
64
|
if (data.attributes.customerToken) {
|
|
65
|
+
UnitComponentsSDK.setCustomerToken(data.attributes.customerToken);
|
|
64
66
|
UNStoreManagerHelper.saveValue(UserDataKeys.unitCustomerToken, data.attributes.customerToken);
|
|
65
67
|
// Upon receiving a new token, the web interface updates the window. Therefore, we (only) store it for subsequent windows.
|
|
66
68
|
// updateWindowUnitStore();
|
|
@@ -95,7 +97,7 @@ const UNWhiteLabelAppComponent = (props: UNWhiteLabelAppComponentProps) => {
|
|
|
95
97
|
webRef.current?.injectJavaScript(`dispatchActivityFilterChangedEvent('${query}')`);
|
|
96
98
|
};
|
|
97
99
|
|
|
98
|
-
useListenerToEvent({ busEventKey:
|
|
100
|
+
useListenerToEvent({ busEventKey: UnitComponentsMessage.UNIT_REQUEST_REFRESH, action: requestRefresh });
|
|
99
101
|
useListenerToEvent({
|
|
100
102
|
busEventKey: ActivityMessage.UNIT_ACTIVITY_FILTERS_CHANGED,
|
|
101
103
|
action: dispatchActivityFiltersChanged,
|
|
@@ -103,7 +105,7 @@ const UNWhiteLabelAppComponent = (props: UNWhiteLabelAppComponentProps) => {
|
|
|
103
105
|
|
|
104
106
|
const renderWebView = () => {
|
|
105
107
|
return (
|
|
106
|
-
<UNBaseView style={{ flex: 1 }}>
|
|
108
|
+
<UNBaseView style={{ flex: 1 }} >
|
|
107
109
|
<WebComponent
|
|
108
110
|
ref={webRef}
|
|
109
111
|
type={WebComponentType.whiteLabelApp}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import WebView from 'react-native-webview';
|
|
2
|
-
import { RequestRefreshEvent } from '../../messages/webMessages/
|
|
2
|
+
import { RequestRefreshEvent } from '../../messages/webMessages/unitComponentsMessages';
|
|
3
3
|
import { UNWhiteLabelAppComponentProps } from './UNWhiteLabelAppComponent';
|
|
4
4
|
import { DISPATCH_REQUEST_REFRESH, LISTENERS } from '../../scripts/html/bodyScript';
|
|
5
5
|
|
|
@@ -32,4 +32,4 @@ export const getWhiteLabelAppScript = () => {
|
|
|
32
32
|
|
|
33
33
|
${LISTENERS.unitWhiteLabelAppOnLoad}
|
|
34
34
|
`;
|
|
35
|
-
};
|
|
35
|
+
};
|
|
@@ -3,19 +3,18 @@ import React, { useState } from 'react';
|
|
|
3
3
|
import { PresentationMode, WebComponentType } from '../../types/internal/webComponent.types';
|
|
4
4
|
import { withReduxStore } from '../../helpers/store/helpers';
|
|
5
5
|
import { RESPONSE_KEYS, UnitOnLoadResponseEvent } from '../../messages/webMessages/onLoadMessage';
|
|
6
|
-
import {
|
|
6
|
+
import { UNAccount, UNComponentsError, UNComponentsOnLoadResponse, UNComponentsOnLoadResponseData, UNWirePayment } from '../../types/shared';
|
|
7
7
|
import { WebViewMessage } from '../../messages/webMessages';
|
|
8
8
|
import { PaymentMessage } from '../../messages/webMessages/paymentsMessage';
|
|
9
|
-
import {
|
|
9
|
+
import { UnitComponentsMessage } from '../../messages/webMessages/unitComponentsMessages';
|
|
10
10
|
import { HeightEvent, PageMessage } from '../../messages/webMessages/pageMessage';
|
|
11
11
|
import { getWirePaymentParams, getWirePaymentScript } from './UNWirePaymentComponent.utils';
|
|
12
|
-
import { UNWirePaymentData, WirePaymentCreatedEvent } from '../../types/shared/wirePayment.types';
|
|
13
12
|
import { UNBaseView } from '../../nativeComponents/UNBaseView';
|
|
14
13
|
import { ensureArray } from '../../utils/onLoadMessages.utils';
|
|
14
|
+
import { WirePaymentCreatedEvent } from '../../messages/webMessages/wirePaymentMessage';
|
|
15
15
|
|
|
16
16
|
export interface UNWirePaymentComponentProps {
|
|
17
17
|
// inputs
|
|
18
|
-
customerToken: string;
|
|
19
18
|
accountId?: string;
|
|
20
19
|
fee?: number;
|
|
21
20
|
|
|
@@ -28,8 +27,8 @@ export interface UNWirePaymentComponentProps {
|
|
|
28
27
|
finalStageDoneButton?: boolean;
|
|
29
28
|
|
|
30
29
|
// events
|
|
31
|
-
onPaymentCreated?: (data:
|
|
32
|
-
onLoad?: (response:
|
|
30
|
+
onPaymentCreated?: (data: UNWirePayment) => void;
|
|
31
|
+
onLoad?: (response: UNComponentsOnLoadResponse<[UNAccount]>) => void;
|
|
33
32
|
onInitialStageBackButtonClicked?: () => void;
|
|
34
33
|
onFinalStageDoneButtonClicked?: () => void;
|
|
35
34
|
}
|
|
@@ -44,13 +43,13 @@ const UNWirePaymentComponent = (props: UNWirePaymentComponentProps) => {
|
|
|
44
43
|
}
|
|
45
44
|
|
|
46
45
|
if (RESPONSE_KEYS.errors in response) {
|
|
47
|
-
props.onLoad(response as
|
|
46
|
+
props.onLoad(response as UNComponentsError);
|
|
48
47
|
return;
|
|
49
48
|
}
|
|
50
49
|
|
|
51
50
|
if (RESPONSE_KEYS.account in response) {
|
|
52
51
|
const account = response[RESPONSE_KEYS.account].data;
|
|
53
|
-
const paymentOnLoad:
|
|
52
|
+
const paymentOnLoad: UNComponentsOnLoadResponseData<[UNAccount]> = {
|
|
54
53
|
data: ensureArray(account),
|
|
55
54
|
};
|
|
56
55
|
props.onLoad(paymentOnLoad);
|
|
@@ -63,7 +62,7 @@ const UNWirePaymentComponent = (props: UNWirePaymentComponentProps) => {
|
|
|
63
62
|
|
|
64
63
|
const handleWebViewMessage = (message: WebViewMessage) => {
|
|
65
64
|
if (!message || !message.details) return;
|
|
66
|
-
switch (message.type) {
|
|
65
|
+
switch (message.type) {
|
|
67
66
|
case PaymentMessage.INITIAL_STAGE_BACK_BUTTON_CLICKED: {
|
|
68
67
|
props.onInitialStageBackButtonClicked && props.onInitialStageBackButtonClicked();
|
|
69
68
|
break;
|
|
@@ -75,7 +74,7 @@ const UNWirePaymentComponent = (props: UNWirePaymentComponentProps) => {
|
|
|
75
74
|
case PaymentMessage.PAYMENT_CREATED:
|
|
76
75
|
props.onPaymentCreated && props.onPaymentCreated((message.details as WirePaymentCreatedEvent).data);
|
|
77
76
|
break;
|
|
78
|
-
case
|
|
77
|
+
case UnitComponentsMessage.UNIT_ON_LOAD:
|
|
79
78
|
handleUnitOnLoad(message.details as UnitOnLoadResponseEvent);
|
|
80
79
|
break;
|
|
81
80
|
case PageMessage.PAGE_HEIGHT: {
|
|
@@ -91,7 +90,7 @@ const UNWirePaymentComponent = (props: UNWirePaymentComponentProps) => {
|
|
|
91
90
|
|
|
92
91
|
const style = presentationMode === PresentationMode.Inherit ? { flex: 1 } : { height: height };
|
|
93
92
|
return (
|
|
94
|
-
<UNBaseView style={style}>
|
|
93
|
+
<UNBaseView style={style} fallback={<></>}>
|
|
95
94
|
<WebComponent
|
|
96
95
|
type={WebComponentType.wirePayment}
|
|
97
96
|
presentationMode={presentationMode}
|
|
@@ -6,7 +6,6 @@ export const getWirePaymentParams = (props: UNWirePaymentComponentProps) => {
|
|
|
6
6
|
const feeParam = props.fee ? `fee="${props.fee}"` : '';
|
|
7
7
|
return `
|
|
8
8
|
${accountIdParam}
|
|
9
|
-
customer-token="${props.customerToken}"
|
|
10
9
|
${feeParam}
|
|
11
10
|
is-auto-focus="${props.isAutoFocus || false}"
|
|
12
11
|
initial-stage-back-button="${props.initialStageBackButton ?? false}"
|
package/src/components/index.ts
CHANGED
|
@@ -4,7 +4,6 @@ export * from './UNBottomSheetComponent';
|
|
|
4
4
|
export * from './UNBookPaymentComponent';
|
|
5
5
|
export * from './UNActivityComponent';
|
|
6
6
|
export * from './UNAccountComponent';
|
|
7
|
-
export * from './UNFundAccountPaymentComponent';
|
|
8
7
|
export * from './UNCheckDepositComponent';
|
|
9
8
|
export * from './UNACHDebitComponent';
|
|
10
9
|
export * from './UNACHCreditComponent';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { UNCardFlows } from './card/UNCardFlows';
|
|
2
|
-
import {
|
|
2
|
+
import { UnitComponentsSDK } from '../unitComponentsSdkManager/UnitComponentsSdkManager';
|
|
3
3
|
|
|
4
|
-
export class
|
|
4
|
+
export class UNComponentsFlows {
|
|
5
5
|
constructor() {
|
|
6
6
|
console.log('new Flows instance created');
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
public async startPushProvisioning(cardId: string, customerToken: string) {
|
|
10
|
-
|
|
10
|
+
UnitComponentsSDK.setCustomerToken(customerToken);
|
|
11
11
|
await UNCardFlows.startPushProvisioning(cardId, customerToken);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -10,7 +10,6 @@ import {
|
|
|
10
10
|
TouchableOpacity,
|
|
11
11
|
View,
|
|
12
12
|
} from 'react-native';
|
|
13
|
-
import PropTypes from 'prop-types';
|
|
14
13
|
import { CloseIcon } from '../../assets/images';
|
|
15
14
|
import {
|
|
16
15
|
androidStatusBarHeight,
|
|
@@ -18,7 +17,7 @@ import {
|
|
|
18
17
|
statusBarHeight,
|
|
19
18
|
} from '../../components/UNBottomSheetComponent/UNBottomSheetComponent.constants';
|
|
20
19
|
import { getStylesObject } from './BottomSheet.styles';
|
|
21
|
-
import {
|
|
20
|
+
import { useIsBackFromLongBackground } from '../../hooks/useAppStateListener';
|
|
22
21
|
import { BottomSheetNativePlaceType } from '../../types/internal/bottomSheet.types';
|
|
23
22
|
import { UNBaseView } from '../../nativeComponents/UNBaseView';
|
|
24
23
|
|
|
@@ -49,7 +48,7 @@ const BottomSheet = (props: BottomSheetProps) => {
|
|
|
49
48
|
|
|
50
49
|
const [dy, setDy] = useState(0);
|
|
51
50
|
|
|
52
|
-
const
|
|
51
|
+
const isAppInactive = useIsBackFromLongBackground();
|
|
53
52
|
|
|
54
53
|
const _parentPanResponder = PanResponder.create({
|
|
55
54
|
onMoveShouldSetPanResponderCapture: (_, gestureState) => {
|
|
@@ -78,9 +77,11 @@ const BottomSheet = (props: BottomSheetProps) => {
|
|
|
78
77
|
|
|
79
78
|
useEffect(() => {
|
|
80
79
|
// on App Active State change reset the bottom-sheet
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
if (isAppInactive) {
|
|
81
|
+
setContentHeight(0);
|
|
82
|
+
_dismiss(false);
|
|
83
|
+
}
|
|
84
|
+
}, [isAppInactive]);
|
|
84
85
|
|
|
85
86
|
useEffect(() => {
|
|
86
87
|
if (props.isOpen && !isPanelOpened) {
|
|
@@ -167,10 +168,10 @@ const BottomSheet = (props: BottomSheetProps) => {
|
|
|
167
168
|
setToContentHeight(newContentHeight);
|
|
168
169
|
};
|
|
169
170
|
|
|
170
|
-
const _dismiss = () => {
|
|
171
|
+
const _dismiss = (withAnimation = true) => {
|
|
171
172
|
const { animationDuration } = props;
|
|
172
173
|
Animated.timing(panelHeightValue, {
|
|
173
|
-
duration: animationDuration,
|
|
174
|
+
duration: withAnimation ? animationDuration : 0,
|
|
174
175
|
easing: Easing.quad,
|
|
175
176
|
toValue: props.sliderMaxHeight,
|
|
176
177
|
useNativeDriver: false,
|
|
@@ -235,23 +236,4 @@ const BottomSheet = (props: BottomSheetProps) => {
|
|
|
235
236
|
);
|
|
236
237
|
};
|
|
237
238
|
|
|
238
|
-
BottomSheet.propTypes = {
|
|
239
|
-
children: PropTypes.oneOfType([PropTypes.node]),
|
|
240
|
-
isOpen: PropTypes.bool,
|
|
241
|
-
animation: PropTypes.func,
|
|
242
|
-
animationDuration: PropTypes.number,
|
|
243
|
-
onOpen: PropTypes.func,
|
|
244
|
-
onClose: PropTypes.func,
|
|
245
|
-
expandToMaxHeightEnabled: PropTypes.bool,
|
|
246
|
-
};
|
|
247
|
-
|
|
248
|
-
BottomSheet.defaultProps = {
|
|
249
|
-
children: <View />,
|
|
250
|
-
isOpen: true,
|
|
251
|
-
animationDuration: 200,
|
|
252
|
-
onOpen: () => null,
|
|
253
|
-
onClose: () => null,
|
|
254
|
-
expandToMaxHeightEnabled: false,
|
|
255
|
-
};
|
|
256
|
-
|
|
257
239
|
export default BottomSheet;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { KeyboardAvoidingView, Platform, ViewStyle } from 'react-native';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { statusBarHeight } from '../../components/UNBottomSheetComponent/UNBottomSheetComponent.constants';
|
|
4
|
+
|
|
5
|
+
interface UNKeyboardAvoidingViewProps {
|
|
6
|
+
children: React.ReactNode,
|
|
7
|
+
style?: ViewStyle,
|
|
8
|
+
keyboardVerticalOffset?: number,
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
const UNKeyboardAvoidingView = ({ children, style, keyboardVerticalOffset }: UNKeyboardAvoidingViewProps) => {
|
|
12
|
+
return (
|
|
13
|
+
<KeyboardAvoidingView
|
|
14
|
+
style={style ?? { height: '100%' }}
|
|
15
|
+
behavior="padding"
|
|
16
|
+
keyboardVerticalOffset={keyboardVerticalOffset ?? statusBarHeight}
|
|
17
|
+
enabled={Platform.OS === 'android'}
|
|
18
|
+
>
|
|
19
|
+
{children}
|
|
20
|
+
</KeyboardAvoidingView>
|
|
21
|
+
);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export default UNKeyboardAvoidingView;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { useEffect, useState, useRef } from 'react';
|
|
2
2
|
import { UNWalletCode, UNWalletName } from '../../../types/shared/wallet.types';
|
|
3
3
|
import type { UNWallet } from '../../../types/shared/wallet.types';
|
|
4
|
-
import {
|
|
4
|
+
import { UnitComponentsSDK } from '../../../unitComponentsSdkManager/UnitComponentsSdkManager';
|
|
5
5
|
import { getMobileWalletPayload } from '../../../networking/requests/UNWalletPayloadRequest';
|
|
6
6
|
import { useSelector, useDispatch } from 'react-redux';
|
|
7
7
|
import { selectWallet, setSignedNonce } from '../../../slices/pushProvisioningSlice';
|
|
8
8
|
import { useLaunchInitialize } from './useLaunchInitialize';
|
|
9
9
|
import { UNVPErrorType } from '../types';
|
|
10
10
|
import { promiseRejectToUNVPErrorType } from '../helpers';
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
11
|
+
import { UNComponentsErrorCodes, UNComponentsErrorData } from '../../../types/shared/error.types';
|
|
12
|
+
import { isUNComponentsError } from '../../../types/internal/errorHelpers';
|
|
13
|
+
import { RootState } from '../../../store';
|
|
13
14
|
|
|
14
15
|
export type CardToEncryptedPayload = {
|
|
15
16
|
[cardId: string]: string;
|
|
@@ -21,6 +22,8 @@ export const useCardWallet = (cardId: string) => {
|
|
|
21
22
|
const { initializePushProvisioning } = useLaunchInitialize();
|
|
22
23
|
const dispatch = useDispatch();
|
|
23
24
|
const isRecoveringSignedNonceRef = useRef<boolean>(false);
|
|
25
|
+
const customerToken = useSelector((state: RootState) => state.configuration.customerToken);
|
|
26
|
+
|
|
24
27
|
|
|
25
28
|
const shouldRecoverVPSDKForError = (errorType: UNVPErrorType) => {
|
|
26
29
|
const recoveringTypes = [UNVPErrorType.PayloadDecryptionFailed, UNVPErrorType.SessionExpired, UNVPErrorType.InvalidNonce];
|
|
@@ -29,8 +32,7 @@ export const useCardWallet = (cardId: string) => {
|
|
|
29
32
|
|
|
30
33
|
useEffect(() => {
|
|
31
34
|
const getEncryptedPayload = async () => {
|
|
32
|
-
const env =
|
|
33
|
-
const customerToken = UnitSDK.getCustomerToken();
|
|
35
|
+
const env = UnitComponentsSDK.getEnv();
|
|
34
36
|
if (!env || !customerToken) return;
|
|
35
37
|
// In case we use flow
|
|
36
38
|
if (!signedNonce) {
|
|
@@ -42,7 +44,7 @@ export const useCardWallet = (cardId: string) => {
|
|
|
42
44
|
};
|
|
43
45
|
|
|
44
46
|
const getCardWalletData = async () => {
|
|
45
|
-
const currentProvisioningModule =
|
|
47
|
+
const currentProvisioningModule = UnitComponentsSDK.getPushProvisionModule();
|
|
46
48
|
if (!currentProvisioningModule) return;
|
|
47
49
|
try {
|
|
48
50
|
const encryptedPayload = await getEncryptedPayload();
|
|
@@ -58,10 +60,10 @@ export const useCardWallet = (cardId: string) => {
|
|
|
58
60
|
isRecoveringSignedNonceRef.current = true;
|
|
59
61
|
|
|
60
62
|
// handle unit network api errors
|
|
61
|
-
if (
|
|
62
|
-
const errors:
|
|
63
|
+
if (isUNComponentsError(error)) {
|
|
64
|
+
const errors: UNComponentsErrorData[] = error.errors;
|
|
63
65
|
// errors will return in an array but hold only a single error element
|
|
64
|
-
if (errors[0]?.code ===
|
|
66
|
+
if (errors[0]?.code === UNComponentsErrorCodes.INVALID_NONCE) {
|
|
65
67
|
dispatch(setSignedNonce(null));
|
|
66
68
|
}
|
|
67
69
|
return;
|
|
@@ -78,7 +80,7 @@ export const useCardWallet = (cardId: string) => {
|
|
|
78
80
|
};
|
|
79
81
|
|
|
80
82
|
getCardWalletData();
|
|
81
|
-
}, [signedNonce, cardId]);
|
|
83
|
+
}, [signedNonce, cardId, customerToken]);
|
|
82
84
|
|
|
83
85
|
return {
|
|
84
86
|
currentUNWallet,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UnitComponentsSDK } from '../../../unitComponentsSdkManager/UnitComponentsSdkManager';
|
|
2
2
|
import { useDispatch } from 'react-redux';
|
|
3
3
|
import { setSignedNonce } from '../../../slices/pushProvisioningSlice';
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ export const useLaunchInitialize = () => {
|
|
|
6
6
|
const dispatch = useDispatch();
|
|
7
7
|
|
|
8
8
|
const initializePushProvisioning = async () => {
|
|
9
|
-
const pushProvisioningModule =
|
|
9
|
+
const pushProvisioningModule = UnitComponentsSDK.getPushProvisionModule();
|
|
10
10
|
if (!pushProvisioningModule) {
|
|
11
11
|
console.error('Missing a PushProvisioningModule');
|
|
12
12
|
return;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { UNWallet } from '../../types/shared/wallet.types';
|
|
2
|
-
import {
|
|
2
|
+
import { UnitComponentsSDK } from '../../unitComponentsSdkManager/UnitComponentsSdkManager';
|
|
3
3
|
|
|
4
4
|
export const launchStartCardProvisioning = async (wallet: UNWallet | null) => {
|
|
5
|
-
const pushProvisioningModule =
|
|
5
|
+
const pushProvisioningModule = UnitComponentsSDK.getPushProvisionModule();
|
|
6
6
|
if (!pushProvisioningModule) return;
|
|
7
7
|
|
|
8
8
|
try {
|
|
@@ -7,12 +7,19 @@ export enum UNVPErrorType {
|
|
|
7
7
|
EmptyEncryptedPayload = 'EmptyEncryptedPayload',
|
|
8
8
|
NoWallets = 'NoWallets',
|
|
9
9
|
InvalidCardId = 'InvalidCardId',
|
|
10
|
+
InvalidCardLast4Digits = 'InvalidCardLast4Digits',
|
|
10
11
|
ProvisioningNotAllowed = 'ProvisioningNotAllowed',
|
|
11
12
|
CancelledByUser = 'CancelledByUser',
|
|
13
|
+
AppleWalletProvisioningError = 'AppleWalletProvisioningError',
|
|
14
|
+
UnableToCreateApplePaymentPassView = 'UnableToCreateApplePaymentPassView',
|
|
15
|
+
ValidAppleCertificatesNotFound = 'ValidAppleCertificatesNotFound',
|
|
12
16
|
GoogleWalletCreationFailed = 'GoogleWalletCreationFailed',
|
|
13
17
|
UnknownErrorOccurred = 'UnknownErrorOccurred',
|
|
14
18
|
WalletProvisioningInconclusive = 'WalletProvisioningInconclusive',
|
|
15
19
|
WalletProvisioningError = 'WalletProvisioningError',
|
|
20
|
+
VerificationNotAllowed = 'VerificationNotAllowed',
|
|
21
|
+
PaymentMethodRemoved = 'PaymentMethodRemoved',
|
|
22
|
+
SdkInternalError = 'SdkInternalError',
|
|
16
23
|
NetworkFailure = 'NetworkFailure',
|
|
17
24
|
SessionExpired = 'SessionExpired',
|
|
18
25
|
InvalidInfo = 'InvalidInfo',
|