react-native-unit-components 1.14.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1267) hide show
  1. package/README.md +1 -1
  2. package/android/src/main/java/com/unitreactnativecomponents/UnitReactNativeComponentsPackage.kt +16 -15
  3. package/android/src/main/java/com/unitreactnativecomponents/extensions/ContextExtensions.kt +1 -3
  4. package/android/src/main/java/com/unitreactnativecomponents/{UnitAddToWalletButtonViewManager.kt → nativeComponents/UnitAddToWalletButtonViewManager.kt} +14 -8
  5. package/android/src/main/java/com/unitreactnativecomponents/{UnitReactNativeComponentsEvent.kt → nativeComponents/UnitReactNativeComponentsEvent.kt} +1 -1
  6. package/android/src/main/java/com/unitreactnativecomponents/{secureView/UNSecureViewManager.kt → nativeComponents/secureView/UNSecureNativeViewManager.kt} +10 -4
  7. package/android/src/main/java/com/unitreactnativecomponents/{visapresentation → nativeComponents/visapresentation}/UNGooglePayView.kt +5 -1
  8. package/android/src/main/java/com/unitreactnativecomponents/{appInfo → nativeModules/appInfo}/UNAppInfoModule.kt +2 -2
  9. package/android/src/main/java/com/unitreactnativecomponents/{security/UNSecurityHelper.kt → nativeModules/security/UNSecurityHelperModule.kt} +6 -4
  10. package/android/src/main/java/com/unitreactnativecomponents/{sharepdf/UNSharePDF.kt → nativeModules/sharefile/UNShareFile.kt} +3 -3
  11. package/android/src/main/java/com/unitreactnativecomponents/{unSnapshotProtectionManager/UNSnapshotProtectionManager.kt → nativeModules/unComponentsSnapshotProtectionModule/UNComponentsSnapshotProtectionModule.kt} +6 -6
  12. package/android/src/main/java/com/unitreactnativecomponents/{unStoreManager/UNStoreManager.kt → nativeModules/unStoreModule/UNStoreModule.kt} +6 -4
  13. package/ios/NativeComponents/UnitAddToWalletButton/UnitAddToWalletButtonNativeView.h +28 -0
  14. package/ios/NativeComponents/UnitAddToWalletButton/UnitAddToWalletButtonNativeView.mm +81 -0
  15. package/ios/{UnitReactNativeComponentsViewManager.m → NativeComponents/UnitReactNativeComponentsViewManager.m} +1 -1
  16. package/ios/{UnitReactNativeComponentsViewManager.swift → NativeComponents/UnitReactNativeComponentsViewManager.swift} +2 -2
  17. package/ios/{UNAppInfo → NativeModules/UNAppInfo}/UNAppInfoExportModule.m +1 -1
  18. package/ios/NativeModules/UNAppInfo/UNAppInfoModule.swift +49 -0
  19. package/ios/NativeModules/UNPermissionsModule/UNPermissionsExportModule.mm +7 -0
  20. package/ios/NativeModules/UNPermissionsModule/UNPermissionsModule.swift +25 -0
  21. package/ios/{UNSecurity → NativeModules/UNSecurity}/UNSecurityHelperExportModule.m +1 -1
  22. package/ios/{UNSecurity/UNSecurityHelper.swift → NativeModules/UNSecurity/UNSecurityHelperModule.swift} +24 -20
  23. package/ios/{UNSnapshotProtectionManager → NativeModules/UNSnapshotProtectionManager}/UNSnapshotProtectionManager.swift +3 -3
  24. package/ios/{UNSnapshotProtectionManager → NativeModules/UNSnapshotProtectionManager}/UNSnapshotProtectionManagerExportModule.m +1 -1
  25. package/ios/{UNStoreManager/UNStoreManagerExportModule.m → NativeModules/UNStoreModule/UNStoreExportModule.m} +1 -1
  26. package/ios/NativeModules/UNStoreModule/UNStoreModule.swift +31 -0
  27. package/ios/UNSharedServicesProvider/UNGlobalSnapshotProtectionService.swift +7 -4
  28. package/ios/UnitReactNativeComponents.xcodeproj/project.pbxproj +23 -45
  29. package/lib/commonjs/assets/images/index.js +1 -1
  30. package/lib/commonjs/assets/images/index.js.map +1 -1
  31. package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.js +9 -7
  32. package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.js.map +1 -1
  33. package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.utils.js +0 -1
  34. package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.utils.js.map +1 -1
  35. package/lib/commonjs/components/UNACHCreditComponent/index.js +1 -1
  36. package/lib/commonjs/components/UNACHCreditComponent/index.js.map +1 -1
  37. package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.js +9 -7
  38. package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.js.map +1 -1
  39. package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.utils.js +0 -1
  40. package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.utils.js.map +1 -1
  41. package/lib/commonjs/components/UNACHDebitComponent/index.js +1 -1
  42. package/lib/commonjs/components/UNACHDebitComponent/index.js.map +1 -1
  43. package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.js +9 -8
  44. package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.js.map +1 -1
  45. package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.utils.js +6 -1
  46. package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.utils.js.map +1 -1
  47. package/lib/commonjs/components/UNAccountComponent/index.js +1 -1
  48. package/lib/commonjs/components/UNAccountComponent/index.js.map +1 -1
  49. package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js +8 -7
  50. package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js.map +1 -1
  51. package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js +0 -1
  52. package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -1
  53. package/lib/commonjs/components/UNActivityComponent/index.js +1 -1
  54. package/lib/commonjs/components/UNActivityComponent/index.js.map +1 -1
  55. package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.js +6 -5
  56. package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.js.map +1 -1
  57. package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js +0 -1
  58. package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js.map +1 -1
  59. package/lib/commonjs/components/UNBookPaymentComponent/index.js +1 -1
  60. package/lib/commonjs/components/UNBookPaymentComponent/index.js.map +1 -1
  61. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js.map +1 -1
  62. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.js +11 -11
  63. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.js.map +1 -1
  64. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.js.map +1 -1
  65. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js +80 -27
  66. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -1
  67. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js +41 -21
  68. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js.map +1 -1
  69. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js.map +1 -1
  70. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js +18 -9
  71. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js.map +1 -1
  72. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js.map +1 -1
  73. package/lib/commonjs/components/UNBottomSheetComponent/components/index.js.map +1 -1
  74. package/lib/commonjs/components/UNBottomSheetComponent/index.js +1 -1
  75. package/lib/commonjs/components/UNBottomSheetComponent/index.js.map +1 -1
  76. package/lib/commonjs/components/UNCardActionComponent/UNCardActionComponent.js +72 -0
  77. package/lib/commonjs/components/UNCardActionComponent/UNCardActionComponent.js.map +1 -0
  78. package/lib/commonjs/components/UNCardActionComponent/UNCardActionComponent.utils.js +21 -0
  79. package/lib/commonjs/components/UNCardActionComponent/UNCardActionComponent.utils.js.map +1 -0
  80. package/lib/commonjs/components/{UNFundAccountPaymentComponent → UNCardActionComponent}/index.js +6 -6
  81. package/lib/commonjs/components/UNCardActionComponent/index.js.map +1 -0
  82. package/lib/commonjs/components/UNCardComponent/UNCardComponent.js +32 -12
  83. package/lib/commonjs/components/UNCardComponent/UNCardComponent.js.map +1 -1
  84. package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js +4 -2
  85. package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js.map +1 -1
  86. package/lib/commonjs/components/UNCardComponent/index.js +1 -1
  87. package/lib/commonjs/components/UNCardComponent/index.js.map +1 -1
  88. package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.js +8 -8
  89. package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.js.map +1 -1
  90. package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js +0 -1
  91. package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js.map +1 -1
  92. package/lib/commonjs/components/UNCheckDepositComponent/index.js +1 -1
  93. package/lib/commonjs/components/UNCheckDepositComponent/index.js.map +1 -1
  94. package/lib/commonjs/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.js +80 -0
  95. package/lib/commonjs/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.js.map +1 -0
  96. package/lib/commonjs/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.utils.js +31 -0
  97. package/lib/commonjs/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.utils.js.map +1 -0
  98. package/lib/commonjs/components/UNMultiFactorAuthenticationComponent/index.js +21 -0
  99. package/lib/commonjs/components/UNMultiFactorAuthenticationComponent/index.js.map +1 -0
  100. package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js +19 -4
  101. package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js.map +1 -1
  102. package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js +0 -1
  103. package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js.map +1 -1
  104. package/lib/commonjs/components/UNMultipleCardsComponent/index.js +1 -1
  105. package/lib/commonjs/components/UNMultipleCardsComponent/index.js.map +1 -1
  106. package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js +5 -4
  107. package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js.map +1 -1
  108. package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js +1 -2
  109. package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js.map +1 -1
  110. package/lib/commonjs/components/UNNextRepaymentComponent/index.js +1 -1
  111. package/lib/commonjs/components/UNNextRepaymentComponent/index.js.map +1 -1
  112. package/lib/commonjs/components/UNPayeeManagementComponent/UNPayeeManagementComponent.js +24 -6
  113. package/lib/commonjs/components/UNPayeeManagementComponent/UNPayeeManagementComponent.js.map +1 -1
  114. package/lib/commonjs/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.js +0 -1
  115. package/lib/commonjs/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.js.map +1 -1
  116. package/lib/commonjs/components/UNPayeeManagementComponent/index.js +1 -1
  117. package/lib/commonjs/components/UNPayeeManagementComponent/index.js.map +1 -1
  118. package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js +5 -4
  119. package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js.map +1 -1
  120. package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js +0 -1
  121. package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js.map +1 -1
  122. package/lib/commonjs/components/UNProgramDetailsComponent/index.js +1 -1
  123. package/lib/commonjs/components/UNProgramDetailsComponent/index.js.map +1 -1
  124. package/lib/commonjs/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.js +11 -9
  125. package/lib/commonjs/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.js.map +1 -1
  126. package/lib/commonjs/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.js.map +1 -1
  127. package/lib/commonjs/components/UNWhiteLabelAppComponent/index.js +1 -1
  128. package/lib/commonjs/components/UNWhiteLabelAppComponent/index.js.map +1 -1
  129. package/lib/commonjs/components/UNWirePaymentComponent/UNWirePaymentComponent.js +5 -4
  130. package/lib/commonjs/components/UNWirePaymentComponent/UNWirePaymentComponent.js.map +1 -1
  131. package/lib/commonjs/components/UNWirePaymentComponent/UNWirePaymentComponent.utils.js +0 -1
  132. package/lib/commonjs/components/UNWirePaymentComponent/UNWirePaymentComponent.utils.js.map +1 -1
  133. package/lib/commonjs/components/UNWirePaymentComponent/index.js +1 -1
  134. package/lib/commonjs/components/UNWirePaymentComponent/index.js.map +1 -1
  135. package/lib/commonjs/components/index.js +22 -11
  136. package/lib/commonjs/components/index.js.map +1 -1
  137. package/lib/commonjs/custom.d.js.map +1 -1
  138. package/lib/commonjs/flows/{UNFlows.js → UNComponentsFlows.js} +6 -6
  139. package/lib/commonjs/flows/UNComponentsFlows.js.map +1 -0
  140. package/lib/commonjs/flows/card/UNCardFlows.js.map +1 -1
  141. package/lib/commonjs/helpers/BottomSheet/BottomSheet.js +10 -27
  142. package/lib/commonjs/helpers/BottomSheet/BottomSheet.js.map +1 -1
  143. package/lib/commonjs/helpers/BottomSheet/BottomSheet.styles.js.map +1 -1
  144. package/lib/commonjs/helpers/UNKeyboardAvoidingView/UNKeyboardAvoidingView.js +26 -0
  145. package/lib/commonjs/helpers/UNKeyboardAvoidingView/UNKeyboardAvoidingView.js.map +1 -0
  146. package/lib/commonjs/helpers/pushProvisioningService/helpers.js.map +1 -1
  147. package/lib/commonjs/helpers/pushProvisioningService/hooks/useCardWallet.js +7 -7
  148. package/lib/commonjs/helpers/pushProvisioningService/hooks/useCardWallet.js.map +1 -1
  149. package/lib/commonjs/helpers/pushProvisioningService/hooks/useLaunchInitialize.js +2 -2
  150. package/lib/commonjs/helpers/pushProvisioningService/hooks/useLaunchInitialize.js.map +1 -1
  151. package/lib/commonjs/helpers/pushProvisioningService/startProvisioning.js +2 -2
  152. package/lib/commonjs/helpers/pushProvisioningService/startProvisioning.js.map +1 -1
  153. package/lib/commonjs/helpers/pushProvisioningService/types.js +7 -0
  154. package/lib/commonjs/helpers/pushProvisioningService/types.js.map +1 -1
  155. package/lib/commonjs/helpers/store/helpers.js +2 -2
  156. package/lib/commonjs/helpers/store/helpers.js.map +1 -1
  157. package/lib/commonjs/hooks/useAppStateListener.js +38 -6
  158. package/lib/commonjs/hooks/useAppStateListener.js.map +1 -1
  159. package/lib/commonjs/hooks/useIsJailbrokeDevice.js +1 -1
  160. package/lib/commonjs/hooks/useIsJailbrokeDevice.js.map +1 -1
  161. package/lib/commonjs/hooks/useListenerToEvent.js.map +1 -1
  162. package/lib/commonjs/hooks/useSnapshotProtection.js +4 -4
  163. package/lib/commonjs/hooks/useSnapshotProtection.js.map +1 -1
  164. package/lib/commonjs/index.js +4 -4
  165. package/lib/commonjs/index.js.map +1 -1
  166. package/lib/commonjs/messages/nativeMessages/bottomSheetMessage.js.map +1 -1
  167. package/lib/commonjs/messages/nativeMessages/cardMessage.js.map +1 -1
  168. package/lib/commonjs/messages/nativeMessages/index.js.map +1 -1
  169. package/lib/commonjs/messages/nativeMessages/sdkMessage.js.map +1 -1
  170. package/lib/commonjs/messages/webMessages/accountMessage.js.map +1 -1
  171. package/lib/commonjs/messages/webMessages/achCreditMessage.js.map +1 -1
  172. package/lib/commonjs/messages/webMessages/activityMessage.js.map +1 -1
  173. package/lib/commonjs/messages/webMessages/bookPaymentMessage.js.map +1 -1
  174. package/lib/commonjs/messages/webMessages/cardMessage.js.map +1 -1
  175. package/lib/commonjs/messages/webMessages/checkMessage.js +1 -0
  176. package/lib/commonjs/messages/webMessages/checkMessage.js.map +1 -1
  177. package/lib/commonjs/messages/webMessages/index.js.map +1 -1
  178. package/lib/commonjs/messages/webMessages/multiFactorAuthenticationMessage.js +11 -0
  179. package/lib/commonjs/messages/webMessages/multiFactorAuthenticationMessage.js.map +1 -0
  180. package/lib/commonjs/messages/webMessages/multipleCardsMessage.js.map +1 -1
  181. package/lib/commonjs/messages/webMessages/onLoadMessage.js +1 -1
  182. package/lib/commonjs/messages/webMessages/onLoadMessage.js.map +1 -1
  183. package/lib/commonjs/messages/webMessages/pageMessage.js.map +1 -1
  184. package/lib/commonjs/messages/webMessages/payeeManagementMessage.js.map +1 -1
  185. package/lib/commonjs/messages/webMessages/paymentsMessage.js.map +1 -1
  186. package/lib/commonjs/messages/webMessages/plaidMessages.js.map +1 -1
  187. package/lib/commonjs/messages/webMessages/unitComponentsMessages.js +26 -0
  188. package/lib/commonjs/messages/webMessages/unitComponentsMessages.js.map +1 -0
  189. package/lib/commonjs/{types/shared/fundAccountPayment.types.js → messages/webMessages/wirePaymentMessage.js} +1 -1
  190. package/lib/commonjs/messages/webMessages/wirePaymentMessage.js.map +1 -0
  191. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletBottomSheetItem.styles.js.map +1 -1
  192. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js +9 -8
  193. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js.map +1 -1
  194. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js.map +1 -1
  195. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js +1 -1
  196. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js.map +1 -1
  197. package/lib/commonjs/nativeComponents/UNAddToWallet/UnitAddToWalletButtonNativeComponent.js +10 -0
  198. package/lib/commonjs/nativeComponents/UNAddToWallet/UnitAddToWalletButtonNativeComponent.js.map +1 -0
  199. package/lib/commonjs/nativeComponents/UNBaseView/UNBaseView.js +18 -4
  200. package/lib/commonjs/nativeComponents/UNBaseView/UNBaseView.js.map +1 -1
  201. package/lib/commonjs/nativeComponents/UNBaseView/index.js +1 -1
  202. package/lib/commonjs/nativeComponents/UNBaseView/index.js.map +1 -1
  203. package/lib/commonjs/nativeComponents/UNSecureView/UNSecureViewNativeComponent.js +10 -0
  204. package/lib/commonjs/nativeComponents/UNSecureView/UNSecureViewNativeComponent.js.map +1 -0
  205. package/lib/commonjs/nativeModulesHelpers/RNShareFile/RNShareFile.js +20 -0
  206. package/lib/commonjs/nativeModulesHelpers/RNShareFile/RNShareFile.js.map +1 -0
  207. package/lib/commonjs/nativeModulesHelpers/UNPermissionsHelper/UNPermissionsHelper.js +20 -0
  208. package/lib/commonjs/nativeModulesHelpers/UNPermissionsHelper/UNPermissionsHelper.js.map +1 -0
  209. package/lib/commonjs/nativeModulesHelpers/UNSanpshotProtectionHelper/UNSnapshotProtectionHelper.js +3 -5
  210. package/lib/commonjs/nativeModulesHelpers/UNSanpshotProtectionHelper/UNSnapshotProtectionHelper.js.map +1 -1
  211. package/lib/commonjs/nativeModulesHelpers/UNSecurityHelper.js +1 -3
  212. package/lib/commonjs/nativeModulesHelpers/UNSecurityHelper.js.map +1 -1
  213. package/lib/commonjs/nativeModulesHelpers/UNStoreModuleHelper/UNStoreModuleHelper.js +9 -0
  214. package/lib/commonjs/nativeModulesHelpers/UNStoreModuleHelper/UNStoreModuleHelper.js.map +1 -0
  215. package/lib/commonjs/networking/common/UNNetworkConstants.js +3 -3
  216. package/lib/commonjs/networking/common/UNNetworkConstants.js.map +1 -1
  217. package/lib/commonjs/networking/requests/UNWalletPayloadRequest.js +4 -4
  218. package/lib/commonjs/networking/requests/UNWalletPayloadRequest.js.map +1 -1
  219. package/lib/commonjs/scripts/html/bodyHtml.js.map +1 -1
  220. package/lib/commonjs/scripts/html/bodyScript.js +59 -32
  221. package/lib/commonjs/scripts/html/bodyScript.js.map +1 -1
  222. package/lib/commonjs/scripts/html/fontFaces.js.map +1 -1
  223. package/lib/commonjs/slices/BottomSheetSlice.js.map +1 -1
  224. package/lib/commonjs/slices/ConfigurationSlice.js +7 -2
  225. package/lib/commonjs/slices/ConfigurationSlice.js.map +1 -1
  226. package/lib/commonjs/slices/SharedEventsSlice.js.map +1 -1
  227. package/lib/commonjs/slices/pushProvisioningSlice.js.map +1 -1
  228. package/lib/commonjs/store/index.js.map +1 -1
  229. package/lib/commonjs/store/store.js +1 -1
  230. package/lib/commonjs/store/store.js.map +1 -1
  231. package/lib/commonjs/styles/fonts.js +2 -2
  232. package/lib/commonjs/styles/fonts.js.map +1 -1
  233. package/lib/commonjs/styles/variables.js.map +1 -1
  234. package/lib/commonjs/types/internal/bottomSheet.types.js +15 -0
  235. package/lib/commonjs/types/internal/bottomSheet.types.js.map +1 -1
  236. package/lib/commonjs/types/internal/errorHelpers.js +8 -8
  237. package/lib/commonjs/types/internal/errorHelpers.js.map +1 -1
  238. package/lib/commonjs/types/internal/unitStore.types.js.map +1 -1
  239. package/lib/commonjs/types/internal/webComponent.types.js +7 -1
  240. package/lib/commonjs/types/internal/webComponent.types.js.map +1 -1
  241. package/lib/commonjs/types/shared/account.types.js +7 -1
  242. package/lib/commonjs/types/shared/account.types.js.map +1 -1
  243. package/lib/commonjs/types/shared/{achCredit.types.js → ach.types.js} +1 -1
  244. package/lib/commonjs/types/shared/{wirePayment.types.js.map → ach.types.js.map} +1 -1
  245. package/lib/commonjs/types/shared/activity.types.js +8 -1
  246. package/lib/commonjs/types/shared/activity.types.js.map +1 -1
  247. package/lib/commonjs/types/shared/authorization.types.js +4 -0
  248. package/lib/commonjs/types/shared/authorization.types.js.map +1 -1
  249. package/lib/commonjs/types/shared/card.types.js +21 -1
  250. package/lib/commonjs/types/shared/card.types.js.map +1 -1
  251. package/lib/commonjs/types/shared/checkDeposit.types.js +6 -1
  252. package/lib/commonjs/types/shared/checkDeposit.types.js.map +1 -1
  253. package/lib/commonjs/types/shared/counterparty.types.js +24 -0
  254. package/lib/commonjs/types/shared/counterparty.types.js.map +1 -0
  255. package/lib/commonjs/types/shared/customer.types.js +34 -0
  256. package/lib/commonjs/types/shared/customer.types.js.map +1 -0
  257. package/lib/commonjs/types/shared/env.types.js +6 -6
  258. package/lib/commonjs/types/shared/env.types.js.map +1 -1
  259. package/lib/commonjs/types/shared/error.types.js +22 -21
  260. package/lib/commonjs/types/shared/error.types.js.map +1 -1
  261. package/lib/commonjs/types/shared/fonts.types.js.map +1 -1
  262. package/lib/commonjs/types/shared/index.js +71 -27
  263. package/lib/commonjs/types/shared/index.js.map +1 -1
  264. package/lib/commonjs/types/shared/multiFactorAuthentication.types.js +2 -0
  265. package/lib/commonjs/types/shared/multiFactorAuthentication.types.js.map +1 -0
  266. package/lib/commonjs/types/shared/multipleCards.types.js.map +1 -1
  267. package/lib/commonjs/types/shared/onLoadResponse.types.js.map +1 -1
  268. package/lib/commonjs/types/shared/payeeManagement.types.js.map +1 -1
  269. package/lib/commonjs/types/shared/payment/achPayment.types.js +6 -0
  270. package/lib/commonjs/types/shared/payment/achPayment.types.js.map +1 -0
  271. package/lib/commonjs/types/shared/payment/billPayment.types.js +6 -0
  272. package/lib/commonjs/types/shared/payment/billPayment.types.js.map +1 -0
  273. package/lib/commonjs/types/shared/payment/bookPayment.types.js.map +1 -0
  274. package/lib/commonjs/types/shared/payment/index.js +61 -0
  275. package/lib/commonjs/types/shared/payment/index.js.map +1 -0
  276. package/lib/commonjs/types/shared/{payments.types.js → payment/payments.types.js} +8 -19
  277. package/lib/commonjs/types/shared/payment/payments.types.js.map +1 -0
  278. package/lib/commonjs/types/shared/payment/wirePayment.types.js.map +1 -0
  279. package/lib/commonjs/types/shared/repayment.types.js.map +1 -1
  280. package/lib/commonjs/types/shared/securitySettings.js +5 -5
  281. package/lib/commonjs/types/shared/securitySettings.js.map +1 -1
  282. package/lib/commonjs/types/shared/transaction/UNAccountLowBalanceClosureTransaction.js +6 -0
  283. package/lib/commonjs/types/shared/transaction/UNAccountLowBalanceClosureTransaction.js.map +1 -0
  284. package/lib/commonjs/types/shared/transaction/UNAdjustmentTransaction.js +6 -0
  285. package/lib/commonjs/types/shared/transaction/UNAdjustmentTransaction.js.map +1 -0
  286. package/lib/commonjs/types/shared/transaction/UNAtmTransaction.js +6 -0
  287. package/lib/commonjs/types/shared/transaction/UNAtmTransaction.js.map +1 -0
  288. package/lib/commonjs/types/shared/transaction/UNBankRepaymentTransaction.js +6 -0
  289. package/lib/commonjs/types/shared/transaction/UNBankRepaymentTransaction.js.map +1 -0
  290. package/lib/commonjs/types/shared/transaction/UNBillPayTransaction.js +6 -0
  291. package/lib/commonjs/types/shared/transaction/UNBillPayTransaction.js.map +1 -0
  292. package/lib/commonjs/types/shared/transaction/UNBookTransaction.js +6 -0
  293. package/lib/commonjs/types/shared/transaction/UNBookTransaction.js.map +1 -0
  294. package/lib/commonjs/{messages/webMessages/fundAccountPaymentMessage.js → types/shared/transaction/UNCardReversalTransaction.js} +1 -1
  295. package/lib/commonjs/types/shared/transaction/UNCardReversalTransaction.js.map +1 -0
  296. package/lib/commonjs/types/shared/transaction/UNCardTransaction.js +6 -0
  297. package/lib/commonjs/types/shared/transaction/UNCardTransaction.js.map +1 -0
  298. package/lib/commonjs/types/shared/transaction/UNCashDepositTransaction.js +6 -0
  299. package/lib/commonjs/types/shared/transaction/UNCashDepositTransaction.js.map +1 -0
  300. package/lib/commonjs/types/shared/transaction/UNChargebackTransaction.js +6 -0
  301. package/lib/commonjs/types/shared/transaction/UNChargebackTransaction.js.map +1 -0
  302. package/lib/commonjs/types/shared/transaction/UNCheckDepositTransaction.js +6 -0
  303. package/lib/commonjs/types/shared/transaction/UNCheckDepositTransaction.js.map +1 -0
  304. package/lib/commonjs/types/shared/transaction/UNCustomerRepaymentReturnedTransaction.js +6 -0
  305. package/lib/commonjs/types/shared/transaction/UNCustomerRepaymentReturnedTransaction.js.map +1 -0
  306. package/lib/commonjs/types/shared/transaction/UNCustomerRepaymentTransaction.js +6 -0
  307. package/lib/commonjs/types/shared/transaction/UNCustomerRepaymentTransaction.js.map +1 -0
  308. package/lib/commonjs/types/shared/transaction/UNDishonoredAchTransaction.js +6 -0
  309. package/lib/commonjs/types/shared/transaction/UNDishonoredAchTransaction.js.map +1 -0
  310. package/lib/commonjs/types/shared/transaction/UNDisputeSettlementTransaction.js +6 -0
  311. package/lib/commonjs/types/shared/transaction/UNDisputeSettlementTransaction.js.map +1 -0
  312. package/lib/commonjs/types/shared/transaction/UNDisputeTransaction.js +6 -0
  313. package/lib/commonjs/types/shared/transaction/UNDisputeTransaction.js.map +1 -0
  314. package/lib/commonjs/types/shared/transaction/UNFeeReversalTransaction.js +6 -0
  315. package/lib/commonjs/types/shared/transaction/UNFeeReversalTransaction.js.map +1 -0
  316. package/lib/commonjs/types/shared/transaction/UNFeeTransaction.js +6 -0
  317. package/lib/commonjs/types/shared/transaction/UNFeeTransaction.js.map +1 -0
  318. package/lib/commonjs/types/shared/transaction/UNInterchangeShareTransaction.js +6 -0
  319. package/lib/commonjs/types/shared/transaction/UNInterchangeShareTransaction.js.map +1 -0
  320. package/lib/commonjs/types/shared/transaction/UNInterestShareTransaction.js +6 -0
  321. package/lib/commonjs/types/shared/transaction/UNInterestShareTransaction.js.map +1 -0
  322. package/lib/commonjs/types/shared/transaction/UNInterestTransaction.js +6 -0
  323. package/lib/commonjs/types/shared/transaction/UNInterestTransaction.js.map +1 -0
  324. package/lib/commonjs/types/shared/transaction/UNNegativeBalanceCoverageTransaction.js +6 -0
  325. package/lib/commonjs/types/shared/transaction/UNNegativeBalanceCoverageTransaction.js.map +1 -0
  326. package/lib/commonjs/types/shared/transaction/UNOriginatedAchTransaction.js +6 -0
  327. package/lib/commonjs/types/shared/transaction/UNOriginatedAchTransaction.js.map +1 -0
  328. package/lib/commonjs/types/shared/transaction/UNPaymentAdvanceTransaction.js +6 -0
  329. package/lib/commonjs/types/shared/transaction/UNPaymentAdvanceTransaction.js.map +1 -0
  330. package/lib/commonjs/types/shared/transaction/UNPaymentCanceledTransaction.js +6 -0
  331. package/lib/commonjs/types/shared/transaction/UNPaymentCanceledTransaction.js.map +1 -0
  332. package/lib/commonjs/types/shared/transaction/UNPurchaseTransaction.js +6 -0
  333. package/lib/commonjs/types/shared/transaction/UNPurchaseTransaction.js.map +1 -0
  334. package/lib/commonjs/types/shared/transaction/UNReceivedAchTransaction.js +6 -0
  335. package/lib/commonjs/types/shared/transaction/UNReceivedAchTransaction.js.map +1 -0
  336. package/lib/commonjs/types/shared/transaction/UNReleaseTransaction.js +6 -0
  337. package/lib/commonjs/types/shared/transaction/UNReleaseTransaction.js.map +1 -0
  338. package/lib/commonjs/types/shared/transaction/UNRepaidPaymentAdvanceTransaction.js +6 -0
  339. package/lib/commonjs/types/shared/transaction/UNRepaidPaymentAdvanceTransaction.js.map +1 -0
  340. package/lib/commonjs/types/shared/transaction/UNReturnedAchTransaction.js +6 -0
  341. package/lib/commonjs/types/shared/transaction/UNReturnedAchTransaction.js.map +1 -0
  342. package/lib/commonjs/types/shared/transaction/UNReturnedCheckDepositTransaction.js +6 -0
  343. package/lib/commonjs/types/shared/transaction/UNReturnedCheckDepositTransaction.js.map +1 -0
  344. package/lib/commonjs/types/shared/transaction/UNReturnedReceivedAchTransaction.js +6 -0
  345. package/lib/commonjs/types/shared/transaction/UNReturnedReceivedAchTransaction.js.map +1 -0
  346. package/lib/commonjs/types/shared/transaction/UNRewardTransaction.js +6 -0
  347. package/lib/commonjs/types/shared/transaction/UNRewardTransaction.js.map +1 -0
  348. package/lib/commonjs/types/shared/transaction/UNSettlementTransaction.js +6 -0
  349. package/lib/commonjs/types/shared/transaction/UNSettlementTransaction.js.map +1 -0
  350. package/lib/commonjs/types/shared/transaction/UNSponsoredInterestTransaction.js +6 -0
  351. package/lib/commonjs/types/shared/transaction/UNSponsoredInterestTransaction.js.map +1 -0
  352. package/lib/commonjs/types/shared/transaction/UNWireTransaction.js +6 -0
  353. package/lib/commonjs/types/shared/transaction/UNWireTransaction.js.map +1 -0
  354. package/lib/commonjs/types/shared/transaction/index.js +413 -0
  355. package/lib/commonjs/types/shared/transaction/index.js.map +1 -0
  356. package/lib/commonjs/types/shared/transaction/transactions.types.js +84 -0
  357. package/lib/commonjs/types/shared/transaction/transactions.types.js.map +1 -0
  358. package/lib/commonjs/types/shared/types.js +1 -1
  359. package/lib/commonjs/types/shared/types.js.map +1 -1
  360. package/lib/commonjs/types/shared/versioning.types.js.map +1 -1
  361. package/lib/commonjs/types/shared/wallet.types.js.map +1 -1
  362. package/lib/commonjs/{unitSdkManager/UnitSdk.api.js → unitComponentsSdkManager/UnitComponentsSdk.api.js} +6 -6
  363. package/lib/commonjs/unitComponentsSdkManager/UnitComponentsSdk.api.js.map +1 -0
  364. package/lib/commonjs/{unitSdkManager/UnitSdk.constants.js → unitComponentsSdkManager/UnitComponentsSdk.constants.js} +6 -6
  365. package/lib/commonjs/unitComponentsSdkManager/UnitComponentsSdk.constants.js.map +1 -0
  366. package/lib/commonjs/{unitSdkManager/UnitSdkManager.js → unitComponentsSdkManager/UnitComponentsSdkManager.js} +24 -24
  367. package/lib/commonjs/unitComponentsSdkManager/UnitComponentsSdkManager.js.map +1 -0
  368. package/lib/commonjs/{unitSdkManager/UnitSdkManager.utils.internal.js → unitComponentsSdkManager/UnitComponentsSdkManager.utils.internal.js} +4 -4
  369. package/lib/commonjs/unitComponentsSdkManager/UnitComponentsSdkManager.utils.internal.js.map +1 -0
  370. package/lib/commonjs/{unitSdkManager/unitHelpersManager/UnitHelpersManager.js → unitComponentsSdkManager/unitComponentsHelpersManager/UnitComponentsHelpersManager.js} +4 -4
  371. package/lib/commonjs/unitComponentsSdkManager/unitComponentsHelpersManager/UnitComponentsHelpersManager.js.map +1 -0
  372. package/lib/commonjs/unitComponentsSdkManager/unitComponentsUiManager/unitComponentsUiManager.js +18 -0
  373. package/lib/commonjs/unitComponentsSdkManager/unitComponentsUiManager/unitComponentsUiManager.js.map +1 -0
  374. package/lib/commonjs/utils/AppInfo.js +2 -42
  375. package/lib/commonjs/utils/AppInfo.js.map +1 -1
  376. package/lib/commonjs/utils/onLoadMessages.utils.js.map +1 -1
  377. package/lib/commonjs/utils/webVersioningStrategy.utils.js +5 -5
  378. package/lib/commonjs/utils/webVersioningStrategy.utils.js.map +1 -1
  379. package/lib/commonjs/utils/windowUnitStore.js.map +1 -1
  380. package/lib/commonjs/webComponent/WebComponent.js +41 -31
  381. package/lib/commonjs/webComponent/WebComponent.js.map +1 -1
  382. package/lib/commonjs/webComponent/WebComponent.utils.js +14 -14
  383. package/lib/commonjs/webComponent/WebComponent.utils.js.map +1 -1
  384. package/lib/commonjs/webComponent/html.js +4 -0
  385. package/lib/commonjs/webComponent/html.js.map +1 -1
  386. package/lib/module/assets/images/index.js.map +1 -1
  387. package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.js +6 -5
  388. package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.js.map +1 -1
  389. package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.utils.js +0 -1
  390. package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.utils.js.map +1 -1
  391. package/lib/module/components/UNACHCreditComponent/index.js.map +1 -1
  392. package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.js +6 -5
  393. package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.js.map +1 -1
  394. package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.utils.js +0 -1
  395. package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.utils.js.map +1 -1
  396. package/lib/module/components/UNACHDebitComponent/index.js.map +1 -1
  397. package/lib/module/components/UNAccountComponent/UNAccountComponent.js +7 -6
  398. package/lib/module/components/UNAccountComponent/UNAccountComponent.js.map +1 -1
  399. package/lib/module/components/UNAccountComponent/UNAccountComponent.utils.js +6 -1
  400. package/lib/module/components/UNAccountComponent/UNAccountComponent.utils.js.map +1 -1
  401. package/lib/module/components/UNAccountComponent/index.js.map +1 -1
  402. package/lib/module/components/UNActivityComponent/UNActivityComponent.js +6 -5
  403. package/lib/module/components/UNActivityComponent/UNActivityComponent.js.map +1 -1
  404. package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js +0 -1
  405. package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -1
  406. package/lib/module/components/UNActivityComponent/index.js.map +1 -1
  407. package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.js +5 -4
  408. package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.js.map +1 -1
  409. package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js +0 -1
  410. package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js.map +1 -1
  411. package/lib/module/components/UNBookPaymentComponent/index.js.map +1 -1
  412. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js.map +1 -1
  413. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.js +9 -9
  414. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.js.map +1 -1
  415. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.js.map +1 -1
  416. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js +80 -27
  417. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -1
  418. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js +39 -19
  419. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js.map +1 -1
  420. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js.map +1 -1
  421. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js +16 -8
  422. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js.map +1 -1
  423. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js.map +1 -1
  424. package/lib/module/components/UNBottomSheetComponent/components/index.js.map +1 -1
  425. package/lib/module/components/UNBottomSheetComponent/index.js.map +1 -1
  426. package/lib/module/components/UNCardActionComponent/UNCardActionComponent.js +64 -0
  427. package/lib/module/components/UNCardActionComponent/UNCardActionComponent.js.map +1 -0
  428. package/lib/module/components/UNCardActionComponent/UNCardActionComponent.utils.js +13 -0
  429. package/lib/module/components/UNCardActionComponent/UNCardActionComponent.utils.js.map +1 -0
  430. package/lib/module/components/UNCardActionComponent/index.js +2 -0
  431. package/lib/module/components/UNCardActionComponent/index.js.map +1 -0
  432. package/lib/module/components/UNCardComponent/UNCardComponent.js +31 -11
  433. package/lib/module/components/UNCardComponent/UNCardComponent.js.map +1 -1
  434. package/lib/module/components/UNCardComponent/UNCardComponent.utils.js +4 -2
  435. package/lib/module/components/UNCardComponent/UNCardComponent.utils.js.map +1 -1
  436. package/lib/module/components/UNCardComponent/index.js.map +1 -1
  437. package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.js +7 -8
  438. package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.js.map +1 -1
  439. package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js +0 -1
  440. package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js.map +1 -1
  441. package/lib/module/components/UNCheckDepositComponent/index.js.map +1 -1
  442. package/lib/module/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.js +72 -0
  443. package/lib/module/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.js.map +1 -0
  444. package/lib/module/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.utils.js +23 -0
  445. package/lib/module/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.utils.js.map +1 -0
  446. package/lib/module/components/UNMultiFactorAuthenticationComponent/index.js +2 -0
  447. package/lib/module/components/UNMultiFactorAuthenticationComponent/index.js.map +1 -0
  448. package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js +18 -3
  449. package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js.map +1 -1
  450. package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js +0 -1
  451. package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js.map +1 -1
  452. package/lib/module/components/UNMultipleCardsComponent/index.js.map +1 -1
  453. package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js +4 -3
  454. package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js.map +1 -1
  455. package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js +1 -2
  456. package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js.map +1 -1
  457. package/lib/module/components/UNNextRepaymentComponent/index.js.map +1 -1
  458. package/lib/module/components/UNPayeeManagementComponent/UNPayeeManagementComponent.js +23 -5
  459. package/lib/module/components/UNPayeeManagementComponent/UNPayeeManagementComponent.js.map +1 -1
  460. package/lib/module/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.js +0 -1
  461. package/lib/module/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.js.map +1 -1
  462. package/lib/module/components/UNPayeeManagementComponent/index.js.map +1 -1
  463. package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js +4 -3
  464. package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js.map +1 -1
  465. package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js +0 -1
  466. package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js.map +1 -1
  467. package/lib/module/components/UNProgramDetailsComponent/index.js.map +1 -1
  468. package/lib/module/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.js +7 -5
  469. package/lib/module/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.js.map +1 -1
  470. package/lib/module/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.js.map +1 -1
  471. package/lib/module/components/UNWhiteLabelAppComponent/index.js.map +1 -1
  472. package/lib/module/components/UNWirePaymentComponent/UNWirePaymentComponent.js +4 -3
  473. package/lib/module/components/UNWirePaymentComponent/UNWirePaymentComponent.js.map +1 -1
  474. package/lib/module/components/UNWirePaymentComponent/UNWirePaymentComponent.utils.js +0 -1
  475. package/lib/module/components/UNWirePaymentComponent/UNWirePaymentComponent.utils.js.map +1 -1
  476. package/lib/module/components/UNWirePaymentComponent/index.js.map +1 -1
  477. package/lib/module/components/index.js +2 -1
  478. package/lib/module/components/index.js.map +1 -1
  479. package/lib/module/custom.d.js.map +1 -1
  480. package/lib/module/flows/{UNFlows.js → UNComponentsFlows.js} +4 -4
  481. package/lib/module/flows/UNComponentsFlows.js.map +1 -0
  482. package/lib/module/flows/card/UNCardFlows.js.map +1 -1
  483. package/lib/module/helpers/BottomSheet/BottomSheet.js +10 -26
  484. package/lib/module/helpers/BottomSheet/BottomSheet.js.map +1 -1
  485. package/lib/module/helpers/BottomSheet/BottomSheet.styles.js.map +1 -1
  486. package/lib/module/helpers/UNKeyboardAvoidingView/UNKeyboardAvoidingView.js +19 -0
  487. package/lib/module/helpers/UNKeyboardAvoidingView/UNKeyboardAvoidingView.js.map +1 -0
  488. package/lib/module/helpers/pushProvisioningService/helpers.js.map +1 -1
  489. package/lib/module/helpers/pushProvisioningService/hooks/useCardWallet.js +9 -9
  490. package/lib/module/helpers/pushProvisioningService/hooks/useCardWallet.js.map +1 -1
  491. package/lib/module/helpers/pushProvisioningService/hooks/useLaunchInitialize.js +2 -2
  492. package/lib/module/helpers/pushProvisioningService/hooks/useLaunchInitialize.js.map +1 -1
  493. package/lib/module/helpers/pushProvisioningService/startProvisioning.js +2 -2
  494. package/lib/module/helpers/pushProvisioningService/startProvisioning.js.map +1 -1
  495. package/lib/module/helpers/pushProvisioningService/types.js +7 -0
  496. package/lib/module/helpers/pushProvisioningService/types.js.map +1 -1
  497. package/lib/module/helpers/store/helpers.js +1 -1
  498. package/lib/module/helpers/store/helpers.js.map +1 -1
  499. package/lib/module/hooks/useAppStateListener.js +36 -4
  500. package/lib/module/hooks/useAppStateListener.js.map +1 -1
  501. package/lib/module/hooks/useIsJailbrokeDevice.js.map +1 -1
  502. package/lib/module/hooks/useListenerToEvent.js.map +1 -1
  503. package/lib/module/hooks/useSnapshotProtection.js +4 -4
  504. package/lib/module/hooks/useSnapshotProtection.js.map +1 -1
  505. package/lib/module/index.js +1 -1
  506. package/lib/module/index.js.map +1 -1
  507. package/lib/module/messages/nativeMessages/bottomSheetMessage.js.map +1 -1
  508. package/lib/module/messages/nativeMessages/cardMessage.js.map +1 -1
  509. package/lib/module/messages/nativeMessages/index.js.map +1 -1
  510. package/lib/module/messages/nativeMessages/sdkMessage.js.map +1 -1
  511. package/lib/module/messages/webMessages/accountMessage.js.map +1 -1
  512. package/lib/module/messages/webMessages/achCreditMessage.js.map +1 -1
  513. package/lib/module/messages/webMessages/activityMessage.js.map +1 -1
  514. package/lib/module/messages/webMessages/bookPaymentMessage.js.map +1 -1
  515. package/lib/module/messages/webMessages/cardMessage.js.map +1 -1
  516. package/lib/module/messages/webMessages/checkMessage.js +1 -0
  517. package/lib/module/messages/webMessages/checkMessage.js.map +1 -1
  518. package/lib/module/messages/webMessages/index.js.map +1 -1
  519. package/lib/module/messages/webMessages/multiFactorAuthenticationMessage.js +5 -0
  520. package/lib/module/messages/webMessages/multiFactorAuthenticationMessage.js.map +1 -0
  521. package/lib/module/messages/webMessages/multipleCardsMessage.js.map +1 -1
  522. package/lib/module/messages/webMessages/onLoadMessage.js +1 -1
  523. package/lib/module/messages/webMessages/onLoadMessage.js.map +1 -1
  524. package/lib/module/messages/webMessages/pageMessage.js.map +1 -1
  525. package/lib/module/messages/webMessages/payeeManagementMessage.js.map +1 -1
  526. package/lib/module/messages/webMessages/paymentsMessage.js.map +1 -1
  527. package/lib/module/messages/webMessages/plaidMessages.js.map +1 -1
  528. package/lib/module/messages/webMessages/unitComponentsMessages.js +20 -0
  529. package/lib/module/messages/webMessages/unitComponentsMessages.js.map +1 -0
  530. package/lib/module/messages/webMessages/wirePaymentMessage.js +2 -0
  531. package/lib/module/messages/webMessages/wirePaymentMessage.js.map +1 -0
  532. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletBottomSheetItem.styles.js.map +1 -1
  533. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js +6 -5
  534. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js.map +1 -1
  535. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js.map +1 -1
  536. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js.map +1 -1
  537. package/lib/module/nativeComponents/UNAddToWallet/UnitAddToWalletButtonNativeComponent.js +3 -0
  538. package/lib/module/nativeComponents/UNAddToWallet/UnitAddToWalletButtonNativeComponent.js.map +1 -0
  539. package/lib/module/nativeComponents/UNBaseView/UNBaseView.js +16 -3
  540. package/lib/module/nativeComponents/UNBaseView/UNBaseView.js.map +1 -1
  541. package/lib/module/nativeComponents/UNBaseView/index.js.map +1 -1
  542. package/lib/module/nativeComponents/UNSecureView/UNSecureViewNativeComponent.js +3 -0
  543. package/lib/module/nativeComponents/UNSecureView/UNSecureViewNativeComponent.js.map +1 -0
  544. package/lib/module/nativeModulesHelpers/RNShareFile/RNShareFile.js +14 -0
  545. package/lib/module/nativeModulesHelpers/RNShareFile/RNShareFile.js.map +1 -0
  546. package/lib/module/nativeModulesHelpers/UNPermissionsHelper/UNPermissionsHelper.js +14 -0
  547. package/lib/module/nativeModulesHelpers/UNPermissionsHelper/UNPermissionsHelper.js.map +1 -0
  548. package/lib/module/nativeModulesHelpers/UNSanpshotProtectionHelper/UNSnapshotProtectionHelper.js +4 -6
  549. package/lib/module/nativeModulesHelpers/UNSanpshotProtectionHelper/UNSnapshotProtectionHelper.js.map +1 -1
  550. package/lib/module/nativeModulesHelpers/UNSecurityHelper.js +2 -4
  551. package/lib/module/nativeModulesHelpers/UNSecurityHelper.js.map +1 -1
  552. package/lib/module/nativeModulesHelpers/UNStoreModuleHelper/UNStoreModuleHelper.js +3 -0
  553. package/lib/module/nativeModulesHelpers/UNStoreModuleHelper/UNStoreModuleHelper.js.map +1 -0
  554. package/lib/module/networking/common/UNNetworkConstants.js +4 -4
  555. package/lib/module/networking/common/UNNetworkConstants.js.map +1 -1
  556. package/lib/module/networking/requests/UNWalletPayloadRequest.js +3 -3
  557. package/lib/module/networking/requests/UNWalletPayloadRequest.js.map +1 -1
  558. package/lib/module/scripts/html/bodyHtml.js.map +1 -1
  559. package/lib/module/scripts/html/bodyScript.js +58 -31
  560. package/lib/module/scripts/html/bodyScript.js.map +1 -1
  561. package/lib/module/scripts/html/fontFaces.js.map +1 -1
  562. package/lib/module/slices/BottomSheetSlice.js.map +1 -1
  563. package/lib/module/slices/ConfigurationSlice.js +5 -1
  564. package/lib/module/slices/ConfigurationSlice.js.map +1 -1
  565. package/lib/module/slices/SharedEventsSlice.js.map +1 -1
  566. package/lib/module/slices/pushProvisioningSlice.js.map +1 -1
  567. package/lib/module/store/index.js.map +1 -1
  568. package/lib/module/store/store.js.map +1 -1
  569. package/lib/module/styles/fonts.js +2 -2
  570. package/lib/module/styles/fonts.js.map +1 -1
  571. package/lib/module/styles/variables.js.map +1 -1
  572. package/lib/module/types/internal/bottomSheet.types.js +15 -0
  573. package/lib/module/types/internal/bottomSheet.types.js.map +1 -1
  574. package/lib/module/types/internal/errorHelpers.js +5 -5
  575. package/lib/module/types/internal/errorHelpers.js.map +1 -1
  576. package/lib/module/types/internal/unitStore.types.js.map +1 -1
  577. package/lib/module/types/internal/webComponent.types.js +7 -1
  578. package/lib/module/types/internal/webComponent.types.js.map +1 -1
  579. package/lib/module/types/shared/account.types.js +6 -0
  580. package/lib/module/types/shared/account.types.js.map +1 -1
  581. package/lib/module/types/shared/ach.types.js +2 -0
  582. package/lib/{commonjs/types/shared/achCredit.types.js.map → module/types/shared/ach.types.js.map} +1 -1
  583. package/lib/module/types/shared/activity.types.js +7 -0
  584. package/lib/module/types/shared/activity.types.js.map +1 -1
  585. package/lib/module/types/shared/authorization.types.js +1 -1
  586. package/lib/module/types/shared/authorization.types.js.map +1 -1
  587. package/lib/module/types/shared/card.types.js +20 -0
  588. package/lib/module/types/shared/card.types.js.map +1 -1
  589. package/lib/module/types/shared/checkDeposit.types.js +5 -0
  590. package/lib/module/types/shared/checkDeposit.types.js.map +1 -1
  591. package/lib/module/types/shared/counterparty.types.js +18 -0
  592. package/lib/module/types/shared/counterparty.types.js.map +1 -0
  593. package/lib/module/types/shared/customer.types.js +28 -0
  594. package/lib/module/types/shared/customer.types.js.map +1 -0
  595. package/lib/module/types/shared/env.types.js +5 -5
  596. package/lib/module/types/shared/env.types.js.map +1 -1
  597. package/lib/module/types/shared/error.types.js +21 -20
  598. package/lib/module/types/shared/error.types.js.map +1 -1
  599. package/lib/module/types/shared/fonts.types.js.map +1 -1
  600. package/lib/module/types/shared/index.js +8 -4
  601. package/lib/module/types/shared/index.js.map +1 -1
  602. package/lib/module/types/shared/multiFactorAuthentication.types.js +2 -0
  603. package/lib/module/types/shared/multiFactorAuthentication.types.js.map +1 -0
  604. package/lib/module/types/shared/multipleCards.types.js.map +1 -1
  605. package/lib/module/types/shared/onLoadResponse.types.js.map +1 -1
  606. package/lib/module/types/shared/payeeManagement.types.js.map +1 -1
  607. package/lib/module/types/shared/payment/achPayment.types.js +2 -0
  608. package/lib/module/types/shared/payment/achPayment.types.js.map +1 -0
  609. package/lib/module/types/shared/payment/billPayment.types.js +2 -0
  610. package/lib/module/types/shared/payment/billPayment.types.js.map +1 -0
  611. package/lib/module/types/shared/payment/bookPayment.types.js.map +1 -0
  612. package/lib/module/types/shared/payment/index.js +6 -0
  613. package/lib/module/types/shared/payment/index.js.map +1 -0
  614. package/lib/module/types/shared/{payments.types.js → payment/payments.types.js} +6 -18
  615. package/lib/module/types/shared/payment/payments.types.js.map +1 -0
  616. package/lib/module/types/shared/payment/wirePayment.types.js.map +1 -0
  617. package/lib/module/types/shared/repayment.types.js.map +1 -1
  618. package/lib/module/types/shared/securitySettings.js +4 -4
  619. package/lib/module/types/shared/securitySettings.js.map +1 -1
  620. package/lib/module/types/shared/transaction/UNAccountLowBalanceClosureTransaction.js +2 -0
  621. package/lib/module/types/shared/transaction/UNAccountLowBalanceClosureTransaction.js.map +1 -0
  622. package/lib/module/types/shared/transaction/UNAdjustmentTransaction.js +2 -0
  623. package/lib/module/types/shared/transaction/UNAdjustmentTransaction.js.map +1 -0
  624. package/lib/module/types/shared/transaction/UNAtmTransaction.js +2 -0
  625. package/lib/module/types/shared/transaction/UNAtmTransaction.js.map +1 -0
  626. package/lib/module/types/shared/transaction/UNBankRepaymentTransaction.js +2 -0
  627. package/lib/module/types/shared/transaction/UNBankRepaymentTransaction.js.map +1 -0
  628. package/lib/module/types/shared/transaction/UNBillPayTransaction.js +2 -0
  629. package/lib/module/types/shared/transaction/UNBillPayTransaction.js.map +1 -0
  630. package/lib/module/types/shared/transaction/UNBookTransaction.js +2 -0
  631. package/lib/module/types/shared/transaction/UNBookTransaction.js.map +1 -0
  632. package/lib/module/types/shared/transaction/UNCardReversalTransaction.js +2 -0
  633. package/lib/module/types/shared/transaction/UNCardReversalTransaction.js.map +1 -0
  634. package/lib/module/types/shared/transaction/UNCardTransaction.js +2 -0
  635. package/lib/module/types/shared/transaction/UNCardTransaction.js.map +1 -0
  636. package/lib/module/types/shared/transaction/UNCashDepositTransaction.js +2 -0
  637. package/lib/module/types/shared/transaction/UNCashDepositTransaction.js.map +1 -0
  638. package/lib/module/types/shared/transaction/UNChargebackTransaction.js +2 -0
  639. package/lib/module/types/shared/transaction/UNChargebackTransaction.js.map +1 -0
  640. package/lib/module/types/shared/transaction/UNCheckDepositTransaction.js +2 -0
  641. package/lib/module/types/shared/transaction/UNCheckDepositTransaction.js.map +1 -0
  642. package/lib/module/types/shared/transaction/UNCustomerRepaymentReturnedTransaction.js +2 -0
  643. package/lib/module/types/shared/transaction/UNCustomerRepaymentReturnedTransaction.js.map +1 -0
  644. package/lib/module/types/shared/transaction/UNCustomerRepaymentTransaction.js +2 -0
  645. package/lib/module/types/shared/transaction/UNCustomerRepaymentTransaction.js.map +1 -0
  646. package/lib/module/types/shared/transaction/UNDishonoredAchTransaction.js +2 -0
  647. package/lib/module/types/shared/transaction/UNDishonoredAchTransaction.js.map +1 -0
  648. package/lib/module/types/shared/transaction/UNDisputeSettlementTransaction.js +2 -0
  649. package/lib/module/types/shared/transaction/UNDisputeSettlementTransaction.js.map +1 -0
  650. package/lib/module/types/shared/transaction/UNDisputeTransaction.js +2 -0
  651. package/lib/module/types/shared/transaction/UNDisputeTransaction.js.map +1 -0
  652. package/lib/module/types/shared/transaction/UNFeeReversalTransaction.js +2 -0
  653. package/lib/module/types/shared/transaction/UNFeeReversalTransaction.js.map +1 -0
  654. package/lib/module/types/shared/transaction/UNFeeTransaction.js +2 -0
  655. package/lib/module/types/shared/transaction/UNFeeTransaction.js.map +1 -0
  656. package/lib/module/types/shared/transaction/UNInterchangeShareTransaction.js +2 -0
  657. package/lib/module/types/shared/transaction/UNInterchangeShareTransaction.js.map +1 -0
  658. package/lib/module/types/shared/transaction/UNInterestShareTransaction.js +2 -0
  659. package/lib/module/types/shared/transaction/UNInterestShareTransaction.js.map +1 -0
  660. package/lib/module/types/shared/transaction/UNInterestTransaction.js +2 -0
  661. package/lib/module/types/shared/transaction/UNInterestTransaction.js.map +1 -0
  662. package/lib/module/types/shared/transaction/UNNegativeBalanceCoverageTransaction.js +2 -0
  663. package/lib/module/types/shared/transaction/UNNegativeBalanceCoverageTransaction.js.map +1 -0
  664. package/lib/module/types/shared/transaction/UNOriginatedAchTransaction.js +2 -0
  665. package/lib/module/types/shared/transaction/UNOriginatedAchTransaction.js.map +1 -0
  666. package/lib/module/types/shared/transaction/UNPaymentAdvanceTransaction.js +2 -0
  667. package/lib/module/types/shared/transaction/UNPaymentAdvanceTransaction.js.map +1 -0
  668. package/lib/module/types/shared/transaction/UNPaymentCanceledTransaction.js +2 -0
  669. package/lib/module/types/shared/transaction/UNPaymentCanceledTransaction.js.map +1 -0
  670. package/lib/module/types/shared/transaction/UNPurchaseTransaction.js +2 -0
  671. package/lib/module/types/shared/transaction/UNPurchaseTransaction.js.map +1 -0
  672. package/lib/module/types/shared/transaction/UNReceivedAchTransaction.js +2 -0
  673. package/lib/module/types/shared/transaction/UNReceivedAchTransaction.js.map +1 -0
  674. package/lib/module/types/shared/transaction/UNReleaseTransaction.js +2 -0
  675. package/lib/module/types/shared/transaction/UNReleaseTransaction.js.map +1 -0
  676. package/lib/module/types/shared/transaction/UNRepaidPaymentAdvanceTransaction.js +2 -0
  677. package/lib/module/types/shared/transaction/UNRepaidPaymentAdvanceTransaction.js.map +1 -0
  678. package/lib/module/types/shared/transaction/UNReturnedAchTransaction.js +2 -0
  679. package/lib/module/types/shared/transaction/UNReturnedAchTransaction.js.map +1 -0
  680. package/lib/module/types/shared/transaction/UNReturnedCheckDepositTransaction.js +2 -0
  681. package/lib/module/types/shared/transaction/UNReturnedCheckDepositTransaction.js.map +1 -0
  682. package/lib/module/types/shared/transaction/UNReturnedReceivedAchTransaction.js +2 -0
  683. package/lib/module/types/shared/transaction/UNReturnedReceivedAchTransaction.js.map +1 -0
  684. package/lib/module/types/shared/transaction/UNRewardTransaction.js +2 -0
  685. package/lib/module/types/shared/transaction/UNRewardTransaction.js.map +1 -0
  686. package/lib/module/types/shared/transaction/UNSettlementTransaction.js +2 -0
  687. package/lib/module/types/shared/transaction/UNSettlementTransaction.js.map +1 -0
  688. package/lib/module/types/shared/transaction/UNSponsoredInterestTransaction.js +2 -0
  689. package/lib/module/types/shared/transaction/UNSponsoredInterestTransaction.js.map +1 -0
  690. package/lib/module/types/shared/transaction/UNWireTransaction.js +2 -0
  691. package/lib/module/types/shared/transaction/UNWireTransaction.js.map +1 -0
  692. package/lib/module/types/shared/transaction/index.js +38 -0
  693. package/lib/module/types/shared/transaction/index.js.map +1 -0
  694. package/lib/module/types/shared/transaction/transactions.types.js +78 -0
  695. package/lib/module/types/shared/transaction/transactions.types.js.map +1 -0
  696. package/lib/module/types/shared/types.js +0 -2
  697. package/lib/module/types/shared/types.js.map +1 -1
  698. package/lib/module/types/shared/versioning.types.js.map +1 -1
  699. package/lib/module/types/shared/wallet.types.js.map +1 -1
  700. package/lib/module/{unitSdkManager/UnitSdk.api.js → unitComponentsSdkManager/UnitComponentsSdk.api.js} +5 -5
  701. package/lib/module/unitComponentsSdkManager/UnitComponentsSdk.api.js.map +1 -0
  702. package/lib/module/{unitSdkManager/UnitSdk.constants.js → unitComponentsSdkManager/UnitComponentsSdk.constants.js} +6 -6
  703. package/lib/module/unitComponentsSdkManager/UnitComponentsSdk.constants.js.map +1 -0
  704. package/lib/module/{unitSdkManager/UnitSdkManager.js → unitComponentsSdkManager/UnitComponentsSdkManager.js} +20 -20
  705. package/lib/module/unitComponentsSdkManager/UnitComponentsSdkManager.js.map +1 -0
  706. package/lib/module/{unitSdkManager/UnitSdkManager.utils.internal.js → unitComponentsSdkManager/UnitComponentsSdkManager.utils.internal.js} +5 -5
  707. package/lib/module/unitComponentsSdkManager/UnitComponentsSdkManager.utils.internal.js.map +1 -0
  708. package/lib/module/{unitSdkManager/unitHelpersManager/UnitHelpersManager.js → unitComponentsSdkManager/unitComponentsHelpersManager/UnitComponentsHelpersManager.js} +2 -2
  709. package/lib/module/unitComponentsSdkManager/unitComponentsHelpersManager/UnitComponentsHelpersManager.js.map +1 -0
  710. package/lib/module/unitComponentsSdkManager/unitComponentsUiManager/unitComponentsUiManager.js +11 -0
  711. package/lib/module/unitComponentsSdkManager/unitComponentsUiManager/unitComponentsUiManager.js.map +1 -0
  712. package/lib/module/utils/AppInfo.js +2 -38
  713. package/lib/module/utils/AppInfo.js.map +1 -1
  714. package/lib/module/utils/onLoadMessages.utils.js.map +1 -1
  715. package/lib/module/utils/webVersioningStrategy.utils.js +5 -5
  716. package/lib/module/utils/webVersioningStrategy.utils.js.map +1 -1
  717. package/lib/module/utils/windowUnitStore.js.map +1 -1
  718. package/lib/module/webComponent/WebComponent.js +37 -27
  719. package/lib/module/webComponent/WebComponent.js.map +1 -1
  720. package/lib/module/webComponent/WebComponent.utils.js +8 -7
  721. package/lib/module/webComponent/WebComponent.utils.js.map +1 -1
  722. package/lib/module/webComponent/html.js +5 -1
  723. package/lib/module/webComponent/html.js.map +1 -1
  724. package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.d.ts +3 -5
  725. package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.d.ts.map +1 -1
  726. package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.d.ts.map +1 -1
  727. package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.d.ts +3 -5
  728. package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.d.ts.map +1 -1
  729. package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.d.ts.map +1 -1
  730. package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.d.ts +9 -7
  731. package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.d.ts.map +1 -1
  732. package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.utils.d.ts +1 -1
  733. package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.utils.d.ts.map +1 -1
  734. package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.d.ts +2 -5
  735. package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.d.ts.map +1 -1
  736. package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.utils.d.ts +1 -1
  737. package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.utils.d.ts.map +1 -1
  738. package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.d.ts +3 -4
  739. package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.d.ts.map +1 -1
  740. package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.d.ts.map +1 -1
  741. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.d.ts.map +1 -1
  742. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.d.ts +3 -3
  743. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.d.ts.map +1 -1
  744. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.d.ts.map +1 -1
  745. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.d.ts +1 -1
  746. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.d.ts.map +1 -1
  747. package/lib/typescript/src/components/UNCardActionComponent/UNCardActionComponent.d.ts +13 -0
  748. package/lib/typescript/src/components/UNCardActionComponent/UNCardActionComponent.d.ts.map +1 -0
  749. package/lib/typescript/src/components/UNCardActionComponent/UNCardActionComponent.utils.d.ts +4 -0
  750. package/lib/typescript/src/components/UNCardActionComponent/UNCardActionComponent.utils.d.ts.map +1 -0
  751. package/lib/typescript/src/components/UNCardActionComponent/index.d.ts +2 -0
  752. package/lib/typescript/src/components/UNCardActionComponent/index.d.ts.map +1 -0
  753. package/lib/typescript/src/components/UNCardComponent/UNCardComponent.d.ts +7 -6
  754. package/lib/typescript/src/components/UNCardComponent/UNCardComponent.d.ts.map +1 -1
  755. package/lib/typescript/src/components/UNCardComponent/UNCardComponent.utils.d.ts +1 -1
  756. package/lib/typescript/src/components/UNCardComponent/UNCardComponent.utils.d.ts.map +1 -1
  757. package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.d.ts +4 -6
  758. package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.d.ts.map +1 -1
  759. package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.d.ts.map +1 -1
  760. package/lib/typescript/src/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.d.ts +12 -0
  761. package/lib/typescript/src/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.d.ts.map +1 -0
  762. package/lib/typescript/src/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.utils.d.ts +3 -0
  763. package/lib/typescript/src/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.utils.d.ts.map +1 -0
  764. package/lib/typescript/src/components/UNMultiFactorAuthenticationComponent/index.d.ts +2 -0
  765. package/lib/typescript/src/components/UNMultiFactorAuthenticationComponent/index.d.ts.map +1 -0
  766. package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.d.ts +3 -4
  767. package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.d.ts.map +1 -1
  768. package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.d.ts.map +1 -1
  769. package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.d.ts +2 -4
  770. package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.d.ts.map +1 -1
  771. package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.d.ts.map +1 -1
  772. package/lib/typescript/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.d.ts +7 -7
  773. package/lib/typescript/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.d.ts.map +1 -1
  774. package/lib/typescript/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.d.ts +1 -1
  775. package/lib/typescript/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.d.ts.map +1 -1
  776. package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.d.ts +2 -3
  777. package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.d.ts.map +1 -1
  778. package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.d.ts.map +1 -1
  779. package/lib/typescript/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.d.ts.map +1 -1
  780. package/lib/typescript/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.d.ts +1 -1
  781. package/lib/typescript/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.d.ts.map +1 -1
  782. package/lib/typescript/src/components/UNWirePaymentComponent/UNWirePaymentComponent.d.ts +3 -5
  783. package/lib/typescript/src/components/UNWirePaymentComponent/UNWirePaymentComponent.d.ts.map +1 -1
  784. package/lib/typescript/src/components/UNWirePaymentComponent/UNWirePaymentComponent.utils.d.ts.map +1 -1
  785. package/lib/typescript/src/components/index.d.ts +2 -1
  786. package/lib/typescript/src/components/index.d.ts.map +1 -1
  787. package/lib/typescript/src/flows/{UNFlows.d.ts → UNComponentsFlows.d.ts} +2 -2
  788. package/lib/typescript/src/flows/UNComponentsFlows.d.ts.map +1 -0
  789. package/lib/typescript/src/helpers/BottomSheet/BottomSheet.d.ts +1 -21
  790. package/lib/typescript/src/helpers/BottomSheet/BottomSheet.d.ts.map +1 -1
  791. package/lib/typescript/src/helpers/UNKeyboardAvoidingView/UNKeyboardAvoidingView.d.ts +10 -0
  792. package/lib/typescript/src/helpers/UNKeyboardAvoidingView/UNKeyboardAvoidingView.d.ts.map +1 -0
  793. package/lib/typescript/src/helpers/pushProvisioningService/hooks/useCardWallet.d.ts.map +1 -1
  794. package/lib/typescript/src/helpers/pushProvisioningService/types.d.ts +7 -0
  795. package/lib/typescript/src/helpers/pushProvisioningService/types.d.ts.map +1 -1
  796. package/lib/typescript/src/hooks/useAppStateListener.d.ts +1 -1
  797. package/lib/typescript/src/hooks/useAppStateListener.d.ts.map +1 -1
  798. package/lib/typescript/src/index.d.ts +1 -1
  799. package/lib/typescript/src/index.d.ts.map +1 -1
  800. package/lib/typescript/src/messages/webMessages/accountMessage.d.ts +2 -2
  801. package/lib/typescript/src/messages/webMessages/accountMessage.d.ts.map +1 -1
  802. package/lib/typescript/src/messages/webMessages/achCreditMessage.d.ts +2 -2
  803. package/lib/typescript/src/messages/webMessages/achCreditMessage.d.ts.map +1 -1
  804. package/lib/typescript/src/messages/webMessages/bookPaymentMessage.d.ts +2 -2
  805. package/lib/typescript/src/messages/webMessages/bookPaymentMessage.d.ts.map +1 -1
  806. package/lib/typescript/src/messages/webMessages/cardMessage.d.ts +3 -3
  807. package/lib/typescript/src/messages/webMessages/cardMessage.d.ts.map +1 -1
  808. package/lib/typescript/src/messages/webMessages/checkMessage.d.ts +3 -3
  809. package/lib/typescript/src/messages/webMessages/checkMessage.d.ts.map +1 -1
  810. package/lib/typescript/src/messages/webMessages/index.d.ts +5 -4
  811. package/lib/typescript/src/messages/webMessages/index.d.ts.map +1 -1
  812. package/lib/typescript/src/messages/webMessages/multiFactorAuthenticationMessage.d.ts +4 -0
  813. package/lib/typescript/src/messages/webMessages/multiFactorAuthenticationMessage.d.ts.map +1 -0
  814. package/lib/typescript/src/messages/webMessages/multipleCardsMessage.d.ts +2 -2
  815. package/lib/typescript/src/messages/webMessages/multipleCardsMessage.d.ts.map +1 -1
  816. package/lib/typescript/src/messages/webMessages/onLoadMessage.d.ts +15 -19
  817. package/lib/typescript/src/messages/webMessages/onLoadMessage.d.ts.map +1 -1
  818. package/lib/typescript/src/messages/webMessages/payeeManagementMessage.d.ts +4 -4
  819. package/lib/typescript/src/messages/webMessages/payeeManagementMessage.d.ts.map +1 -1
  820. package/lib/typescript/src/messages/webMessages/plaidMessages.d.ts.map +1 -1
  821. package/lib/typescript/src/messages/webMessages/{unitMessages.d.ts → unitComponentsMessages.d.ts} +16 -5
  822. package/lib/typescript/src/messages/webMessages/unitComponentsMessages.d.ts.map +1 -0
  823. package/lib/typescript/src/messages/webMessages/wirePaymentMessage.d.ts +5 -0
  824. package/lib/typescript/src/messages/webMessages/wirePaymentMessage.d.ts.map +1 -0
  825. package/lib/typescript/src/nativeComponents/UNAddToWallet/UnitAddToWalletButtonNativeComponent.d.ts +8 -0
  826. package/lib/typescript/src/nativeComponents/UNAddToWallet/UnitAddToWalletButtonNativeComponent.d.ts.map +1 -0
  827. package/lib/typescript/src/nativeComponents/UNBaseView/UNBaseView.d.ts +5 -4
  828. package/lib/typescript/src/nativeComponents/UNBaseView/UNBaseView.d.ts.map +1 -1
  829. package/lib/typescript/src/nativeComponents/UNSecureView/UNSecureViewNativeComponent.d.ts +7 -0
  830. package/lib/typescript/src/nativeComponents/UNSecureView/UNSecureViewNativeComponent.d.ts.map +1 -0
  831. package/lib/typescript/src/nativeModulesHelpers/RNShareFile/RNShareFile.d.ts +3 -0
  832. package/lib/typescript/src/nativeModulesHelpers/RNShareFile/RNShareFile.d.ts.map +1 -0
  833. package/lib/typescript/src/nativeModulesHelpers/UNPermissionsHelper/UNPermissionsHelper.d.ts +3 -0
  834. package/lib/typescript/src/nativeModulesHelpers/UNPermissionsHelper/UNPermissionsHelper.d.ts.map +1 -0
  835. package/lib/typescript/src/nativeModulesHelpers/UNSanpshotProtectionHelper/UNSnapshotProtectionHelper.d.ts.map +1 -1
  836. package/lib/typescript/src/nativeModulesHelpers/UNSecurityHelper.d.ts.map +1 -1
  837. package/lib/typescript/src/nativeModulesHelpers/UNStoreModuleHelper/UNStoreModuleHelper.d.ts +9 -0
  838. package/lib/typescript/src/nativeModulesHelpers/UNStoreModuleHelper/UNStoreModuleHelper.d.ts.map +1 -0
  839. package/lib/typescript/src/networking/requests/UNWalletPayloadRequest.d.ts +2 -2
  840. package/lib/typescript/src/networking/requests/UNWalletPayloadRequest.d.ts.map +1 -1
  841. package/lib/typescript/src/scripts/html/bodyScript.d.ts +2 -0
  842. package/lib/typescript/src/scripts/html/bodyScript.d.ts.map +1 -1
  843. package/lib/typescript/src/slices/ConfigurationSlice.d.ts +2 -1
  844. package/lib/typescript/src/slices/ConfigurationSlice.d.ts.map +1 -1
  845. package/lib/typescript/src/slices/SharedEventsSlice.d.ts +13 -12
  846. package/lib/typescript/src/slices/SharedEventsSlice.d.ts.map +1 -1
  847. package/lib/typescript/src/store/store.d.ts +20 -20
  848. package/lib/typescript/src/types/internal/bottomSheet.types.d.ts +9 -3
  849. package/lib/typescript/src/types/internal/bottomSheet.types.d.ts.map +1 -1
  850. package/lib/typescript/src/types/internal/errorHelpers.d.ts +4 -4
  851. package/lib/typescript/src/types/internal/errorHelpers.d.ts.map +1 -1
  852. package/lib/typescript/src/types/internal/webComponent.types.d.ts +3 -2
  853. package/lib/typescript/src/types/internal/webComponent.types.d.ts.map +1 -1
  854. package/lib/typescript/src/types/shared/account.types.d.ts +82 -45
  855. package/lib/typescript/src/types/shared/account.types.d.ts.map +1 -1
  856. package/lib/typescript/src/types/shared/ach.types.d.ts +8 -0
  857. package/lib/typescript/src/types/shared/ach.types.d.ts.map +1 -0
  858. package/lib/typescript/src/types/shared/activity.types.d.ts +10 -4
  859. package/lib/typescript/src/types/shared/activity.types.d.ts.map +1 -1
  860. package/lib/typescript/src/types/shared/authorization.types.d.ts +23 -10
  861. package/lib/typescript/src/types/shared/authorization.types.d.ts.map +1 -1
  862. package/lib/typescript/src/types/shared/card.types.d.ts +190 -30
  863. package/lib/typescript/src/types/shared/card.types.d.ts.map +1 -1
  864. package/lib/typescript/src/types/shared/checkDeposit.types.d.ts +65 -25
  865. package/lib/typescript/src/types/shared/checkDeposit.types.d.ts.map +1 -1
  866. package/lib/typescript/src/types/shared/counterparty.types.d.ts +63 -0
  867. package/lib/typescript/src/types/shared/counterparty.types.d.ts.map +1 -0
  868. package/lib/typescript/src/types/shared/customer.types.d.ts +115 -0
  869. package/lib/typescript/src/types/shared/customer.types.d.ts.map +1 -0
  870. package/lib/typescript/src/types/shared/env.types.d.ts +1 -1
  871. package/lib/typescript/src/types/shared/env.types.d.ts.map +1 -1
  872. package/lib/typescript/src/types/shared/error.types.d.ts +9 -8
  873. package/lib/typescript/src/types/shared/error.types.d.ts.map +1 -1
  874. package/lib/typescript/src/types/shared/index.d.ts +8 -4
  875. package/lib/typescript/src/types/shared/index.d.ts.map +1 -1
  876. package/lib/typescript/src/types/shared/multiFactorAuthentication.types.d.ts +15 -0
  877. package/lib/typescript/src/types/shared/multiFactorAuthentication.types.d.ts.map +1 -0
  878. package/lib/typescript/src/types/shared/multipleCards.types.d.ts +2 -2
  879. package/lib/typescript/src/types/shared/multipleCards.types.d.ts.map +1 -1
  880. package/lib/typescript/src/types/shared/onLoadResponse.types.d.ts +3 -3
  881. package/lib/typescript/src/types/shared/onLoadResponse.types.d.ts.map +1 -1
  882. package/lib/typescript/src/types/shared/payeeManagement.types.d.ts +0 -39
  883. package/lib/typescript/src/types/shared/payeeManagement.types.d.ts.map +1 -1
  884. package/lib/typescript/src/types/shared/payment/achPayment.types.d.ts +48 -0
  885. package/lib/typescript/src/types/shared/payment/achPayment.types.d.ts.map +1 -0
  886. package/lib/typescript/src/types/shared/payment/billPayment.types.d.ts +35 -0
  887. package/lib/typescript/src/types/shared/payment/billPayment.types.d.ts.map +1 -0
  888. package/lib/typescript/src/types/shared/payment/bookPayment.types.d.ts +50 -0
  889. package/lib/typescript/src/types/shared/payment/bookPayment.types.d.ts.map +1 -0
  890. package/lib/typescript/src/types/shared/payment/index.d.ts +6 -0
  891. package/lib/typescript/src/types/shared/payment/index.d.ts.map +1 -0
  892. package/lib/typescript/src/types/shared/payment/payments.types.d.ts +59 -0
  893. package/lib/typescript/src/types/shared/payment/payments.types.d.ts.map +1 -0
  894. package/lib/typescript/src/types/shared/payment/wirePayment.types.d.ts +49 -0
  895. package/lib/typescript/src/types/shared/payment/wirePayment.types.d.ts.map +1 -0
  896. package/lib/typescript/src/types/shared/repayment.types.d.ts +10 -9
  897. package/lib/typescript/src/types/shared/repayment.types.d.ts.map +1 -1
  898. package/lib/typescript/src/types/shared/securitySettings.d.ts +3 -3
  899. package/lib/typescript/src/types/shared/securitySettings.d.ts.map +1 -1
  900. package/lib/typescript/src/types/shared/transaction/UNAccountLowBalanceClosureTransaction.d.ts +43 -0
  901. package/lib/typescript/src/types/shared/transaction/UNAccountLowBalanceClosureTransaction.d.ts.map +1 -0
  902. package/lib/typescript/src/types/shared/transaction/UNAdjustmentTransaction.d.ts +43 -0
  903. package/lib/typescript/src/types/shared/transaction/UNAdjustmentTransaction.d.ts.map +1 -0
  904. package/lib/typescript/src/types/shared/transaction/UNAtmTransaction.d.ts +48 -0
  905. package/lib/typescript/src/types/shared/transaction/UNAtmTransaction.d.ts.map +1 -0
  906. package/lib/typescript/src/types/shared/transaction/UNBankRepaymentTransaction.d.ts +53 -0
  907. package/lib/typescript/src/types/shared/transaction/UNBankRepaymentTransaction.d.ts.map +1 -0
  908. package/lib/typescript/src/types/shared/transaction/UNBillPayTransaction.d.ts +43 -0
  909. package/lib/typescript/src/types/shared/transaction/UNBillPayTransaction.d.ts.map +1 -0
  910. package/lib/typescript/src/types/shared/transaction/UNBookTransaction.d.ts +59 -0
  911. package/lib/typescript/src/types/shared/transaction/UNBookTransaction.d.ts.map +1 -0
  912. package/lib/typescript/src/types/shared/transaction/UNCardReversalTransaction.d.ts +50 -0
  913. package/lib/typescript/src/types/shared/transaction/UNCardReversalTransaction.d.ts.map +1 -0
  914. package/lib/typescript/src/types/shared/transaction/UNCardTransaction.d.ts +51 -0
  915. package/lib/typescript/src/types/shared/transaction/UNCardTransaction.d.ts.map +1 -0
  916. package/lib/typescript/src/types/shared/transaction/UNCashDepositTransaction.d.ts +43 -0
  917. package/lib/typescript/src/types/shared/transaction/UNCashDepositTransaction.d.ts.map +1 -0
  918. package/lib/typescript/src/types/shared/transaction/UNChargebackTransaction.d.ts +59 -0
  919. package/lib/typescript/src/types/shared/transaction/UNChargebackTransaction.d.ts.map +1 -0
  920. package/lib/typescript/src/types/shared/transaction/UNCheckDepositTransaction.d.ts +49 -0
  921. package/lib/typescript/src/types/shared/transaction/UNCheckDepositTransaction.d.ts.map +1 -0
  922. package/lib/typescript/src/types/shared/transaction/UNCustomerRepaymentReturnedTransaction.d.ts +52 -0
  923. package/lib/typescript/src/types/shared/transaction/UNCustomerRepaymentReturnedTransaction.d.ts.map +1 -0
  924. package/lib/typescript/src/types/shared/transaction/UNCustomerRepaymentTransaction.d.ts +52 -0
  925. package/lib/typescript/src/types/shared/transaction/UNCustomerRepaymentTransaction.d.ts.map +1 -0
  926. package/lib/typescript/src/types/shared/transaction/UNDishonoredAchTransaction.d.ts +53 -0
  927. package/lib/typescript/src/types/shared/transaction/UNDishonoredAchTransaction.d.ts.map +1 -0
  928. package/lib/typescript/src/types/shared/transaction/UNDisputeSettlementTransaction.d.ts +43 -0
  929. package/lib/typescript/src/types/shared/transaction/UNDisputeSettlementTransaction.d.ts.map +1 -0
  930. package/lib/typescript/src/types/shared/transaction/UNDisputeTransaction.d.ts +43 -0
  931. package/lib/typescript/src/types/shared/transaction/UNDisputeTransaction.d.ts.map +1 -0
  932. package/lib/typescript/src/types/shared/transaction/UNFeeReversalTransaction.d.ts +49 -0
  933. package/lib/typescript/src/types/shared/transaction/UNFeeReversalTransaction.d.ts.map +1 -0
  934. package/lib/typescript/src/types/shared/transaction/UNFeeTransaction.d.ts +49 -0
  935. package/lib/typescript/src/types/shared/transaction/UNFeeTransaction.d.ts.map +1 -0
  936. package/lib/typescript/src/types/shared/transaction/UNInterchangeShareTransaction.d.ts +43 -0
  937. package/lib/typescript/src/types/shared/transaction/UNInterchangeShareTransaction.d.ts.map +1 -0
  938. package/lib/typescript/src/types/shared/transaction/UNInterestShareTransaction.d.ts +43 -0
  939. package/lib/typescript/src/types/shared/transaction/UNInterestShareTransaction.d.ts.map +1 -0
  940. package/lib/typescript/src/types/shared/transaction/UNInterestTransaction.d.ts +43 -0
  941. package/lib/typescript/src/types/shared/transaction/UNInterestTransaction.d.ts.map +1 -0
  942. package/lib/typescript/src/types/shared/transaction/UNNegativeBalanceCoverageTransaction.d.ts +43 -0
  943. package/lib/typescript/src/types/shared/transaction/UNNegativeBalanceCoverageTransaction.d.ts.map +1 -0
  944. package/lib/typescript/src/types/shared/transaction/UNOriginatedAchTransaction.d.ts +48 -0
  945. package/lib/typescript/src/types/shared/transaction/UNOriginatedAchTransaction.d.ts.map +1 -0
  946. package/lib/typescript/src/types/shared/transaction/UNPaymentAdvanceTransaction.d.ts +52 -0
  947. package/lib/typescript/src/types/shared/transaction/UNPaymentAdvanceTransaction.d.ts.map +1 -0
  948. package/lib/typescript/src/types/shared/transaction/UNPaymentCanceledTransaction.d.ts +43 -0
  949. package/lib/typescript/src/types/shared/transaction/UNPaymentCanceledTransaction.d.ts.map +1 -0
  950. package/lib/typescript/src/types/shared/transaction/UNPurchaseTransaction.d.ts +52 -0
  951. package/lib/typescript/src/types/shared/transaction/UNPurchaseTransaction.d.ts.map +1 -0
  952. package/lib/typescript/src/types/shared/transaction/UNReceivedAchTransaction.d.ts +54 -0
  953. package/lib/typescript/src/types/shared/transaction/UNReceivedAchTransaction.d.ts.map +1 -0
  954. package/lib/typescript/src/types/shared/transaction/UNReleaseTransaction.d.ts +43 -0
  955. package/lib/typescript/src/types/shared/transaction/UNReleaseTransaction.d.ts.map +1 -0
  956. package/lib/typescript/src/types/shared/transaction/UNRepaidPaymentAdvanceTransaction.d.ts +58 -0
  957. package/lib/typescript/src/types/shared/transaction/UNRepaidPaymentAdvanceTransaction.d.ts.map +1 -0
  958. package/lib/typescript/src/types/shared/transaction/UNReturnedAchTransaction.d.ts +47 -0
  959. package/lib/typescript/src/types/shared/transaction/UNReturnedAchTransaction.d.ts.map +1 -0
  960. package/lib/typescript/src/types/shared/transaction/UNReturnedCheckDepositTransaction.d.ts +43 -0
  961. package/lib/typescript/src/types/shared/transaction/UNReturnedCheckDepositTransaction.d.ts.map +1 -0
  962. package/lib/typescript/src/types/shared/transaction/UNReturnedReceivedAchTransaction.d.ts +53 -0
  963. package/lib/typescript/src/types/shared/transaction/UNReturnedReceivedAchTransaction.d.ts.map +1 -0
  964. package/lib/typescript/src/types/shared/transaction/UNRewardTransaction.d.ts +53 -0
  965. package/lib/typescript/src/types/shared/transaction/UNRewardTransaction.d.ts.map +1 -0
  966. package/lib/typescript/src/types/shared/transaction/UNSettlementTransaction.d.ts +43 -0
  967. package/lib/typescript/src/types/shared/transaction/UNSettlementTransaction.d.ts.map +1 -0
  968. package/lib/typescript/src/types/shared/transaction/UNSponsoredInterestTransaction.d.ts +43 -0
  969. package/lib/typescript/src/types/shared/transaction/UNSponsoredInterestTransaction.d.ts.map +1 -0
  970. package/lib/typescript/src/types/shared/transaction/UNWireTransaction.d.ts +44 -0
  971. package/lib/typescript/src/types/shared/transaction/UNWireTransaction.d.ts.map +1 -0
  972. package/lib/typescript/src/types/shared/transaction/index.d.ts +38 -0
  973. package/lib/typescript/src/types/shared/transaction/index.d.ts.map +1 -0
  974. package/lib/typescript/src/types/shared/transaction/transactions.types.d.ts +140 -0
  975. package/lib/typescript/src/types/shared/transaction/transactions.types.d.ts.map +1 -0
  976. package/lib/typescript/src/types/shared/types.d.ts +14 -14
  977. package/lib/typescript/src/types/shared/types.d.ts.map +1 -1
  978. package/lib/typescript/src/types/shared/versioning.types.d.ts +1 -1
  979. package/lib/typescript/src/types/shared/versioning.types.d.ts.map +1 -1
  980. package/lib/typescript/src/{unitSdkManager/UnitSdk.api.d.ts → unitComponentsSdkManager/UnitComponentsSdk.api.d.ts} +1 -1
  981. package/lib/typescript/src/unitComponentsSdkManager/UnitComponentsSdk.api.d.ts.map +1 -0
  982. package/lib/typescript/src/unitComponentsSdkManager/UnitComponentsSdk.constants.d.ts +11 -0
  983. package/lib/typescript/src/unitComponentsSdkManager/UnitComponentsSdk.constants.d.ts.map +1 -0
  984. package/lib/typescript/src/unitComponentsSdkManager/UnitComponentsSdkManager.d.ts +38 -0
  985. package/lib/typescript/src/unitComponentsSdkManager/UnitComponentsSdkManager.d.ts.map +1 -0
  986. package/lib/typescript/src/unitComponentsSdkManager/UnitComponentsSdkManager.utils.internal.d.ts +4 -0
  987. package/lib/typescript/src/unitComponentsSdkManager/UnitComponentsSdkManager.utils.internal.d.ts.map +1 -0
  988. package/lib/typescript/src/{unitSdkManager/unitHelpersManager/UnitHelpersManager.d.ts → unitComponentsSdkManager/unitComponentsHelpersManager/UnitComponentsHelpersManager.d.ts} +2 -2
  989. package/lib/typescript/src/unitComponentsSdkManager/unitComponentsHelpersManager/UnitComponentsHelpersManager.d.ts.map +1 -0
  990. package/lib/typescript/src/unitComponentsSdkManager/unitComponentsUiManager/unitComponentsUiManager.d.ts +7 -0
  991. package/lib/typescript/src/unitComponentsSdkManager/unitComponentsUiManager/unitComponentsUiManager.d.ts.map +1 -0
  992. package/lib/typescript/src/utils/AppInfo.d.ts +9 -4
  993. package/lib/typescript/src/utils/AppInfo.d.ts.map +1 -1
  994. package/lib/typescript/src/utils/webVersioningStrategy.utils.d.ts +5 -5
  995. package/lib/typescript/src/utils/webVersioningStrategy.utils.d.ts.map +1 -1
  996. package/lib/typescript/src/webComponent/WebComponent.d.ts +1 -1
  997. package/lib/typescript/src/webComponent/WebComponent.d.ts.map +1 -1
  998. package/lib/typescript/src/webComponent/WebComponent.utils.d.ts +3 -1
  999. package/lib/typescript/src/webComponent/WebComponent.utils.d.ts.map +1 -1
  1000. package/lib/typescript/src/webComponent/html.d.ts.map +1 -1
  1001. package/package.json +20 -2
  1002. package/src/components/UNACHCreditComponent/UNACHCreditComponent.tsx +19 -14
  1003. package/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.ts +0 -1
  1004. package/src/components/UNACHDebitComponent/UNACHDebitComponent.tsx +19 -15
  1005. package/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.ts +0 -1
  1006. package/src/components/UNAccountComponent/UNAccountComponent.tsx +28 -18
  1007. package/src/components/UNAccountComponent/UNAccountComponent.utils.ts +7 -2
  1008. package/src/components/UNActivityComponent/UNActivityComponent.tsx +16 -13
  1009. package/src/components/UNActivityComponent/UNActivityComponent.utils.ts +1 -2
  1010. package/src/components/UNBookPaymentComponent/UNBookPaymentComponent.tsx +13 -15
  1011. package/src/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.ts +0 -1
  1012. package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.tsx +9 -10
  1013. package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.ts +88 -28
  1014. package/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.tsx +44 -21
  1015. package/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.tsx +24 -17
  1016. package/src/components/UNCardActionComponent/UNCardActionComponent.tsx +80 -0
  1017. package/src/components/UNCardActionComponent/UNCardActionComponent.utils.ts +15 -0
  1018. package/src/components/UNCardActionComponent/index.ts +1 -0
  1019. package/src/components/UNCardComponent/UNCardComponent.tsx +40 -21
  1020. package/src/components/UNCardComponent/UNCardComponent.utils.ts +5 -3
  1021. package/src/components/UNCheckDepositComponent/UNCheckDepositComponent.tsx +14 -17
  1022. package/src/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.ts +0 -1
  1023. package/src/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.tsx +83 -0
  1024. package/src/components/UNMultiFactorAuthenticationComponent/UNMultiFactorAuthenticationComponent.utils.ts +25 -0
  1025. package/src/components/UNMultiFactorAuthenticationComponent/index.ts +1 -0
  1026. package/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.tsx +24 -15
  1027. package/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.ts +0 -1
  1028. package/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.tsx +7 -9
  1029. package/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.ts +1 -2
  1030. package/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.tsx +48 -19
  1031. package/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.ts +1 -2
  1032. package/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.tsx +7 -8
  1033. package/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.ts +0 -1
  1034. package/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.tsx +8 -6
  1035. package/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.ts +2 -2
  1036. package/src/components/UNWirePaymentComponent/UNWirePaymentComponent.tsx +10 -11
  1037. package/src/components/UNWirePaymentComponent/UNWirePaymentComponent.utils.ts +0 -1
  1038. package/src/components/index.ts +2 -1
  1039. package/src/flows/{UNFlows.ts → UNComponentsFlows.ts} +3 -3
  1040. package/src/helpers/BottomSheet/BottomSheet.tsx +9 -27
  1041. package/src/helpers/UNKeyboardAvoidingView/UNKeyboardAvoidingView.tsx +24 -0
  1042. package/src/helpers/pushProvisioningService/hooks/useCardWallet.ts +12 -10
  1043. package/src/helpers/pushProvisioningService/hooks/useLaunchInitialize.ts +2 -2
  1044. package/src/helpers/pushProvisioningService/startProvisioning.ts +2 -2
  1045. package/src/helpers/pushProvisioningService/types.ts +7 -0
  1046. package/src/hooks/useAppStateListener.ts +38 -4
  1047. package/src/hooks/useSnapshotProtection.ts +4 -4
  1048. package/src/index.tsx +1 -1
  1049. package/src/messages/webMessages/accountMessage.ts +2 -2
  1050. package/src/messages/webMessages/achCreditMessage.ts +3 -3
  1051. package/src/messages/webMessages/bookPaymentMessage.ts +3 -3
  1052. package/src/messages/webMessages/cardMessage.ts +3 -3
  1053. package/src/messages/webMessages/checkMessage.ts +7 -7
  1054. package/src/messages/webMessages/index.ts +7 -5
  1055. package/src/messages/webMessages/multiFactorAuthenticationMessage.ts +3 -0
  1056. package/src/messages/webMessages/multipleCardsMessage.ts +2 -2
  1057. package/src/messages/webMessages/onLoadMessage.ts +21 -25
  1058. package/src/messages/webMessages/payeeManagementMessage.ts +4 -4
  1059. package/src/messages/webMessages/plaidMessages.ts +2 -2
  1060. package/src/messages/webMessages/{unitMessages.ts → unitComponentsMessages.ts} +19 -4
  1061. package/src/messages/webMessages/wirePaymentMessage.ts +5 -0
  1062. package/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.tsx +5 -5
  1063. package/src/nativeComponents/UNAddToWallet/UnitAddToWalletButtonNativeComponent.ts +14 -0
  1064. package/src/nativeComponents/UNBaseView/UNBaseView.tsx +19 -14
  1065. package/src/nativeComponents/UNSecureView/UNSecureViewNativeComponent.ts +10 -0
  1066. package/src/nativeModulesHelpers/RNShareFile/RNShareFile.ts +20 -0
  1067. package/src/nativeModulesHelpers/UNPermissionsHelper/UNPermissionsHelper.ts +20 -0
  1068. package/src/nativeModulesHelpers/UNSanpshotProtectionHelper/UNSnapshotProtectionHelper.ts +9 -4
  1069. package/src/nativeModulesHelpers/UNSecurityHelper.ts +7 -3
  1070. package/src/nativeModulesHelpers/UNStoreModuleHelper/UNStoreModuleHelper.ts +9 -0
  1071. package/src/networking/common/UNNetworkConstants.ts +4 -4
  1072. package/src/networking/requests/UNWalletPayloadRequest.ts +12 -12
  1073. package/src/scripts/html/bodyScript.ts +60 -31
  1074. package/src/slices/ConfigurationSlice.ts +5 -1
  1075. package/src/slices/SharedEventsSlice.ts +13 -12
  1076. package/src/styles/fonts.ts +3 -3
  1077. package/src/types/internal/bottomSheet.types.ts +10 -2
  1078. package/src/types/internal/errorHelpers.ts +7 -7
  1079. package/src/types/internal/webComponent.types.ts +2 -1
  1080. package/src/types/shared/account.types.ts +85 -48
  1081. package/src/types/shared/ach.types.ts +8 -0
  1082. package/src/types/shared/activity.types.ts +11 -4
  1083. package/src/types/shared/authorization.types.ts +30 -16
  1084. package/src/types/shared/card.types.ts +212 -45
  1085. package/src/types/shared/checkDeposit.types.ts +80 -40
  1086. package/src/types/shared/counterparty.types.ts +65 -0
  1087. package/src/types/shared/customer.types.ts +118 -0
  1088. package/src/types/shared/env.types.ts +1 -1
  1089. package/src/types/shared/error.types.ts +26 -25
  1090. package/src/types/shared/index.ts +8 -4
  1091. package/src/types/shared/multiFactorAuthentication.types.ts +17 -0
  1092. package/src/types/shared/multipleCards.types.ts +2 -2
  1093. package/src/types/shared/onLoadResponse.types.ts +5 -5
  1094. package/src/types/shared/payeeManagement.types.ts +4 -44
  1095. package/src/types/shared/payment/achPayment.types.ts +47 -0
  1096. package/src/types/shared/payment/billPayment.types.ts +33 -0
  1097. package/src/types/shared/payment/bookPayment.types.ts +48 -0
  1098. package/src/types/shared/payment/index.ts +5 -0
  1099. package/src/types/shared/payment/payments.types.ts +79 -0
  1100. package/src/types/shared/payment/wirePayment.types.ts +47 -0
  1101. package/src/types/shared/repayment.types.ts +12 -11
  1102. package/src/types/shared/securitySettings.ts +3 -3
  1103. package/src/types/shared/transaction/UNAccountLowBalanceClosureTransaction.ts +43 -0
  1104. package/src/types/shared/transaction/UNAdjustmentTransaction.ts +43 -0
  1105. package/src/types/shared/transaction/UNAtmTransaction.ts +48 -0
  1106. package/src/types/shared/transaction/UNBankRepaymentTransaction.ts +51 -0
  1107. package/src/types/shared/transaction/UNBillPayTransaction.ts +43 -0
  1108. package/src/types/shared/transaction/UNBookTransaction.ts +57 -0
  1109. package/src/types/shared/transaction/UNCardReversalTransaction.ts +50 -0
  1110. package/src/types/shared/transaction/UNCardTransaction.ts +51 -0
  1111. package/src/types/shared/transaction/UNCashDepositTransaction.ts +43 -0
  1112. package/src/types/shared/transaction/UNChargebackTransaction.ts +57 -0
  1113. package/src/types/shared/transaction/UNCheckDepositTransaction.ts +49 -0
  1114. package/src/types/shared/transaction/UNCustomerRepaymentReturnedTransaction.ts +50 -0
  1115. package/src/types/shared/transaction/UNCustomerRepaymentTransaction.ts +50 -0
  1116. package/src/types/shared/transaction/UNDishonoredAchTransaction.ts +51 -0
  1117. package/src/types/shared/transaction/UNDisputeSettlementTransaction.ts +43 -0
  1118. package/src/types/shared/transaction/UNDisputeTransaction.ts +43 -0
  1119. package/src/types/shared/transaction/UNFeeReversalTransaction.ts +49 -0
  1120. package/src/types/shared/transaction/UNFeeTransaction.ts +49 -0
  1121. package/src/types/shared/transaction/UNInterchangeShareTransaction.ts +43 -0
  1122. package/src/types/shared/transaction/UNInterestShareTransaction.ts +43 -0
  1123. package/src/types/shared/transaction/UNInterestTransaction.ts +43 -0
  1124. package/src/types/shared/transaction/UNNegativeBalanceCoverageTransaction.ts +43 -0
  1125. package/src/types/shared/transaction/UNOriginatedAchTransaction.ts +46 -0
  1126. package/src/types/shared/transaction/UNPaymentAdvanceTransaction.ts +50 -0
  1127. package/src/types/shared/transaction/UNPaymentCanceledTransaction.ts +43 -0
  1128. package/src/types/shared/transaction/UNPurchaseTransaction.ts +52 -0
  1129. package/src/types/shared/transaction/UNReceivedAchTransaction.ts +54 -0
  1130. package/src/types/shared/transaction/UNReleaseTransaction.ts +43 -0
  1131. package/src/types/shared/transaction/UNRepaidPaymentAdvanceTransaction.ts +56 -0
  1132. package/src/types/shared/transaction/UNReturnedAchTransaction.ts +47 -0
  1133. package/src/types/shared/transaction/UNReturnedCheckDepositTransaction.ts +43 -0
  1134. package/src/types/shared/transaction/UNReturnedReceivedAchTransaction.ts +53 -0
  1135. package/src/types/shared/transaction/UNRewardTransaction.ts +51 -0
  1136. package/src/types/shared/transaction/UNSettlementTransaction.ts +43 -0
  1137. package/src/types/shared/transaction/UNSponsoredInterestTransaction.ts +43 -0
  1138. package/src/types/shared/transaction/UNWireTransaction.ts +44 -0
  1139. package/src/types/shared/transaction/index.ts +37 -0
  1140. package/src/types/shared/transaction/transactions.types.ts +182 -0
  1141. package/src/types/shared/types.ts +17 -21
  1142. package/src/types/shared/versioning.types.ts +1 -1
  1143. package/src/{unitSdkManager/UnitSdk.api.ts → unitComponentsSdkManager/UnitComponentsSdk.api.ts} +4 -4
  1144. package/src/unitComponentsSdkManager/UnitComponentsSdk.constants.ts +17 -0
  1145. package/src/{unitSdkManager/UnitSdkManager.ts → unitComponentsSdkManager/UnitComponentsSdkManager.ts} +28 -31
  1146. package/src/{unitSdkManager/UnitSdkManager.utils.internal.ts → unitComponentsSdkManager/UnitComponentsSdkManager.utils.internal.ts} +6 -6
  1147. package/src/{unitSdkManager/unitHelpersManager/UnitHelpersManager.ts → unitComponentsSdkManager/unitComponentsHelpersManager/UnitComponentsHelpersManager.ts} +1 -1
  1148. package/src/unitComponentsSdkManager/unitComponentsUiManager/unitComponentsUiManager.ts +13 -0
  1149. package/src/utils/AppInfo.ts +8 -38
  1150. package/src/utils/webVersioningStrategy.utils.ts +10 -10
  1151. package/src/webComponent/WebComponent.tsx +42 -28
  1152. package/src/webComponent/WebComponent.utils.ts +11 -6
  1153. package/src/webComponent/html.ts +7 -1
  1154. package/ios/Camera/Camera.swift +0 -22
  1155. package/ios/Camera/CameraExportModule.m +0 -7
  1156. package/ios/UNAppInfo/IOSAppInfo.swift +0 -47
  1157. package/ios/UNStoreManager/UNStoreManager.swift +0 -28
  1158. package/lib/commonjs/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.js +0 -88
  1159. package/lib/commonjs/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.js.map +0 -1
  1160. package/lib/commonjs/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.utils.js +0 -30
  1161. package/lib/commonjs/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.utils.js.map +0 -1
  1162. package/lib/commonjs/components/UNFundAccountPaymentComponent/index.js.map +0 -1
  1163. package/lib/commonjs/flows/UNFlows.js.map +0 -1
  1164. package/lib/commonjs/messages/webMessages/fundAccountPaymentMessage.js.map +0 -1
  1165. package/lib/commonjs/messages/webMessages/unitMessages.js +0 -25
  1166. package/lib/commonjs/messages/webMessages/unitMessages.js.map +0 -1
  1167. package/lib/commonjs/nativeComponents/UNAddToWallet/UnitAddToWalletButton.js +0 -10
  1168. package/lib/commonjs/nativeComponents/UNAddToWallet/UnitAddToWalletButton.js.map +0 -1
  1169. package/lib/commonjs/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.js +0 -23
  1170. package/lib/commonjs/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.js.map +0 -1
  1171. package/lib/commonjs/types/shared/bookPayment.types.js.map +0 -1
  1172. package/lib/commonjs/types/shared/fundAccountPayment.types.js.map +0 -1
  1173. package/lib/commonjs/types/shared/payments.types.js.map +0 -1
  1174. package/lib/commonjs/types/shared/transactions.types.js +0 -50
  1175. package/lib/commonjs/types/shared/transactions.types.js.map +0 -1
  1176. package/lib/commonjs/unitSdkManager/UnitSdk.api.js.map +0 -1
  1177. package/lib/commonjs/unitSdkManager/UnitSdk.constants.js.map +0 -1
  1178. package/lib/commonjs/unitSdkManager/UnitSdkManager.js.map +0 -1
  1179. package/lib/commonjs/unitSdkManager/UnitSdkManager.utils.internal.js.map +0 -1
  1180. package/lib/commonjs/unitSdkManager/unitHelpersManager/UnitHelpersManager.js.map +0 -1
  1181. package/lib/commonjs/unitSdkManager/unitUiManager/unitUiManager.js +0 -18
  1182. package/lib/commonjs/unitSdkManager/unitUiManager/unitUiManager.js.map +0 -1
  1183. package/lib/module/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.js +0 -79
  1184. package/lib/module/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.js.map +0 -1
  1185. package/lib/module/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.utils.js +0 -22
  1186. package/lib/module/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.utils.js.map +0 -1
  1187. package/lib/module/components/UNFundAccountPaymentComponent/index.js +0 -2
  1188. package/lib/module/components/UNFundAccountPaymentComponent/index.js.map +0 -1
  1189. package/lib/module/flows/UNFlows.js.map +0 -1
  1190. package/lib/module/messages/webMessages/fundAccountPaymentMessage.js +0 -2
  1191. package/lib/module/messages/webMessages/fundAccountPaymentMessage.js.map +0 -1
  1192. package/lib/module/messages/webMessages/unitMessages.js +0 -19
  1193. package/lib/module/messages/webMessages/unitMessages.js.map +0 -1
  1194. package/lib/module/nativeComponents/UNAddToWallet/UnitAddToWalletButton.js +0 -4
  1195. package/lib/module/nativeComponents/UNAddToWallet/UnitAddToWalletButton.js.map +0 -1
  1196. package/lib/module/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.js +0 -17
  1197. package/lib/module/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.js.map +0 -1
  1198. package/lib/module/types/shared/achCredit.types.js +0 -2
  1199. package/lib/module/types/shared/achCredit.types.js.map +0 -1
  1200. package/lib/module/types/shared/bookPayment.types.js.map +0 -1
  1201. package/lib/module/types/shared/fundAccountPayment.types.js +0 -2
  1202. package/lib/module/types/shared/fundAccountPayment.types.js.map +0 -1
  1203. package/lib/module/types/shared/payments.types.js.map +0 -1
  1204. package/lib/module/types/shared/transactions.types.js +0 -44
  1205. package/lib/module/types/shared/transactions.types.js.map +0 -1
  1206. package/lib/module/types/shared/wirePayment.types.js.map +0 -1
  1207. package/lib/module/unitSdkManager/UnitSdk.api.js.map +0 -1
  1208. package/lib/module/unitSdkManager/UnitSdk.constants.js.map +0 -1
  1209. package/lib/module/unitSdkManager/UnitSdkManager.js.map +0 -1
  1210. package/lib/module/unitSdkManager/UnitSdkManager.utils.internal.js.map +0 -1
  1211. package/lib/module/unitSdkManager/unitHelpersManager/UnitHelpersManager.js.map +0 -1
  1212. package/lib/module/unitSdkManager/unitUiManager/unitUiManager.js +0 -11
  1213. package/lib/module/unitSdkManager/unitUiManager/unitUiManager.js.map +0 -1
  1214. package/lib/typescript/src/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.d.ts +0 -19
  1215. package/lib/typescript/src/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.d.ts.map +0 -1
  1216. package/lib/typescript/src/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.utils.d.ts +0 -4
  1217. package/lib/typescript/src/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.utils.d.ts.map +0 -1
  1218. package/lib/typescript/src/components/UNFundAccountPaymentComponent/index.d.ts +0 -2
  1219. package/lib/typescript/src/components/UNFundAccountPaymentComponent/index.d.ts.map +0 -1
  1220. package/lib/typescript/src/flows/UNFlows.d.ts.map +0 -1
  1221. package/lib/typescript/src/messages/webMessages/fundAccountPaymentMessage.d.ts +0 -6
  1222. package/lib/typescript/src/messages/webMessages/fundAccountPaymentMessage.d.ts.map +0 -1
  1223. package/lib/typescript/src/messages/webMessages/unitMessages.d.ts.map +0 -1
  1224. package/lib/typescript/src/nativeComponents/UNAddToWallet/UnitAddToWalletButton.d.ts +0 -7
  1225. package/lib/typescript/src/nativeComponents/UNAddToWallet/UnitAddToWalletButton.d.ts.map +0 -1
  1226. package/lib/typescript/src/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.d.ts +0 -7
  1227. package/lib/typescript/src/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.d.ts.map +0 -1
  1228. package/lib/typescript/src/types/shared/achCredit.types.d.ts +0 -38
  1229. package/lib/typescript/src/types/shared/achCredit.types.d.ts.map +0 -1
  1230. package/lib/typescript/src/types/shared/bookPayment.types.d.ts +0 -26
  1231. package/lib/typescript/src/types/shared/bookPayment.types.d.ts.map +0 -1
  1232. package/lib/typescript/src/types/shared/fundAccountPayment.types.d.ts +0 -38
  1233. package/lib/typescript/src/types/shared/fundAccountPayment.types.d.ts.map +0 -1
  1234. package/lib/typescript/src/types/shared/payments.types.d.ts +0 -59
  1235. package/lib/typescript/src/types/shared/payments.types.d.ts.map +0 -1
  1236. package/lib/typescript/src/types/shared/transactions.types.d.ts +0 -81
  1237. package/lib/typescript/src/types/shared/transactions.types.d.ts.map +0 -1
  1238. package/lib/typescript/src/types/shared/wirePayment.types.d.ts +0 -42
  1239. package/lib/typescript/src/types/shared/wirePayment.types.d.ts.map +0 -1
  1240. package/lib/typescript/src/unitSdkManager/UnitSdk.api.d.ts.map +0 -1
  1241. package/lib/typescript/src/unitSdkManager/UnitSdk.constants.d.ts +0 -11
  1242. package/lib/typescript/src/unitSdkManager/UnitSdk.constants.d.ts.map +0 -1
  1243. package/lib/typescript/src/unitSdkManager/UnitSdkManager.d.ts +0 -40
  1244. package/lib/typescript/src/unitSdkManager/UnitSdkManager.d.ts.map +0 -1
  1245. package/lib/typescript/src/unitSdkManager/UnitSdkManager.utils.internal.d.ts +0 -4
  1246. package/lib/typescript/src/unitSdkManager/UnitSdkManager.utils.internal.d.ts.map +0 -1
  1247. package/lib/typescript/src/unitSdkManager/unitHelpersManager/UnitHelpersManager.d.ts.map +0 -1
  1248. package/lib/typescript/src/unitSdkManager/unitUiManager/unitUiManager.d.ts +0 -7
  1249. package/lib/typescript/src/unitSdkManager/unitUiManager/unitUiManager.d.ts.map +0 -1
  1250. package/src/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.tsx +0 -111
  1251. package/src/components/UNFundAccountPaymentComponent/UNFundAccountPaymentComponent.utils.ts +0 -24
  1252. package/src/components/UNFundAccountPaymentComponent/index.ts +0 -1
  1253. package/src/messages/webMessages/fundAccountPaymentMessage.ts +0 -8
  1254. package/src/nativeComponents/UNAddToWallet/UnitAddToWalletButton.tsx +0 -12
  1255. package/src/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.ts +0 -19
  1256. package/src/types/shared/achCredit.types.ts +0 -39
  1257. package/src/types/shared/bookPayment.types.ts +0 -26
  1258. package/src/types/shared/fundAccountPayment.types.ts +0 -38
  1259. package/src/types/shared/payments.types.ts +0 -69
  1260. package/src/types/shared/transactions.types.ts +0 -84
  1261. package/src/types/shared/wirePayment.types.ts +0 -43
  1262. package/src/unitSdkManager/UnitSdk.constants.ts +0 -17
  1263. package/src/unitSdkManager/unitUiManager/unitUiManager.ts +0 -13
  1264. /package/lib/commonjs/types/shared/{bookPayment.types.js → payment/bookPayment.types.js} +0 -0
  1265. /package/lib/commonjs/types/shared/{wirePayment.types.js → payment/wirePayment.types.js} +0 -0
  1266. /package/lib/module/types/shared/{bookPayment.types.js → payment/bookPayment.types.js} +0 -0
  1267. /package/lib/module/types/shared/{wirePayment.types.js → payment/wirePayment.types.js} +0 -0
