react-native-unit-components 1.8.1 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/src/main/java/com/unitreactnativecomponents/UnitReactNativeComponentsPackage.kt +9 -12
- package/android/src/main/java/com/unitreactnativecomponents/appInfo/UNAppInfoModule.kt +59 -0
- package/android/src/main/java/com/unitreactnativecomponents/extensions/ContextExtensions.kt +35 -0
- package/ios/Extensions/Bundle+Extensions.swift +23 -0
- package/ios/UNAppInfo/IOSAppInfo.swift +47 -0
- package/ios/UNAppInfo/UNAppInfoExportModule.m +5 -2
- package/ios/UnitReactNativeComponents.xcodeproj/project.pbxproj +34 -0
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.js +6 -4
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.js.map +1 -1
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.utils.js +1 -0
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNACHCreditComponent/index.js +21 -0
- package/lib/commonjs/components/UNACHCreditComponent/index.js.map +1 -0
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.js +6 -4
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.js.map +1 -1
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.utils.js +1 -0
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNACHDebitComponent/index.js +21 -0
- package/lib/commonjs/components/UNACHDebitComponent/index.js.map +1 -0
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.js +21 -15
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.js.map +1 -1
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.utils.js +1 -1
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNAccountComponent/index.js +27 -0
- package/lib/commonjs/components/UNAccountComponent/index.js.map +1 -0
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js +17 -11
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js.map +1 -1
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js +4 -0
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNActivityComponent/index.js +21 -0
- package/lib/commonjs/components/UNActivityComponent/index.js.map +1 -0
- package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.js +4 -2
- package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.js.map +1 -1
- package/lib/commonjs/components/UNBookPaymentComponent/index.js +21 -0
- package/lib/commonjs/components/UNBookPaymentComponent/index.js.map +1 -0
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.js +29 -13
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/components/{UNAddToWalletBottomSheetItem.js → UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js} +16 -11
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js.map +1 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js +17 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js.map +1 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/index.js +17 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/index.js.map +1 -0
- package/lib/commonjs/components/UNBottomSheetComponent/index.js +14 -0
- package/lib/commonjs/components/UNBottomSheetComponent/index.js.map +1 -0
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.js +34 -10
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.js.map +1 -1
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js +9 -1
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNCardComponent/index.js +27 -0
- package/lib/commonjs/components/UNCardComponent/index.js.map +1 -0
- package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.js +4 -2
- package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.js.map +1 -1
- package/lib/commonjs/components/UNCheckDepositComponent/index.js +21 -0
- package/lib/commonjs/components/UNCheckDepositComponent/index.js.map +1 -0
- package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js +86 -0
- package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js.map +1 -0
- package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js +41 -0
- package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js.map +1 -0
- package/lib/commonjs/components/UNMultipleCardsComponent/index.js +21 -0
- package/lib/commonjs/components/UNMultipleCardsComponent/index.js.map +1 -0
- package/lib/commonjs/components/index.js +19 -8
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/flows/card/UNCardFlows.js +8 -4
- package/lib/commonjs/flows/card/UNCardFlows.js.map +1 -1
- package/lib/commonjs/helpers/pushProvisioningService/helpers.js +34 -0
- package/lib/commonjs/helpers/pushProvisioningService/helpers.js.map +1 -0
- package/lib/commonjs/helpers/pushProvisioningService/hooks/useCardWallet.js +49 -3
- package/lib/commonjs/helpers/pushProvisioningService/hooks/useCardWallet.js.map +1 -1
- package/lib/commonjs/helpers/pushProvisioningService/hooks/useLaunchInitialize.js +33 -0
- package/lib/commonjs/helpers/pushProvisioningService/hooks/useLaunchInitialize.js.map +1 -0
- package/lib/commonjs/helpers/pushProvisioningService/types.js +41 -0
- package/lib/commonjs/helpers/pushProvisioningService/types.js.map +1 -0
- package/lib/commonjs/helpers/store/helpers.js +29 -0
- package/lib/commonjs/helpers/store/helpers.js.map +1 -0
- package/lib/commonjs/hooks/useListenerToEvent.js +26 -0
- package/lib/commonjs/hooks/useListenerToEvent.js.map +1 -0
- package/lib/commonjs/messages/webMessages/index.js.map +1 -1
- package/lib/commonjs/messages/webMessages/multipleCardsMessage.js +12 -0
- package/lib/commonjs/messages/webMessages/multipleCardsMessage.js.map +1 -0
- package/lib/commonjs/messages/webMessages/onLoadMessage.js +2 -1
- package/lib/commonjs/messages/webMessages/onLoadMessage.js.map +1 -1
- package/lib/commonjs/networking/requests/UNWalletPayloadRequest.js +30 -6
- package/lib/commonjs/networking/requests/UNWalletPayloadRequest.js.map +1 -1
- package/lib/commonjs/scripts/html/bodyScript.js +13 -1
- package/lib/commonjs/scripts/html/bodyScript.js.map +1 -1
- package/lib/commonjs/slices/ConfigurationSlice.js +36 -0
- package/lib/commonjs/slices/ConfigurationSlice.js.map +1 -0
- package/lib/commonjs/slices/SharedEventsSlice.js +28 -0
- package/lib/commonjs/slices/SharedEventsSlice.js.map +1 -0
- package/lib/commonjs/slices/pushProvisioningSlice.js +28 -0
- package/lib/commonjs/slices/pushProvisioningSlice.js.map +1 -0
- package/lib/commonjs/store/index.js +17 -0
- package/lib/commonjs/store/index.js.map +1 -0
- package/lib/commonjs/store/store.js +20 -0
- package/lib/commonjs/store/store.js.map +1 -0
- package/lib/commonjs/types/internal/errorHelpers.js +20 -0
- package/lib/commonjs/types/internal/errorHelpers.js.map +1 -0
- package/lib/commonjs/types/internal/webComponent.types.js +1 -0
- package/lib/commonjs/types/internal/webComponent.types.js.map +1 -1
- package/lib/commonjs/types/shared/activity.types.js +7 -0
- package/lib/commonjs/types/shared/activity.types.js.map +1 -1
- package/lib/commonjs/types/shared/error.types.js +29 -0
- package/lib/commonjs/types/shared/error.types.js.map +1 -0
- package/lib/commonjs/types/shared/index.js +33 -0
- package/lib/commonjs/types/shared/index.js.map +1 -1
- package/lib/commonjs/types/shared/multipleCards.types.js +13 -0
- package/lib/commonjs/types/shared/multipleCards.types.js.map +1 -0
- package/lib/commonjs/types/shared/onLoadResponse.types.js +4 -0
- package/lib/commonjs/types/shared/onLoadResponse.types.js.map +1 -1
- package/lib/commonjs/types/shared/versioning.types.js +14 -0
- package/lib/commonjs/types/shared/versioning.types.js.map +1 -0
- package/lib/commonjs/unitSdkManager/UnitSdk.api.js +9 -14
- package/lib/commonjs/unitSdkManager/UnitSdk.api.js.map +1 -1
- package/lib/commonjs/unitSdkManager/UnitSdk.constants.js +17 -0
- package/lib/commonjs/unitSdkManager/UnitSdk.constants.js.map +1 -0
- package/lib/commonjs/unitSdkManager/UnitSdkManager.js +21 -22
- package/lib/commonjs/unitSdkManager/UnitSdkManager.js.map +1 -1
- package/lib/commonjs/unitSdkManager/UnitSdkManager.utils.internal.js +19 -0
- package/lib/commonjs/unitSdkManager/UnitSdkManager.utils.internal.js.map +1 -0
- package/lib/commonjs/utils/AppInfo.js +49 -0
- package/lib/commonjs/utils/AppInfo.js.map +1 -0
- package/lib/commonjs/utils/SDKInfo.js +13 -0
- package/lib/commonjs/utils/SDKInfo.js.map +1 -0
- package/lib/commonjs/utils/webVersioningStrategy.utils.js +58 -0
- package/lib/commonjs/utils/webVersioningStrategy.utils.js.map +1 -0
- package/lib/commonjs/webComponent/WebComponent.js +30 -32
- package/lib/commonjs/webComponent/WebComponent.js.map +1 -1
- package/lib/commonjs/webComponent/WebComponent.utils.js +19 -1
- package/lib/commonjs/webComponent/WebComponent.utils.js.map +1 -1
- package/lib/commonjs/webComponent/html.js +4 -0
- package/lib/commonjs/webComponent/html.js.map +1 -1
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.js +5 -3
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.js.map +1 -1
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.utils.js +1 -0
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.utils.js.map +1 -1
- package/lib/module/components/UNACHCreditComponent/index.js +2 -0
- package/lib/module/components/UNACHCreditComponent/index.js.map +1 -0
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.js +5 -3
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.js.map +1 -1
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.utils.js +1 -0
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.utils.js.map +1 -1
- package/lib/module/components/UNACHDebitComponent/index.js +2 -0
- package/lib/module/components/UNACHDebitComponent/index.js.map +1 -0
- package/lib/module/components/UNAccountComponent/UNAccountComponent.js +19 -12
- package/lib/module/components/UNAccountComponent/UNAccountComponent.js.map +1 -1
- package/lib/module/components/UNAccountComponent/UNAccountComponent.utils.js +2 -2
- package/lib/module/components/UNAccountComponent/UNAccountComponent.utils.js.map +1 -1
- package/lib/module/components/UNAccountComponent/index.js +2 -0
- package/lib/module/components/UNAccountComponent/index.js.map +1 -0
- package/lib/module/components/UNActivityComponent/UNActivityComponent.js +16 -9
- package/lib/module/components/UNActivityComponent/UNActivityComponent.js.map +1 -1
- package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js +4 -0
- package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -1
- package/lib/module/components/UNActivityComponent/index.js +2 -0
- package/lib/module/components/UNActivityComponent/index.js.map +1 -0
- package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.js +3 -1
- package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.js.map +1 -1
- package/lib/module/components/UNBookPaymentComponent/index.js +2 -0
- package/lib/module/components/UNBookPaymentComponent/index.js.map +1 -0
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.js +29 -13
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/components/{UNAddToWalletBottomSheetItem.js → UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js} +16 -11
- package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js.map +1 -0
- package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js +2 -0
- package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js.map +1 -0
- package/lib/module/components/UNBottomSheetComponent/components/index.js +2 -0
- package/lib/module/components/UNBottomSheetComponent/components/index.js.map +1 -0
- package/lib/module/components/UNBottomSheetComponent/index.js +2 -0
- package/lib/module/components/UNBottomSheetComponent/index.js.map +1 -0
- package/lib/module/components/UNCardComponent/UNCardComponent.js +34 -9
- package/lib/module/components/UNCardComponent/UNCardComponent.js.map +1 -1
- package/lib/module/components/UNCardComponent/UNCardComponent.utils.js +6 -0
- package/lib/module/components/UNCardComponent/UNCardComponent.utils.js.map +1 -1
- package/lib/module/components/UNCardComponent/index.js +2 -0
- package/lib/module/components/UNCardComponent/index.js.map +1 -0
- package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.js +3 -1
- package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.js.map +1 -1
- package/lib/module/components/UNCheckDepositComponent/index.js +2 -0
- package/lib/module/components/UNCheckDepositComponent/index.js.map +1 -0
- package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js +77 -0
- package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js.map +1 -0
- package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js +33 -0
- package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js.map +1 -0
- package/lib/module/components/UNMultipleCardsComponent/index.js +2 -0
- package/lib/module/components/UNMultipleCardsComponent/index.js.map +1 -0
- package/lib/module/components/index.js +9 -8
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/flows/card/UNCardFlows.js +8 -3
- package/lib/module/flows/card/UNCardFlows.js.map +1 -1
- package/lib/module/helpers/pushProvisioningService/helpers.js +24 -0
- package/lib/module/helpers/pushProvisioningService/helpers.js.map +1 -0
- package/lib/module/helpers/pushProvisioningService/hooks/useCardWallet.js +50 -4
- package/lib/module/helpers/pushProvisioningService/hooks/useCardWallet.js.map +1 -1
- package/lib/module/helpers/pushProvisioningService/hooks/useLaunchInitialize.js +26 -0
- package/lib/module/helpers/pushProvisioningService/hooks/useLaunchInitialize.js.map +1 -0
- package/lib/module/helpers/pushProvisioningService/types.js +34 -0
- package/lib/module/helpers/pushProvisioningService/types.js.map +1 -0
- package/lib/module/helpers/store/helpers.js +20 -0
- package/lib/module/helpers/store/helpers.js.map +1 -0
- package/lib/module/hooks/useListenerToEvent.js +19 -0
- package/lib/module/hooks/useListenerToEvent.js.map +1 -0
- package/lib/module/messages/webMessages/index.js.map +1 -1
- package/lib/module/messages/webMessages/multipleCardsMessage.js +5 -0
- package/lib/module/messages/webMessages/multipleCardsMessage.js.map +1 -0
- package/lib/module/messages/webMessages/onLoadMessage.js +2 -1
- package/lib/module/messages/webMessages/onLoadMessage.js.map +1 -1
- package/lib/module/networking/requests/UNWalletPayloadRequest.js +29 -6
- package/lib/module/networking/requests/UNWalletPayloadRequest.js.map +1 -1
- package/lib/module/scripts/html/bodyScript.js +10 -0
- package/lib/module/scripts/html/bodyScript.js.map +1 -1
- package/lib/module/slices/ConfigurationSlice.js +25 -0
- package/lib/module/slices/ConfigurationSlice.js.map +1 -0
- package/lib/module/slices/SharedEventsSlice.js +19 -0
- package/lib/module/slices/SharedEventsSlice.js.map +1 -0
- package/lib/module/slices/pushProvisioningSlice.js +19 -0
- package/lib/module/slices/pushProvisioningSlice.js.map +1 -0
- package/lib/module/store/index.js +2 -0
- package/lib/module/store/index.js.map +1 -0
- package/lib/module/store/store.js +12 -0
- package/lib/module/store/store.js.map +1 -0
- package/lib/module/types/internal/errorHelpers.js +12 -0
- package/lib/module/types/internal/errorHelpers.js.map +1 -0
- package/lib/module/types/internal/webComponent.types.js +1 -0
- package/lib/module/types/internal/webComponent.types.js.map +1 -1
- package/lib/module/types/shared/activity.types.js +5 -1
- package/lib/module/types/shared/activity.types.js.map +1 -1
- package/lib/module/types/shared/error.types.js +22 -0
- package/lib/module/types/shared/error.types.js.map +1 -0
- package/lib/module/types/shared/index.js +3 -0
- package/lib/module/types/shared/index.js.map +1 -1
- package/lib/module/types/shared/multipleCards.types.js +6 -0
- package/lib/module/types/shared/multipleCards.types.js.map +1 -0
- package/lib/module/types/shared/onLoadResponse.types.js +1 -1
- package/lib/module/types/shared/onLoadResponse.types.js.map +1 -1
- package/lib/module/types/shared/versioning.types.js +7 -0
- package/lib/module/types/shared/versioning.types.js.map +1 -0
- package/lib/module/unitSdkManager/UnitSdk.api.js +9 -12
- package/lib/module/unitSdkManager/UnitSdk.api.js.map +1 -1
- package/lib/module/unitSdkManager/UnitSdk.constants.js +10 -0
- package/lib/module/unitSdkManager/UnitSdk.constants.js.map +1 -0
- package/lib/module/unitSdkManager/UnitSdkManager.js +20 -19
- package/lib/module/unitSdkManager/UnitSdkManager.js.map +1 -1
- package/lib/module/unitSdkManager/UnitSdkManager.utils.internal.js +12 -0
- package/lib/module/unitSdkManager/UnitSdkManager.utils.internal.js.map +1 -0
- package/lib/module/utils/AppInfo.js +39 -0
- package/lib/module/utils/AppInfo.js.map +1 -0
- package/lib/module/utils/SDKInfo.js +5 -0
- package/lib/module/utils/SDKInfo.js.map +1 -0
- package/lib/module/utils/webVersioningStrategy.utils.js +48 -0
- package/lib/module/utils/webVersioningStrategy.utils.js.map +1 -0
- package/lib/module/webComponent/WebComponent.js +33 -34
- package/lib/module/webComponent/WebComponent.js.map +1 -1
- package/lib/module/webComponent/WebComponent.utils.js +15 -0
- package/lib/module/webComponent/WebComponent.utils.js.map +1 -1
- package/lib/module/webComponent/html.js +5 -1
- package/lib/module/webComponent/html.js.map +1 -1
- package/lib/typescript/{components → src/components}/UNACHCreditComponent/UNACHCreditComponent.d.ts +3 -1
- package/lib/typescript/src/components/UNACHCreditComponent/index.d.ts +1 -0
- package/lib/typescript/{components → src/components}/UNACHDebitComponent/UNACHDebitComponent.d.ts +3 -1
- package/lib/typescript/src/components/UNACHDebitComponent/index.d.ts +1 -0
- package/lib/typescript/{components → src/components}/UNAccountComponent/UNAccountComponent.d.ts +3 -2
- package/lib/typescript/{components → src/components}/UNAccountComponent/UNAccountComponent.utils.d.ts +2 -2
- package/lib/typescript/src/components/UNAccountComponent/index.d.ts +1 -0
- package/lib/typescript/{components → src/components}/UNActivityComponent/UNActivityComponent.d.ts +5 -1
- package/lib/typescript/src/components/UNActivityComponent/index.d.ts +1 -0
- package/lib/typescript/{components → src/components}/UNBookPaymentComponent/UNBookPaymentComponent.d.ts +2 -1
- package/lib/typescript/src/components/UNBookPaymentComponent/index.d.ts +1 -0
- package/lib/typescript/{components → src/components}/UNBottomSheetComponent/UNBottomSheetComponent.d.ts +2 -1
- package/lib/typescript/{components/UNBottomSheetComponent/components → src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem}/UNAddToWalletBottomSheetItem.d.ts +2 -2
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.d.ts +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/components/index.d.ts +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/index.d.ts +1 -0
- package/lib/typescript/{components → src/components}/UNCardComponent/UNCardComponent.d.ts +4 -1
- package/lib/typescript/{components → src/components}/UNCardComponent/UNCardComponent.utils.d.ts +2 -0
- package/lib/typescript/src/components/UNCardComponent/index.d.ts +1 -0
- package/lib/typescript/{components → src/components}/UNCheckDepositComponent/UNCheckDepositComponent.d.ts +2 -1
- package/lib/typescript/src/components/UNCheckDepositComponent/index.d.ts +1 -0
- package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.d.ts +15 -0
- package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.d.ts +3 -0
- package/lib/typescript/src/components/UNMultipleCardsComponent/index.d.ts +1 -0
- package/lib/typescript/src/components/index.d.ts +9 -0
- package/lib/typescript/src/helpers/pushProvisioningService/helpers.d.ts +4 -0
- package/lib/typescript/src/helpers/pushProvisioningService/hooks/useLaunchInitialize.d.ts +3 -0
- package/lib/typescript/src/helpers/pushProvisioningService/types.d.ts +49 -0
- package/lib/typescript/src/helpers/store/helpers.d.ts +3 -0
- package/lib/typescript/src/hooks/useListenerToEvent.d.ts +9 -0
- package/lib/typescript/{messages → src/messages}/webMessages/index.d.ts +3 -2
- package/lib/typescript/src/messages/webMessages/multipleCardsMessage.d.ts +6 -0
- package/lib/typescript/{messages → src/messages}/webMessages/onLoadMessage.d.ts +7 -3
- package/lib/typescript/src/networking/requests/UNWalletPayloadRequest.d.ts +2 -0
- package/lib/typescript/{scripts → src/scripts}/html/bodyScript.d.ts +2 -0
- package/lib/typescript/src/slices/ConfigurationSlice.d.ts +10 -0
- package/lib/typescript/src/slices/SharedEventsSlice.d.ts +56 -0
- package/lib/typescript/src/slices/pushProvisioningSlice.d.ts +8 -0
- package/lib/typescript/src/store/index.d.ts +1 -0
- package/lib/typescript/src/store/store.d.ts +76 -0
- package/lib/typescript/src/types/internal/errorHelpers.d.ts +4 -0
- package/lib/typescript/{types → src/types}/internal/webComponent.types.d.ts +1 -0
- package/lib/typescript/{types → src/types}/shared/activity.types.d.ts +5 -1
- package/lib/typescript/src/types/shared/error.types.d.ts +36 -0
- package/lib/typescript/{types → src/types}/shared/index.d.ts +3 -0
- package/lib/typescript/src/types/shared/multipleCards.types.d.ts +6 -0
- package/lib/typescript/src/types/shared/onLoadResponse.types.d.ts +5 -0
- package/lib/typescript/src/types/shared/versioning.types.d.ts +22 -0
- package/lib/typescript/src/unitSdkManager/UnitSdk.api.d.ts +1 -0
- package/lib/typescript/src/unitSdkManager/UnitSdk.constants.d.ts +8 -0
- package/lib/typescript/{unitSdkManager → src/unitSdkManager}/UnitSdkManager.d.ts +11 -10
- package/lib/typescript/src/unitSdkManager/UnitSdkManager.utils.internal.d.ts +3 -0
- package/lib/typescript/src/utils/AppInfo.d.ts +4 -0
- package/lib/typescript/src/utils/SDKInfo.d.ts +1 -0
- package/lib/typescript/src/utils/webVersioningStrategy.utils.d.ts +5 -0
- package/lib/typescript/{webComponent → src/webComponent}/WebComponent.utils.d.ts +3 -0
- package/package.json +8 -6
- package/src/components/UNACHCreditComponent/UNACHCreditComponent.tsx +7 -3
- package/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.ts +1 -0
- package/src/components/UNACHCreditComponent/index.ts +1 -0
- package/src/components/UNACHDebitComponent/UNACHDebitComponent.tsx +7 -3
- package/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.ts +1 -0
- package/src/components/UNACHDebitComponent/index.ts +1 -0
- package/src/components/UNAccountComponent/UNAccountComponent.tsx +30 -14
- package/src/components/UNAccountComponent/UNAccountComponent.utils.ts +2 -2
- package/src/components/UNAccountComponent/index.ts +1 -0
- package/src/components/UNActivityComponent/UNActivityComponent.tsx +37 -17
- package/src/components/UNActivityComponent/UNActivityComponent.utils.ts +4 -1
- package/src/components/UNActivityComponent/index.ts +1 -0
- package/src/components/UNBookPaymentComponent/UNBookPaymentComponent.tsx +4 -1
- package/src/components/UNBookPaymentComponent/index.ts +1 -0
- package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.tsx +59 -32
- package/src/components/UNBottomSheetComponent/components/{UNAddToWalletBottomSheetItem.tsx → UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.tsx} +18 -13
- package/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.ts +1 -0
- package/src/components/UNBottomSheetComponent/components/index.ts +1 -0
- package/src/components/UNBottomSheetComponent/index.ts +1 -0
- package/src/components/UNCardComponent/UNCardComponent.tsx +51 -14
- package/src/components/UNCardComponent/UNCardComponent.utils.ts +7 -0
- package/src/components/UNCardComponent/index.ts +1 -0
- package/src/components/UNCheckDepositComponent/UNCheckDepositComponent.tsx +4 -1
- package/src/components/UNCheckDepositComponent/index.ts +1 -0
- package/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.tsx +119 -0
- package/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.ts +36 -0
- package/src/components/UNMultipleCardsComponent/index.ts +3 -0
- package/src/components/index.ts +9 -8
- package/src/flows/card/UNCardFlows.ts +10 -4
- package/src/helpers/pushProvisioningService/helpers.ts +31 -0
- package/src/helpers/pushProvisioningService/hooks/useCardWallet.ts +46 -7
- package/src/helpers/pushProvisioningService/hooks/useLaunchInitialize.ts +29 -0
- package/src/helpers/pushProvisioningService/types.ts +52 -0
- package/src/helpers/store/helpers.tsx +22 -0
- package/src/hooks/useListenerToEvent.ts +32 -0
- package/src/messages/webMessages/index.ts +3 -0
- package/src/messages/webMessages/multipleCardsMessage.ts +9 -0
- package/src/messages/webMessages/onLoadMessage.ts +14 -3
- package/src/networking/requests/UNWalletPayloadRequest.ts +30 -7
- package/src/scripts/html/bodyScript.ts +13 -1
- package/src/slices/ConfigurationSlice.ts +31 -0
- package/src/slices/SharedEventsSlice.ts +93 -0
- package/src/slices/pushProvisioningSlice.ts +24 -0
- package/src/store/index.ts +1 -0
- package/src/store/store.ts +14 -0
- package/src/types/internal/errorHelpers.ts +22 -0
- package/src/types/internal/webComponent.types.ts +1 -1
- package/src/types/shared/activity.types.ts +6 -1
- package/src/types/shared/error.types.ts +38 -0
- package/src/types/shared/index.ts +3 -0
- package/src/types/shared/multipleCards.types.ts +8 -0
- package/src/types/shared/onLoadResponse.types.ts +2 -12
- package/src/types/shared/versioning.types.ts +28 -0
- package/src/unitSdkManager/UnitSdk.api.ts +10 -10
- package/src/unitSdkManager/UnitSdk.constants.ts +11 -0
- package/src/unitSdkManager/UnitSdkManager.ts +21 -24
- package/src/unitSdkManager/UnitSdkManager.utils.internal.ts +13 -0
- package/src/utils/AppInfo.ts +40 -0
- package/src/utils/SDKInfo.ts +5 -0
- package/src/utils/webVersioningStrategy.utils.ts +52 -0
- package/src/webComponent/WebComponent.tsx +37 -34
- package/src/webComponent/WebComponent.utils.ts +17 -0
- package/src/webComponent/html.ts +16 -2
- package/android/src/main/java/com/unitreactnativecomponents/getapplicationid/UNAppInfoModule.kt +0 -35
- package/ios/UNAppInfo/UNAppInfo.swift +0 -23
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem.js.map +0 -1
- package/lib/commonjs/components/utils/nativeModulesInfo.js +0 -20
- package/lib/commonjs/components/utils/nativeModulesInfo.js.map +0 -1
- package/lib/commonjs/helpers/EventBus.js +0 -58
- package/lib/commonjs/helpers/EventBus.js.map +0 -1
- package/lib/commonjs/hooks/listenerToBus.js +0 -34
- package/lib/commonjs/hooks/listenerToBus.js.map +0 -1
- package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem.js.map +0 -1
- package/lib/module/components/utils/nativeModulesInfo.js +0 -13
- package/lib/module/components/utils/nativeModulesInfo.js.map +0 -1
- package/lib/module/helpers/EventBus.js +0 -51
- package/lib/module/helpers/EventBus.js.map +0 -1
- package/lib/module/hooks/listenerToBus.js +0 -25
- package/lib/module/hooks/listenerToBus.js.map +0 -1
- package/lib/typescript/components/index.d.ts +0 -8
- package/lib/typescript/components/utils/nativeModulesInfo.d.ts +0 -1
- package/lib/typescript/helpers/EventBus.d.ts +0 -13
- package/lib/typescript/hooks/listenerToBus.d.ts +0 -7
- package/lib/typescript/networking/requests/UNWalletPayloadRequest.d.ts +0 -2
- package/lib/typescript/types/shared/onLoadResponse.types.d.ts +0 -14
- package/lib/typescript/unitSdkManager/UnitSdk.api.d.ts +0 -3
- package/src/components/utils/nativeModulesInfo.ts +0 -11
- package/src/helpers/EventBus.ts +0 -58
- package/src/hooks/listenerToBus.ts +0 -31
- /package/lib/commonjs/components/UNBottomSheetComponent/components/{UNAddToWalletBottomSheetItem.styles.js → UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.styles.js} +0 -0
- /package/lib/commonjs/components/UNBottomSheetComponent/components/{UNAddToWalletBottomSheetItem.styles.js.map → UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.styles.js.map} +0 -0
- /package/lib/module/components/UNBottomSheetComponent/components/{UNAddToWalletBottomSheetItem.styles.js → UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.styles.js} +0 -0
- /package/lib/module/components/UNBottomSheetComponent/components/{UNAddToWalletBottomSheetItem.styles.js.map → UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.styles.js.map} +0 -0
- /package/lib/typescript/{assets → src/assets}/images/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/UNACHCreditComponent/UNACHCreditComponent.utils.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/UNACHDebitComponent/UNACHDebitComponent.utils.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/UNActivityComponent/UNActivityComponent.utils.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/UNBookPaymentComponent/UNBookPaymentComponent.utils.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/UNBottomSheetComponent/UNBottomSheetComponent.constants.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/UNBottomSheetComponent/UNBottomSheetComponent.styles.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/UNBottomSheetComponent/UNBottomSheetComponent.utils.d.ts +0 -0
- /package/lib/typescript/{components/UNBottomSheetComponent/components → src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem}/UNAddToWalletBottomSheetItem.styles.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/UNCheckDepositComponent/UNCheckDepositComponent.utils.d.ts +0 -0
- /package/lib/typescript/{flows → src/flows}/UNFlows.d.ts +0 -0
- /package/lib/typescript/{flows → src/flows}/card/UNCardFlows.d.ts +0 -0
- /package/lib/typescript/{helpers → src/helpers}/BottomSheet/BottomSheet.d.ts +0 -0
- /package/lib/typescript/{helpers → src/helpers}/BottomSheet/BottomSheet.styles.d.ts +0 -0
- /package/lib/typescript/{helpers → src/helpers}/pushProvisioningService/hooks/useCardWallet.d.ts +0 -0
- /package/lib/typescript/{helpers → src/helpers}/pushProvisioningService/startProvisioning.d.ts +0 -0
- /package/lib/typescript/{hooks → src/hooks}/useAppStateListener.d.ts +0 -0
- /package/lib/typescript/{index.d.ts → src/index.d.ts} +0 -0
- /package/lib/typescript/{messages → src/messages}/nativeMessages/bottomSheetMessage.d.ts +0 -0
- /package/lib/typescript/{messages → src/messages}/nativeMessages/cardMessage.d.ts +0 -0
- /package/lib/typescript/{messages → src/messages}/nativeMessages/index.d.ts +0 -0
- /package/lib/typescript/{messages → src/messages}/nativeMessages/sdkMessage.d.ts +0 -0
- /package/lib/typescript/{messages → src/messages}/webMessages/accountMessage.d.ts +0 -0
- /package/lib/typescript/{messages → src/messages}/webMessages/achCreditMessage.d.ts +0 -0
- /package/lib/typescript/{messages → src/messages}/webMessages/activityMessage.d.ts +0 -0
- /package/lib/typescript/{messages → src/messages}/webMessages/bookPaymentMessage.d.ts +0 -0
- /package/lib/typescript/{messages → src/messages}/webMessages/cardMessage.d.ts +0 -0
- /package/lib/typescript/{messages → src/messages}/webMessages/checkMessage.d.ts +0 -0
- /package/lib/typescript/{messages → src/messages}/webMessages/pageMessage.d.ts +0 -0
- /package/lib/typescript/{messages → src/messages}/webMessages/paymentsMessage.d.ts +0 -0
- /package/lib/typescript/{messages → src/messages}/webMessages/unitMessages.d.ts +0 -0
- /package/lib/typescript/{nativeComponent → src/nativeComponent}/UnitAddToWalletButton.d.ts +0 -0
- /package/lib/typescript/{networking → src/networking}/common/UNNetworkConstants.d.ts +0 -0
- /package/lib/typescript/{scripts → src/scripts}/html/bodyHtml.d.ts +0 -0
- /package/lib/typescript/{scripts → src/scripts}/html/fontFaces.d.ts +0 -0
- /package/lib/typescript/{styles → src/styles}/fonts.d.ts +0 -0
- /package/lib/typescript/{styles → src/styles}/variables.d.ts +0 -0
- /package/lib/typescript/{types → src/types}/internal/bottomSheet.types.d.ts +0 -0
- /package/lib/typescript/{types → src/types}/shared/account.types.d.ts +0 -0
- /package/lib/typescript/{types → src/types}/shared/achCredit.types.d.ts +0 -0
- /package/lib/typescript/{types → src/types}/shared/authorization.types.d.ts +0 -0
- /package/lib/typescript/{types → src/types}/shared/bookPayment.types.d.ts +0 -0
- /package/lib/typescript/{types → src/types}/shared/card.types.d.ts +0 -0
- /package/lib/typescript/{types → src/types}/shared/checkDeposit.types.d.ts +0 -0
- /package/lib/typescript/{types → src/types}/shared/fonts.types.d.ts +0 -0
- /package/lib/typescript/{types → src/types}/shared/payments.types.d.ts +0 -0
- /package/lib/typescript/{types → src/types}/shared/transactions.types.d.ts +0 -0
- /package/lib/typescript/{types → src/types}/shared/types.d.ts +0 -0
- /package/lib/typescript/{types → src/types}/shared/wallet.types.d.ts +0 -0
- /package/lib/typescript/{unitSdkManager → src/unitSdkManager}/unitUiManager/unitUiManager.d.ts +0 -0
- /package/lib/typescript/{webComponent → src/webComponent}/WebComponent.d.ts +0 -0
- /package/lib/typescript/{webComponent → src/webComponent}/html.d.ts +0 -0
- /package/src/components/UNBottomSheetComponent/components/{UNAddToWalletBottomSheetItem.styles.ts → UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.styles.ts} +0 -0
|
@@ -7,8 +7,9 @@ import type { UnitEvent, UnitMessage } from './unitMessages';
|
|
|
7
7
|
import type { AccountEvent, AccountMessage } from './accountMessage';
|
|
8
8
|
import type { CheckEvent, CheckMessage } from './checkMessage';
|
|
9
9
|
import type { ActivityEvent, ActivityMessage } from './activityMessage';
|
|
10
|
-
|
|
11
|
-
type
|
|
10
|
+
import type { MultipleCardsEvent, MultipleCardsMessage } from './multipleCardsMessage';
|
|
11
|
+
export type WebViewMessageType = PageMessage | CardMessage | MultipleCardsMessage | UnitMessage | PaymentMessage | AccountMessage | CheckMessage | ActivityMessage;
|
|
12
|
+
type WebViewEvent = PageEvent | UnitEvent | CardEvent | MultipleCardsEvent | BookPaymentEvent | PaymentMessage | ACHEvent | AccountEvent | CheckEvent | ActivityEvent;
|
|
12
13
|
export interface WebViewMessage {
|
|
13
14
|
type: WebViewMessageType;
|
|
14
15
|
details?: WebViewEvent;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { UNCardData } from '../../types/shared';
|
|
2
|
+
export declare enum MultipleCardsMessage {
|
|
3
|
+
UNIT_MULTIPLE_CARDS_CARD_CLICKED = "unitMultipleCardsCardClicked"
|
|
4
|
+
}
|
|
5
|
+
export type MultipleCardsCardClickedEvent = UNCardData;
|
|
6
|
+
export type MultipleCardsEvent = MultipleCardsCardClickedEvent;
|
|
@@ -4,11 +4,15 @@ import type { UNTransactionData } from '../../types/shared/transactions.types';
|
|
|
4
4
|
export declare enum RESPONSE_KEYS {
|
|
5
5
|
errors = "errors",
|
|
6
6
|
card = "cardResult",
|
|
7
|
+
cards = "cardsResult",
|
|
7
8
|
account = "accountResult",
|
|
8
9
|
counterpartyAccount = "counterpartyResult",
|
|
9
10
|
transactions = "transactionsResult",
|
|
10
|
-
|
|
11
|
+
authorizations = "authorizationsResult"
|
|
11
12
|
}
|
|
13
|
+
export type CardsOnLoadResponse = {
|
|
14
|
+
[RESPONSE_KEYS.cards]: UNOnLoadResponseData<[UNCardData]>;
|
|
15
|
+
};
|
|
12
16
|
export type CardOnLoadResponse = {
|
|
13
17
|
[RESPONSE_KEYS.card]: UNOnLoadResponseData<UNCardData>;
|
|
14
18
|
};
|
|
@@ -23,8 +27,8 @@ export type ACHOnLoadResponse = {
|
|
|
23
27
|
[RESPONSE_KEYS.counterpartyAccount]: UNOnLoadResponseData<[UNCounterpartyAccountData]>;
|
|
24
28
|
};
|
|
25
29
|
export type ActivityOnLoadResponse = {
|
|
26
|
-
[RESPONSE_KEYS.
|
|
30
|
+
[RESPONSE_KEYS.authorizations]: UNOnLoadResponseData<UNAuthorizationData>;
|
|
27
31
|
[RESPONSE_KEYS.transactions]: UNOnLoadResponseData<UNTransactionData>;
|
|
28
32
|
};
|
|
29
|
-
export type UnitOnLoadResponseSuccessData = CardOnLoadResponse | ACHOnLoadResponse | AccountsOnLoadResponse | AccountOnLoadResponse | ActivityOnLoadResponse;
|
|
33
|
+
export type UnitOnLoadResponseSuccessData = CardOnLoadResponse | CardsOnLoadResponse | ACHOnLoadResponse | AccountsOnLoadResponse | AccountOnLoadResponse | ActivityOnLoadResponse;
|
|
30
34
|
export type UnitOnLoadResponseEvent = UNError | UnitOnLoadResponseSuccessData;
|
|
@@ -22,4 +22,6 @@ export declare const DISPATCH_ACTIVITY_FILTER_CHANGED_EVENT: string;
|
|
|
22
22
|
export declare const DISPATCH_PLAID_RESPONSE: string;
|
|
23
23
|
export declare const DISPATCH_OPEN_ACTIONS_MENU = "\n const dispatchOpenActionsMenu = (componentName) => {\n document.querySelector(componentName).dispatchEvent(new CustomEvent(\"unitRequestOpenActionsMenu\"))\n }\n";
|
|
24
24
|
export declare const DISPATCH_REQUEST_CARD_ACTION = "\n const dispatchRequestCardAction = (action) => {\n document.querySelector(\"unit-elements-card\").dispatchEvent(new CustomEvent(\"unitRequestCardAction\", {detail: {action: action}}))\n }\n";
|
|
25
|
+
export declare const DISPATCH_REQUEST_HIDE_SENSITIVE_DATA = "\n const dispatchRequestHideSensitiveData = (componentName) => {\n document.querySelector(componentName).dispatchEvent(new CustomEvent(\"unitRequestHideSensitiveData\"))\n }\n";
|
|
26
|
+
export declare const DISPATCH_REQUEST_SHOW_SENSITIVE_DATA = "\n const dispatchRequestShowSensitiveData = (componentName) => {\n document.querySelector(componentName).dispatchEvent(new CustomEvent(\"unitRequestShowSensitiveData\"))\n }\n";
|
|
25
27
|
export declare const DISPATCH_REQUEST_ACCOUNT_ACTION = "\n const dispatchRequestAccountAction = (action) => {\n document.querySelector(\"unit-elements-account\").dispatchEvent(new CustomEvent(\"unitRequestAccountAction\", {detail: {action: action}}))\n }\n";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { RootState } from '../store';
|
|
2
|
+
export interface ConfigurationState {
|
|
3
|
+
unitScript?: string;
|
|
4
|
+
theme?: string;
|
|
5
|
+
language?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const setUnitScript: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, "Configuration/setUnitScript">, setLanguage: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, "Configuration/setLanguage">, setTheme: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, "Configuration/setTheme">;
|
|
8
|
+
export declare const selectConfiguration: (state: RootState) => ConfigurationState;
|
|
9
|
+
declare const _default: import("redux").Reducer<ConfigurationState, import("redux").AnyAction>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { RootState } from '../store';
|
|
2
|
+
import type { SlotRendering, WebComponentRendering } from '../types/internal/bottomSheet.types';
|
|
3
|
+
import type { UNAccountData, UNCardData } from '../types/shared';
|
|
4
|
+
import type { ActivityFiltersChangedEvent } from '../messages/webMessages/activityMessage';
|
|
5
|
+
import type { RequestRefreshEvent } from '../messages/webMessages/unitMessages';
|
|
6
|
+
import type { BottomSheetNativeMessage } from '../messages/nativeMessages/bottomSheetMessage';
|
|
7
|
+
import type { CardMessage } from '../messages/webMessages/cardMessage';
|
|
8
|
+
import type { AccountMessage } from '../messages/webMessages/accountMessage';
|
|
9
|
+
import type { ActivityMessage } from '../messages/webMessages/activityMessage';
|
|
10
|
+
import type { UnitMessage } from '../messages/webMessages/unitMessages';
|
|
11
|
+
import type { MultipleCardsMessage } from '../messages/webMessages/multipleCardsMessage';
|
|
12
|
+
type EmptyObj = Record<PropertyKey, never>;
|
|
13
|
+
type SlotRenderingEventState = {
|
|
14
|
+
key: BottomSheetNativeMessage.START_FLOW;
|
|
15
|
+
data: SlotRendering;
|
|
16
|
+
};
|
|
17
|
+
type MultipleCardsCardClickedEventState = {
|
|
18
|
+
key: MultipleCardsMessage.UNIT_MULTIPLE_CARDS_CARD_CLICKED;
|
|
19
|
+
data: UNCardData;
|
|
20
|
+
};
|
|
21
|
+
type CardStatusChangedEventState = {
|
|
22
|
+
key: CardMessage.CARD_STATUS_CHANGED;
|
|
23
|
+
data: UNCardData;
|
|
24
|
+
};
|
|
25
|
+
type CardActivatedEventState = {
|
|
26
|
+
key: CardMessage.CARD_ACTIVATED;
|
|
27
|
+
data: UNCardData;
|
|
28
|
+
};
|
|
29
|
+
type AccountChangedEventState = {
|
|
30
|
+
key: AccountMessage.UNIT_ACCOUNT_CHANGED;
|
|
31
|
+
data: UNAccountData;
|
|
32
|
+
};
|
|
33
|
+
type ActivityFiltersChangedEventState = {
|
|
34
|
+
key: ActivityMessage.UNIT_ACTIVITY_FILTERS_CHANGED;
|
|
35
|
+
data: ActivityFiltersChangedEvent;
|
|
36
|
+
};
|
|
37
|
+
type RequestCloseFlowEventState = {
|
|
38
|
+
key: UnitMessage.UNIT_REQUEST_CLOSE_FLOW;
|
|
39
|
+
data: EmptyObj;
|
|
40
|
+
};
|
|
41
|
+
type WebComponentRenderingEventState = {
|
|
42
|
+
key: BottomSheetNativeMessage.START_FLOW;
|
|
43
|
+
data: WebComponentRendering;
|
|
44
|
+
};
|
|
45
|
+
type RequestRefreshEventState = {
|
|
46
|
+
key: UnitMessage.UNIT_REQUEST_REFRESH;
|
|
47
|
+
data: RequestRefreshEvent;
|
|
48
|
+
};
|
|
49
|
+
type SharedEvent = SlotRenderingEventState | CardStatusChangedEventState | CardActivatedEventState | MultipleCardsCardClickedEventState | AccountChangedEventState | ActivityFiltersChangedEventState | RequestCloseFlowEventState | WebComponentRenderingEventState | RequestRefreshEventState;
|
|
50
|
+
type SharedEventsState = {
|
|
51
|
+
event?: SharedEvent;
|
|
52
|
+
};
|
|
53
|
+
export declare const setEvent: import("@reduxjs/toolkit").ActionCreatorWithPayload<SharedEvent, "SharedEvents/setEvent">;
|
|
54
|
+
export declare const selectSharedEvents: (state: RootState) => SharedEventsState;
|
|
55
|
+
declare const _default: import("redux").Reducer<SharedEventsState, import("redux").AnyAction>;
|
|
56
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { RootState } from '../store';
|
|
2
|
+
export interface PushProvisioningState {
|
|
3
|
+
signedNonce: string | null;
|
|
4
|
+
}
|
|
5
|
+
export declare const setSignedNonce: import("@reduxjs/toolkit").ActionCreatorWithPayload<string | null, "wallet/setSignedNonce">;
|
|
6
|
+
export declare const selectWallet: (state: RootState) => PushProvisioningState;
|
|
7
|
+
declare const _default: import("redux").Reducer<PushProvisioningState, import("redux").AnyAction>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './store';
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export declare const store: import("@reduxjs/toolkit/dist/configureStore").ToolkitStore<{
|
|
2
|
+
wallet: import("../slices/pushProvisioningSlice").PushProvisioningState;
|
|
3
|
+
configuration: import("../slices/ConfigurationSlice").ConfigurationState;
|
|
4
|
+
sharedEvents: {
|
|
5
|
+
event?: ({
|
|
6
|
+
key: import("../messages/nativeMessages/bottomSheetMessage").BottomSheetNativeMessage;
|
|
7
|
+
data: import("../types/internal/bottomSheet.types").SlotRendering;
|
|
8
|
+
} | {
|
|
9
|
+
key: import("../messages/webMessages/cardMessage").CardMessage.CARD_STATUS_CHANGED;
|
|
10
|
+
data: import("..").UNCardData;
|
|
11
|
+
} | {
|
|
12
|
+
key: import("../messages/webMessages/cardMessage").CardMessage.CARD_ACTIVATED;
|
|
13
|
+
data: import("..").UNCardData;
|
|
14
|
+
} | {
|
|
15
|
+
key: import("../messages/webMessages/multipleCardsMessage").MultipleCardsMessage;
|
|
16
|
+
data: import("..").UNCardData;
|
|
17
|
+
} | {
|
|
18
|
+
key: import("../messages/webMessages/accountMessage").AccountMessage;
|
|
19
|
+
data: import("..").UNAccountData;
|
|
20
|
+
} | {
|
|
21
|
+
key: import("../messages/webMessages/activityMessage").ActivityMessage;
|
|
22
|
+
data: string;
|
|
23
|
+
} | {
|
|
24
|
+
key: import("../messages/webMessages/unitMessages").UnitMessage.UNIT_REQUEST_CLOSE_FLOW;
|
|
25
|
+
data: {
|
|
26
|
+
[x: string]: never;
|
|
27
|
+
[x: number]: never;
|
|
28
|
+
[x: symbol]: never;
|
|
29
|
+
};
|
|
30
|
+
} | {
|
|
31
|
+
key: import("../messages/nativeMessages/bottomSheetMessage").BottomSheetNativeMessage;
|
|
32
|
+
data: import("../types/internal/bottomSheet.types").WebComponentRendering;
|
|
33
|
+
} | {
|
|
34
|
+
key: import("../messages/webMessages/unitMessages").UnitMessage.UNIT_REQUEST_REFRESH;
|
|
35
|
+
data: import("../messages/webMessages/unitMessages").RequestRefreshEvent;
|
|
36
|
+
}) | undefined;
|
|
37
|
+
};
|
|
38
|
+
}, import("redux").AnyAction, [import("@reduxjs/toolkit").ThunkMiddleware<{
|
|
39
|
+
wallet: import("../slices/pushProvisioningSlice").PushProvisioningState;
|
|
40
|
+
configuration: import("../slices/ConfigurationSlice").ConfigurationState;
|
|
41
|
+
sharedEvents: {
|
|
42
|
+
event?: ({
|
|
43
|
+
key: import("../messages/nativeMessages/bottomSheetMessage").BottomSheetNativeMessage;
|
|
44
|
+
data: import("../types/internal/bottomSheet.types").SlotRendering;
|
|
45
|
+
} | {
|
|
46
|
+
key: import("../messages/webMessages/cardMessage").CardMessage.CARD_STATUS_CHANGED;
|
|
47
|
+
data: import("..").UNCardData;
|
|
48
|
+
} | {
|
|
49
|
+
key: import("../messages/webMessages/cardMessage").CardMessage.CARD_ACTIVATED;
|
|
50
|
+
data: import("..").UNCardData;
|
|
51
|
+
} | {
|
|
52
|
+
key: import("../messages/webMessages/multipleCardsMessage").MultipleCardsMessage;
|
|
53
|
+
data: import("..").UNCardData;
|
|
54
|
+
} | {
|
|
55
|
+
key: import("../messages/webMessages/accountMessage").AccountMessage;
|
|
56
|
+
data: import("..").UNAccountData;
|
|
57
|
+
} | {
|
|
58
|
+
key: import("../messages/webMessages/activityMessage").ActivityMessage;
|
|
59
|
+
data: string;
|
|
60
|
+
} | {
|
|
61
|
+
key: import("../messages/webMessages/unitMessages").UnitMessage.UNIT_REQUEST_CLOSE_FLOW;
|
|
62
|
+
data: {
|
|
63
|
+
[x: string]: never;
|
|
64
|
+
[x: number]: never;
|
|
65
|
+
[x: symbol]: never;
|
|
66
|
+
};
|
|
67
|
+
} | {
|
|
68
|
+
key: import("../messages/nativeMessages/bottomSheetMessage").BottomSheetNativeMessage;
|
|
69
|
+
data: import("../types/internal/bottomSheet.types").WebComponentRendering;
|
|
70
|
+
} | {
|
|
71
|
+
key: import("../messages/webMessages/unitMessages").UnitMessage.UNIT_REQUEST_REFRESH;
|
|
72
|
+
data: import("../messages/webMessages/unitMessages").RequestRefreshEvent;
|
|
73
|
+
}) | undefined;
|
|
74
|
+
};
|
|
75
|
+
}, import("redux").AnyAction, undefined>]>;
|
|
76
|
+
export type RootState = ReturnType<typeof store.getState>;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import type { RESPONSE_KEYS } from '../../messages/webMessages/onLoadMessage';
|
|
2
2
|
import type { UNAuthorizationData } from './authorization.types';
|
|
3
3
|
import type { UNTransactionData } from './transactions.types';
|
|
4
|
+
export declare const enum UNActivityComponentPaginationType {
|
|
5
|
+
infiniteScroll = "infiniteScroll",
|
|
6
|
+
pagination = "pagination"
|
|
7
|
+
}
|
|
4
8
|
export type UNActivityOnLoadData = {
|
|
5
|
-
[RESPONSE_KEYS.
|
|
9
|
+
[RESPONSE_KEYS.authorizations]: UNAuthorizationData;
|
|
6
10
|
[RESPONSE_KEYS.transactions]: UNTransactionData;
|
|
7
11
|
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export type UNError = {
|
|
2
|
+
errors: UNErrorData[];
|
|
3
|
+
};
|
|
4
|
+
export type UNErrorData = {
|
|
5
|
+
status?: string;
|
|
6
|
+
title: string;
|
|
7
|
+
detail?: string;
|
|
8
|
+
details?: string;
|
|
9
|
+
meta?: UNErrorMeta;
|
|
10
|
+
code?: UNErrorCodes;
|
|
11
|
+
error?: Error;
|
|
12
|
+
};
|
|
13
|
+
interface UNErrorMeta {
|
|
14
|
+
meta: Record<string, string>;
|
|
15
|
+
}
|
|
16
|
+
export declare enum UNErrorCodes {
|
|
17
|
+
FEATURE_DISABLED = "feature_disabled",
|
|
18
|
+
INVALID_VALUE = "invalid_value",
|
|
19
|
+
LIMITS_EXCEEDED = "limits_exceeded",
|
|
20
|
+
NOT_FOUND = "not_found",
|
|
21
|
+
ACCOUNT_CUSTOMER_MISMATCH = "account_customer_mismatch",
|
|
22
|
+
NOT_SUPPORTED_FOR_ACCOUNT_STATUS = "not_supported_for_account_status",
|
|
23
|
+
NOT_SUPPORTED_FOR_ACCOUNT_TYPE = "not_supported_for_account_type",
|
|
24
|
+
NOT_SUPPORTED_FOR_CARD = "not_supported_for_card",
|
|
25
|
+
NOT_SUPPORTED_FOR_CARD_STATUS = "not_supported_for_card_status",
|
|
26
|
+
NOT_SUPPORTED_FOR_CARD_TYPE = "not_supported_for_card_type",
|
|
27
|
+
INVALID_NONCE = "invalid_nonce",
|
|
28
|
+
NOT_SUPPORTED_FOR_PAYMENT_TYPE = "not_supported_for_payment_type",
|
|
29
|
+
PAYMENT_INVALID = "payment_invalid",
|
|
30
|
+
UNAUTHORIZED = "unauthorized",
|
|
31
|
+
FORBIDDEN = "forbidden",
|
|
32
|
+
ALREADY_EXISTS = "already_exists",
|
|
33
|
+
CUSTOMER_NAME_UNDELIVERABLE = "customer_name_undeliverable",
|
|
34
|
+
CUSTOMER_ADDRESS_UNDELIVERABLE = "customer_address_undeliverable"
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare enum UNVersioningStrategyType {
|
|
2
|
+
exact = "exact",
|
|
3
|
+
upToNextMinor = "upToNextMinor",
|
|
4
|
+
upToNextMajor = "upToNextMajor"
|
|
5
|
+
}
|
|
6
|
+
type UNExactWebVersioningStrategy = {
|
|
7
|
+
type: UNVersioningStrategyType.exact;
|
|
8
|
+
major: number;
|
|
9
|
+
minor: number;
|
|
10
|
+
patch: number;
|
|
11
|
+
};
|
|
12
|
+
type UNUpToNextMinorWebVersioningStrategy = {
|
|
13
|
+
type: UNVersioningStrategyType.upToNextMinor;
|
|
14
|
+
major: number;
|
|
15
|
+
minor: number;
|
|
16
|
+
};
|
|
17
|
+
type UNUpToNextMajorWebVersioningStrategy = {
|
|
18
|
+
type: UNVersioningStrategyType.upToNextMajor;
|
|
19
|
+
major: number;
|
|
20
|
+
};
|
|
21
|
+
export type UNWebVersioningStrategy = UNExactWebVersioningStrategy | UNUpToNextMinorWebVersioningStrategy | UNUpToNextMajorWebVersioningStrategy;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const fetchUnitScript: () => Promise<null>;
|
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
import type { NativeModules } from 'react-native';
|
|
2
2
|
import { UnitUiManager } from './unitUiManager/unitUiManager';
|
|
3
3
|
import type { UNFonts } from '../types/shared/fonts.types';
|
|
4
|
+
import type { UNWebVersioningStrategy } from '../types/shared';
|
|
4
5
|
export declare enum UNEnvironment {
|
|
5
6
|
sandbox = "sandbox",
|
|
6
7
|
production = "production"
|
|
7
8
|
}
|
|
8
|
-
export declare const UNIT_SCRIPT_URL: {
|
|
9
|
-
sandbox: string;
|
|
10
|
-
production: string;
|
|
11
|
-
};
|
|
12
9
|
export declare class UnitSDK {
|
|
10
|
+
static ui: UnitUiManager;
|
|
13
11
|
protected static env?: UNEnvironment;
|
|
12
|
+
protected static webVersioningStrategy: UNWebVersioningStrategy;
|
|
14
13
|
protected static customerToken?: string;
|
|
15
|
-
protected static theme?: string;
|
|
16
|
-
protected static language?: string;
|
|
17
14
|
protected static fonts?: UNFonts;
|
|
18
15
|
protected static signedNonce?: string;
|
|
19
16
|
protected static pushProvisionModule?: typeof NativeModules;
|
|
20
|
-
static
|
|
21
|
-
static init: (env: UNEnvironment, theme?: string, language?: string, fonts?: UNFonts) => Promise<void>;
|
|
17
|
+
static init: (env: UNEnvironment, theme?: string, language?: string, fonts?: UNFonts, webVersioningStrategy?: UNWebVersioningStrategy) => Promise<void>;
|
|
22
18
|
static setPushProvisioningModule: (pushProvisionModule: typeof NativeModules) => void;
|
|
23
19
|
static getPushProvisionModule: () => import("react-native").NativeModulesStatic | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated - Unit SDK is managing the signedNonce, no need to provide it
|
|
22
|
+
*/
|
|
24
23
|
static setSignedNonce: (signedNonce: string) => void;
|
|
25
24
|
static getEnv: () => UNEnvironment | undefined;
|
|
26
|
-
static
|
|
27
|
-
static getLanguage: () => string | undefined;
|
|
25
|
+
static getWebVersioningStrategy: () => UNWebVersioningStrategy;
|
|
28
26
|
static getFonts: () => UNFonts | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated - Unit SDK is managing the signedNonce, no need to provide it
|
|
29
|
+
*/
|
|
29
30
|
static getSignedNonce: () => string | undefined;
|
|
30
31
|
static setCustomerToken: (customerToken: string) => void;
|
|
31
32
|
static getCustomerToken: () => string | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getSDKVersion: () => string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { UNWebVersioningStrategy } from '../types/shared';
|
|
2
|
+
export declare const getWebSdkVersionString: (webVersioningStrategy: UNWebVersioningStrategy) => string;
|
|
3
|
+
export declare const getVersionArray: (webVersioningStrategy: UNWebVersioningStrategy) => (number | null)[];
|
|
4
|
+
export declare const isBehindRecommendedStrategy: (currentWebVersioningStrategy: UNWebVersioningStrategy) => boolean;
|
|
5
|
+
export declare const warnClientIfNeeded: (currentWebVersioningStrategy: UNWebVersioningStrategy) => void;
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import type { RequestDownloadEvent } from '../messages/webMessages/unitMessages';
|
|
2
|
+
export declare const getInfoParams: () => Promise<{
|
|
3
|
+
[key: string]: string;
|
|
4
|
+
}>;
|
|
2
5
|
export declare const handleRequestDownload: (details: RequestDownloadEvent, onReadyToShare: () => void) => Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-unit-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"description": "Unit React Native components",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@react-native-community/eslint-config": "^3.0.2",
|
|
48
48
|
"@release-it/conventional-changelog": "^5.0.0",
|
|
49
49
|
"@types/jest": "^28.1.2",
|
|
50
|
-
"@types/react": "~
|
|
51
|
-
"@types/react-native": "0.
|
|
50
|
+
"@types/react": "~18.0.0",
|
|
51
|
+
"@types/react-native": "0.72.2",
|
|
52
52
|
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
|
53
53
|
"@typescript-eslint/parser": "^5.45.0",
|
|
54
54
|
"commitlint": "^17.0.2",
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
"react": "17.0.2",
|
|
64
64
|
"react-native": "0.68.2",
|
|
65
65
|
"react-native-builder-bob": "^0.18.3",
|
|
66
|
-
"react-native-webview": "
|
|
66
|
+
"react-native-webview": "^13.6.2",
|
|
67
67
|
"typescript": "^4.5.2"
|
|
68
68
|
},
|
|
69
69
|
"resolutions": {
|
|
70
|
-
"@types/react": "
|
|
70
|
+
"@types/react": "18.0.0"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"react": "*",
|
|
@@ -76,9 +76,11 @@
|
|
|
76
76
|
"react-native-webview": "*"
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
+
"@reduxjs/toolkit": "^1.9.5",
|
|
79
80
|
"axios": "^1.3.3",
|
|
80
81
|
"react-native-plaid-link-sdk": "^9.0.1",
|
|
81
|
-
"react-native-webview": "
|
|
82
|
+
"react-native-webview": "^13.6.2",
|
|
83
|
+
"react-redux": "^8.1.2"
|
|
82
84
|
},
|
|
83
85
|
"jest": {
|
|
84
86
|
"preset": "react-native",
|
|
@@ -11,8 +11,9 @@ import { RESPONSE_KEYS, UnitOnLoadResponseEvent } from '../../messages/webMessag
|
|
|
11
11
|
import { PlaidLinkTokenData, PlaidTokenCreatedEvent, RequestExternalSdkEvent, UnitMessage } from '../../messages/webMessages/unitMessages';
|
|
12
12
|
import { LinkSuccess, openLink } from 'react-native-plaid-link-sdk';
|
|
13
13
|
import type WebView from 'react-native-webview';
|
|
14
|
-
import
|
|
14
|
+
import * as AppInfo from '../../utils/AppInfo';
|
|
15
15
|
import { PresentationMode, WebComponentType } from '../../types/internal/webComponent.types';
|
|
16
|
+
import { withReduxStore } from '../../helpers/store/helpers';
|
|
16
17
|
|
|
17
18
|
export interface UNACHCreditComponentProps {
|
|
18
19
|
accountId: string;
|
|
@@ -24,9 +25,10 @@ export interface UNACHCreditComponentProps {
|
|
|
24
25
|
withPlaid?: boolean;
|
|
25
26
|
onPaymentCreated?: (data: UNACHData) => void;
|
|
26
27
|
onLoad?: (response: UNOnLoadResponse<UNACHOnLoadData>) => void;
|
|
28
|
+
sameDay?: boolean;
|
|
27
29
|
}
|
|
28
30
|
|
|
29
|
-
|
|
31
|
+
const UNACHCreditComponent = (props: UNACHCreditComponentProps) => {
|
|
30
32
|
const [height, setHeight] = useState<number>(0);
|
|
31
33
|
const [presentationMode, setPresentationMode] = useState<PresentationMode>(PresentationMode.Inherit);
|
|
32
34
|
const [linkToken, setLinkToken] = useState<string>();
|
|
@@ -36,7 +38,7 @@ export const UNACHCreditComponent = (props: UNACHCreditComponentProps) => {
|
|
|
36
38
|
useEffect(() => {
|
|
37
39
|
const setPackageNameForAndroid = async () => {
|
|
38
40
|
if (Platform.OS === 'android') {
|
|
39
|
-
const packageName = await
|
|
41
|
+
const packageName = await AppInfo.getAppIdentifier();
|
|
40
42
|
setAppPackageName(packageName);
|
|
41
43
|
}
|
|
42
44
|
};
|
|
@@ -139,3 +141,5 @@ export const UNACHCreditComponent = (props: UNACHCreditComponentProps) => {
|
|
|
139
141
|
</View>
|
|
140
142
|
);
|
|
141
143
|
};
|
|
144
|
+
|
|
145
|
+
export default withReduxStore<UNACHCreditComponentProps>(UNACHCreditComponent);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as UNACHCreditComponent, UNACHCreditComponentProps } from './UNACHCreditComponent';
|
|
@@ -12,8 +12,9 @@ import type WebView from 'react-native-webview';
|
|
|
12
12
|
import { PaymentMessage } from '../../messages/webMessages/paymentsMessage';
|
|
13
13
|
import type { ACHEvent } from '../../messages/webMessages/achCreditMessage';
|
|
14
14
|
import { RESPONSE_KEYS, UnitOnLoadResponseEvent } from '../../messages/webMessages/onLoadMessage';
|
|
15
|
-
import
|
|
15
|
+
import * as AppInfo from '../../utils/AppInfo';
|
|
16
16
|
import { PresentationMode, WebComponentType } from '../../types/internal/webComponent.types';
|
|
17
|
+
import { withReduxStore } from '../../helpers/store/helpers';
|
|
17
18
|
|
|
18
19
|
export interface UNACHDebitComponentProps {
|
|
19
20
|
accountId: string;
|
|
@@ -24,9 +25,10 @@ export interface UNACHDebitComponentProps {
|
|
|
24
25
|
fee?: number;
|
|
25
26
|
onPaymentCreated?: (data: UNACHData) => void;
|
|
26
27
|
onLoad?: (response: UNOnLoadResponse<UNACHOnLoadData>) => void;
|
|
28
|
+
sameDay?: boolean;
|
|
27
29
|
}
|
|
28
30
|
|
|
29
|
-
|
|
31
|
+
const UNACHDebitComponent = (props: UNACHDebitComponentProps) => {
|
|
30
32
|
const [height, setHeight] = useState<number>(0);
|
|
31
33
|
const [appPackageName, setAppPackageName] = useState<string>('');
|
|
32
34
|
const [linkToken, setLinkToken] = useState<string>('');
|
|
@@ -36,7 +38,7 @@ export const UNACHDebitComponent = (props: UNACHDebitComponentProps) => {
|
|
|
36
38
|
useEffect(() => {
|
|
37
39
|
const setPackageNameForAndroid = async () => {
|
|
38
40
|
if (Platform.OS === 'android') {
|
|
39
|
-
const packageName = await
|
|
41
|
+
const packageName = await AppInfo.getAppIdentifier();
|
|
40
42
|
setAppPackageName(packageName);
|
|
41
43
|
}
|
|
42
44
|
};
|
|
@@ -140,3 +142,5 @@ export const UNACHDebitComponent = (props: UNACHDebitComponentProps) => {
|
|
|
140
142
|
|
|
141
143
|
);
|
|
142
144
|
};
|
|
145
|
+
|
|
146
|
+
export default withReduxStore<UNACHDebitComponentProps>(UNACHDebitComponent);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as UNACHDebitComponent, UNACHDebitComponentProps } from './UNACHDebitComponent';
|