@moneylion/react-native-offer-carousel 1.8.0 → 1.8.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 (279) hide show
  1. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.js.map +1 -1
  2. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.js.map +1 -1
  3. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/index.js.map +1 -1
  4. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.js.map +1 -1
  5. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/percentage.js.map +1 -1
  6. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.js.map +1 -1
  7. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.js.map +1 -1
  8. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.js.map +1 -1
  9. package/lib/commonjs/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.js +1 -2
  10. package/lib/commonjs/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.js.map +1 -1
  11. package/lib/commonjs/components/Button/index.js +1 -2
  12. package/lib/commonjs/components/Button/index.js.map +1 -1
  13. package/lib/commonjs/components/Common/DynamicOfferCard/SeeMore.js +1 -2
  14. package/lib/commonjs/components/Common/DynamicOfferCard/SeeMore.js.map +1 -1
  15. package/lib/commonjs/components/DynamicOffers/DynamicOffersContainer.js +1 -2
  16. package/lib/commonjs/components/DynamicOffers/DynamicOffersContainer.js.map +1 -1
  17. package/lib/commonjs/components/DynamicOffers/Render/DynamicOffersRender.js +1 -2
  18. package/lib/commonjs/components/DynamicOffers/Render/DynamicOffersRender.js.map +1 -1
  19. package/lib/commonjs/components/DynamicOffers/Render/Offer.js +1 -2
  20. package/lib/commonjs/components/DynamicOffers/Render/Offer.js.map +1 -1
  21. package/lib/commonjs/components/Modal/AllOffersModal.js +1 -2
  22. package/lib/commonjs/components/Modal/AllOffersModal.js.map +1 -1
  23. package/lib/commonjs/components/MoneyLionOfferCarousel.js +24 -4
  24. package/lib/commonjs/components/MoneyLionOfferCarousel.js.map +1 -1
  25. package/lib/commonjs/components/Skeleton/Skeleton.js +1 -2
  26. package/lib/commonjs/components/Skeleton/Skeleton.js.map +1 -1
  27. package/lib/commonjs/components/Touchable/index.js +1 -2
  28. package/lib/commonjs/components/Touchable/index.js.map +1 -1
  29. package/lib/commonjs/components/utils/errorUtils.js +18 -23
  30. package/lib/commonjs/components/utils/errorUtils.js.map +1 -1
  31. package/lib/commonjs/context/ConfigurationProvider.js +1 -2
  32. package/lib/commonjs/context/ConfigurationProvider.js.map +1 -1
  33. package/lib/commonjs/context/EventHandlerProvider.js +1 -2
  34. package/lib/commonjs/context/EventHandlerProvider.js.map +1 -1
  35. package/lib/commonjs/context/ThemeProvider.js +1 -2
  36. package/lib/commonjs/context/ThemeProvider.js.map +1 -1
  37. package/lib/commonjs/version.js +2 -3
  38. package/lib/commonjs/version.js.map +1 -1
  39. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.js.map +1 -1
  40. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.js.map +1 -1
  41. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/index.js +18 -19
  42. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/index.js.map +1 -1
  43. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.js.map +1 -1
  44. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/percentage.js.map +1 -1
  45. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.js.map +1 -1
  46. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.js.map +1 -1
  47. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.js.map +1 -1
  48. package/lib/module/components/MoneyLionOfferCarousel.js +24 -3
  49. package/lib/module/components/MoneyLionOfferCarousel.js.map +1 -1
  50. package/lib/module/components/utils/errorUtils.js +18 -23
  51. package/lib/module/components/utils/errorUtils.js.map +1 -1
  52. package/lib/module/version.js +2 -2
  53. package/lib/module/version.js.map +1 -1
  54. package/lib/typescript/src/apiEnvironment.d.ts.map +1 -1
  55. package/lib/typescript/src/capabilities/configuration/src/brands/checkVisualEligibility.d.ts.map +1 -1
  56. package/lib/typescript/src/capabilities/configuration/src/brands/createDerivedBrands.d.ts.map +1 -1
  57. package/lib/typescript/src/capabilities/configuration/src/brands/types.d.ts.map +1 -1
  58. package/lib/typescript/src/capabilities/configuration/src/userData/types.d.ts +6 -0
  59. package/lib/typescript/src/capabilities/configuration/src/userData/types.d.ts.map +1 -1
  60. package/lib/typescript/src/capabilities/core/src/domain/third-party-search/orderProductTypesByRankUtils.d.ts.map +1 -1
  61. package/lib/typescript/src/capabilities/errors/types/index.d.ts.map +1 -1
  62. package/lib/typescript/src/capabilities/offer-catalog/src/api/offerCatalogApi.d.ts +2 -2
  63. package/lib/typescript/src/capabilities/offer-catalog/src/api/offerCatalogApi.d.ts.map +1 -1
  64. package/lib/typescript/src/capabilities/offer-catalog/src/utils/arrayToMarkdownList.d.ts.map +1 -1
  65. package/lib/typescript/src/capabilities/offer-catalog/src/utils/contextUtil.d.ts.map +1 -1
  66. package/lib/typescript/src/capabilities/offer-catalog/src/utils/formatUtils.d.ts.map +1 -1
  67. package/lib/typescript/src/capabilities/offer-catalog/src/utils/getEventCallbackContext.d.ts.map +1 -1
  68. package/lib/typescript/src/capabilities/offer-catalog/src/utils/getOfferUrl.d.ts.map +1 -1
  69. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.d.ts.map +1 -1
  70. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/boolean.d.ts.map +1 -1
  71. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/common.d.ts.map +1 -1
  72. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.d.ts.map +1 -1
  73. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/currency.d.ts.map +1 -1
  74. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.d.ts.map +1 -1
  75. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.d.ts.map +1 -1
  76. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.d.ts.map +1 -1
  77. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/index.d.ts +18 -19
  78. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/index.d.ts.map +1 -1
  79. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.d.ts.map +1 -1
  80. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/percentage.d.ts.map +1 -1
  81. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.d.ts.map +1 -1
  82. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.d.ts.map +1 -1
  83. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.d.ts.map +1 -1
  84. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.d.ts.map +1 -1
  85. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.d.ts.map +1 -1
  86. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.d.ts.map +1 -1
  87. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.d.ts.map +1 -1
  88. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.d.ts.map +1 -1
  89. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/index.d.ts.map +1 -1
  90. package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.d.ts.map +1 -1
  91. package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts +11 -11
  92. package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts.map +1 -1
  93. package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.d.ts +2 -2
  94. package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.d.ts.map +1 -1
  95. package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/components.d.ts +4 -4
  96. package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/components.d.ts.map +1 -1
  97. package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/index.d.ts.map +1 -1
  98. package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/markdownPreprocessor.d.ts.map +1 -1
  99. package/lib/typescript/src/capabilities/ui/elements/src/components/thumbor/index.d.ts.map +1 -1
  100. package/lib/typescript/src/capabilities/ui/elements/src/offerCardAttributes.d.ts +1 -2
  101. package/lib/typescript/src/capabilities/ui/elements/src/offerCardAttributes.d.ts.map +1 -1
  102. package/lib/typescript/src/components/Common/BaseOfferCard/Stat/Stat.d.ts +3 -3
  103. package/lib/typescript/src/components/Common/BaseOfferCard/Stat/Stat.d.ts.map +1 -1
  104. package/lib/typescript/src/components/Common/BaseOfferCard/Stat/index.d.ts.map +1 -1
  105. package/lib/typescript/src/components/Common/BaseOfferCard/StatsContainer/StatsContainer.d.ts.map +1 -1
  106. package/lib/typescript/src/components/Common/BaseOfferCard/index.d.ts +7 -7
  107. package/lib/typescript/src/components/Common/BaseOfferCard/index.d.ts.map +1 -1
  108. package/lib/typescript/src/components/Common/DynamicOfferCard/CallToAction.d.ts.map +1 -1
  109. package/lib/typescript/src/components/Common/DynamicOfferCard/SeeMore.d.ts.map +1 -1
  110. package/lib/typescript/src/components/Divider/index.d.ts.map +1 -1
  111. package/lib/typescript/src/components/DynamicOffers/DynamicOffers.d.ts.map +1 -1
  112. package/lib/typescript/src/components/DynamicOffers/DynamicOffersContainer.d.ts.map +1 -1
  113. package/lib/typescript/src/components/DynamicOffers/Render/DynamicOffersRender.d.ts.map +1 -1
  114. package/lib/typescript/src/components/DynamicOffers/Render/Offer.d.ts.map +1 -1
  115. package/lib/typescript/src/components/DynamicOffers/SeeAllButton.d.ts.map +1 -1
  116. package/lib/typescript/src/components/Layouts/CreditCardOfferCard/index.d.ts.map +1 -1
  117. package/lib/typescript/src/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts.map +1 -1
  118. package/lib/typescript/src/components/Layouts/DefaultOfferCard/index.d.ts.map +1 -1
  119. package/lib/typescript/src/components/Layouts/DefaultOfferCard/statsBuilder.d.ts.map +1 -1
  120. package/lib/typescript/src/components/Layouts/HeadlineWithDescriptionCard/index.d.ts.map +1 -1
  121. package/lib/typescript/src/components/Modal/AllOffersModal.d.ts.map +1 -1
  122. package/lib/typescript/src/components/Modal/OfferDetailsModal.d.ts.map +1 -1
  123. package/lib/typescript/src/components/MoneyLionOfferCarousel.d.ts.map +1 -1
  124. package/lib/typescript/src/components/Skeleton/Skeleton.d.ts.map +1 -1
  125. package/lib/typescript/src/components/Touchable/TouchableOpacity.d.ts +0 -1
  126. package/lib/typescript/src/components/Touchable/TouchableOpacity.d.ts.map +1 -1
  127. package/lib/typescript/src/components/utils/errorUtils.d.ts +3 -3
  128. package/lib/typescript/src/components/utils/errorUtils.d.ts.map +1 -1
  129. package/lib/typescript/src/context/ConfigurationProvider.d.ts.map +1 -1
  130. package/lib/typescript/src/index.d.ts +1 -0
  131. package/lib/typescript/src/index.d.ts.map +1 -1
  132. package/lib/typescript/src/services/getDynamicOffers.d.ts.map +1 -1
  133. package/lib/typescript/src/services/getProductTypes.d.ts.map +1 -1
  134. package/lib/typescript/src/services/getProductTypesByQuery.d.ts.map +1 -1
  135. package/lib/typescript/src/utils/addClientTagsToOfferLinks.d.ts.map +1 -1
  136. package/lib/typescript/src/utils/formatOfferUrl.d.ts +39 -44
  137. package/lib/typescript/src/utils/formatOfferUrl.d.ts.map +1 -1
  138. package/lib/typescript/src/utils/getDefaultProductType.d.ts.map +1 -1
  139. package/lib/typescript/src/utils/getEnableUseCachedOffers.d.ts.map +1 -1
  140. package/lib/typescript/src/utils/getOffersByProductTypes.d.ts +3 -3
  141. package/lib/typescript/src/utils/getOffersByProductTypes.d.ts.map +1 -1
  142. package/lib/typescript/src/utils/getProductTypesDefinition.d.ts.map +1 -1
  143. package/lib/typescript/src/utils/getThemeColors.d.ts.map +1 -1
  144. package/lib/typescript/src/utils/parseStringProductTypes.d.ts.map +1 -1
  145. package/lib/typescript/src/utils/resolveProductTypes.d.ts.map +1 -1
  146. package/lib/typescript/src/utils/selectDynamicOffers.d.ts.map +1 -1
  147. package/lib/typescript/src/utils/sortOffersByRecommendationScore.d.ts.map +1 -1
  148. package/lib/typescript/src/version.d.ts +1 -1
  149. package/lib/typescript/src/version.d.ts.map +1 -1
  150. package/package.json +81 -135
  151. package/src/capabilities/configuration/src/userData/types.ts +6 -0
  152. package/src/capabilities/errors/types/index.ts +4 -2
  153. package/src/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.ts +0 -1
  154. package/src/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.ts +0 -1
  155. package/src/capabilities/offer-catalog/src/utils/stats/formatters/index.ts +18 -19
  156. package/src/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.ts +0 -1
  157. package/src/capabilities/offer-catalog/src/utils/stats/formatters/percentage.ts +0 -1
  158. package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.ts +0 -1
  159. package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.ts +0 -1
  160. package/src/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.ts +0 -1
  161. package/src/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.ts +1 -1
  162. package/src/capabilities/offers/pipeline/src/sources/ratetables/types/PublicApi.d.ts +1939 -1921
  163. package/src/components/Common/BaseOfferCard/Stat/index.tsx +1 -1
  164. package/src/components/MoneyLionOfferCarousel.tsx +42 -3
  165. package/src/components/utils/errorUtils.ts +17 -23
  166. package/src/index.tsx +4 -0
  167. package/src/version.ts +2 -2
  168. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.js +0 -60
  169. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.js.map +0 -1
  170. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.js +0 -62
  171. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.js.map +0 -1
  172. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.js +0 -31
  173. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.js.map +0 -1
  174. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.js +0 -208
  175. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.js.map +0 -1
  176. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.js +0 -24
  177. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.js.map +0 -1
  178. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.js +0 -40
  179. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.js.map +0 -1
  180. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.js +0 -43
  181. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.js.map +0 -1
  182. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.js +0 -32
  183. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.js.map +0 -1
  184. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.js +0 -69
  185. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.js.map +0 -1
  186. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.js +0 -72
  187. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.js.map +0 -1
  188. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.js +0 -29
  189. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.js.map +0 -1
  190. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.js +0 -46
  191. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.js.map +0 -1
  192. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.js +0 -83
  193. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.js.map +0 -1
  194. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.js +0 -28
  195. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.js.map +0 -1
  196. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.js +0 -30
  197. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.js.map +0 -1
  198. package/lib/commonjs/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.js +0 -44
  199. package/lib/commonjs/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.js.map +0 -1
  200. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.js +0 -59
  201. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.js.map +0 -1
  202. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.js +0 -61
  203. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.js.map +0 -1
  204. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.js +0 -30
  205. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.js.map +0 -1
  206. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.js +0 -207
  207. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.js.map +0 -1
  208. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.js +0 -23
  209. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.js.map +0 -1
  210. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.js +0 -39
  211. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.js.map +0 -1
  212. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.js +0 -42
  213. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.js.map +0 -1
  214. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.js +0 -31
  215. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.js.map +0 -1
  216. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.js +0 -68
  217. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.js.map +0 -1
  218. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.js +0 -71
  219. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.js.map +0 -1
  220. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.js +0 -28
  221. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.js.map +0 -1
  222. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.js +0 -45
  223. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.js.map +0 -1
  224. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.js +0 -82
  225. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.js.map +0 -1
  226. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.js +0 -27
  227. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.js.map +0 -1
  228. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.js +0 -29
  229. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.js.map +0 -1
  230. package/lib/module/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.js +0 -43
  231. package/lib/module/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.js.map +0 -1
  232. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.d.ts +0 -1
  233. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.d.ts.map +0 -1
  234. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.d.ts +0 -1
  235. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.d.ts.map +0 -1
  236. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.d.ts +0 -1
  237. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.d.ts.map +0 -1
  238. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.d.ts +0 -1
  239. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.d.ts.map +0 -1
  240. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.d.ts +0 -1
  241. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.d.ts.map +0 -1
  242. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.d.ts +0 -1
  243. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.d.ts.map +0 -1
  244. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.d.ts +0 -1
  245. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.d.ts.map +0 -1
  246. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.d.ts +0 -1
  247. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.d.ts.map +0 -1
  248. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.d.ts +0 -1
  249. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.d.ts.map +0 -1
  250. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.d.ts +0 -1
  251. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.d.ts.map +0 -1
  252. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.d.ts +0 -1
  253. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.d.ts.map +0 -1
  254. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.d.ts +0 -1
  255. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.d.ts.map +0 -1
  256. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.d.ts +0 -1
  257. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.d.ts.map +0 -1
  258. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.d.ts +0 -1
  259. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.d.ts.map +0 -1
  260. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.d.ts +0 -1
  261. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.d.ts.map +0 -1
  262. package/lib/typescript/src/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.d.ts +0 -1
  263. package/lib/typescript/src/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.d.ts.map +0 -1
  264. package/src/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.ts +0 -58
  265. package/src/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.ts +0 -60
  266. package/src/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.ts +0 -29
  267. package/src/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.ts +0 -206
  268. package/src/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.ts +0 -22
  269. package/src/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.ts +0 -38
  270. package/src/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.ts +0 -41
  271. package/src/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.ts +0 -30
  272. package/src/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.ts +0 -67
  273. package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.ts +0 -70
  274. package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.ts +0 -27
  275. package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.ts +0 -44
  276. package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.ts +0 -81
  277. package/src/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.ts +0 -26
  278. package/src/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.ts +0 -28
  279. package/src/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.ts +0 -42