@@ -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 { UNAccountData, UNError, UNOnLoadResponse, UNOnLoadResponseData } from '../../types/shared';
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 { UnitMessage } from '../../messages/webMessages/unitMessages';
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: UNWirePaymentData) => void;
32
- onLoad?: (response: UNOnLoadResponse<[UNAccountData]>) => void;
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 UNError);
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: UNOnLoadResponseData<[UNAccountData]> = {
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 UnitMessage.UNIT_ON_LOAD:
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}"
@@ -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';
@@ -13,3 +12,5 @@ export * from './UNNextRepaymentComponent';
13
12
  export * from './UNWhiteLabelAppComponent';
14
13
  export * from './UNPayeeManagementComponent';
15
14
  export * from './UNWirePaymentComponent';
15
+ export * from './UNMultiFactorAuthenticationComponent';
16
+ export * from './UNCardActionComponent';
@@ -1,13 +1,13 @@
1
1
  import { UNCardFlows } from './card/UNCardFlows';
2
- import { UnitSDK } from '../unitSdkManager/UnitSdkManager';
2
+ import { UnitComponentsSDK } from '../unitComponentsSdkManager/UnitComponentsSdkManager';
3
3
 
4
- export class UNFlows {
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
- UnitSDK.setCustomerToken(customerToken);
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 { useAppStateListener } from '../../hooks/useAppStateListener';
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 isAppActive = useAppStateListener();
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
- setContentHeight(0);
82
- _dismiss();
83
- }, [isAppActive]);
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 { UnitSDK } from '../../../unitSdkManager/UnitSdkManager';
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 { UNErrorCodes, UNErrorData } from '../../../types/shared/error.types';
12
- import { isUNError } from '../../../types/internal/errorHelpers';
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 = UnitSDK.getEnv();
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 = UnitSDK.getPushProvisionModule();
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 (isUNError(error)) {
62
- const errors: UNErrorData[] = error.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 === UNErrorCodes.INVALID_NONCE) {
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 { UnitSDK } from '../../../unitSdkManager/UnitSdkManager';
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 = UnitSDK.getPushProvisionModule();
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 { UnitSDK } from '../../unitSdkManager/UnitSdkManager';
2
+ import { UnitComponentsSDK } from '../../unitComponentsSdkManager/UnitComponentsSdkManager';
3
3
 
4
4
  export const launchStartCardProvisioning = async (wallet: UNWallet | null) => {
5
- const pushProvisioningModule = UnitSDK.getPushProvisionModule();
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',
@@ -6,14 +6,48 @@ const getIsAppActive = (currentAppState: AppStateStatus) => {
6
6
  return currentAppState !== 'background' && currentAppState !== 'inactive';
7
7
  };
8
8
 
9
- export const useAppStateListener = () => {
9
+ const BACKGROUND_THRESHOLD = 30000; // 30 seconds in milliseconds
10
+
11
+ /*
12
+ * This hook is used to check if the app is in the background for a long period of time.
13
+ * If yes - returns true and trigger closing the bottomsheet.
14
+ * If no - returns false and keep the bottomsheet open.
15
+ *
16
+ * Returns false unless background time is more than 30 seconds.
17
+ */
18
+
19
+ export const useIsBackFromLongBackground = () => {
10
20
  const appState = useRef(AppState.currentState);
11
- const [isAppActive, setIsAppActive] = useState<boolean>(getIsAppActive(appState.current));
21
+ const [isLongBackgroundTime, setIsLongBackgroundTime] = useState<boolean>(false);
22
+ const backgroundTimestamp = useRef<number | null>(null);
23
+ const activeTimestamp = useRef<number | null>(null);
12
24
 
13
25
  useEffect(() => {
14
26
  const subscription = AppState.addEventListener('change', nextAppState => {
27
+ const nextAppStateActive = getIsAppActive(nextAppState);
28
+ const currentAppStateActive = getIsAppActive(appState.current);
29
+
30
+ if (!nextAppStateActive && currentAppStateActive) {
31
+ // Set background timestamp when first entering background
32
+ backgroundTimestamp.current = Date.now();
33
+ activeTimestamp.current = null;
34
+ } else if (nextAppStateActive && !currentAppStateActive) {
35
+ // Set active timestamp when coming back from background
36
+ activeTimestamp.current = Date.now();
37
+
38
+ // Check if time difference is more than threshold
39
+ if (activeTimestamp.current - (backgroundTimestamp.current ?? 0) > BACKGROUND_THRESHOLD) {
40
+ setIsLongBackgroundTime(true);
41
+ } else {
42
+ setIsLongBackgroundTime(false);
43
+ }
44
+
45
+ // Reset timestamps for next cycle
46
+ backgroundTimestamp.current = null;
47
+ activeTimestamp.current = null;
48
+ }
49
+
15
50
  appState.current = nextAppState;
16
- setIsAppActive(getIsAppActive(appState.current));
17
51
  });
18
52
 
19
53
  return () => {
@@ -21,5 +55,5 @@ export const useAppStateListener = () => {
21
55
  };
22
56
  }, []);
23
57
 
24
- return isAppActive;
58
+ return isLongBackgroundTime;
25
59
  };
@@ -1,7 +1,7 @@
1
1
  import { Platform } from 'react-native';
2
2
  import UNSnapshotProtectionHelper from '../nativeModulesHelpers/UNSanpshotProtectionHelper/UNSnapshotProtectionHelper';
3
- import { UnitSDK } from '../unitSdkManager/UnitSdkManager';
4
- import { UNSnapshotProtectionStrategy } from '../types/shared/securitySettings';
3
+ import { UnitComponentsSDK } from '../unitComponentsSdkManager/UnitComponentsSdkManager';
4
+ import { UNComponentsSnapshotProtectionStrategy } from '../types/shared/securitySettings';
5
5
  import { useEffect } from 'react';
6
6
 
7
7
  export const useSnapshotProtection = () => {
@@ -10,11 +10,11 @@ export const useSnapshotProtection = () => {
10
10
  * For iOS, a native service is utilized instead.
11
11
  */
12
12
  useEffect(() => {
13
- if (!UnitSDK.isInitialized()) {
13
+ if (!UnitComponentsSDK.isInitialized()) {
14
14
  return;
15
15
  }
16
16
 
17
- if (UnitSDK.getSecuritySettings().snapshotProtectionStrategy == UNSnapshotProtectionStrategy.None) {
17
+ if (UnitComponentsSDK.getSecuritySettings().snapshotProtectionStrategy == UNComponentsSnapshotProtectionStrategy.None) {
18
18
  return;
19
19
  }
20
20
 
package/src/index.tsx CHANGED
@@ -2,4 +2,4 @@ export * from './components';
2
2
 
3
3
  export * from './types/shared';
4
4
 
5
- export { UnitSDK } from './unitSdkManager/UnitSdkManager';
5
+ export { UnitComponentsSDK } from './unitComponentsSdkManager/UnitComponentsSdkManager';
@@ -1,11 +1,11 @@
1
- import type { UNAccountData } from '../../types/shared';
1
+ import type { UNAccount } from '../../types/shared';
2
2
 
3
3
  export enum AccountMessage {
4
4
  UNIT_ACCOUNT_CHANGED = 'unitAccountChanged'
5
5
  }
6
6
 
7
7
  export interface AccountChangedEvent {
8
- account: UNAccountData;
8
+ account: UNAccount;
9
9
  }
10
10
 
11
11
  export type AccountEvent =
@@ -1,8 +1,8 @@
1
- import type { UNACHData } from '../../types/shared';
1
+ import type { UNPayment } from '../../types/shared';
2
2
 
3
3
  export interface PaymentCreatedEvent {
4
- data: UNACHData
4
+ data: UNPayment
5
5
  }
6
6
 
7
7
  export type ACHEvent =
8
- | PaymentCreatedEvent
8
+ | PaymentCreatedEvent
@@ -1,8 +1,8 @@
1
- import type { UNBookPaymentData } from '../../types/shared';
1
+ import type { UNPayment } from '../../types/shared';
2
2
 
3
3
  export interface PaymentCreatedEvent {
4
- data: UNBookPaymentData
4
+ data: UNPayment
5
5
  }
6
6
 
7
7
  export type BookPaymentEvent =
8
- | PaymentCreatedEvent
8
+ | PaymentCreatedEvent
@@ -1,4 +1,4 @@
1
- import type { UNCardData } from '../../types/shared';
1
+ import type { UNCard } from '../../types/shared';
2
2
 
3
3
  export enum CardMessage {
4
4
  CARD_ACTIVATED = 'unitCardActivated',
@@ -6,11 +6,11 @@ export enum CardMessage {
6
6
  }
7
7
 
8
8
  export interface CardStatusChangedEvent {
9
- card: UNCardData;
9
+ card: UNCard;
10
10
  }
11
11
 
12
12
  export interface CardActivatedEvent {
13
- card: UNCardData;
13
+ card: UNCard;
14
14
  }
15
15
 
16
16
  export type CardEvent =
@@ -1,14 +1,14 @@
1
- import type { UNCheckDepositData } from '../../types/shared/checkDeposit.types';
1
+ import type { UNCheckDeposit } from '../../types/shared';
2
2
 
3
3
  export enum CheckMessage {
4
4
  // check deposit
5
- CHECK_DEPOSIT_CREATED = 'unitCheckDepositCreated',
6
- CHECK_DEPOSIT_RESTART_REQUEST = 'unitCheckDepositRestartRequest'
5
+ CHECK_DEPOSIT_CREATED = 'unitCheckDepositCreated',
6
+ CHECK_DEPOSIT_RESTART_REQUEST = 'unitCheckDepositRestartRequest'
7
7
  }
8
8
 
9
- export type CheckDepositCreatedEvent = UNCheckDepositData
10
- export type CheckDepositRestartRequestEvent = UNCheckDepositData
9
+ export type CheckDepositCreatedEvent = UNCheckDeposit
10
+ export type CheckDepositRestartRequestEvent = UNCheckDeposit
11
11
 
12
12
  export type CheckEvent =
13
- | CheckDepositCreatedEvent
14
- | CheckDepositRestartRequestEvent
13
+ | CheckDepositCreatedEvent
14
+ | CheckDepositRestartRequestEvent
@@ -1,29 +1,30 @@
1
1
  import type { ACHEvent } from './achCreditMessage';
2
2
  import type { BookPaymentEvent } from './bookPaymentMessage';
3
-
4
3
  import type { CardEvent, CardMessage } from './cardMessage';
5
4
  import type { PageEvent, PageMessage } from './pageMessage';
6
5
  import type { PaymentMessage } from './paymentsMessage';
7
- import type { UnitEvent, UnitMessage } from './unitMessages';
6
+ import type { UnitEvent, UnitComponentsMessage, MultiFactorAuthenticationFinishedEvent } from './unitComponentsMessages';
8
7
  import type { AccountEvent, AccountMessage } from './accountMessage';
9
8
  import type { CheckEvent, CheckMessage } from './checkMessage';
10
9
  import type { ActivityEvent, ActivityMessage } from './activityMessage';
11
10
  import type { MultipleCardsEvent, MultipleCardsMessage } from './multipleCardsMessage';
12
- import { FundAccountPaymentEvent } from './fundAccountPaymentMessage';
13
11
  import { PlaidEvent, PlaidMessage } from './plaidMessages';
14
12
  import { PayeeManagementMessage, PayeeManagementEvent } from './payeeManagementMessage';
13
+ import { MultiFactorAuthenticationMessage } from './multiFactorAuthenticationMessage';
14
+ import { WirePaymentCreatedEvent } from './wirePaymentMessage';
15
15
 
16
16
  export type WebViewMessageType =
17
17
  | PageMessage
18
18
  | CardMessage
19
19
  | MultipleCardsMessage
20
- | UnitMessage
20
+ | UnitComponentsMessage
21
21
  | PaymentMessage
22
22
  | AccountMessage
23
23
  | CheckMessage
24
24
  | ActivityMessage
25
25
  | PlaidMessage
26
26
  | PayeeManagementMessage
27
+ | MultiFactorAuthenticationMessage
27
28
 
28
29
  type WebViewEvent =
29
30
  | PageEvent
@@ -33,12 +34,13 @@ type WebViewEvent =
33
34
  | BookPaymentEvent
34
35
  | PaymentMessage
35
36
  | ACHEvent
36
- | FundAccountPaymentEvent
37
37
  | AccountEvent
38
38
  | CheckEvent
39
39
  | ActivityEvent
40
40
  | PlaidEvent
41
41
  | PayeeManagementEvent
42
+ | WirePaymentCreatedEvent
43
+ | MultiFactorAuthenticationFinishedEvent
42
44
 
43
45
  export interface WebViewMessage {
44
46
  type: WebViewMessageType,
@@ -0,0 +1,3 @@
1
+ export enum MultiFactorAuthenticationMessage {
2
+ UNIT_MFA_VERIFICATION_TOKEN_CREATED = 'unitMultiFactorAuthVerificationTokenCreated'
3
+ }
@@ -1,9 +1,9 @@
1
- import type { UNCardData } from '../../types/shared';
1
+ import type { UNCard } from '../../types/shared';
2
2
 
3
3
  export enum MultipleCardsMessage {
4
4
  UNIT_MULTIPLE_CARDS_CARD_CLICKED = 'unitMultipleCardsCardClicked',
5
5
  }
6
6
 
7
- export type MultipleCardsCardClickedEvent = UNCardData;
7
+ export type MultipleCardsCardClickedEvent = UNCard;
8
8
 
9
9
  export type MultipleCardsEvent = MultipleCardsCardClickedEvent