@stripe/stripe-react-native 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (465) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/README.md +1 -1
  3. package/android/build/.transforms/{31ceac6fb5d33b3621129bf6bacef38e → 391dacf2d8747d5d964db20fd2dd8815}/results.bin +0 -0
  4. package/android/build/.transforms/391dacf2d8747d5d964db20fd2dd8815/transformed/classes/classes.dex +0 -0
  5. package/android/build/.transforms/{48791259e8e16eb93ec0e1ee5c2320d3 → 465a3f28c318295b6d1e745a1358f0e6}/results.bin +0 -0
  6. package/android/build/.transforms/465a3f28c318295b6d1e745a1358f0e6/transformed/classes/classes.dex +0 -0
  7. package/android/build/.transforms/{74570cf3214a596c51ea9185f02b2c7f → 538f1369a832b015f982db8e9f3e63d4}/results.bin +0 -0
  8. package/android/build/.transforms/538f1369a832b015f982db8e9f3e63d4/transformed/classes/classes.dex +0 -0
  9. package/android/build/.transforms/{82928fc3901d2ce5cedef114e23b9dd5 → 5821b0d6d2e0908c8ed0cd6c2f4e6587}/results.bin +0 -0
  10. package/android/build/.transforms/5821b0d6d2e0908c8ed0cd6c2f4e6587/transformed/classes/classes.dex +0 -0
  11. package/android/build/.transforms/{9338bfb74c726e5746db5e10b980917a → 60446a8b59a82b3ae8bcd81aa8d01afc}/results.bin +0 -0
  12. package/android/build/.transforms/60446a8b59a82b3ae8bcd81aa8d01afc/transformed/classes/classes.dex +0 -0
  13. package/android/build/.transforms/{c731e6bf5b480f659bf1c341f3f0657c → 87295b99343bf0db705fbc154493ffa4}/results.bin +0 -0
  14. package/android/build/.transforms/87295b99343bf0db705fbc154493ffa4/transformed/classes/classes.dex +0 -0
  15. package/android/build/.transforms/{d436978a4beecbc35d07543a01fe4a5c → ae18a466edb55818daf7c30291ff4843}/results.bin +0 -0
  16. package/android/build/.transforms/ae18a466edb55818daf7c30291ff4843/transformed/classes/classes.dex +0 -0
  17. package/android/build/.transforms/d42db6dbe74ca8dbcb5922d32e8646c4/transformed/classes/classes.dex +0 -0
  18. package/android/build/.transforms/e9a96dae20bdea4f5ebd602fc83f5f77/results.bin +1 -0
  19. package/android/build/.transforms/e9a96dae20bdea4f5ebd602fc83f5f77/transformed/classes/classes.dex +0 -0
  20. package/android/build/.transforms/f183966fd9230baa4d89c2c4e2fcb664/results.bin +1 -0
  21. package/android/build/.transforms/f183966fd9230baa4d89c2c4e2fcb664/transformed/classes/classes.dex +0 -0
  22. package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
  23. package/android/build/intermediates/compile_library_classes_jar/release/classes.jar +0 -0
  24. package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
  25. package/android/build/intermediates/compile_r_class_jar/release/R.jar +0 -0
  26. package/android/build/intermediates/compile_symbol_list/debug/R.txt +108 -20
  27. package/android/build/intermediates/compile_symbol_list/release/R.txt +108 -20
  28. package/android/build/intermediates/incremental/packageDebugResources/compile-file-map.properties +1 -1
  29. package/android/build/intermediates/incremental/packageReleaseResources/compile-file-map.properties +1 -1
  30. package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
  31. package/android/build/intermediates/runtime_library_classes_jar/release/classes.jar +0 -0
  32. package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +78 -20
  33. package/android/build/intermediates/symbol_list_with_package_name/release/package-aware-r.txt +78 -20
  34. package/android/build/kotlin/compileDebugKotlin/build-history.bin +0 -0
  35. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab +0 -0
  36. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  37. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  38. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.len +0 -0
  39. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  40. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab_i +0 -0
  41. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  42. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  43. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  44. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  45. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  46. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  47. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  48. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  49. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  50. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  51. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  52. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  53. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab +0 -0
  54. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  55. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  56. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  57. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  58. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  59. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  60. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  61. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
  62. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
  63. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab +0 -0
  64. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  65. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  66. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  67. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  68. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  69. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  70. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  71. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  72. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  73. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  74. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  75. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  76. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  77. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  78. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  79. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  80. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  81. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  82. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  83. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/counters.tab +2 -2
  84. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab +0 -0
  85. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  86. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  87. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.len +0 -0
  88. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  89. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab_i +0 -0
  90. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab +0 -0
  91. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  92. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  93. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.len +0 -0
  94. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  95. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab_i +0 -0
  96. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab +0 -0
  97. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.keystream +0 -0
  98. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  99. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.len +0 -0
  100. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values +0 -0
  101. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values.at +0 -0
  102. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values.s +1 -1
  103. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab_i +0 -0
  104. package/android/build/kotlin/compileDebugKotlin/last-build.bin +0 -0
  105. package/android/build/kotlin/compileReleaseKotlin/build-history.bin +0 -0
  106. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab +0 -0
  107. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  108. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  109. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab.len +0 -0
  110. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  111. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab_i +0 -0
  112. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  113. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  114. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  115. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  116. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  117. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  118. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  119. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  120. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  121. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  122. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  123. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  124. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/constants.tab +0 -0
  125. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  126. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  127. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  128. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  129. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  130. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  131. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab +0 -0
  132. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  133. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  134. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  135. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  136. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  137. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  138. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  139. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  140. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  141. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  142. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  143. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  144. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  145. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  146. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  147. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  148. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  149. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  150. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  151. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/counters.tab +1 -1
  152. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab +0 -0
  153. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  154. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  155. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab.len +0 -0
  156. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  157. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab_i +0 -0
  158. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab +0 -0
  159. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  160. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  161. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab.len +0 -0
  162. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  163. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab_i +0 -0
  164. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab +0 -0
  165. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.keystream +0 -0
  166. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  167. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.len +0 -0
  168. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.values +0 -0
  169. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.values.at +0 -0
  170. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.values.s +1 -1
  171. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab_i +0 -0
  172. package/android/build/kotlin/compileReleaseKotlin/last-build.bin +0 -0
  173. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/AuBECSDebitFormViewManager.class +0 -0
  174. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView$setListeners$10.class +0 -0
  175. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView$setListeners$6.class +0 -0
  176. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/{CardFieldView$setListeners$3.class → CardFieldView$setListeners$7.class} +0 -0
  177. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/{CardFieldView$setListeners$4.class → CardFieldView$setListeners$8.class} +0 -0
  178. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/{CardFieldView$setListeners$5.class → CardFieldView$setListeners$9.class} +0 -0
  179. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView.class +0 -0
  180. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldViewManager.class +0 -0
  181. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFormViewManager.class +0 -0
  182. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CollectBankAccountLauncherFragment$createBankAccountLauncher$1.class +0 -0
  183. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CollectBankAccountLauncherFragment.class +0 -0
  184. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ConfirmPaymentErrorType.class +0 -0
  185. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ConfirmSetupIntentErrorType.class +0 -0
  186. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ConstantsKt.class +0 -0
  187. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CreateTokenErrorType.class +0 -0
  188. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ErrorType.class +0 -0
  189. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ErrorsKt.class +0 -0
  190. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayButtonManager$Companion.class +0 -0
  191. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayButtonManager.class +0 -0
  192. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayFragment.class +0 -0
  193. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayPaymentMethodLauncherFragment.class +0 -0
  194. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/MappersKt$WhenMappings.class +0 -0
  195. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/MappersKt.class +0 -0
  196. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$retrievePaymentIntent$1$WhenMappings.class +0 -0
  197. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$retrievePaymentIntent$1.class +0 -0
  198. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$retrieveSetupIntent$1$WhenMappings.class +0 -0
  199. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$retrieveSetupIntent$1.class +0 -0
  200. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment.class +0 -0
  201. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentMethodCreateParamsException.class +0 -0
  202. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentMethodCreateParamsFactory$WhenMappings.class +0 -0
  203. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentMethodCreateParamsFactory.class +0 -0
  204. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeContainerManager.class +0 -0
  205. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$Companion.class +0 -0
  206. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createPaymentMethod$1.class +0 -0
  207. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createTokenForCVCUpdate$1.class +0 -0
  208. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createTokenFromBankAccount$1.class +0 -0
  209. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createTokenFromCard$1.class +0 -0
  210. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$googlePayReceiver$1.class +0 -0
  211. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1.class +0 -0
  212. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mPaymentSheetReceiver$1.class +0 -0
  213. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$retrievePaymentIntent$1.class +0 -0
  214. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$retrieveSetupIntent$1.class +0 -0
  215. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$verifyMicrodeposits$paymentCallback$1.class +0 -0
  216. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$verifyMicrodeposits$setupCallback$1.class +0 -0
  217. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule.class +0 -0
  218. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/AuBECSDebitFormViewManager.class +0 -0
  219. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldView$setListeners$10.class +0 -0
  220. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldView$setListeners$6.class +0 -0
  221. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/{CardFieldView$setListeners$3.class → CardFieldView$setListeners$7.class} +0 -0
  222. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/{CardFieldView$setListeners$4.class → CardFieldView$setListeners$8.class} +0 -0
  223. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/{CardFieldView$setListeners$5.class → CardFieldView$setListeners$9.class} +0 -0
  224. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldView.class +0 -0
  225. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldViewManager.class +0 -0
  226. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFormViewManager.class +0 -0
  227. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CollectBankAccountLauncherFragment$createBankAccountLauncher$1.class +0 -0
  228. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CollectBankAccountLauncherFragment.class +0 -0
  229. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ConfirmPaymentErrorType.class +0 -0
  230. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ConfirmSetupIntentErrorType.class +0 -0
  231. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ConstantsKt.class +0 -0
  232. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CreateTokenErrorType.class +0 -0
  233. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ErrorType.class +0 -0
  234. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ErrorsKt.class +0 -0
  235. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayButtonManager$Companion.class +0 -0
  236. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayButtonManager.class +0 -0
  237. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayFragment.class +0 -0
  238. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayPaymentMethodLauncherFragment.class +0 -0
  239. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/MappersKt$WhenMappings.class +0 -0
  240. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/MappersKt.class +0 -0
  241. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment$WhenMappings.class +0 -0
  242. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment$retrievePaymentIntent$1$WhenMappings.class +0 -0
  243. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment$retrievePaymentIntent$1.class +0 -0
  244. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment$retrieveSetupIntent$1$WhenMappings.class +0 -0
  245. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment$retrieveSetupIntent$1.class +0 -0
  246. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment.class +0 -0
  247. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentMethodCreateParamsException.class +0 -0
  248. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentMethodCreateParamsFactory$WhenMappings.class +0 -0
  249. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentMethodCreateParamsFactory.class +0 -0
  250. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeContainerManager.class +0 -0
  251. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$Companion.class +0 -0
  252. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$createPaymentMethod$1.class +0 -0
  253. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$createTokenForCVCUpdate$1.class +0 -0
  254. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$createTokenFromBankAccount$1.class +0 -0
  255. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$createTokenFromCard$1.class +0 -0
  256. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$googlePayReceiver$1.class +0 -0
  257. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1.class +0 -0
  258. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$mPaymentSheetReceiver$1.class +0 -0
  259. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$retrievePaymentIntent$1.class +0 -0
  260. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$retrieveSetupIntent$1.class +0 -0
  261. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$verifyMicrodeposits$paymentCallback$1.class +0 -0
  262. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$verifyMicrodeposits$setupCallback$1.class +0 -0
  263. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule.class +0 -0
  264. package/android/build.gradle +4 -2
  265. package/android/gradle.properties +1 -0
  266. package/android/src/main/java/com/reactnativestripesdk/AuBECSDebitFormViewManager.kt +0 -2
  267. package/android/src/main/java/com/reactnativestripesdk/CardFieldView.kt +48 -34
  268. package/android/src/main/java/com/reactnativestripesdk/CardFieldViewManager.kt +0 -5
  269. package/android/src/main/java/com/reactnativestripesdk/CardFormViewManager.kt +0 -4
  270. package/android/src/main/java/com/reactnativestripesdk/CollectBankAccountLauncherFragment.kt +84 -0
  271. package/android/src/main/java/com/reactnativestripesdk/Constants.kt +0 -1
  272. package/android/src/main/java/com/reactnativestripesdk/Errors.kt +16 -6
  273. package/android/src/main/java/com/reactnativestripesdk/GooglePayButtonManager.kt +0 -1
  274. package/android/src/main/java/com/reactnativestripesdk/GooglePayFragment.kt +0 -3
  275. package/android/src/main/java/com/reactnativestripesdk/GooglePayPaymentMethodLauncherFragment.kt +3 -2
  276. package/android/src/main/java/com/reactnativestripesdk/Mappers.kt +77 -40
  277. package/android/src/main/java/com/reactnativestripesdk/PaymentLauncherFragment.kt +77 -22
  278. package/android/src/main/java/com/reactnativestripesdk/PaymentMethodCreateParamsFactory.kt +81 -5
  279. package/android/src/main/java/com/reactnativestripesdk/StripeContainerManager.kt +0 -1
  280. package/android/src/main/java/com/reactnativestripesdk/StripeSdkModule.kt +199 -113
  281. package/ios/.DS_Store +0 -0
  282. package/ios/Mappers.swift +23 -18
  283. package/ios/StripeSdk.m +2 -2
  284. package/ios/StripeSdk.swift +16 -26
  285. package/lib/commonjs/NativeStripeSdk.js.map +1 -1
  286. package/lib/commonjs/components/ApplePayButton.js.map +1 -1
  287. package/lib/commonjs/components/CardField.js.map +1 -1
  288. package/lib/commonjs/components/CardForm.js.map +1 -1
  289. package/lib/commonjs/components/StripeProvider.js +1 -1
  290. package/lib/commonjs/components/StripeProvider.js.map +1 -1
  291. package/lib/commonjs/functions.js +1 -1
  292. package/lib/commonjs/functions.js.map +1 -1
  293. package/lib/commonjs/helpers.js.map +1 -1
  294. package/lib/commonjs/hooks/useConfirmPayment.js.map +1 -1
  295. package/lib/commonjs/hooks/useConfirmSetupIntent.js.map +1 -1
  296. package/lib/commonjs/hooks/useGooglePay.js.map +1 -1
  297. package/lib/commonjs/hooks/useStripe.js +1 -1
  298. package/lib/commonjs/hooks/useStripe.js.map +1 -1
  299. package/lib/commonjs/types/ApplePay.js +1 -1
  300. package/lib/commonjs/types/ApplePay.js.map +1 -1
  301. package/lib/commonjs/types/Common.js +2 -0
  302. package/lib/commonjs/types/Common.js.map +1 -0
  303. package/lib/commonjs/types/Errors.js +1 -1
  304. package/lib/commonjs/types/Errors.js.map +1 -1
  305. package/lib/commonjs/types/GooglePay.js +1 -1
  306. package/lib/commonjs/types/GooglePay.js.map +1 -1
  307. package/lib/commonjs/types/PaymentIntent.js +2 -0
  308. package/lib/commonjs/types/PaymentIntent.js.map +1 -0
  309. package/lib/commonjs/types/PaymentMethod.js +2 -0
  310. package/lib/commonjs/types/PaymentMethod.js.map +1 -0
  311. package/lib/commonjs/types/PaymentSheet.js +1 -1
  312. package/lib/commonjs/types/SetupIntent.js +1 -1
  313. package/lib/commonjs/types/SetupIntent.js.map +1 -1
  314. package/lib/commonjs/types/ThreeDSecure.js +1 -1
  315. package/lib/commonjs/types/ThreeDSecure.js.map +1 -1
  316. package/lib/commonjs/types/Token.js +2 -0
  317. package/lib/commonjs/types/Token.js.map +1 -0
  318. package/lib/commonjs/types/components/ApplePayButtonComponent.js +1 -1
  319. package/lib/commonjs/types/components/ApplePayButtonComponent.js.map +1 -1
  320. package/lib/commonjs/types/components/AuBECSDebitFormComponent.js +2 -0
  321. package/lib/commonjs/types/components/AuBECSDebitFormComponent.js.map +1 -0
  322. package/lib/commonjs/types/components/CardFieldInput.js +1 -1
  323. package/lib/commonjs/types/components/CardFieldInput.js.map +1 -1
  324. package/lib/commonjs/types/components/CardFormView.js +1 -1
  325. package/lib/commonjs/types/components/CardFormView.js.map +1 -1
  326. package/lib/commonjs/types/index.js +1 -1
  327. package/lib/commonjs/types/index.js.map +1 -1
  328. package/lib/module/NativeStripeSdk.js.map +1 -1
  329. package/lib/module/components/ApplePayButton.js.map +1 -1
  330. package/lib/module/components/CardField.js.map +1 -1
  331. package/lib/module/components/CardForm.js.map +1 -1
  332. package/lib/module/components/StripeProvider.js +1 -1
  333. package/lib/module/components/StripeProvider.js.map +1 -1
  334. package/lib/module/functions.js +1 -1
  335. package/lib/module/functions.js.map +1 -1
  336. package/lib/module/helpers.js.map +1 -1
  337. package/lib/module/hooks/useConfirmPayment.js.map +1 -1
  338. package/lib/module/hooks/useConfirmSetupIntent.js.map +1 -1
  339. package/lib/module/hooks/useGooglePay.js.map +1 -1
  340. package/lib/module/hooks/useStripe.js +1 -1
  341. package/lib/module/hooks/useStripe.js.map +1 -1
  342. package/lib/module/types/ApplePay.js +1 -1
  343. package/lib/module/types/ApplePay.js.map +1 -1
  344. package/lib/module/types/Common.js +2 -0
  345. package/lib/module/types/Common.js.map +1 -0
  346. package/lib/module/types/Errors.js +1 -1
  347. package/lib/module/types/Errors.js.map +1 -1
  348. package/lib/module/types/GooglePay.js +1 -1
  349. package/lib/module/types/GooglePay.js.map +1 -1
  350. package/lib/module/types/PaymentIntent.js +2 -0
  351. package/lib/module/types/PaymentIntent.js.map +1 -0
  352. package/lib/module/types/PaymentMethod.js +2 -0
  353. package/lib/module/types/PaymentMethod.js.map +1 -0
  354. package/lib/module/types/PaymentSheet.js +1 -1
  355. package/lib/module/types/SetupIntent.js +1 -1
  356. package/lib/module/types/SetupIntent.js.map +1 -1
  357. package/lib/module/types/ThreeDSecure.js +1 -1
  358. package/lib/module/types/ThreeDSecure.js.map +1 -1
  359. package/lib/module/types/Token.js +2 -0
  360. package/lib/module/types/Token.js.map +1 -0
  361. package/lib/module/types/components/ApplePayButtonComponent.js +1 -1
  362. package/lib/module/types/components/ApplePayButtonComponent.js.map +1 -1
  363. package/lib/module/types/components/AuBECSDebitFormComponent.js +2 -0
  364. package/lib/module/types/components/AuBECSDebitFormComponent.js.map +1 -0
  365. package/lib/module/types/components/CardFieldInput.js +1 -1
  366. package/lib/module/types/components/CardFieldInput.js.map +1 -1
  367. package/lib/module/types/components/CardFormView.js +1 -1
  368. package/lib/module/types/components/CardFormView.js.map +1 -1
  369. package/lib/module/types/index.js +1 -1
  370. package/lib/module/types/index.js.map +1 -1
  371. package/lib/typescript/src/NativeStripeSdk.d.ts +9 -9
  372. package/lib/typescript/src/components/ApplePayButton.d.ts +2 -2
  373. package/lib/typescript/src/components/CardField.d.ts +2 -2
  374. package/lib/typescript/src/components/StripeProvider.d.ts +1 -1
  375. package/lib/typescript/src/functions.d.ts +11 -15
  376. package/lib/typescript/src/helpers.d.ts +2 -1
  377. package/lib/typescript/src/hooks/useConfirmPayment.d.ts +2 -2
  378. package/lib/typescript/src/hooks/useConfirmSetupIntent.d.ts +2 -2
  379. package/lib/typescript/src/hooks/useGooglePay.d.ts +2 -2
  380. package/lib/typescript/src/hooks/useStripe.d.ts +11 -12
  381. package/lib/typescript/src/types/ApplePay.d.ts +48 -50
  382. package/lib/typescript/src/types/Common.d.ts +14 -0
  383. package/lib/typescript/src/types/Errors.d.ts +10 -0
  384. package/lib/typescript/src/types/GooglePay.d.ts +45 -50
  385. package/lib/typescript/src/types/PaymentIntent.d.ts +46 -0
  386. package/lib/typescript/src/types/PaymentMethod.d.ts +167 -0
  387. package/lib/typescript/src/types/PaymentSheet.d.ts +41 -55
  388. package/lib/typescript/src/types/SetupIntent.d.ts +22 -56
  389. package/lib/typescript/src/types/ThreeDSecure.d.ts +62 -68
  390. package/lib/typescript/src/types/Token.d.ts +50 -0
  391. package/lib/typescript/src/types/components/ApplePayButtonComponent.d.ts +8 -10
  392. package/{src/types/components/AuBECSDebitForm.ts → lib/typescript/src/types/components/AuBECSDebitFormComponent.d.ts} +8 -13
  393. package/lib/typescript/src/types/components/CardFieldInput.d.ts +62 -65
  394. package/lib/typescript/src/types/components/CardFormView.d.ts +41 -44
  395. package/lib/typescript/src/types/index.d.ts +53 -61
  396. package/package.json +7 -3
  397. package/src/NativeStripeSdk.tsx +15 -18
  398. package/src/components/ApplePayButton.tsx +4 -4
  399. package/src/components/CardField.tsx +2 -2
  400. package/src/components/CardForm.tsx +1 -1
  401. package/src/components/StripeProvider.tsx +1 -4
  402. package/src/functions.ts +75 -136
  403. package/src/helpers.ts +3 -2
  404. package/src/hooks/useConfirmPayment.tsx +3 -3
  405. package/src/hooks/useConfirmSetupIntent.tsx +3 -3
  406. package/src/hooks/useGooglePay.tsx +2 -2
  407. package/src/hooks/useStripe.tsx +22 -20
  408. package/src/types/ApplePay.ts +60 -62
  409. package/src/types/Common.ts +15 -0
  410. package/src/types/Errors.ts +12 -0
  411. package/src/types/GooglePay.ts +67 -73
  412. package/src/types/PaymentIntent.ts +53 -0
  413. package/src/types/PaymentMethod.ts +242 -0
  414. package/src/types/PaymentSheet.ts +49 -63
  415. package/src/types/SetupIntent.ts +30 -82
  416. package/src/types/ThreeDSecure.ts +63 -69
  417. package/src/types/Token.ts +74 -0
  418. package/src/types/components/ApplePayButtonComponent.ts +25 -27
  419. package/src/types/components/AuBECSDebitFormComponent.ts +29 -0
  420. package/src/types/components/CardFieldInput.ts +65 -67
  421. package/src/types/components/CardFormView.ts +48 -51
  422. package/src/types/index.ts +78 -71
  423. package/android/build/.transforms/06225d218c14d1720edd690e5aad3666/results.bin +0 -0
  424. package/android/build/.transforms/31ceac6fb5d33b3621129bf6bacef38e/transformed/classes/classes.dex +0 -0
  425. package/android/build/.transforms/48791259e8e16eb93ec0e1ee5c2320d3/transformed/classes/classes.dex +0 -0
  426. package/android/build/.transforms/74570cf3214a596c51ea9185f02b2c7f/transformed/classes/classes.dex +0 -0
  427. package/android/build/.transforms/82928fc3901d2ce5cedef114e23b9dd5/transformed/classes/classes.dex +0 -0
  428. package/android/build/.transforms/9338bfb74c726e5746db5e10b980917a/transformed/classes/classes.dex +0 -0
  429. package/android/build/.transforms/c731e6bf5b480f659bf1c341f3f0657c/transformed/classes/classes.dex +0 -0
  430. package/android/build/.transforms/d436978a4beecbc35d07543a01fe4a5c/transformed/classes/classes.dex +0 -0
  431. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values +0 -0
  432. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values.s +0 -1
  433. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.values +0 -0
  434. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.values.s +0 -1
  435. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView$setListeners$2.class +0 -0
  436. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/NextPaymentActionErrorType.class +0 -0
  437. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2$WhenMappings.class +0 -0
  438. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2.class +0 -0
  439. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldView$setListeners$2.class +0 -0
  440. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/NextPaymentActionErrorType.class +0 -0
  441. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2$WhenMappings.class +0 -0
  442. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2.class +0 -0
  443. package/lib/commonjs/types/Card.js +0 -2
  444. package/lib/commonjs/types/Card.js.map +0 -1
  445. package/lib/commonjs/types/PaymentIntents.js +0 -2
  446. package/lib/commonjs/types/PaymentIntents.js.map +0 -1
  447. package/lib/commonjs/types/PaymentMethods.js +0 -2
  448. package/lib/commonjs/types/PaymentMethods.js.map +0 -1
  449. package/lib/commonjs/types/components/AuBECSDebitForm.js +0 -2
  450. package/lib/commonjs/types/components/AuBECSDebitForm.js.map +0 -1
  451. package/lib/module/types/Card.js +0 -2
  452. package/lib/module/types/Card.js.map +0 -1
  453. package/lib/module/types/PaymentIntents.js +0 -2
  454. package/lib/module/types/PaymentIntents.js.map +0 -1
  455. package/lib/module/types/PaymentMethods.js +0 -2
  456. package/lib/module/types/PaymentMethods.js.map +0 -1
  457. package/lib/module/types/components/AuBECSDebitForm.js +0 -2
  458. package/lib/module/types/components/AuBECSDebitForm.js.map +0 -1
  459. package/lib/typescript/src/types/Card.d.ts +0 -42
  460. package/lib/typescript/src/types/PaymentIntents.d.ts +0 -52
  461. package/lib/typescript/src/types/PaymentMethods.d.ts +0 -193
  462. package/lib/typescript/src/types/components/AuBECSDebitForm.d.ts +0 -28
  463. package/src/types/Card.ts +0 -61
  464. package/src/types/PaymentIntents.ts +0 -58
  465. package/src/types/PaymentMethods.ts +0 -264