@@ -11,14 +11,9 @@ export declare const formatOfferUrl: (productTypesDefinition: ProductTypeDefinit
11
11
  uuid: string;
12
12
  version: number;
13
13
  financialInstitutionUuid: string;
14
- /**
15
- * Format the offer URL
16
- * @param offers - The offers to format if needed
17
- * @returns The offers with the formatted URL
18
- */
19
14
  createdAt: string;
20
15
  internalName: string;
21
- legalLanguage?: string | undefined;
16
+ legalLanguage?: string;
22
17
  unmonetizedUrl: string;
23
18
  recommendationScore: number;
24
19
  productDisplayName: string;
@@ -27,43 +22,43 @@ export declare const formatOfferUrl: (productTypesDefinition: ProductTypeDefinit
27
22
  status: "active" | "inactive" | "pending";
28
23
  updatedAt: string;
29
24
  financialInstitutionDisplayName: string;
30
- keywords?: string[] | undefined;
31
- acceptanceRequirements?: string | undefined;
32
- headline?: string | undefined;
33
- monetizedUrl?: string | undefined;
34
- disclaimer?: string | undefined;
35
- firmness?: string | undefined;
36
- annualPercentageRateType?: "fixed" | "variable" | undefined;
37
- annualPercentageRateBasisPointsMax?: number | undefined;
38
- annualPercentageRateBasisPointsMin?: number | undefined;
39
- amountCentsMax?: number | undefined;
40
- amountCentsMin?: number | undefined;
41
- description?: string | undefined;
42
- descriptionPoints?: string[] | undefined;
43
- monthlyPaymentCentsMin?: number | undefined;
44
- monthlyPaymentCentsMax?: number | undefined;
45
- creditBureauReporting?: string[] | undefined;
46
- stateExclusions?: string[] | undefined;
47
- enrollmentFeeBasisPointsMax?: number | undefined;
48
- enrollmentFeeBasisPointsMin?: number | undefined;
49
- debtAmountCentsMin?: number | undefined;
50
- debtAmountCentsMax?: number | undefined;
51
- monthlyFeeCentsMin?: number | undefined;
52
- monthlyFeeCentsMax?: number | undefined;
53
- fastTransferFeeCentsMin?: number | undefined;
54
- fastTransferFeeCentsMax?: number | undefined;
55
- fastTransferFeeBasisPointsMin?: number | undefined;
56
- fastTransferFeeBasisPointsMax?: number | undefined;
57
- annualAdvisoryFeeBasisPointsMin?: number | undefined;
58
- annualAdvisoryFeeBasisPointsMax?: number | undefined;
59
- accountCentsMin?: number | undefined;
60
- termLengthMonthsMin?: number | undefined;
61
- termLengthMonthsMax?: number | undefined;
62
- demandSubAccountUuid?: string | undefined;
63
- demandSubAccountImageUrl?: string | undefined;
64
- demandSubAccountDisplayName?: string | undefined;
65
- outOfNetworkAtmUsageFeeCents?: number | undefined;
66
- annualPercentageYieldBasisPoints?: number | undefined;
67
- isMonetized?: boolean | undefined;
25
+ keywords?: string[];
26
+ acceptanceRequirements?: string;
27
+ headline?: string;
28
+ monetizedUrl?: string;
29
+ disclaimer?: string;
30
+ firmness?: string;
31
+ annualPercentageRateType?: "fixed" | "variable";
32
+ annualPercentageRateBasisPointsMax?: number;
33
+ annualPercentageRateBasisPointsMin?: number;
34
+ amountCentsMax?: number;
35
+ amountCentsMin?: number;
36
+ description?: string;
37
+ descriptionPoints?: string[];
38
+ monthlyPaymentCentsMin?: number;
39
+ monthlyPaymentCentsMax?: number;
40
+ creditBureauReporting?: string[];
41
+ stateExclusions?: string[];
42
+ enrollmentFeeBasisPointsMax?: number;
43
+ enrollmentFeeBasisPointsMin?: number;
44
+ debtAmountCentsMin?: number;
45
+ debtAmountCentsMax?: number;
46
+ monthlyFeeCentsMin?: number;
47
+ monthlyFeeCentsMax?: number;
48
+ fastTransferFeeCentsMin?: number;
49
+ fastTransferFeeCentsMax?: number;
50
+ fastTransferFeeBasisPointsMin?: number;
51
+ fastTransferFeeBasisPointsMax?: number;
52
+ annualAdvisoryFeeBasisPointsMin?: number;
53
+ annualAdvisoryFeeBasisPointsMax?: number;
54
+ accountCentsMin?: number;
55
+ termLengthMonthsMin?: number;
56
+ termLengthMonthsMax?: number;
57
+ demandSubAccountUuid?: string;
58
+ demandSubAccountImageUrl?: string;
59
+ demandSubAccountDisplayName?: string;
60
+ outOfNetworkAtmUsageFeeCents?: number;
61
+ annualPercentageYieldBasisPoints?: number;
62
+ isMonetized?: boolean;
68
63
  }[];
69
64
  //# sourceMappingURL=formatOfferUrl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"formatOfferUrl.d.ts","sourceRoot":"","sources":["../../../../src/utils/formatOfferUrl.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,MAAM,mCAAmC,CAAC;AAE3C;;;;GAIG;AACH,eAAO,MAAM,cAAc,2BAED,qBAAqB,EAAE,8BACnB,eAAe,EAAE,cAErC,SAAS,EAAE;;;;;;;IAVrB;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoBD,CAAC"}
1
+ {"version":3,"file":"formatOfferUrl.d.ts","sourceRoot":"","sources":["../../../../src/utils/formatOfferUrl.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,MAAM,mCAAmC,CAAC;AAE3C;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAEzB,wBAAwB,qBAAqB,EAAE,EAC/C,4BAA4B,eAAe,EAAE,MAE7C,QAAQ,SAAS,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAcnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getDefaultProductType.d.ts","sourceRoot":"","sources":["../../../../src/utils/getDefaultProductType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAExF,eAAO,MAAM,qBAAqB,YAAa,UAAU,WACE,CAAC"}
1
+ {"version":3,"file":"getDefaultProductType.d.ts","sourceRoot":"","sources":["../../../../src/utils/getDefaultProductType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAExF,eAAO,MAAM,qBAAqB,GAAI,SAAS,UAAU,WACE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getEnableUseCachedOffers.d.ts","sourceRoot":"","sources":["../../../../src/utils/getEnableUseCachedOffers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAExF;;;;;;;;GAQG;AACH,eAAO,MAAM,wBAAwB,YAAa,UAAU,YACD,CAAC"}
1
+ {"version":3,"file":"getEnableUseCachedOffers.d.ts","sourceRoot":"","sources":["../../../../src/utils/getEnableUseCachedOffers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAExF;;;;;;;;GAQG;AACH,eAAO,MAAM,wBAAwB,GAAI,SAAS,UAAU,YACD,CAAC"}
@@ -16,9 +16,9 @@ export declare const getOffersByProductTypes: ({ isCachedOffersRequest, productT
16
16
  productTypes: string[];
17
17
  tags: string;
18
18
  context: CnfContext;
19
- userData?: UserData | undefined;
20
- enablePolling?: boolean | undefined;
21
- onError?: InternalOnErrorCallback | undefined;
19
+ userData?: UserData;
20
+ enablePolling?: boolean;
21
+ onError?: InternalOnErrorCallback;
22
22
  }) => Promise<{
23
23
  offers: never[] | import("../capabilities/offer-catalog/src").BaseOffer[];
24
24
  rateTableUuid: string;
@@ -1 +1 @@
1
- {"version":3,"file":"getOffersByProductTypes.d.ts","sourceRoot":"","sources":["../../../../src/utils/getOffersByProductTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kDAAkD,CAAC;AACjF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AACxF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAO5E;;;;;;;;;GASG;AACH,eAAO,MAAM,uBAAuB;2BASZ,OAAO;kBAChB,MAAM,EAAE;UAChB,MAAM;aACH,UAAU;;;;;;;;;;EAsBnB,CAAC"}
1
+ {"version":3,"file":"getOffersByProductTypes.d.ts","sourceRoot":"","sources":["../../../../src/utils/getOffersByProductTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kDAAkD,CAAC;AACjF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AACxF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAO5E;;;;;;;;;GASG;AACH,eAAO,MAAM,uBAAuB,GAAU,2FAQ3C;IACF,qBAAqB,EAAE,OAAO,CAAC;IAC/B,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,UAAU,CAAC;IACpB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,uBAAuB,CAAC;CAClC;;;;;;EAkBA,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getProductTypesDefinition.d.ts","sourceRoot":"","sources":["../../../../src/utils/getProductTypesDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAExF,eAAO,MAAM,yBAAyB,YAAa,UAAU;;;;;;;;;;;CAU5D,CAAC"}
1
+ {"version":3,"file":"getProductTypesDefinition.d.ts","sourceRoot":"","sources":["../../../../src/utils/getProductTypesDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAExF,eAAO,MAAM,yBAAyB,GAAI,SAAS,UAAU;;;;;;;;;;;CAU5D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getThemeColors.d.ts","sourceRoot":"","sources":["../../../../src/utils/getThemeColors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0DAA0D,CAAC;AAEpG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,cAAc,wBACL,mBAAmB,gBAC3B,OAAO,KAClB,WAiBF,CAAC"}
1
+ {"version":3,"file":"getThemeColors.d.ts","sourceRoot":"","sources":["../../../../src/utils/getThemeColors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0DAA0D,CAAC;AAEpG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,cAAc,GAC1B,qBAAqB,mBAAmB,EACxC,cAAa,OAAe,KAC1B,WAiBF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"parseStringProductTypes.d.ts","sourceRoot":"","sources":["../../../../src/utils/parseStringProductTypes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,kBAAmB,MAAM,aAM5D,CAAC"}
1
+ {"version":3,"file":"parseStringProductTypes.d.ts","sourceRoot":"","sources":["../../../../src/utils/parseStringProductTypes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,GAAI,eAAe,MAAM,aAM5D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"resolveProductTypes.d.ts","sourceRoot":"","sources":["../../../../src/utils/resolveProductTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAC5E,OAAO,EAAmB,KAAK,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAE/E,KAAK,wBAAwB,GAAG;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,uBAAuB,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,mBAAmB,UACxB,wBAAwB,KAC7B,QAAQ;IACV,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,UAAU,EAAE,UAAU,CAAC;CACvB,CAEA,CAAC"}
1
+ {"version":3,"file":"resolveProductTypes.d.ts","sourceRoot":"","sources":["../../../../src/utils/resolveProductTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAC5E,OAAO,EAAmB,KAAK,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAE/E,KAAK,wBAAwB,GAAG;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,uBAAuB,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC/B,OAAO,wBAAwB,KAC7B,OAAO,CAAC;IACV,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,UAAU,EAAE,UAAU,CAAC;CACvB,CAEA,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"selectDynamicOffers.d.ts","sourceRoot":"","sources":["../../../../src/utils/selectDynamicOffers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAGnE,eAAO,MAAM,mBAAmB,WACvB,SAAS,EAAE,gBACL,MAAM,EAAE,gBAWtB,CAAC"}
1
+ {"version":3,"file":"selectDynamicOffers.d.ts","sourceRoot":"","sources":["../../../../src/utils/selectDynamicOffers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAGnE,eAAO,MAAM,mBAAmB,GAC/B,QAAQ,SAAS,EAAE,EACnB,cAAc,MAAM,EAAE,gBAWtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"sortOffersByRecommendationScore.d.ts","sourceRoot":"","sources":["../../../../src/utils/sortOffersByRecommendationScore.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAEnE,eAAO,MAAM,+BAA+B,WAAY,SAAS,EAAE,gBAElE,CAAC"}
1
+ {"version":3,"file":"sortOffersByRecommendationScore.d.ts","sourceRoot":"","sources":["../../../../src/utils/sortOffersByRecommendationScore.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAEnE,eAAO,MAAM,+BAA+B,GAAI,QAAQ,SAAS,EAAE,gBAElE,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const VERSION: string;
1
+ export declare const VERSION = "1.8.8";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/version.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO,QAAsB,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/version.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,136 +1,82 @@
1
1
  {
2
- "name": "@moneylion/react-native-offer-carousel",
3
- "version": "1.8.0",
4
- "description": "React Native components for the Engine by MoneyLion Mobile SDK",
5
- "main": "lib/commonjs/index",
6
- "module": "lib/module/index",
7
- "types": "lib/typescript/src/index.d.ts",
8
- "react-native": "src/index",
9
- "source": "src/index",
10
- "files": [
11
- "src",
12
- "lib",
13
- "android",
14
- "ios",
15
- "cpp",
16
- "*.podspec",
17
- "!ios/build",
18
- "!android/build",
19
- "!android/gradle",
20
- "!android/gradlew",
21
- "!android/gradlew.bat",
22
- "!android/local.properties",
23
- "!**/__tests__",
24
- "!**/__fixtures__",
25
- "!**/__mocks__",
26
- "!**/.*"
27
- ],
28
- "scripts": {
29
- "example": "yarn workspace react-native-offer-carousel-sdk-example",
30
- "test": "jest --silent",
31
- "typecheck": "tsc --noEmit",
32
- "lint": "eslint \"**/*.{js,ts,tsx}\" && prettier . --check",
33
- "lint:fix": "prettier . --write && eslint --fix \"**/*.{js,ts,tsx}\"",
34
- "clean": "del-cli lib",
35
- "prepare": "bob build",
36
- "build:staging": "../scripts/buildStaging.sh --ios-env ./example/build-staging.ios.env --sdk-name offer-carousel",
37
- "build:staging:ios": "../scripts/buildStaging.ios.sh --env ./example/build-staging.ios.env --sdk-name offer-carousel",
38
- "build:staging:android": "../scripts/buildStaging.android.sh --sdk-name offer-carousel"
39
- },
40
- "author": "",
41
- "license": "ISC",
42
- "devDependencies": {
43
- "@commitlint/config-conventional": "^17.0.2",
44
- "@react-native/eslint-config": "^0.73.1",
45
- "@release-it/conventional-changelog": "^5.0.0",
46
- "@types/jest": "^29.5.5",
47
- "@types/react": "~18.2.79",
48
- "commitlint": "^17.0.2",
49
- "del-cli": "^5.1.0",
50
- "eslint": "^8.51.0",
51
- "eslint-config-prettier": "^9.0.0",
52
- "eslint-plugin-prettier": "^5.0.1",
53
- "jest": "^29.7.0",
54
- "prettier": "^3.0.3",
55
- "react": "18.2.0",
56
- "react-native": "0.74.5",
57
- "react-native-builder-bob": "^0.20.0",
58
- "react-native-svg": "13.10.0",
59
- "release-it": "^15.0.0",
60
- "type-fest": "4.26.1",
61
- "typescript": "~5.3.3"
62
- },
63
- "peerDependencies": {
64
- "react": "*",
65
- "react-native": "*",
66
- "react-native-svg": "*"
67
- },
68
- "workspaces": [
69
- "example"
70
- ],
71
- "packageManager": "yarn@3.6.1",
72
- "jest": {
73
- "preset": "react-native",
74
- "modulePathIgnorePatterns": [
75
- "<rootDir>/example/node_modules",
76
- "<rootDir>/lib/"
77
- ]
78
- },
79
- "commitlint": {
80
- "extends": [
81
- "@commitlint/config-conventional"
82
- ]
83
- },
84
- "eslintConfig": {
85
- "root": true,
86
- "extends": [
87
- "@react-native",
88
- "prettier"
89
- ],
90
- "rules": {
91
- "prettier/prettier": [
92
- "error",
93
- {
94
- "quoteProps": "consistent",
95
- "singleQuote": false,
96
- "tabWidth": 2,
97
- "trailingComma": "es5",
98
- "useTabs": true
99
- }
100
- ]
101
- }
102
- },
103
- "eslintIgnore": [
104
- "node_modules/",
105
- "lib/"
106
- ],
107
- "prettier": {
108
- "quoteProps": "consistent",
109
- "singleQuote": false,
110
- "tabWidth": 2,
111
- "trailingComma": "es5",
112
- "useTabs": true
113
- },
114
- "react-native-builder-bob": {
115
- "source": "src",
116
- "output": "lib",
117
- "targets": [
118
- "commonjs",
119
- "module",
120
- [
121
- "typescript",
122
- {
123
- "project": "tsconfig.build.json"
124
- }
125
- ]
126
- ]
127
- },
128
- "dependencies": {
129
- "defu": "6.1.4",
130
- "effect": "3.12.0",
131
- "numbro": "^2.5.0",
132
- "radash": "11.0.0",
133
- "react-native-markdown-display": "^7.0.2",
134
- "ts-pattern": "5.1.1"
135
- }
136
- }
2
+ "name": "@moneylion/react-native-offer-carousel",
3
+ "version": "1.8.8",
4
+ "description": "React Native components for the Engine by MoneyLion Mobile SDK",
5
+ "main": "lib/commonjs/index",
6
+ "module": "lib/module/index",
7
+ "types": "lib/typescript/src/index.d.ts",
8
+ "react-native": "src/index",
9
+ "source": "src/index",
10
+ "files": [
11
+ "src",
12
+ "lib",
13
+ "android",
14
+ "ios",
15
+ "cpp",
16
+ "*.podspec",
17
+ "!ios/build",
18
+ "!android/build",
19
+ "!android/gradle",
20
+ "!android/gradlew",
21
+ "!android/gradlew.bat",
22
+ "!android/local.properties",
23
+ "!**/__tests__",
24
+ "!**/__fixtures__",
25
+ "!**/__mocks__",
26
+ "!**/*.test.*",
27
+ "!**/*.spec.*",
28
+ "!**/.*"
29
+ ],
30
+ "scripts": {
31
+ "test": "jest --silent",
32
+ "typecheck": "tsc --noEmit",
33
+ "clean": "del-cli lib",
34
+ "sync-version": "node scripts/sync-version.js",
35
+ "version": "1.8.8",
36
+ "prepare": "yarn sync-version && bob build"
37
+ },
38
+ "author": "",
39
+ "license": "ISC",
40
+ "devDependencies": {
41
+ "@commitlint/config-conventional": "^17.0.2",
42
+ "@release-it/conventional-changelog": "^5.0.0",
43
+ "commitlint": "^17.0.2",
44
+ "del-cli": "^5.1.0",
45
+ "react-native-builder-bob": "^0.20.0",
46
+ "react-native-svg": "13.10.0",
47
+ "release-it": "^15.0.0",
48
+ "type-fest": "4.26.1"
49
+ },
50
+ "peerDependencies": {
51
+ "react": "*",
52
+ "react-native": "*",
53
+ "react-native-svg": "*"
54
+ },
55
+ "commitlint": {
56
+ "extends": [
57
+ "@commitlint/config-conventional"
58
+ ]
59
+ },
60
+ "react-native-builder-bob": {
61
+ "source": "src",
62
+ "output": "lib",
63
+ "targets": [
64
+ "commonjs",
65
+ "module",
66
+ [
67
+ "typescript",
68
+ {
69
+ "project": "tsconfig.build.json"
70
+ }
71
+ ]
72
+ ]
73
+ },
74
+ "dependencies": {
75
+ "defu": "6.1.4",
76
+ "effect": "3.12.0",
77
+ "numbro": "^2.5.0",
78
+ "radash": "11.0.0",
79
+ "react-native-markdown-display": "^7.0.2",
80
+ "ts-pattern": "5.1.1"
81
+ }
82
+ }
@@ -1,3 +1,9 @@
1
1
  export type UserData = {
2
2
  email?: string;
3
+ /**
4
+ * This is for local testing only.
5
+ *
6
+ * Please leave it blank for production.
7
+ */
8
+ _mockUserCountry?: string;
3
9
  };
@@ -25,8 +25,10 @@ export interface MoneyLionOfferCarouselError {
25
25
  additionalInfo?: Record<string, unknown>;
26
26
  }
27
27
 
28
- export interface InternalMoneyLionOfferCarouselError
29
- extends Omit<MoneyLionOfferCarouselError, "timestamp" | "sdkVersion"> {}
28
+ export interface InternalMoneyLionOfferCarouselError extends Omit<
29
+ MoneyLionOfferCarouselError,
30
+ "timestamp" | "sdkVersion"
31
+ > {}
30
32
 
31
33
  export type OnErrorCallback = (error: MoneyLionOfferCarouselError) => void;
32
34
 
@@ -1,4 +1,3 @@
1
-
2
1
  import { get } from "radash";
3
2
  import type { StatElementProps } from "../types";
4
3
  import type { BaseOffer } from "../../../types/offerCatalogSchema";
@@ -1,4 +1,3 @@
1
-
2
1
  import { get } from "radash";
3
2
  import type { StatElementProps } from "../types";
4
3
  import type { BaseOffer } from "../../../types/offerCatalogSchema";
@@ -1,19 +1,18 @@
1
- export * from './boolean'
2
- export * from './common'
3
- export * from './currency'
4
- export * from './percentage'
5
- export * from './freeTrialDays'
6
- export * from './fromListStringWithAnd'
7
- export * from './monthlyOrAnnualCurrency'
8
- export * from './rangeCurrency'
9
- export * from './rangeMonths'
10
- export * from './fromListStringWithAnd'
11
- export * from './creditBureaus'
12
- export * from './rangeCurrencyByTime'
13
- export * from './currencyOrBasis'
14
- export * from './rangePercent'
15
- export * from './recommendedCredit'
16
- export * from './rewardsDisplay'
17
- export * from './purchaseApr'
18
- export * from './annualFee'
19
- export * from './rangeCurrencyUnabbreviated'
1
+ export * from "./boolean";
2
+ export * from "./common";
3
+ export * from "./currency";
4
+ export * from "./percentage";
5
+ export * from "./freeTrialDays";
6
+ export * from "./fromListStringWithAnd";
7
+ export * from "./monthlyOrAnnualCurrency";
8
+ export * from "./rangeCurrency";
9
+ export * from "./rangeMonths";
10
+ export * from "./creditBureaus";
11
+ export * from "./rangeCurrencyByTime";
12
+ export * from "./currencyOrBasis";
13
+ export * from "./rangePercent";
14
+ export * from "./recommendedCredit";
15
+ export * from "./rewardsDisplay";
16
+ export * from "./purchaseApr";
17
+ export * from "./annualFee";
18
+ export * from "./rangeCurrencyUnabbreviated";
@@ -1,4 +1,3 @@
1
-
2
1
  import { get } from "radash";
3
2
  import type { StatElementProps } from "../types";
4
3
  import type { BaseOffer } from "../../../types/offerCatalogSchema";
@@ -1,4 +1,3 @@
1
-
2
1
  import { get } from "radash";
3
2
  import type { StatElementProps } from "../types";
4
3
  import type { BaseOffer } from "../../../types/offerCatalogSchema";
@@ -1,4 +1,3 @@
1
-
2
1
  import { get } from "radash";
3
2
  import type { StatElementProps } from "../types";
4
3
  import type { BaseOffer } from "../../../types/offerCatalogSchema";
@@ -1,4 +1,3 @@
1
-
2
1
  import { capitalize, get } from "radash";
3
2
  import type { StatElementProps } from "../types";
4
3
  import type { BaseOffer } from "../../../types/offerCatalogSchema";
@@ -1,4 +1,3 @@
1
-
2
1
  import { get } from "radash";
3
2
  import { P, match } from "ts-pattern";
4
3
  import type { StatElementProps } from "../types";
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  /** WithRequired type helpers */
7
- type WithRequired<T, K extends keyof T> = T & { [P in K]-?: T[P] }
7
+ type WithRequired<T, K extends keyof T> = T & { [P in K]-?: T[P] };
8
8
 
9
9
  export interface components {
10
10
  schemas: {