@tonder.io/rn-sdk 0.1.0-beta.DEV1355.6 → 0.1.0-beta.DEV1355.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (471) hide show
  1. package/README.md +4 -3
  2. package/android/build.gradle +99 -0
  3. package/android/gradle.properties +5 -0
  4. package/android/src/main/AndroidManifest.xml +3 -0
  5. package/android/src/main/AndroidManifestNew.xml +2 -0
  6. package/android/src/main/java/com/tonderio/rnsdk/RnSdkModule.kt +25 -0
  7. package/android/src/main/java/com/tonderio/rnsdk/RnSdkPackage.kt +17 -0
  8. package/ios/RnSdk-Bridging-Header.h +2 -0
  9. package/ios/RnSdk.mm +14 -0
  10. package/ios/RnSdk.swift +8 -0
  11. package/lib/commonjs/core/3DSHandler.js +17 -12
  12. package/lib/commonjs/core/3DSHandler.js.map +1 -1
  13. package/lib/commonjs/core/BaseCheckout/index.js +22 -23
  14. package/lib/commonjs/core/BaseCheckout/index.js.map +1 -1
  15. package/lib/commonjs/core/BaseEnrollment/index.js +8 -9
  16. package/lib/commonjs/core/BaseEnrollment/index.js.map +1 -1
  17. package/lib/commonjs/core/BaseSDK/index.js +3 -3
  18. package/lib/commonjs/core/BaseSDK/index.js.map +1 -1
  19. package/lib/commonjs/core/EnrollmentContainer/index.js +9 -10
  20. package/lib/commonjs/core/EnrollmentContainer/index.js.map +1 -1
  21. package/lib/commonjs/core/PaymentInlineContainer/index.js +5 -5
  22. package/lib/commonjs/core/PaymentInlineContainer/index.js.map +1 -1
  23. package/lib/commonjs/core/PaymentLiteContainer/index.js +12 -12
  24. package/lib/commonjs/core/PaymentLiteContainer/index.js.map +1 -1
  25. package/lib/commonjs/core/Tonder/index.js +16 -10
  26. package/lib/commonjs/core/Tonder/index.js.map +1 -1
  27. package/lib/commonjs/hooks/useTonder/index.js +1 -1
  28. package/lib/commonjs/hooks/useTonder/index.js.map +1 -1
  29. package/lib/commonjs/index.js +15 -0
  30. package/lib/commonjs/index.js.map +1 -1
  31. package/lib/commonjs/infrastructure/HttpClient.js +7 -8
  32. package/lib/commonjs/infrastructure/HttpClient.js.map +1 -1
  33. package/lib/commonjs/infrastructure/ServiceManager.js +12 -13
  34. package/lib/commonjs/infrastructure/ServiceManager.js.map +1 -1
  35. package/lib/commonjs/services/BusinessService.js +3 -3
  36. package/lib/commonjs/services/BusinessService.js.map +1 -1
  37. package/lib/commonjs/services/CardService.js +7 -8
  38. package/lib/commonjs/services/CardService.js.map +1 -1
  39. package/lib/commonjs/services/CheckoutService.js +11 -11
  40. package/lib/commonjs/services/CheckoutService.js.map +1 -1
  41. package/lib/commonjs/services/CustomerService.js +5 -5
  42. package/lib/commonjs/services/CustomerService.js.map +1 -1
  43. package/lib/commonjs/services/PaymentMethodService.js +3 -3
  44. package/lib/commonjs/services/PaymentMethodService.js.map +1 -1
  45. package/lib/commonjs/services/SkyflowService.js +4 -4
  46. package/lib/commonjs/services/SkyflowService.js.map +1 -1
  47. package/lib/commonjs/services/TokenService.js +4 -4
  48. package/lib/commonjs/services/TokenService.js.map +1 -1
  49. package/lib/commonjs/services/TransactionService.js +3 -3
  50. package/lib/commonjs/services/TransactionService.js.map +1 -1
  51. package/lib/commonjs/services/index.js +0 -11
  52. package/lib/commonjs/services/index.js.map +1 -1
  53. package/lib/commonjs/shared/catalog/cardBrandCatalog.js +1 -1
  54. package/lib/commonjs/shared/catalog/paymentMethodsCatalog.js +2 -2
  55. package/lib/commonjs/shared/constants/environments.js +1 -1
  56. package/lib/commonjs/shared/constants/messages.js +90 -90
  57. package/lib/commonjs/shared/constants/messages.js.map +1 -1
  58. package/lib/commonjs/shared/utils/errors.js +2 -2
  59. package/lib/commonjs/shared/utils/errors.js.map +1 -1
  60. package/lib/commonjs/shared/utils/paymentMethodUtils.js +3 -3
  61. package/lib/commonjs/shared/utils/paymentMethodUtils.js.map +1 -1
  62. package/lib/commonjs/shared/utils/stringUtils.js +17 -1
  63. package/lib/commonjs/shared/utils/stringUtils.js.map +1 -1
  64. package/lib/commonjs/types/srn-temp.d.js +2 -0
  65. package/lib/commonjs/types/srn-temp.d.js.map +1 -0
  66. package/lib/commonjs/ui/components/Button/ProcessButton.js +1 -1
  67. package/lib/commonjs/ui/components/Button/ProcessButton.js.map +1 -1
  68. package/lib/commonjs/ui/components/CardForm/index.js +5 -5
  69. package/lib/commonjs/ui/components/CardForm/index.js.map +1 -1
  70. package/lib/commonjs/ui/components/Input/CardCVVInput.js +6 -4
  71. package/lib/commonjs/ui/components/Input/CardCVVInput.js.map +1 -1
  72. package/lib/commonjs/ui/components/Input/CardExpirationDateInput.js +5 -5
  73. package/lib/commonjs/ui/components/Input/CardExpirationDateInput.js.map +1 -1
  74. package/lib/commonjs/ui/components/Input/CardExpirationMonthInput.js +6 -4
  75. package/lib/commonjs/ui/components/Input/CardExpirationMonthInput.js.map +1 -1
  76. package/lib/commonjs/ui/components/Input/CardExpirationYearInput.js +6 -4
  77. package/lib/commonjs/ui/components/Input/CardExpirationYearInput.js.map +1 -1
  78. package/lib/commonjs/ui/components/Input/CardHolderInput.js +6 -4
  79. package/lib/commonjs/ui/components/Input/CardHolderInput.js.map +1 -1
  80. package/lib/commonjs/ui/components/Input/CardNumberInput.js +6 -4
  81. package/lib/commonjs/ui/components/Input/CardNumberInput.js.map +1 -1
  82. package/lib/commonjs/ui/components/PaymentMethodsList/index.js +7 -7
  83. package/lib/commonjs/ui/components/PaymentMethodsList/index.js.map +1 -1
  84. package/lib/commonjs/ui/components/SavedCardsList/index.js +6 -4
  85. package/lib/commonjs/ui/components/SavedCardsList/index.js.map +1 -1
  86. package/lib/commonjs/ui/features/TonderEnrollment/index.js +7 -7
  87. package/lib/commonjs/ui/features/TonderEnrollment/index.js.map +1 -1
  88. package/lib/commonjs/ui/features/TonderPayment/index.js +16 -17
  89. package/lib/commonjs/ui/features/TonderPayment/index.js.map +1 -1
  90. package/lib/commonjs/ui/providers/InnerProvider/index.js +1 -1
  91. package/lib/commonjs/ui/providers/InnerProvider/index.js.map +1 -1
  92. package/lib/commonjs/ui/providers/SkyflowContainerWrapper/index.js +2 -2
  93. package/lib/commonjs/ui/providers/SkyflowContainerWrapper/index.js.map +1 -1
  94. package/lib/commonjs/ui/providers/TonderProvider/hook.js +1 -1
  95. package/lib/commonjs/ui/providers/TonderProvider/index.js +22 -20
  96. package/lib/commonjs/ui/providers/TonderProvider/index.js.map +1 -1
  97. package/lib/commonjs/ui/providers/TonderProvider/uiWrapper.js +3 -3
  98. package/lib/commonjs/ui/providers/TonderProvider/uiWrapper.js.map +1 -1
  99. package/lib/commonjs/ui/styles/skyflow.js +1 -1
  100. package/lib/module/core/3DSHandler.js +16 -11
  101. package/lib/module/core/3DSHandler.js.map +1 -1
  102. package/lib/module/core/BaseCheckout/index.js +9 -10
  103. package/lib/module/core/BaseCheckout/index.js.map +1 -1
  104. package/lib/module/core/BaseEnrollment/index.js +3 -4
  105. package/lib/module/core/BaseEnrollment/index.js.map +1 -1
  106. package/lib/module/core/BaseSDK/index.js +2 -2
  107. package/lib/module/core/BaseSDK/index.js.map +1 -1
  108. package/lib/module/core/EnrollmentContainer/index.js +4 -5
  109. package/lib/module/core/EnrollmentContainer/index.js.map +1 -1
  110. package/lib/module/core/PaymentInlineContainer/index.js +3 -3
  111. package/lib/module/core/PaymentInlineContainer/index.js.map +1 -1
  112. package/lib/module/core/PaymentLiteContainer/index.js +6 -6
  113. package/lib/module/core/PaymentLiteContainer/index.js.map +1 -1
  114. package/lib/module/core/Tonder/index.js +14 -8
  115. package/lib/module/core/Tonder/index.js.map +1 -1
  116. package/lib/module/hooks/useTonder/index.js +1 -1
  117. package/lib/module/hooks/useTonder/index.js.map +1 -1
  118. package/lib/module/index.js +13 -0
  119. package/lib/module/index.js.map +1 -1
  120. package/lib/module/infrastructure/HttpClient.js +2 -3
  121. package/lib/module/infrastructure/HttpClient.js.map +1 -1
  122. package/lib/module/infrastructure/ServiceManager.js +2 -3
  123. package/lib/module/infrastructure/ServiceManager.js.map +1 -1
  124. package/lib/module/services/BusinessService.js +2 -2
  125. package/lib/module/services/BusinessService.js.map +1 -1
  126. package/lib/module/services/CardService.js +2 -3
  127. package/lib/module/services/CardService.js.map +1 -1
  128. package/lib/module/services/CheckoutService.js +2 -2
  129. package/lib/module/services/CheckoutService.js.map +1 -1
  130. package/lib/module/services/CustomerService.js +2 -2
  131. package/lib/module/services/CustomerService.js.map +1 -1
  132. package/lib/module/services/PaymentMethodService.js +2 -2
  133. package/lib/module/services/PaymentMethodService.js.map +1 -1
  134. package/lib/module/services/SkyflowService.js +2 -2
  135. package/lib/module/services/SkyflowService.js.map +1 -1
  136. package/lib/module/services/TokenService.js +2 -2
  137. package/lib/module/services/TokenService.js.map +1 -1
  138. package/lib/module/services/TransactionService.js +2 -2
  139. package/lib/module/services/TransactionService.js.map +1 -1
  140. package/lib/module/services/index.js +0 -1
  141. package/lib/module/services/index.js.map +1 -1
  142. package/lib/module/shared/catalog/cardBrandCatalog.js +1 -1
  143. package/lib/module/shared/catalog/cardBrandCatalog.js.map +1 -1
  144. package/lib/module/shared/catalog/paymentMethodsCatalog.js +2 -2
  145. package/lib/module/shared/catalog/paymentMethodsCatalog.js.map +1 -1
  146. package/lib/module/shared/constants/environments.js +1 -1
  147. package/lib/module/shared/constants/messages.js +1 -1
  148. package/lib/module/shared/constants/messages.js.map +1 -1
  149. package/lib/module/shared/utils/errors.js +1 -1
  150. package/lib/module/shared/utils/errors.js.map +1 -1
  151. package/lib/module/shared/utils/paymentMethodUtils.js +2 -2
  152. package/lib/module/shared/utils/paymentMethodUtils.js.map +1 -1
  153. package/lib/module/shared/utils/stringUtils.js +15 -0
  154. package/lib/module/shared/utils/stringUtils.js.map +1 -1
  155. package/lib/module/types/srn-temp.d.js +2 -0
  156. package/lib/module/types/srn-temp.d.js.map +1 -0
  157. package/lib/module/ui/components/Button/ProcessButton.js +1 -1
  158. package/lib/module/ui/components/Button/ProcessButton.js.map +1 -1
  159. package/lib/module/ui/components/CardForm/index.js +5 -5
  160. package/lib/module/ui/components/CardForm/index.js.map +1 -1
  161. package/lib/module/ui/components/Input/CardCVVInput.js +5 -4
  162. package/lib/module/ui/components/Input/CardCVVInput.js.map +1 -1
  163. package/lib/module/ui/components/Input/CardExpirationDateInput.js +5 -5
  164. package/lib/module/ui/components/Input/CardExpirationDateInput.js.map +1 -1
  165. package/lib/module/ui/components/Input/CardExpirationMonthInput.js +6 -5
  166. package/lib/module/ui/components/Input/CardExpirationMonthInput.js.map +1 -1
  167. package/lib/module/ui/components/Input/CardExpirationYearInput.js +5 -4
  168. package/lib/module/ui/components/Input/CardExpirationYearInput.js.map +1 -1
  169. package/lib/module/ui/components/Input/CardHolderInput.js +5 -4
  170. package/lib/module/ui/components/Input/CardHolderInput.js.map +1 -1
  171. package/lib/module/ui/components/Input/CardNumberInput.js +5 -4
  172. package/lib/module/ui/components/Input/CardNumberInput.js.map +1 -1
  173. package/lib/module/ui/components/PaymentMethodsList/index.js +6 -6
  174. package/lib/module/ui/components/PaymentMethodsList/index.js.map +1 -1
  175. package/lib/module/ui/components/SavedCardsList/index.js +4 -3
  176. package/lib/module/ui/components/SavedCardsList/index.js.map +1 -1
  177. package/lib/module/ui/features/TonderEnrollment/index.js +6 -6
  178. package/lib/module/ui/features/TonderEnrollment/index.js.map +1 -1
  179. package/lib/module/ui/features/TonderPayment/index.js +12 -13
  180. package/lib/module/ui/features/TonderPayment/index.js.map +1 -1
  181. package/lib/module/ui/providers/InnerProvider/index.js +1 -1
  182. package/lib/module/ui/providers/InnerProvider/index.js.map +1 -1
  183. package/lib/module/ui/providers/SkyflowContainerWrapper/index.js +1 -1
  184. package/lib/module/ui/providers/SkyflowContainerWrapper/index.js.map +1 -1
  185. package/lib/module/ui/providers/TonderProvider/hook.js +1 -1
  186. package/lib/module/ui/providers/TonderProvider/hook.js.map +1 -1
  187. package/lib/module/ui/providers/TonderProvider/index.js +15 -13
  188. package/lib/module/ui/providers/TonderProvider/index.js.map +1 -1
  189. package/lib/module/ui/providers/TonderProvider/uiWrapper.js +2 -2
  190. package/lib/module/ui/providers/TonderProvider/uiWrapper.js.map +1 -1
  191. package/lib/module/ui/styles/skyflow.js +1 -1
  192. package/lib/typescript/commonjs/src/core/3DSHandler.d.ts +4 -4
  193. package/lib/typescript/commonjs/src/core/3DSHandler.d.ts.map +1 -1
  194. package/lib/typescript/commonjs/src/core/BaseCheckout/index.d.ts +5 -5
  195. package/lib/typescript/commonjs/src/core/BaseCheckout/index.d.ts.map +1 -1
  196. package/lib/typescript/commonjs/src/core/BaseEnrollment/index.d.ts +5 -5
  197. package/lib/typescript/commonjs/src/core/BaseEnrollment/index.d.ts.map +1 -1
  198. package/lib/typescript/commonjs/src/core/BaseSDK/index.d.ts +2 -2
  199. package/lib/typescript/commonjs/src/core/BaseSDK/index.d.ts.map +1 -1
  200. package/lib/typescript/commonjs/src/core/EnrollmentContainer/index.d.ts +4 -4
  201. package/lib/typescript/commonjs/src/core/EnrollmentContainer/index.d.ts.map +1 -1
  202. package/lib/typescript/commonjs/src/core/PaymentInlineContainer/index.d.ts +4 -4
  203. package/lib/typescript/commonjs/src/core/PaymentInlineContainer/index.d.ts.map +1 -1
  204. package/lib/typescript/commonjs/src/core/PaymentLiteContainer/index.d.ts +4 -4
  205. package/lib/typescript/commonjs/src/core/PaymentLiteContainer/index.d.ts.map +1 -1
  206. package/lib/typescript/commonjs/src/core/Tonder/index.d.ts +2 -2
  207. package/lib/typescript/commonjs/src/core/Tonder/index.d.ts.map +1 -1
  208. package/lib/typescript/commonjs/src/hooks/useTonder/index.d.ts +2 -2
  209. package/lib/typescript/commonjs/src/hooks/useTonder/index.d.ts.map +1 -1
  210. package/lib/typescript/commonjs/src/index.d.ts +1 -0
  211. package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
  212. package/lib/typescript/commonjs/src/infrastructure/HttpClient.d.ts +1 -1
  213. package/lib/typescript/commonjs/src/infrastructure/HttpClient.d.ts.map +1 -1
  214. package/lib/typescript/commonjs/src/infrastructure/ServiceManager.d.ts +2 -3
  215. package/lib/typescript/commonjs/src/infrastructure/ServiceManager.d.ts.map +1 -1
  216. package/lib/typescript/commonjs/src/services/BusinessService.d.ts +2 -2
  217. package/lib/typescript/commonjs/src/services/BusinessService.d.ts.map +1 -1
  218. package/lib/typescript/commonjs/src/services/CardService.d.ts +2 -2
  219. package/lib/typescript/commonjs/src/services/CardService.d.ts.map +1 -1
  220. package/lib/typescript/commonjs/src/services/CheckoutService.d.ts +2 -2
  221. package/lib/typescript/commonjs/src/services/CheckoutService.d.ts.map +1 -1
  222. package/lib/typescript/commonjs/src/services/CustomerService.d.ts +2 -2
  223. package/lib/typescript/commonjs/src/services/CustomerService.d.ts.map +1 -1
  224. package/lib/typescript/commonjs/src/services/PaymentMethodService.d.ts +2 -2
  225. package/lib/typescript/commonjs/src/services/PaymentMethodService.d.ts.map +1 -1
  226. package/lib/typescript/commonjs/src/services/SkyflowService.d.ts +1 -1
  227. package/lib/typescript/commonjs/src/services/SkyflowService.d.ts.map +1 -1
  228. package/lib/typescript/commonjs/src/services/TokenService.d.ts +2 -2
  229. package/lib/typescript/commonjs/src/services/TokenService.d.ts.map +1 -1
  230. package/lib/typescript/commonjs/src/services/TransactionService.d.ts +2 -2
  231. package/lib/typescript/commonjs/src/services/TransactionService.d.ts.map +1 -1
  232. package/lib/typescript/commonjs/src/services/index.d.ts +0 -1
  233. package/lib/typescript/commonjs/src/services/index.d.ts.map +1 -1
  234. package/lib/typescript/commonjs/src/shared/constants/environments.d.ts +1 -1
  235. package/lib/typescript/commonjs/src/shared/utils/common.d.ts +1 -1
  236. package/lib/typescript/commonjs/src/shared/utils/common.d.ts.map +1 -1
  237. package/lib/typescript/commonjs/src/shared/utils/stringUtils.d.ts +3 -0
  238. package/lib/typescript/commonjs/src/shared/utils/stringUtils.d.ts.map +1 -1
  239. package/lib/typescript/commonjs/src/shared/utils/styleUtils.d.ts +1 -1
  240. package/lib/typescript/commonjs/src/shared/utils/styleUtils.d.ts.map +1 -1
  241. package/lib/typescript/commonjs/src/types/base.d.ts +5 -5
  242. package/lib/typescript/commonjs/src/types/base.d.ts.map +1 -1
  243. package/lib/typescript/commonjs/src/types/baseCheckout.d.ts +2 -2
  244. package/lib/typescript/commonjs/src/types/baseCheckout.d.ts.map +1 -1
  245. package/lib/typescript/commonjs/src/types/baseEnrollment.d.ts +2 -2
  246. package/lib/typescript/commonjs/src/types/baseEnrollment.d.ts.map +1 -1
  247. package/lib/typescript/commonjs/src/types/baseSDK.d.ts +2 -2
  248. package/lib/typescript/commonjs/src/types/baseSDK.d.ts.map +1 -1
  249. package/lib/typescript/commonjs/src/types/common.d.ts +1 -1
  250. package/lib/typescript/commonjs/src/types/common.d.ts.map +1 -1
  251. package/lib/typescript/commonjs/src/types/enrollment.d.ts +1 -1
  252. package/lib/typescript/commonjs/src/types/enrollment.d.ts.map +1 -1
  253. package/lib/typescript/commonjs/src/types/inlineCheckout.d.ts +3 -3
  254. package/lib/typescript/commonjs/src/types/inlineCheckout.d.ts.map +1 -1
  255. package/lib/typescript/commonjs/src/types/liteCheckout.d.ts +3 -3
  256. package/lib/typescript/commonjs/src/types/liteCheckout.d.ts.map +1 -1
  257. package/lib/typescript/commonjs/src/types/threeDSHandler.d.ts +2 -2
  258. package/lib/typescript/commonjs/src/types/threeDSHandler.d.ts.map +1 -1
  259. package/lib/typescript/commonjs/src/ui/components/Button/ProcessButton.d.ts +1 -1
  260. package/lib/typescript/commonjs/src/ui/components/Button/ProcessButton.d.ts.map +1 -1
  261. package/lib/typescript/commonjs/src/ui/components/CardForm/index.d.ts +1 -1
  262. package/lib/typescript/commonjs/src/ui/components/CardForm/index.d.ts.map +1 -1
  263. package/lib/typescript/commonjs/src/ui/components/Input/CardCVVInput.d.ts +1 -1
  264. package/lib/typescript/commonjs/src/ui/components/Input/CardCVVInput.d.ts.map +1 -1
  265. package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationDateInput.d.ts +1 -1
  266. package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationDateInput.d.ts.map +1 -1
  267. package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationMonthInput.d.ts +1 -1
  268. package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationMonthInput.d.ts.map +1 -1
  269. package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationYearInput.d.ts +1 -1
  270. package/lib/typescript/commonjs/src/ui/components/Input/CardExpirationYearInput.d.ts.map +1 -1
  271. package/lib/typescript/commonjs/src/ui/components/Input/CardHolderInput.d.ts +1 -1
  272. package/lib/typescript/commonjs/src/ui/components/Input/CardHolderInput.d.ts.map +1 -1
  273. package/lib/typescript/commonjs/src/ui/components/Input/CardNumberInput.d.ts +1 -1
  274. package/lib/typescript/commonjs/src/ui/components/Input/CardNumberInput.d.ts.map +1 -1
  275. package/lib/typescript/commonjs/src/ui/components/PaymentMethodsList/index.d.ts +1 -1
  276. package/lib/typescript/commonjs/src/ui/components/PaymentMethodsList/index.d.ts.map +1 -1
  277. package/lib/typescript/commonjs/src/ui/components/RadioButton/index.d.ts +1 -1
  278. package/lib/typescript/commonjs/src/ui/components/RadioButton/index.d.ts.map +1 -1
  279. package/lib/typescript/commonjs/src/ui/components/SavedCardsList/index.d.ts +1 -1
  280. package/lib/typescript/commonjs/src/ui/components/SavedCardsList/index.d.ts.map +1 -1
  281. package/lib/typescript/commonjs/src/ui/features/TonderPayment/index.d.ts.map +1 -1
  282. package/lib/typescript/commonjs/src/ui/providers/InnerProvider/index.d.ts +1 -1
  283. package/lib/typescript/commonjs/src/ui/providers/InnerProvider/index.d.ts.map +1 -1
  284. package/lib/typescript/commonjs/src/ui/providers/SkyflowContainerWrapper/index.d.ts +2 -2
  285. package/lib/typescript/commonjs/src/ui/providers/SkyflowContainerWrapper/index.d.ts.map +1 -1
  286. package/lib/typescript/commonjs/src/ui/providers/TonderProvider/context.d.ts +2 -2
  287. package/lib/typescript/commonjs/src/ui/providers/TonderProvider/context.d.ts.map +1 -1
  288. package/lib/typescript/commonjs/src/ui/providers/TonderProvider/hook.d.ts +1 -1
  289. package/lib/typescript/commonjs/src/ui/providers/TonderProvider/hook.d.ts.map +1 -1
  290. package/lib/typescript/commonjs/src/ui/providers/TonderProvider/index.d.ts +1 -1
  291. package/lib/typescript/commonjs/src/ui/providers/TonderProvider/index.d.ts.map +1 -1
  292. package/lib/typescript/commonjs/src/ui/providers/TonderProvider/uiWrapper.d.ts +1 -1
  293. package/lib/typescript/commonjs/src/ui/providers/TonderProvider/uiWrapper.d.ts.map +1 -1
  294. package/lib/typescript/module/src/core/3DSHandler.d.ts +4 -4
  295. package/lib/typescript/module/src/core/3DSHandler.d.ts.map +1 -1
  296. package/lib/typescript/module/src/core/BaseCheckout/index.d.ts +5 -5
  297. package/lib/typescript/module/src/core/BaseCheckout/index.d.ts.map +1 -1
  298. package/lib/typescript/module/src/core/BaseEnrollment/index.d.ts +5 -5
  299. package/lib/typescript/module/src/core/BaseEnrollment/index.d.ts.map +1 -1
  300. package/lib/typescript/module/src/core/BaseSDK/index.d.ts +2 -2
  301. package/lib/typescript/module/src/core/BaseSDK/index.d.ts.map +1 -1
  302. package/lib/typescript/module/src/core/EnrollmentContainer/index.d.ts +4 -4
  303. package/lib/typescript/module/src/core/EnrollmentContainer/index.d.ts.map +1 -1
  304. package/lib/typescript/module/src/core/PaymentInlineContainer/index.d.ts +4 -4
  305. package/lib/typescript/module/src/core/PaymentInlineContainer/index.d.ts.map +1 -1
  306. package/lib/typescript/module/src/core/PaymentLiteContainer/index.d.ts +4 -4
  307. package/lib/typescript/module/src/core/PaymentLiteContainer/index.d.ts.map +1 -1
  308. package/lib/typescript/module/src/core/Tonder/index.d.ts +2 -2
  309. package/lib/typescript/module/src/core/Tonder/index.d.ts.map +1 -1
  310. package/lib/typescript/module/src/hooks/useTonder/index.d.ts +2 -2
  311. package/lib/typescript/module/src/hooks/useTonder/index.d.ts.map +1 -1
  312. package/lib/typescript/module/src/index.d.ts +1 -0
  313. package/lib/typescript/module/src/index.d.ts.map +1 -1
  314. package/lib/typescript/module/src/infrastructure/HttpClient.d.ts +1 -1
  315. package/lib/typescript/module/src/infrastructure/HttpClient.d.ts.map +1 -1
  316. package/lib/typescript/module/src/infrastructure/ServiceManager.d.ts +2 -3
  317. package/lib/typescript/module/src/infrastructure/ServiceManager.d.ts.map +1 -1
  318. package/lib/typescript/module/src/services/BusinessService.d.ts +2 -2
  319. package/lib/typescript/module/src/services/BusinessService.d.ts.map +1 -1
  320. package/lib/typescript/module/src/services/CardService.d.ts +2 -2
  321. package/lib/typescript/module/src/services/CardService.d.ts.map +1 -1
  322. package/lib/typescript/module/src/services/CheckoutService.d.ts +2 -2
  323. package/lib/typescript/module/src/services/CheckoutService.d.ts.map +1 -1
  324. package/lib/typescript/module/src/services/CustomerService.d.ts +2 -2
  325. package/lib/typescript/module/src/services/CustomerService.d.ts.map +1 -1
  326. package/lib/typescript/module/src/services/PaymentMethodService.d.ts +2 -2
  327. package/lib/typescript/module/src/services/PaymentMethodService.d.ts.map +1 -1
  328. package/lib/typescript/module/src/services/SkyflowService.d.ts +1 -1
  329. package/lib/typescript/module/src/services/SkyflowService.d.ts.map +1 -1
  330. package/lib/typescript/module/src/services/TokenService.d.ts +2 -2
  331. package/lib/typescript/module/src/services/TokenService.d.ts.map +1 -1
  332. package/lib/typescript/module/src/services/TransactionService.d.ts +2 -2
  333. package/lib/typescript/module/src/services/TransactionService.d.ts.map +1 -1
  334. package/lib/typescript/module/src/services/index.d.ts +0 -1
  335. package/lib/typescript/module/src/services/index.d.ts.map +1 -1
  336. package/lib/typescript/module/src/shared/constants/environments.d.ts +1 -1
  337. package/lib/typescript/module/src/shared/utils/common.d.ts +1 -1
  338. package/lib/typescript/module/src/shared/utils/common.d.ts.map +1 -1
  339. package/lib/typescript/module/src/shared/utils/stringUtils.d.ts +3 -0
  340. package/lib/typescript/module/src/shared/utils/stringUtils.d.ts.map +1 -1
  341. package/lib/typescript/module/src/shared/utils/styleUtils.d.ts +1 -1
  342. package/lib/typescript/module/src/shared/utils/styleUtils.d.ts.map +1 -1
  343. package/lib/typescript/module/src/types/base.d.ts +5 -5
  344. package/lib/typescript/module/src/types/base.d.ts.map +1 -1
  345. package/lib/typescript/module/src/types/baseCheckout.d.ts +2 -2
  346. package/lib/typescript/module/src/types/baseCheckout.d.ts.map +1 -1
  347. package/lib/typescript/module/src/types/baseEnrollment.d.ts +2 -2
  348. package/lib/typescript/module/src/types/baseEnrollment.d.ts.map +1 -1
  349. package/lib/typescript/module/src/types/baseSDK.d.ts +2 -2
  350. package/lib/typescript/module/src/types/baseSDK.d.ts.map +1 -1
  351. package/lib/typescript/module/src/types/common.d.ts +1 -1
  352. package/lib/typescript/module/src/types/common.d.ts.map +1 -1
  353. package/lib/typescript/module/src/types/enrollment.d.ts +1 -1
  354. package/lib/typescript/module/src/types/enrollment.d.ts.map +1 -1
  355. package/lib/typescript/module/src/types/inlineCheckout.d.ts +3 -3
  356. package/lib/typescript/module/src/types/inlineCheckout.d.ts.map +1 -1
  357. package/lib/typescript/module/src/types/liteCheckout.d.ts +3 -3
  358. package/lib/typescript/module/src/types/liteCheckout.d.ts.map +1 -1
  359. package/lib/typescript/module/src/types/threeDSHandler.d.ts +2 -2
  360. package/lib/typescript/module/src/types/threeDSHandler.d.ts.map +1 -1
  361. package/lib/typescript/module/src/ui/components/Button/ProcessButton.d.ts +1 -1
  362. package/lib/typescript/module/src/ui/components/Button/ProcessButton.d.ts.map +1 -1
  363. package/lib/typescript/module/src/ui/components/CardForm/index.d.ts +1 -1
  364. package/lib/typescript/module/src/ui/components/CardForm/index.d.ts.map +1 -1
  365. package/lib/typescript/module/src/ui/components/Input/CardCVVInput.d.ts +1 -1
  366. package/lib/typescript/module/src/ui/components/Input/CardCVVInput.d.ts.map +1 -1
  367. package/lib/typescript/module/src/ui/components/Input/CardExpirationDateInput.d.ts +1 -1
  368. package/lib/typescript/module/src/ui/components/Input/CardExpirationDateInput.d.ts.map +1 -1
  369. package/lib/typescript/module/src/ui/components/Input/CardExpirationMonthInput.d.ts +1 -1
  370. package/lib/typescript/module/src/ui/components/Input/CardExpirationMonthInput.d.ts.map +1 -1
  371. package/lib/typescript/module/src/ui/components/Input/CardExpirationYearInput.d.ts +1 -1
  372. package/lib/typescript/module/src/ui/components/Input/CardExpirationYearInput.d.ts.map +1 -1
  373. package/lib/typescript/module/src/ui/components/Input/CardHolderInput.d.ts +1 -1
  374. package/lib/typescript/module/src/ui/components/Input/CardHolderInput.d.ts.map +1 -1
  375. package/lib/typescript/module/src/ui/components/Input/CardNumberInput.d.ts +1 -1
  376. package/lib/typescript/module/src/ui/components/Input/CardNumberInput.d.ts.map +1 -1
  377. package/lib/typescript/module/src/ui/components/PaymentMethodsList/index.d.ts +1 -1
  378. package/lib/typescript/module/src/ui/components/PaymentMethodsList/index.d.ts.map +1 -1
  379. package/lib/typescript/module/src/ui/components/RadioButton/index.d.ts +1 -1
  380. package/lib/typescript/module/src/ui/components/RadioButton/index.d.ts.map +1 -1
  381. package/lib/typescript/module/src/ui/components/SavedCardsList/index.d.ts +1 -1
  382. package/lib/typescript/module/src/ui/components/SavedCardsList/index.d.ts.map +1 -1
  383. package/lib/typescript/module/src/ui/features/TonderPayment/index.d.ts.map +1 -1
  384. package/lib/typescript/module/src/ui/providers/InnerProvider/index.d.ts +1 -1
  385. package/lib/typescript/module/src/ui/providers/InnerProvider/index.d.ts.map +1 -1
  386. package/lib/typescript/module/src/ui/providers/SkyflowContainerWrapper/index.d.ts +2 -2
  387. package/lib/typescript/module/src/ui/providers/SkyflowContainerWrapper/index.d.ts.map +1 -1
  388. package/lib/typescript/module/src/ui/providers/TonderProvider/context.d.ts +2 -2
  389. package/lib/typescript/module/src/ui/providers/TonderProvider/context.d.ts.map +1 -1
  390. package/lib/typescript/module/src/ui/providers/TonderProvider/hook.d.ts +1 -1
  391. package/lib/typescript/module/src/ui/providers/TonderProvider/hook.d.ts.map +1 -1
  392. package/lib/typescript/module/src/ui/providers/TonderProvider/index.d.ts +1 -1
  393. package/lib/typescript/module/src/ui/providers/TonderProvider/index.d.ts.map +1 -1
  394. package/lib/typescript/module/src/ui/providers/TonderProvider/uiWrapper.d.ts +1 -1
  395. package/lib/typescript/module/src/ui/providers/TonderProvider/uiWrapper.d.ts.map +1 -1
  396. package/package.json +24 -30
  397. package/src/core/3DSHandler.ts +26 -16
  398. package/src/core/BaseCheckout/index.ts +11 -12
  399. package/src/core/BaseEnrollment/index.ts +6 -7
  400. package/src/core/BaseSDK/index.ts +4 -4
  401. package/src/core/EnrollmentContainer/index.ts +7 -8
  402. package/src/core/PaymentInlineContainer/index.ts +6 -6
  403. package/src/core/PaymentLiteContainer/index.ts +9 -9
  404. package/src/core/Tonder/index.ts +13 -10
  405. package/src/hooks/useTonder/index.ts +2 -2
  406. package/src/index.tsx +23 -0
  407. package/src/infrastructure/HttpClient.ts +3 -4
  408. package/src/infrastructure/ServiceManager.ts +3 -6
  409. package/src/services/BusinessService.ts +4 -4
  410. package/src/services/CardService.ts +4 -5
  411. package/src/services/CheckoutService.ts +4 -4
  412. package/src/services/CustomerService.ts +4 -4
  413. package/src/services/PaymentMethodService.ts +4 -4
  414. package/src/services/SkyflowService.ts +3 -3
  415. package/src/services/TokenService.ts +4 -4
  416. package/src/services/TransactionService.ts +4 -4
  417. package/src/services/index.ts +0 -1
  418. package/src/shared/catalog/cardBrandCatalog.ts +1 -1
  419. package/src/shared/catalog/paymentMethodsCatalog.ts +2 -2
  420. package/src/shared/constants/environments.ts +1 -1
  421. package/src/shared/constants/messages.ts +1 -1
  422. package/src/shared/utils/common.ts +1 -1
  423. package/src/shared/utils/errors.ts +1 -1
  424. package/src/shared/utils/paymentMethodUtils.ts +2 -2
  425. package/src/shared/utils/stringUtils.ts +24 -0
  426. package/src/shared/utils/styleUtils.ts +1 -1
  427. package/src/types/base.ts +5 -5
  428. package/src/types/baseCheckout.ts +2 -3
  429. package/src/types/baseEnrollment.ts +2 -2
  430. package/src/types/baseSDK.ts +2 -2
  431. package/src/types/common.ts +1 -1
  432. package/src/types/enrollment.ts +1 -1
  433. package/src/types/inlineCheckout.ts +3 -3
  434. package/src/types/liteCheckout.ts +3 -3
  435. package/src/types/{skyflow-react-native.d.ts → srn-temp.d.ts} +1 -1
  436. package/src/types/threeDSHandler.ts +2 -2
  437. package/src/ui/components/Button/ProcessButton.tsx +2 -2
  438. package/src/ui/components/CardForm/index.tsx +6 -6
  439. package/src/ui/components/Input/CardCVVInput.tsx +6 -5
  440. package/src/ui/components/Input/CardExpirationDateInput.tsx +6 -6
  441. package/src/ui/components/Input/CardExpirationMonthInput.tsx +10 -6
  442. package/src/ui/components/Input/CardExpirationYearInput.tsx +6 -5
  443. package/src/ui/components/Input/CardHolderInput.tsx +6 -5
  444. package/src/ui/components/Input/CardNumberInput.tsx +6 -5
  445. package/src/ui/components/PaymentMethodsList/index.tsx +7 -7
  446. package/src/ui/components/RadioButton/index.tsx +1 -1
  447. package/src/ui/components/SavedCardsList/index.tsx +5 -4
  448. package/src/ui/features/TonderEnrollment/index.tsx +7 -7
  449. package/src/ui/features/TonderPayment/index.tsx +13 -20
  450. package/src/ui/providers/InnerProvider/index.tsx +2 -2
  451. package/src/ui/providers/SkyflowContainerWrapper/index.tsx +3 -3
  452. package/src/ui/providers/TonderProvider/context.tsx +3 -3
  453. package/src/ui/providers/TonderProvider/hook.ts +2 -2
  454. package/src/ui/providers/TonderProvider/index.tsx +24 -20
  455. package/src/ui/providers/TonderProvider/uiWrapper.ts +3 -3
  456. package/src/ui/styles/skyflow.ts +1 -1
  457. package/tonder-io-rn-sdk.podspec +41 -0
  458. package/.yarn/patches/skyflow-react-native-npm-1.7.0-0841655e49.patch +0 -13
  459. package/lib/commonjs/services/StorageService.js +0 -49
  460. package/lib/commonjs/services/StorageService.js.map +0 -1
  461. package/lib/commonjs/types/skyflow-react-native.d.js +0 -2
  462. package/lib/commonjs/types/skyflow-react-native.d.js.map +0 -1
  463. package/lib/module/services/StorageService.js +0 -43
  464. package/lib/module/services/StorageService.js.map +0 -1
  465. package/lib/module/types/skyflow-react-native.d.js +0 -2
  466. package/lib/module/types/skyflow-react-native.d.js.map +0 -1
  467. package/lib/typescript/commonjs/src/services/StorageService.d.ts +0 -7
  468. package/lib/typescript/commonjs/src/services/StorageService.d.ts.map +0 -1
  469. package/lib/typescript/module/src/services/StorageService.d.ts +0 -7
  470. package/lib/typescript/module/src/services/StorageService.d.ts.map +0 -1
  471. package/src/services/StorageService.ts +0 -56
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../src/types/common.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEjC,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC5B;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED,MAAM,WAAW,uBAAwB,SAAQ,mBAAmB;IAClE,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAClC;AAED,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,M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C;IAC5B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,kBAAkB,EAAE,OAAO,CAAC;CAC7B;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,OAAO;IACtB,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,QAAQ,CAAC,EAAE,iBAAiB,GAAG,aAAa,CAAC;IAC7C,cAAc,CAAC,EAAE,mBAAmB,CAAC;IACrC,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,cAAc,CAAC,EAAE,iBAAiB,CAAC;CACpC;AAED,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,OAAO;IAC/C,SAAS,EAAE,UAAU,CAAC;IACtB,GAAG,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IACpB,KAAK,EAAE,GAAG,CAAC;CACZ"}
@@ -4,7 +4,7 @@ import { SDKType } from './base';
4
4
  import type { ISaveCardResponse } from './card';