@@ -1,5 +1,5 @@
1
1
  import type {
2
- PaymentMethodCreateParams,
2
+ PaymentMethod,
3
3
  ApplePay,
4
4
  PaymentSheet,
5
5
  CreatePaymentMethodResult,
@@ -15,16 +15,19 @@ import type {
15
15
  InitPaymentSheetResult,
16
16
  PresentPaymentSheetResult,
17
17
  ConfirmPaymentSheetPaymentResult,
18
- ConfirmSetupIntent,
18
+ SetupIntent,
19
19
  CreateTokenResult,
20
20
  PayWithGooglePayResult,
21
21
  GooglePayInitResult,
22
22
  GooglePay,
23
23
  CreateGooglePayPaymentMethodResult,
24
24
  OpenApplePaySetupResult,
25
- CreateTokenParams,
25
+ Token,
26
26
  VerifyMicrodepositsParams,
27
- CollectBankAccountParams,
27
+ VerifyMicrodepositsForPaymentResult,
28
+ VerifyMicrodepositsForSetupResult,
29
+ CollectBankAccountForSetupResult,
30
+ CollectBankAccountForPaymentResult,
28
31
  } from '../types';
29
32
  import { useCallback, useEffect, useState } from 'react';
30
33
  import { isiOS } from '../helpers';
@@ -76,8 +79,8 @@ export function useStripe() {
76
79
 
77
80
  const _createPaymentMethod = useCallback(
78
81
  async (
79
- data: PaymentMethodCreateParams.Params,
80
- options: PaymentMethodCreateParams.Options = {}
82
+ data: PaymentMethod.CreateParams,
83
+ options: PaymentMethod.CreateOptions = {}
81
84
  ): Promise<CreatePaymentMethodResult> => {
82
85
  return createPaymentMethod(data, options);
83
86
  },
@@ -85,7 +88,7 @@ export function useStripe() {
85
88
  );
86
89
 
87
90
  const _createToken = useCallback(
88
- async (params: CreateTokenParams): Promise<CreateTokenResult> => {
91
+ async (params: Token.CreateParams): Promise<CreateTokenResult> => {
89
92
  return createToken(params);
90
93
  },
91
94
  []
@@ -108,8 +111,8 @@ export function useStripe() {
108
111
  const _confirmPayment = useCallback(
109
112
  async (
110
113
  paymentIntentClientSecret: string,
111
- data: PaymentMethodCreateParams.Params,
112
- options: PaymentMethodCreateParams.Options = {}
114
+ data: PaymentMethod.ConfirmParams,
115
+ options: PaymentMethod.ConfirmOptions = {}
113
116
  ): Promise<ConfirmPaymentResult> => {
114
117
  return confirmPayment(paymentIntentClientSecret, data, options);
115
118
  },
@@ -157,8 +160,8 @@ export function useStripe() {
157
160
  const _confirmSetupIntent = useCallback(
158
161
  async (
159
162
  paymentIntentClientSecret: string,
160
- data: ConfirmSetupIntent.Params,
161
- options: ConfirmSetupIntent.Options = {}
163
+ data: SetupIntent.ConfirmParams,
164
+ options: SetupIntent.ConfirmOptions = {}
162
165
  ): Promise<ConfirmSetupIntentResult> => {
163
166
  return confirmSetupIntent(paymentIntentClientSecret, data, options);
164
167
  },
@@ -199,7 +202,7 @@ export function useStripe() {
199
202
  );
200
203
 
201
204
  const _isGooglePaySupported = useCallback(
202
- async (params?: GooglePay.IsGooglePaySupportedParams): Promise<boolean> => {
205
+ async (params?: GooglePay.IsSupportedParams): Promise<boolean> => {
203
206
  return isGooglePaySupported(params);
204
207
  },
205
208
  []
@@ -214,7 +217,7 @@ export function useStripe() {
214
217
 
215
218
  const _presentGooglePay = useCallback(
216
219
  async (
217
- params: GooglePay.PresentGooglePayParams
220
+ params: GooglePay.PresentParams
218
221
  ): Promise<PayWithGooglePayResult> => {
219
222
  return presentGooglePay(params);
220
223
  },
@@ -238,8 +241,8 @@ export function useStripe() {
238
241
  const _collectBankAccountForPayment = useCallback(
239
242
  async (
240
243
  clientSecret: string,
241
- params: CollectBankAccountParams
242
- ): Promise<ConfirmPaymentResult> => {
244
+ params: PaymentMethod.CollectBankAccountParams
245
+ ): Promise<CollectBankAccountForPaymentResult> => {
243
246
  return collectBankAccountForPayment(clientSecret, params);
244
247
  },
245
248
  []
@@ -248,8 +251,8 @@ export function useStripe() {
248
251
  const _collectBankAccountForSetup = useCallback(
249
252
  async (
250
253
  clientSecret: string,
251
- params: CollectBankAccountParams
252
- ): Promise<ConfirmSetupIntentResult> => {
254
+ params: PaymentMethod.CollectBankAccountParams
255
+ ): Promise<CollectBankAccountForSetupResult> => {
253
256
  return collectBankAccountForSetup(clientSecret, params);
254
257
  },
255
258
  []
@@ -259,7 +262,7 @@ export function useStripe() {
259
262
  async (
260
263
  clientSecret: string,
261
264
  params: VerifyMicrodepositsParams
262
- ): Promise<ConfirmPaymentResult> => {
265
+ ): Promise<VerifyMicrodepositsForPaymentResult> => {
263
266
  return verifyMicrodepositsForPayment(clientSecret, params);
264
267
  },
265
268
  []
@@ -269,7 +272,7 @@ export function useStripe() {
269
272
  async (
270
273
  clientSecret: string,
271
274
  params: VerifyMicrodepositsParams
272
- ): Promise<ConfirmSetupIntentResult> => {
275
+ ): Promise<VerifyMicrodepositsForSetupResult> => {
273
276
  return verifyMicrodepositsForSetup(clientSecret, params);
274
277
  },
275
278
  []
@@ -281,7 +284,6 @@ export function useStripe() {
281
284
  confirmPayment: _confirmPayment,
282
285
  createPaymentMethod: _createPaymentMethod,
283
286
  handleNextAction: _handleNextAction,
284
- handleCardAction: _handleNextAction,
285
287
  isApplePaySupported: isApplePaySupported,
286
288
  presentApplePay: _presentApplePay,
287
289
  confirmApplePayPayment: _confirmApplePayPayment,
@@ -1,70 +1,68 @@
1
- export namespace ApplePay {
2
- export type CartSummaryItemType = 'final' | 'pending';
1
+ export type CartSummaryItemType = 'final' | 'pending';
3
2
 
4
- export type ContactFieldsType =
5
- | 'emailAddress'
6
- | 'name'
7
- | 'phoneNumber'
8
- | 'phoneticName'
9
- | 'postalAddress';
3
+ export type ContactFieldsType =
4
+ | 'emailAddress'
5
+ | 'name'
6
+ | 'phoneNumber'
7
+ | 'phoneticName'
8
+ | 'postalAddress';
10
9
 
11
- export type AddressFields =
12
- | 'street'
13
- | 'city'
14
- | 'subAdministrativeArea'
15
- | 'state'
16
- | 'postalCode'
17
- | 'country'
18
- | 'countryCode'
19
- | 'subLocality';
10
+ export type AddressFields =
11
+ | 'street'
12
+ | 'city'
13
+ | 'subAdministrativeArea'
14
+ | 'state'
15
+ | 'postalCode'
16
+ | 'country'
17
+ | 'countryCode'
18
+ | 'subLocality';
20
19
 
21
- export interface ShippingMethod {
22
- label: string;
23
- amount: string;
24
- type?: CartSummaryItemType;
25
- identifier: string;
26
- detail?: string;
27
- }
20
+ export interface ShippingMethod {
21
+ label: string;
22
+ amount: string;
23
+ type?: CartSummaryItemType;
24
+ identifier: string;
25
+ detail?: string;
26
+ }
28
27
 
29
- interface PostalAddress {
30
- city?: string;
31
- country?: string;
32
- postalCode?: string;
33
- state?: string;
34
- street?: string;
35
- isoCountryCode?: string;
36
- subAdministrativeArea?: string;
37
- subLocality?: string;
38
- }
28
+ interface PostalAddress {
29
+ city?: string;
30
+ country?: string;
31
+ postalCode?: string;
32
+ state?: string;
33
+ street?: string;
34
+ isoCountryCode?: string;
35
+ subAdministrativeArea?: string;
36
+ subLocality?: string;
37
+ }
39
38
 
40
- interface ContactName {
41
- familyName?: string;
42
- namePrefix?: string;
43
- nameSuffix?: string;
44
- givenName?: string;
45
- middleName?: string;
46
- nickname?: string;
47
- }
39
+ interface ContactName {
40
+ familyName?: string;
41
+ namePrefix?: string;
42
+ nameSuffix?: string;
43
+ givenName?: string;
44
+ middleName?: string;
45
+ nickname?: string;
46
+ }
48
47
 
49
- export interface ShippingContact {
50
- emailAddress?: string;
51
- name: ContactName;
52
- phoneNumber?: number;
53
- postalAddress: PostalAddress;
54
- }
55
- export interface CartSummaryItem {
56
- label: string;
57
- amount: string;
58
- type?: CartSummaryItemType;
59
- }
48
+ export interface ShippingContact {
49
+ emailAddress?: string;
50
+ name: ContactName;
51
+ phoneNumber?: number;
52
+ postalAddress: PostalAddress;
53
+ }
54
+ export interface CartSummaryItem {
55
+ label: string;
56
+ amount: string;
57
+ type?: CartSummaryItemType;
58
+ }
60
59
 
61
- export interface PresentParams {
62
- cartItems: CartSummaryItem[];
63
- country: string;
64
- currency: string;
65
- requiredShippingAddressFields?: ContactFieldsType[];
66
- requiredBillingContactFields?: ContactFieldsType[];
67
- shippingMethods?: ShippingMethod[];
68
- jcbEnabled?: boolean;
69
- }
60
+ export interface PresentParams {
61
+ cartItems: CartSummaryItem[];
62
+ country: string;
63
+ currency: string;
64
+ requiredShippingAddressFields?: ContactFieldsType[];
65
+ requiredBillingContactFields?: ContactFieldsType[];
66
+ shippingMethods?: ShippingMethod[];
67
+ jcbEnabled?: boolean;
70
68
  }
@@ -0,0 +1,15 @@
1
+ export interface BillingDetails {
2
+ email?: string;
3
+ phone?: string;
4
+ name?: string;
5
+ address?: Address;
6
+ }
7
+
8
+ export interface Address {
9
+ city?: string;
10
+ country?: string;
11
+ line1?: string;
12
+ line2?: string;
13
+ postalCode?: string;
14
+ state?: string;
15
+ }
@@ -72,3 +72,15 @@ export const MissingRoutingNumber = {
72
72
  message:
73
73
  'You must provide a routing number for US bank accounts. This should be the ACH routing number.',
74
74
  };
75
+
76
+ export enum VerifyMicrodepositsError {
77
+ Canceled = 'Canceled',
78
+ Failed = 'Failed',
79
+ Unknown = 'Unknown',
80
+ }
81
+
82
+ export enum CollectBankAccountError {
83
+ Canceled = 'Canceled',
84
+ Failed = 'Failed',
85
+ Unknown = 'Unknown',
86
+ }
@@ -1,79 +1,73 @@
1
- export namespace GooglePay {
2
- export type PresentGooglePayParams = PresentGooglePayType & {
3
- clientSecret: string;
4
- };
1
+ export type PresentParams = PresentType & {
2
+ clientSecret: string;
3
+ };
5
4
 
6
- export type PresentGooglePayType =
7
- | {
8
- /*
9
- * Present Google Pay to collect customer payment details and use it to confirm the
10
- * [SetupIntent] represented by [clientSecret].
11
- */
12
- forSetupIntent?: true;
13
- /*
14
- * The Google Pay API requires a [currencyCode](https://developers.google.com/pay/api/android/reference/request-objects#TransactionInfo).
15
- * [currencyCode] is required even though the SetupIntent API does not require it.
16
- */
17
- currencyCode: string;
18
- }
19
- | {
20
- /*
21
- * Present Google Pay to collect customer payment details and use it to confirm the
22
- * [PaymentIntent] represented by [clientSecret].
23
- */
24
- forSetupIntent?: false;
25
- };
5
+ export type PresentType =
6
+ | {
7
+ /*
8
+ * Present Google Pay to collect customer payment details and use it to confirm the
9
+ * [SetupIntent] represented by [clientSecret].
10
+ */
11
+ forSetupIntent?: true;
12
+ /*
13
+ * The Google Pay API requires a [currencyCode](https://developers.google.com/pay/api/android/reference/request-objects#TransactionInfo).
14
+ * [currencyCode] is required even though the SetupIntent API does not require it.
15
+ */
16
+ currencyCode: string;
17
+ }
18
+ | {
19
+ /*
20
+ * Present Google Pay to collect customer payment details and use it to confirm the
21
+ * [PaymentIntent] represented by [clientSecret].
22
+ */
23
+ forSetupIntent?: false;
24
+ };
26
25
 
27
- export interface SetupIntentParams {
28
- clientSecret: string;
29
- }
26
+ export type InitParams = {
27
+ merchantName: string;
28
+ countryCode: string;
29
+ /**
30
+ * Billing address collection configuration.
31
+ */
32
+ billingAddressConfig?: BillingAddressConfig;
33
+ /**
34
+ * Flag to indicate whether Google Pay collect the customer's email address.
35
+ *
36
+ * Default to `false`.
37
+ */
38
+ isEmailRequired?: boolean;
39
+ } & IsSupportedParams;
30
40
 
31
- export type InitParams = {
32
- merchantName: string;
33
- countryCode: string;
34
- /**
35
- * Billing address collection configuration.
36
- */
37
- billingAddressConfig?: BillingAddressConfig;
38
- /**
39
- * Flag to indicate whether Google Pay collect the customer's email address.
40
- *
41
- * Default to `false`.
42
- */
43
- isEmailRequired?: boolean;
44
- } & IsGooglePaySupportedParams;
41
+ export type IsSupportedParams = {
42
+ testEnv?: boolean;
43
+ /**
44
+ * If `true`, Google Pay is considered ready if the customer's Google Pay wallet
45
+ * has an existing payment method.
46
+ */
47
+ existingPaymentMethodRequired?: boolean;
48
+ };
45
49
 
46
- export type IsGooglePaySupportedParams = {
47
- testEnv?: boolean;
48
- /**
49
- * If `true`, Google Pay is considered ready if the customer's Google Pay wallet
50
- * has an existing payment method.
51
- */
52
- existingPaymentMethodRequired?: boolean;
53
- };
54
-
55
- export interface BillingAddressConfig {
56
- isRequired?: boolean;
57
- /**
58
- * Billing address format required to complete the transaction.
59
- */
60
- format?: 'FULL' | 'MIN';
61
- /**
62
- * Set to true if a phone number is required to process the transaction.
63
- */
64
- isPhoneNumberRequired?: boolean;
65
- }
50
+ export interface BillingAddressConfig {
51
+ isRequired?: boolean;
52
+ /**
53
+ * Billing address format required to complete the transaction.
54
+ */
55
+ format?: 'FULL' | 'MIN';
56
+ /**
57
+ * Set to true if a phone number is required to process the transaction.
58
+ */
59
+ isPhoneNumberRequired?: boolean;
60
+ }
66
61
 
67
- export interface CreatePaymentMethodParams {
68
- /*
69
- * ISO 4217 alphabetic currency code. (e.g. "USD", "EUR")
70
- */
71
- currencyCode: string;
72
- /*
73
- * Amount intended to be collected. A positive integer representing how much to
74
- * charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100,
75
- * a zero-decimal currency).
76
- */
77
- amount: number;
78
- }
62
+ export interface CreatePaymentMethodParams {
63
+ /*
64
+ * ISO 4217 alphabetic currency code. (e.g. "USD", "EUR")
65
+ */
66
+ currencyCode: string;
67
+ /*
68
+ * Amount intended to be collected. A positive integer representing how much to
69
+ * charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100,
70
+ * a zero-decimal currency).
71
+ */
72
+ amount: number;
79
73
  }
@@ -0,0 +1,53 @@
1
+ import type { StripeError } from '.';
2
+ import type { Address } from './Common';
3
+ import type { Result as PaymentMethodResult } from './PaymentMethod';
4
+ import type { NextAction } from './NextAction';
5
+ import type * as PaymentMethod from './PaymentMethod';
6
+
7
+ export interface Result {
8
+ id: string;
9
+ amount: number;
10
+ created: string;
11
+ currency: string;
12
+ status: Status;
13
+ description: string | null;
14
+ receiptEmail: string | null;
15
+ canceledAt: string | null;
16
+ clientSecret: string;
17
+ livemode: boolean;
18
+ paymentMethodId: string;
19
+ captureMethod: 'Automatic' | 'Manual';
20
+ confirmationMethod: 'Automatic' | 'Manual';
21
+ lastPaymentError: LastPaymentError | null;
22
+ shipping: ShippingDetails | null;
23
+ nextAction: NextAction | null;
24
+ }
25
+
26
+ export type ConfirmParams = PaymentMethod.CreateParams;
27
+
28
+ export type ConfirmOptions = PaymentMethod.ConfirmOptions;
29
+
30
+ export type LastPaymentError = StripeError<string> & {
31
+ paymentMethod: PaymentMethodResult;
32
+ };
33
+
34
+ export type FutureUsage = 'OffSession' | 'OnSession';
35
+
36
+ export interface ShippingDetails {
37
+ address: Required<Address>;
38
+ name: string;
39
+ carrier: string;
40
+ phone: string;
41
+ trackingNumber: string;
42
+ }
43
+
44
+ export enum Status {
45
+ Succeeded = 'Succeeded',
46
+ RequiresPaymentMethod = 'RequiresPaymentMethod',
47
+ RequiresConfirmation = 'RequiresConfirmation',
48
+ Canceled = 'Canceled',
49
+ Processing = 'Processing',
50
+ RequiresAction = 'RequiresAction',
51
+ RequiresCapture = 'RequiresCapture',
52
+ Unknown = 'Unknown',
53
+ }