5
5
  import type { IFormLabels, IFormPlaceholder, IStyles } from './common';
6
6
  import type { ICustomer } from './customer';
7
- import TonderError from '@shared/utils/errors';
7
+ import TonderError from '../shared/utils/errors';
8
8
  export interface IEnrollmentOptions extends IBaseCreateOptions {
9
9
  customer?: ICustomer;
10
10
  customization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EAAE,aAAa,CAAC,iBAAiB,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9E;AAED,MAAM,WAAW,+BAA+B;IAC9C,UAAU,CAAC,EAAE;QACX,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IACF,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AACD,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB;IAC5D,aAAa,CAAC,EAAE,+BAA+B,CAAC;IAChD,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC;CACjB;AACD,MAAM,WAAW,WAAW;IAC1B;;;;;;;OAOG;IACH,MAAM,CACJ,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC,UAAU,CAAC,GACnC,OAAO,CAAC;QAAE,KAAK,CAAC,EAAE,WAAW,CAAA;KAAE,CAAC,CAAC;IAEpC;;;;;;OAMG;IACH,gBAAgB,IAAI,OAAO,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAE9D;;;;;;;;;;;OAWG;IACH,KAAK,IAAI,IAAI,CAAC;CACf"}
@@ -1,6 +1,6 @@
1
- import type { IBaseCheckoutState, IBaseCreateOptions, ICustomerCardsResponse, IPaymentMethod, ISaveCardsOptions, IFormLabels, IFormPlaceholder, IStyles, ITransaction, IBaseProcessPaymentRequest, IBaseCallback, IBaseResponse } from '@tonder.io/rn-sdk';
2
- import { SDKType } from '@tonder.io/rn-sdk';
3
- import TonderError from '@shared/utils/errors';
1
+ import type { IBaseCheckoutState, IBaseCreateOptions, ICustomerCardsResponse, IPaymentMethod, ISaveCardsOptions, IFormLabels, IFormPlaceholder, IStyles, ITransaction, IBaseProcessPaymentRequest, IBaseCallback, IBaseResponse } from '.';
2
+ import { SDKType } from './base';
3
+ import TonderError from '../shared/utils/errors';
4
4
  export interface IInlineCheckoutOptions extends IBaseCreateOptions {
5
5
  paymentData: IBaseProcessPaymentRequest;
6
6
  customization?: IInlineCustomizationOptions;
@@ -1 +1 @@
1
- {"version":3,"file":"inlineCheckout.d.ts","sourceRoot":"","sources":["../../../../../src/types/inlineCheckout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,OAAO,EACP,YAAY,EACZ,0BAA0B,EAC1B,aAAa,EACb,aAAa,EACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,WAAW,MAAM,sBAAsB,CAAC;AAE/C,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB;IAChE,WAAW,EAAE,0BAA0B,CAAC;IACxC,aAAa,CAAC,EAAE,2BAA2B,CAAC;IAC5C,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,oBACf,SAAQ,kBAAkB,CAAC,OAAO,CAAC,MAAM,CAAC;IAC1C,gBAAgB,CAAC,EAAE;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,aAAa,CAAC,EAAE,2BAA2B,CAAC;IAC5C,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,sBAAsB,CAAC;IACtC,eAAe,EAAE,cAAc,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,2BAA2B;IAC1C,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,aAAa,CAAC,EAAE;QACd,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;IACF,cAAc,CAAC,EAAE;QACf,IAAI,CAAC,EAAE,OAAO,CAAC;KAChB,CAAC;IACF,QAAQ,CAAC,EAAE;QACT,IAAI,CAAC,EAAE,OAAO,CAAC;KAChB,CAAC;IACF,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AACD,MAAM,WAAW,gBAAiB,SAAQ,aAAa;IACrD,gBAAgB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACvC,kBAAkB,CAAC,EAAE,CAAC,QAAQ,EAAE,aAAa,CAAC,MAAM,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACzE;AACD,MAAM,WAAW,uBAAuB;IACtC;;;;;;;OAOG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC;QAAE,KAAK,CAAC,EAAE,WAAW,CAAA;KAAE,CAAC,CAAC;IAEvE;;;;;;OAMG;IACH,OAAO,CACL,IAAI,CAAC,EAAE,0BAA0B,GAChC,OAAO,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC,CAAC;IAExC;;;;;;;;;;;OAWG;IACH,KAAK,IAAI,IAAI,CAAC;CACf"}
1
+ {"version":3,"file":"inlineCheckout.d.ts","sourceRoot":"","sources":["../../../../../src/types/inlineCheckout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,OAAO,EACP,YAAY,EACZ,0BAA0B,EAC1B,aAAa,EACb,aAAa,EACd,MAAM,GAAG,CAAC;AACX,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,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,CAAC,MAAM,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACzE;AACD,MAAM,WAAW,uBAAuB;IACtC;;;;;;;OAOG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC;QAAE,KAAK,CAAC,EAAE,WAAW,CAAA;KAAE,CAAC,CAAC;IAEvE;;;;;;OAMG;IACH,OAAO,CACL,IAAI,CAAC,EAAE,0BAA0B,GAChC,OAAO,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC,CAAC;IAExC;;;;;;;;;;;OAWG;IACH,KAAK,IAAI,IAAI,CAAC;CACf"}
@@ -1,6 +1,6 @@
1
- import type { ICustomerCardsResponse, IPaymentMethod, IProcessPaymentRequest, ISaveCardResponse, ISaveCardsOptionsBase, IBaseCreateOptions, IBaseCheckoutState, ITransaction, IBaseCallback, IInlineCallbacks, IBaseResponse } from '@types';
2
- import { SDKType } from '@types';
3
- import TonderError from '@shared/utils/errors';
1
+ import type { ICustomerCardsResponse, IPaymentMethod, IProcessPaymentRequest, ISaveCardResponse, ISaveCardsOptionsBase, IBaseCreateOptions, IBaseCheckoutState, ITransaction, IBaseCallback, IInlineCallbacks, IBaseResponse } from '.';
2
+ import { SDKType } from './base';
3
+ import TonderError from '../shared/utils/errors';
4
4
  export interface ILiteCheckoutOptions extends IBaseCreateOptions {
5
5
  paymentData: IProcessPaymentRequest;
6
6
  customization?: ILiteCustomizationOptions;
@@ -1 +1 @@
1
- {"version":3,"file":"liteCheckout.d.ts","sourceRoot":"","sources":["../../../../../src/types/liteCheckout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,cAAc,EACd,sBAAsB,EACtB,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAClB,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,aAAa,EACd,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC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G;IACH,OAAO,CAAC,IAAI,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC,CAAC;IAE7E;;;;;OAKG;IACH,gBAAgB,IAAI,OAAO,CAAC,aAAa,CAAC,sBAAsB,CAAC,CAAC,CAAC;IAEnE;;;;;;OAMG;IACH,gBAAgB,IAAI,OAAO,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAE9D;;;;;;OAMG;IACH,kBAAkB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;IAE/D;;;;;OAKG;IACH,iBAAiB,IAAI,OAAO,CAAC,aAAa,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;IAE9D;;;;;;;;;;;OAWG;IACH,KAAK,IAAI,IAAI,CAAC;CACf"}
@@ -1,5 +1,5 @@
1
- import type { ICheckoutResponse, ITransaction } from '@tonder.io/rn-sdk';
2
- import type TonderError from '@shared/utils/errors';
1
+ import type { ICheckoutResponse, ITransaction } from '.';
2
+ import type TonderError from '../shared/utils/errors';
3
3
  export interface IThreeDSHandler {
4
4
  verifyTransaction(): Promise<ITransaction>;
5
5
  handle3DS(payload: ICheckoutResponse, returnURL: string, onFinish: (response: ITransaction | TonderError) => Promise<void>): void;
@@ -1 +1 @@
1
- {"version":3,"file":"threeDSHandler.d.ts","sourceRoot":"","sources":["../../../../../src/types/threeDSHandler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AAEpD,MAAM,WAAW,eAAe;IAC9B,iBAAiB,IAAI,OAAO,CAAC,YAAY,CAAC,CAAC;IAC3C,SAAS,CACP,OAAO,EAAE,iBAAiB,EAC1B,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,CAAC,QAAQ,EAAE,YAAY,GAAG,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,GAChE,IAAI,CAAC;CACT"}
1
+ {"version":3,"file":"threeDSHandler.d.ts","sourceRoot":"","sources":["../../../../../src/types/threeDSHandler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,GAAG,CAAC;AACzD,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AAEtD,MAAM,WAAW,eAAe;IAC9B,iBAAiB,IAAI,OAAO,CAAC,YAAY,CAAC,CAAC;IAC3C,SAAS,CACP,OAAO,EAAE,iBAAiB,EAC1B,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,CAAC,QAAQ,EAAE,YAAY,GAAG,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,GAChE,IAAI,CAAC;CACT"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { StylesBaseVariant } from '@types';
2
+ import type { StylesBaseVariant } from '../../../types';
3
3
  interface PayButtonProps {
4
4
  text: string;
5
5
  onPress?: () => Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"ProcessButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Button/ProcessButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAGhD,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,iBAAiB,CAAC;CAC3B;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAwBlD,CAAC"}
1
+ {"version":3,"file":"ProcessButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Button/ProcessButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGxD,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,iBAAiB,CAAC;CAC3B;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAwBlD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { IElementStyle, IFormLabels, IFormPlaceholder, StylesBaseVariant } from '@types';
2
+ import type { IElementStyle, IFormLabels, IFormPlaceholder, StylesBaseVariant } from '../../../types';
3
3
  interface NewCardFormProps {
4
4
  showSaveOption?: boolean;
5
5
  saveCard: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/CardForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EACV,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,QAAQ,CAAC;AAOhB,UAAU,gBAAgB;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,gBAAgB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,KAAK,CAAC,EAAE,iBAAiB,GAAG,aAAa,CAAC;CAC3C;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA2ClD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/CardForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EACV,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AAOxB,UAAU,gBAAgB;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,gBAAgB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,KAAK,CAAC,EAAE,iBAAiB,GAAG,aAAa,CAAC;CAC3C;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA2ClD,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import type { InputProps } from '@types';
2
+ import type { InputProps } from '../../../types';
3
3
  export declare const CardCVVInput: React.FC<InputProps>;
4
4
  //# sourceMappingURL=CardCVVInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardCVVInput.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Input/CardCVVInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAiBzC,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAwE7C,CAAC"}
1
+ {"version":3,"file":"CardCVVInput.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Input/CardCVVInput.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAiBjD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAwE7C,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { IElementStyle } from '@types';
2
+ import type { IElementStyle } from '../../../types';
3
3
  export interface InputExpiryDateProps {
4
4
  label?: string;
5
5
  yearPlaceholder?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"CardExpirationDateInput.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Input/CardExpirationDateInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAe5C,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AACD,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwDlE,CAAC"}
1
+ {"version":3,"file":"CardExpirationDateInput.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Input/CardExpirationDateInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAepD,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AACD,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwDlE,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import type { InputProps } from '@types';
2
+ import type { InputProps } from '../../../types';
3
3
  export declare const CardExpirationMonthInput: React.FC<InputProps>;
4
4
  //# sourceMappingURL=CardExpirationMonthInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardExpirationMonthInput.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Input/CardExpirationMonthInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAiBzC,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAwEzD,CAAC"}
1
+ {"version":3,"file":"CardExpirationMonthInput.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Input/CardExpirationMonthInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAoBjD,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAwEzD,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import type { InputProps } from '@types';
2
+ import type { InputProps } from '../../../types';
3
3
  export declare const CardExpirationYearInput: React.FC<InputProps>;
4
4
  //# sourceMappingURL=CardExpirationYearInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardExpirationYearInput.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Input/CardExpirationYearInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAkBzC,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAwExD,CAAC"}
1
+ {"version":3,"file":"CardExpirationYearInput.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Input/CardExpirationYearInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAkBjD,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAwExD,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import type { InputProps } from '@types';
2
+ import type { InputProps } from '../../../types';
3
3
  export declare const CardHolderInput: React.FC<InputProps>;
4
4
  //# sourceMappingURL=CardHolderInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardHolderInput.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Input/CardHolderInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAmBzC,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAuEhD,CAAC"}
1
+ {"version":3,"file":"CardHolderInput.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Input/CardHolderInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAmBjD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAuEhD,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import type { InputProps } from '@types';
2
+ import type { InputProps } from '../../../types';
3
3
  export declare const CardNumberInput: React.FC<InputProps>;
4
4
  //# sourceMappingURL=CardNumberInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardNumberInput.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Input/CardNumberInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAkBzC,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAuEhD,CAAC"}
1
+ {"version":3,"file":"CardNumberInput.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/Input/CardNumberInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAkBjD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAuEhD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { IPaymentMethod, StylesSelectVariant } from '@types';
2
+ import type { IPaymentMethod, StylesSelectVariant } from '../../../types';
3
3
  interface PaymentMethodsListProps {
4
4
  methods: IPaymentMethod[];
5
5
  selectedMethod: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/PaymentMethodsList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAKlE,UAAU,uBAAuB;IAC/B,OAAO,EAAE,cAAc,EAAE,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC7B;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA6CzD,CAAC;AA2CF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/PaymentMethodsList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAK1E,UAAU,uBAAuB;IAC/B,OAAO,EAAE,cAAc,EAAE,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC7B;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA6CzD,CAAC;AA2CF,eAAe,kBAAkB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { StylesBaseVariant } from '@types';
2
+ import type { StylesBaseVariant } from '../../../types';
3
3
  interface RadioButtonProps {
4
4
  value: string;
5
5
  selected: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/RadioButton/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAEhD,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,iBAAiB,GAAG;QAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAC/B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAC7B,CAAC;CACH;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAoBlD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/RadioButton/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,iBAAiB,GAAG;QAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAC/B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAC7B,CAAC;CACH;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAoBlD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { ICard, StylesSavedCardsVariant } from '@types';
2
+ import type { ICard, StylesSavedCardsVariant } from '../../../types';
3
3
  interface SavedCardsListProps {
4
4
  cards: ICard[];
5
5
  selectedMethod: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/SavedCardsList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,KAAK,EAAE,KAAK,EAAE,uBAAuB,EAAE,MAAM,QAAQ,CAAC;AAI7D,UAAU,mBAAmB;IAC3B,KAAK,EAAE,KAAK,EAAE,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAChD,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,KAAK,CAAC,EAAE,uBAAuB,CAAC;IAChC,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA2EjD,CAAC;AAoCF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/SavedCardsList/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,KAAK,EAAE,KAAK,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAIrE,UAAU,mBAAmB;IAC3B,KAAK,EAAE,KAAK,EAAE,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAChD,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,KAAK,CAAC,EAAE,uBAAuB,CAAC;IAChC,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA2EjD,CAAC;AAoCF,eAAe,cAAc,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/features/TonderPayment/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAexC,MAAM,WAAW,mBAAmB;CAAG;AACvC,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA6LhD,CAAC;AAqCF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/features/TonderPayment/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAexC,MAAM,WAAW,mBAAmB;CAAG;AACvC,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAsLhD,CAAC;AAqCF,eAAe,aAAa,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ITonderContext, SDKType } from '@types';
2
+ import { ITonderContext, SDKType } from '../../../types';
3
3
  interface InnerProviderProps {
4
4
  children: React.ReactNode;
5
5
  container: any;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/providers/InnerProvider/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAGjD,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,EAAE,GAAG,CAAC;IACf,YAAY,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;CACvC;AAED,QAAA,MAAM,aAAa,+BAAgC,kBAAkB,4CAUpE,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/providers/InnerProvider/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGzD,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,EAAE,GAAG,CAAC;IACf,YAAY,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;CACvC;AAED,QAAA,MAAM,aAAa,+BAAgC,kBAAkB,4CAUpE,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import type { ITonderContext } from '@types';
3
- import { SDKType } from '@types';
2
+ import type { ITonderContext } from '../../../types';
3
+ import { SDKType } from '../../../types';
4
4
  interface SkyflowContainerWrapperProps {
5
5
  children: React.ReactNode;
6
6
  contextValue: ITonderContext<SDKType>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/providers/SkyflowContainerWrapper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAGzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEjC,UAAU,4BAA4B;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,YAAY,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;CACvC;AAED,QAAA,MAAM,uBAAuB,gCAG1B,4BAA4B,4CAkB9B,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/providers/SkyflowContainerWrapper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAGzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC,UAAU,4BAA4B;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,YAAY,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;CACvC;AAED,QAAA,MAAM,uBAAuB,gCAG1B,4BAA4B,4CAkB9B,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { ITonderContext } from '@types';
3
- import { SDKType } from '@types';
2
+ import type { ITonderContext } from '../../../types';
3
+ import { SDKType } from '../../../types';
4
4
  export declare const tonderContext: React.Context<ITonderContext<SDKType>>;
5
5
  //# sourceMappingURL=context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/providers/TonderProvider/context.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,QAAQ,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAGjC,eAAO,MAAM,aAAa,wCAIxB,CAAC"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/providers/TonderProvider/context.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGzC,eAAO,MAAM,aAAa,wCAIxB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { ITonderContext, SDKType } from '@types';
1
+ import { ITonderContext, SDKType } from '../../../types';
2
2
  declare const useTonderContext: <T extends SDKType>() => ITonderContext<T>;
3
3
  export default useTonderContext;
4
4
  //# sourceMappingURL=hook.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hook.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/providers/TonderProvider/hook.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAGjD,QAAA,MAAM,gBAAgB,GAAI,CAAC,SAAS,OAAO,OAAK,cAAc,CAAC,CAAC,CAE/D,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"hook.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/providers/TonderProvider/hook.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGzD,QAAA,MAAM,gBAAgB,GAAI,CAAC,SAAS,OAAO,OAAK,cAAc,CAAC,CAAC,CAE/D,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { ISDKBaseConfig } from '@types';
2
+ import type { ISDKBaseConfig } from '../../../types';
3
3
  export interface ITonderProvider {
4
4
  config: ISDKBaseConfig;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/providers/TonderProvider/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,QAAQ,CAAC;AAW1D,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,cAAc,CAAC;CACxB;;AA6FD,wBAA0C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/providers/TonderProvider/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,gBAAgB,CAAC;AAWlE,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,cAAc,CAAC;CACxB;;AAiGD,wBAA0C"}
@@ -1,4 +1,4 @@
1
- import type Tonder from '@core/Tonder';
1
+ import type Tonder from '../../../core/Tonder';
2
2
  export interface IUIWrapper {
3
3
  removeCustomerCard: (cardId: string) => Promise<void>;
4
4
  updateMethod: (method: string, value: string) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"uiWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/providers/TonderProvider/uiWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,cAAc,CAAC;AAIvC,MAAM,WAAW,UAAU;IACzB,kBAAkB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACtD,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtD,cAAc,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,mBAAmB,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CAC3C;AAED,QAAA,MAAM,SAAS,WAAY,MAAM,KAAG,UA4DlC,CAAC;AAEH,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"uiWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/providers/TonderProvider/uiWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAC;AAI/C,MAAM,WAAW,UAAU;IACzB,kBAAkB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACtD,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtD,cAAc,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,mBAAmB,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CAC3C;AAED,QAAA,MAAM,SAAS,WAAY,MAAM,KAAG,UA4DlC,CAAC;AAEH,eAAe,SAAS,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tonder.io/rn-sdk",
3
- "version": "0.1.0-beta.DEV1355.6",
3
+ "version": "0.1.0-beta.DEV1355.8",
4
4
  "description": "Tonder react native sdk",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",
@@ -24,7 +24,7 @@
24
24
  "ios",
25
25
  "cpp",
26
26
  "*.podspec",
27
- "react-native.config.json",
27
+ "react-native.config.js",
28
28
  "!ios/build",
29
29
  "!android/build",
30
30
  "!android/gradle",
@@ -34,15 +34,14 @@
34
34
  "!**/__tests__",
35
35
  "!**/__fixtures__",
36
36
  "!**/__mocks__",
37
- "!**/.*",
38
- ".yarn/patches/"
37
+ "!**/.*"
39
38
  ],
40
39
  "scripts": {
41
40
  "example": "yarn workspace @tonder.io/rn-sdk-example",
42
41
  "test": "jest",
43
42
  "typecheck": "tsc",
44
43
  "lint": "eslint \"**/*.{js,ts,tsx}\"",
45
- "clean": "del-cli lib",
44
+ "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
46
45
  "prepare": "bob build",
47
46
  "release": "release-it"
48
47
  },
@@ -53,42 +52,39 @@
53
52
  ],
54
53
  "repository": {
55
54
  "type": "git",
56
- "url": "git+https://github.com/tonderio/rn-sdk.git"
55
+ "url": "git+https://github.com/tonderio/rn-sdk.git.git/tonder.io-rn-sdk.git"
57
56
  },
58
- "author": "Tonder <davidh@tonder.io> (https://)",
57
+ "author": "Tonder <davidh@tonder.io> (https://github.com/tonderio/rn-sdk.git.git)",
59
58
  "license": "MIT",
60
59
  "bugs": {
61
- "url": "https://github.com/tonderio/rn-sdk/issues"
60
+ "url": "https://github.com/tonderio/rn-sdk.git.git/tonder.io-rn-sdk/issues"
62
61
  },
63
- "homepage": "https://github.com/tonderio/rn-sdk#readme",
62
+ "homepage": "https://github.com/tonderio/rn-sdk.git.git/tonder.io-rn-sdk#readme",
64
63
  "publishConfig": {
65
64
  "registry": "https://registry.npmjs.org/"
66
65
  },
67
66
  "devDependencies": {
68
67
  "@commitlint/config-conventional": "^17.0.2",
69
68
  "@evilmartians/lefthook": "^1.5.0",
69
+ "@react-native-community/cli": "15.0.1",
70
70
  "@react-native/eslint-config": "^0.73.1",
71
- "@release-it/conventional-changelog": "^5.0.0",
72
- "@testing-library/jest-native": "^5.4.3",
73
- "@testing-library/react-native": "^12.8.1",
74
- "@types/crypto-js": "^4.2.2",
75
- "@types/jest": "^29.5.14",
76
- "@types/lodash": "^4.17.13",
71
+ "@release-it/conventional-changelog": "^9.0.2",
72
+ "@types/jest": "^29.5.5",
77
73
  "@types/react": "^18.2.44",
78
- "babel-plugin-module-resolver": "^5.0.2",
79
74
  "commitlint": "^17.0.2",
80
75
  "del-cli": "^5.1.0",
81
76
  "eslint": "^8.51.0",
82
77
  "eslint-config-prettier": "^9.0.0",
83
78
  "eslint-plugin-prettier": "^5.0.1",
84
79
  "jest": "^29.7.0",
85
- "jest-fetch-mock": "^3.0.3",
86
80
  "prettier": "^3.0.3",
87
- "react": "18.2.0",
88
- "react-native": "0.74.5",
89
- "react-native-builder-bob": "^0.30.3",
90
- "release-it": "^15.0.0",
91
- "ts-jest": "^29.2.5",
81
+ "react": "18.3.1",
82
+ "react-native": "0.76.3",
83
+ "react-native-builder-bob": "^0.33.1",
84
+ "react-native-svg": "^15.9.0",
85
+ "react-native-webview": "^13.12.4",
86
+ "release-it": "^17.10.0",
87
+ "turbo": "^1.10.7",
92
88
  "typescript": "^5.2.2"
93
89
  },
94
90
  "resolutions": {
@@ -97,12 +93,13 @@
97
93
  "peerDependencies": {
98
94
  "react": "*",
99
95
  "react-native": "*",
96
+ "react-native-svg": "*",
100
97
  "react-native-webview": "*"
101
98
  },
102
99
  "workspaces": [
103
100
  "example"
104
101
  ],
105
- "packageManager": "yarn@4.5.2",
102
+ "packageManager": "yarn@3.6.1",
106
103
  "jest": {
107
104
  "preset": "react-native",
108
105
  "modulePathIgnorePatterns": [
@@ -189,16 +186,13 @@
189
186
  ]
190
187
  },
191
188
  "create-react-native-library": {
192
- "type": "library",
193
- "version": "0.42.2"
189
+ "type": "module-legacy",
190
+ "languages": "kotlin-swift",
191
+ "version": "0.44.2"
194
192
  },
195
193
  "dependencies": {
196
- "@react-native-async-storage/async-storage": "^2.0.0",
197
- "lodash": "^4.17.21",
198
- "lucide-react-native": "^0.456.0",
194
+ "lucide-react-native": "^0.461.0",
199
195
  "openpay-react-native": "^2.0.10",
200
- "react-native-svg": "^15.9.0",
201
- "react-native-webview": "^13.11.1",
202
196
  "skyflow-react-native": "https://github.com/davidhernandez-adm/srn-adl"
203
197
  }
204
198
  }
@@ -2,21 +2,22 @@
2
2
  import type {
3
3
  ICheckoutResponse,
4
4
  ISDKBaseConfig,
5
- ITransaction,
6
5
  IThreeDSHandler,
7
- } from '@types';
8
- import { ServiceManager } from '@infrastructure/ServiceManager';
9
- import TonderError from '@shared/utils/errors';
10
- import { ErrorKeyEnum } from '@shared/enum';
6
+ ITransaction,
7
+ } from '../types';
8
+ import { ServiceManager } from '../infrastructure';
9
+ import TonderError from '../shared/utils/errors';
10
+ import { ErrorKeyEnum } from '../shared';
11
+ import { get } from '../shared/utils/stringUtils';
11
12
 
12
13
  export class ThreeDSHandler implements IThreeDSHandler {
13
14
  protected readonly service: ServiceManager;
14
15
  private payload?: ICheckoutResponse;
15
- private readonly STORAGE_KEY = 'verify_transaction_status_url';
16
16
  private onFinish: (response: ITransaction | TonderError) => Promise<void>;
17
17
  emit3DS: (eventName: string, data: any) => void;
18
18
  resumeCheckout: (checkoutId: string) => Promise<ICheckoutResponse>;
19
19
  returnURL?: string;
20
+ private verifyURL: string;
20
21
  constructor(
21
22
  protected readonly config: ISDKBaseConfig,
22
23
  service: ServiceManager,
@@ -26,15 +27,14 @@ export class ThreeDSHandler implements IThreeDSHandler {
26
27
  this.service = service;
27
28
  this.emit3DS = emit3DS;
28
29
  this.resumeCheckout = resumeCheckout;
30
+ this.verifyURL = '';
29
31
  }
30
32
 
31
33
  public async verifyTransaction(): Promise<ITransaction> {
32
- const verifyUrl = await this.service.storage.getItemWithExpires<string>(
33
- this.STORAGE_KEY
34
- );
35
-
36
34
  try {
37
- return await this.service.transaction.verifyTransactionStatus(verifyUrl!);
35
+ return await this.service.transaction.verifyTransactionStatus(
36
+ this.verifyURL!
37
+ );
38
38
  } catch (error) {
39
39
  throw error;
40
40
  }
@@ -63,9 +63,16 @@ export class ThreeDSHandler implements IThreeDSHandler {
63
63
  // } else {
64
64
  // return await this.handleRedirect();
65
65
  // }
66
-
67
- await this.saveVerifyTransactionUrl();
68
66
  const url = this.getRedirectUrl();
67
+
68
+ if (!url) {
69
+ const url_verify = this.payload.actions.find(
70
+ (it) => it.name === 'verify_transaction_status'
71
+ );
72
+ await this.saveVerifyTransactionUrl(get(url_verify, 'url'));
73
+ } else {
74
+ this.saveVerifyTransactionUrl();
75
+ }
69
76
  const trx_response = await this.verifyTransaction();
70
77
  if (!url) {
71
78
  this.emit3DS('hide3DS', {});
@@ -93,6 +100,8 @@ export class ThreeDSHandler implements IThreeDSHandler {
93
100
  const retry_checkout = await this.resumeCheckout(
94
101
  response?.checkout.id!
95
102
  );
103
+ this.setPayload(retry_checkout);
104
+
96
105
  await this.handle3DS(
97
106
  retry_checkout,
98
107
  this.returnURL,
@@ -125,20 +134,21 @@ export class ThreeDSHandler implements IThreeDSHandler {
125
134
  private getRedirectUrl(): string | undefined {
126
135
  return this.payload?.next_action?.redirect_to_url?.url;
127
136
  }
128
- private async saveVerifyTransactionUrl(): Promise<void> {
137
+ private async saveVerifyTransactionUrl(urlData?: string): Promise<void> {
129
138
  const url =
139
+ urlData ||
130
140
  this.payload?.next_action?.redirect_to_url
131
141
  ?.verify_transaction_status_url ||
132
142
  this.payload?.next_action?.iframe_resources
133
143
  ?.verify_transaction_status_url;
134
144
 
135
145
  if (url) {
136
- await this.service.storage.setItem(this.STORAGE_KEY, url);
146
+ this.verifyURL = url;
137
147
  }
138
148
  }
139
149
 
140
150
  private async removeVerifyTransactionUrl(): Promise<void> {
141
- await this.service.storage.removeItem(this.STORAGE_KEY);
151
+ this.verifyURL = '';
142
152
  }
143
153
 
144
154
  private async loadIframe() {}