@stripe/stripe-react-native 0.41.0 → 0.43.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 (314) hide show
  1. package/.husky/pre-commit +0 -3
  2. package/CHANGELOG.md +27 -0
  3. package/README.md +3 -0
  4. package/android/.gradle/8.11.1/checksums/checksums.lock +0 -0
  5. package/android/.gradle/8.11.1/checksums/md5-checksums.bin +0 -0
  6. package/android/.gradle/8.11.1/checksums/sha1-checksums.bin +0 -0
  7. package/android/.gradle/8.11.1/executionHistory/executionHistory.lock +0 -0
  8. package/android/.gradle/8.11.1/fileChanges/last-build.bin +0 -0
  9. package/android/.gradle/8.11.1/fileHashes/fileHashes.lock +0 -0
  10. package/android/.gradle/8.11.1/gc.properties +0 -0
  11. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  12. package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
  13. package/android/.gradle/vcs-1/gc.properties +0 -0
  14. package/android/build.gradle +7 -1
  15. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  16. package/android/gradle/wrapper/gradle-wrapper.properties +7 -0
  17. package/android/gradle.properties +4 -1
  18. package/android/gradlew +249 -0
  19. package/android/gradlew.bat +92 -0
  20. package/android/spotless.gradle +19 -0
  21. package/android/src/main/java/com/reactnativestripesdk/AuBECSDebitFormView.kt +30 -34
  22. package/android/src/main/java/com/reactnativestripesdk/AuBECSDebitFormViewManager.kt +20 -10
  23. package/android/src/main/java/com/reactnativestripesdk/CardChangedEvent.kt +12 -13
  24. package/android/src/main/java/com/reactnativestripesdk/CardFieldView.kt +242 -105
  25. package/android/src/main/java/com/reactnativestripesdk/CardFieldViewManager.kt +58 -20
  26. package/android/src/main/java/com/reactnativestripesdk/CardFocusEvent.kt +8 -11
  27. package/android/src/main/java/com/reactnativestripesdk/CardFormCompleteEvent.kt +10 -12
  28. package/android/src/main/java/com/reactnativestripesdk/CardFormView.kt +135 -87
  29. package/android/src/main/java/com/reactnativestripesdk/CardFormViewManager.kt +57 -22
  30. package/android/src/main/java/com/reactnativestripesdk/CollectBankAccountLauncherFragment.kt +53 -23
  31. package/android/src/main/java/com/reactnativestripesdk/FinancialConnectionsSheetFragment.kt +125 -83
  32. package/android/src/main/java/com/reactnativestripesdk/FormCompleteEvent.kt +9 -11
  33. package/android/src/main/java/com/reactnativestripesdk/GooglePayButtonManager.kt +16 -9
  34. package/android/src/main/java/com/reactnativestripesdk/GooglePayButtonView.kt +36 -28
  35. package/android/src/main/java/com/reactnativestripesdk/GooglePayLauncherFragment.kt +67 -43
  36. package/android/src/main/java/com/reactnativestripesdk/GooglePayPaymentMethodLauncherFragment.kt +21 -16
  37. package/android/src/main/java/com/reactnativestripesdk/GooglePayRequestHelper.kt +101 -56
  38. package/android/src/main/java/com/reactnativestripesdk/PaymentLauncherFragment.kt +244 -166
  39. package/android/src/main/java/com/reactnativestripesdk/PaymentMethodCreateParamsFactory.kt +183 -123
  40. package/android/src/main/java/com/reactnativestripesdk/PaymentSheetAppearance.kt +181 -57
  41. package/android/src/main/java/com/reactnativestripesdk/PaymentSheetFragment.kt +402 -258
  42. package/android/src/main/java/com/reactnativestripesdk/StripeContainerManager.kt +11 -4
  43. package/android/src/main/java/com/reactnativestripesdk/StripeContainerView.kt +5 -1
  44. package/android/src/main/java/com/reactnativestripesdk/StripeSdkModule.kt +654 -299
  45. package/android/src/main/java/com/reactnativestripesdk/StripeSdkPackage.kt +12 -14
  46. package/android/src/main/java/com/reactnativestripesdk/addresssheet/AddressLauncherFragment.kt +42 -37
  47. package/android/src/main/java/com/reactnativestripesdk/addresssheet/AddressSheetEvent.kt +12 -11
  48. package/android/src/main/java/com/reactnativestripesdk/addresssheet/AddressSheetView.kt +29 -29
  49. package/android/src/main/java/com/reactnativestripesdk/addresssheet/AddressSheetViewManager.kt +50 -18
  50. package/android/src/main/java/com/reactnativestripesdk/customersheet/CustomerSheetFragment.kt +227 -147
  51. package/android/src/main/java/com/reactnativestripesdk/customersheet/ReactNativeCustomerAdapter.kt +15 -18
  52. package/android/src/main/java/com/reactnativestripesdk/pushprovisioning/AddToWalletButtonManager.kt +33 -15
  53. package/android/src/main/java/com/reactnativestripesdk/pushprovisioning/AddToWalletButtonView.kt +63 -37
  54. package/android/src/main/java/com/reactnativestripesdk/pushprovisioning/AddToWalletCompleteEvent.kt +9 -13
  55. package/android/src/main/java/com/reactnativestripesdk/pushprovisioning/EphemeralKeyProvider.kt +15 -17
  56. package/android/src/main/java/com/reactnativestripesdk/pushprovisioning/PushProvisioningProxy.kt +76 -60
  57. package/android/src/main/java/com/reactnativestripesdk/pushprovisioning/TapAndPayProxy.kt +71 -47
  58. package/android/src/main/java/com/reactnativestripesdk/utils/Errors.kt +117 -51
  59. package/android/src/main/java/com/reactnativestripesdk/utils/Extensions.kt +4 -3
  60. package/android/src/main/java/com/reactnativestripesdk/utils/KeepJsAwakeTask.kt +39 -0
  61. package/android/src/main/java/com/reactnativestripesdk/utils/Mappers.kt +337 -250
  62. package/android/src/main/java/com/reactnativestripesdk/utils/PostalCodeUtilities.kt +2 -11
  63. package/ios/CustomerSheet/CustomerSheetUtils.swift +3 -1
  64. package/ios/FinancialConnections.swift +18 -2
  65. package/ios/Mappers.swift +23 -0
  66. package/ios/PaymentMethodFactory.swift +31 -29
  67. package/ios/StripeSdk+CustomerSheet.swift +2 -1
  68. package/ios/StripeSdk+PaymentSheet.swift +42 -0
  69. package/ios/StripeSdk.m +2 -0
  70. package/ios/StripeSdk.swift +116 -24
  71. package/lib/commonjs/NativeStripeSdk.js +1 -1
  72. package/lib/commonjs/NativeStripeSdk.js.map +1 -1
  73. package/lib/commonjs/components/AddToWalletButton.js +1 -1
  74. package/lib/commonjs/components/AddToWalletButton.js.map +1 -1
  75. package/lib/commonjs/components/AddressSheet.js +1 -1
  76. package/lib/commonjs/components/AddressSheet.js.map +1 -1
  77. package/lib/commonjs/components/ApplePayButtonNative.js +1 -1
  78. package/lib/commonjs/components/ApplePayButtonNative.js.map +1 -1
  79. package/lib/commonjs/components/AuBECSDebitForm.js +1 -1
  80. package/lib/commonjs/components/AuBECSDebitForm.js.map +1 -1
  81. package/lib/commonjs/components/CardField.js +1 -1
  82. package/lib/commonjs/components/CardField.js.map +1 -1
  83. package/lib/commonjs/components/CardForm.js +1 -1
  84. package/lib/commonjs/components/CardForm.js.map +1 -1
  85. package/lib/commonjs/components/CustomerSheet.js +1 -1
  86. package/lib/commonjs/components/CustomerSheet.js.map +1 -1
  87. package/lib/commonjs/components/GooglePayButtonNative.js +1 -1
  88. package/lib/commonjs/components/GooglePayButtonNative.js.map +1 -1
  89. package/lib/commonjs/components/PlatformPayButton.js +1 -1
  90. package/lib/commonjs/components/PlatformPayButton.js.map +1 -1
  91. package/lib/commonjs/components/StripeContainer.js +1 -1
  92. package/lib/commonjs/components/StripeContainer.js.map +1 -1
  93. package/lib/commonjs/components/StripeProvider.js +1 -1
  94. package/lib/commonjs/components/StripeProvider.js.map +1 -1
  95. package/lib/commonjs/functions.js +1 -1
  96. package/lib/commonjs/functions.js.map +1 -1
  97. package/lib/commonjs/helpers.js +1 -1
  98. package/lib/commonjs/helpers.js.map +1 -1
  99. package/lib/commonjs/hooks/useConfirmPayment.js.map +1 -1
  100. package/lib/commonjs/hooks/useConfirmSetupIntent.js.map +1 -1
  101. package/lib/commonjs/hooks/useFinancialConnectionsSheet.js +1 -1
  102. package/lib/commonjs/hooks/useFinancialConnectionsSheet.js.map +1 -1
  103. package/lib/commonjs/hooks/usePaymentSheet.js.map +1 -1
  104. package/lib/commonjs/hooks/usePlatformPay.js.map +1 -1
  105. package/lib/commonjs/hooks/useStripe.js +1 -1
  106. package/lib/commonjs/hooks/useStripe.js.map +1 -1
  107. package/lib/commonjs/index.js.map +1 -1
  108. package/lib/commonjs/package.json +1 -0
  109. package/lib/commonjs/plugin/withStripe.js +1 -1
  110. package/lib/commonjs/plugin/withStripe.js.map +1 -1
  111. package/lib/commonjs/types/ApplePay.js.map +1 -1
  112. package/lib/commonjs/types/Common.js +1 -1
  113. package/lib/commonjs/types/Common.js.map +1 -1
  114. package/lib/commonjs/types/CustomerSheet.js.map +1 -1
  115. package/lib/commonjs/types/Errors.js +1 -1
  116. package/lib/commonjs/types/Errors.js.map +1 -1
  117. package/lib/commonjs/types/FinancialConnections.js +1 -1
  118. package/lib/commonjs/types/FinancialConnections.js.map +1 -1
  119. package/lib/commonjs/types/NextAction.js.map +1 -1
  120. package/lib/commonjs/types/PaymentIntent.js +1 -1
  121. package/lib/commonjs/types/PaymentIntent.js.map +1 -1
  122. package/lib/commonjs/types/PaymentMethod.js.map +1 -1
  123. package/lib/commonjs/types/PaymentSheet.js +1 -1
  124. package/lib/commonjs/types/PaymentSheet.js.map +1 -1
  125. package/lib/commonjs/types/PlatformPay.js +1 -1
  126. package/lib/commonjs/types/PlatformPay.js.map +1 -1
  127. package/lib/commonjs/types/PushProvisioning.js +1 -1
  128. package/lib/commonjs/types/PushProvisioning.js.map +1 -1
  129. package/lib/commonjs/types/SetupIntent.js +1 -1
  130. package/lib/commonjs/types/SetupIntent.js.map +1 -1
  131. package/lib/commonjs/types/ThreeDSecure.js +1 -1
  132. package/lib/commonjs/types/ThreeDSecure.js.map +1 -1
  133. package/lib/commonjs/types/Token.js.map +1 -1
  134. package/lib/commonjs/types/components/ApplePayButtonComponent.js.map +1 -1
  135. package/lib/commonjs/types/components/AuBECSDebitFormComponent.js.map +1 -1
  136. package/lib/commonjs/types/components/CardFieldInput.js +1 -1
  137. package/lib/commonjs/types/components/CardFieldInput.js.map +1 -1
  138. package/lib/commonjs/types/components/CardFormView.js.map +1 -1
  139. package/lib/commonjs/types/components/GooglePayButtonComponent.js.map +1 -1
  140. package/lib/commonjs/types/index.js +1 -1
  141. package/lib/commonjs/types/index.js.map +1 -1
  142. package/lib/module/NativeStripeSdk.js +1 -1
  143. package/lib/module/NativeStripeSdk.js.map +1 -1
  144. package/lib/module/components/AddToWalletButton.js +1 -1
  145. package/lib/module/components/AddToWalletButton.js.map +1 -1
  146. package/lib/module/components/AddressSheet.js +1 -1
  147. package/lib/module/components/AddressSheet.js.map +1 -1
  148. package/lib/module/components/ApplePayButtonNative.js +1 -1
  149. package/lib/module/components/ApplePayButtonNative.js.map +1 -1
  150. package/lib/module/components/AuBECSDebitForm.js +1 -1
  151. package/lib/module/components/AuBECSDebitForm.js.map +1 -1
  152. package/lib/module/components/CardField.js +1 -1
  153. package/lib/module/components/CardField.js.map +1 -1
  154. package/lib/module/components/CardForm.js +1 -1
  155. package/lib/module/components/CardForm.js.map +1 -1
  156. package/lib/module/components/CustomerSheet.js +1 -1
  157. package/lib/module/components/CustomerSheet.js.map +1 -1
  158. package/lib/module/components/GooglePayButtonNative.js +1 -1
  159. package/lib/module/components/GooglePayButtonNative.js.map +1 -1
  160. package/lib/module/components/PlatformPayButton.js +1 -1
  161. package/lib/module/components/PlatformPayButton.js.map +1 -1
  162. package/lib/module/components/StripeContainer.js +1 -1
  163. package/lib/module/components/StripeContainer.js.map +1 -1
  164. package/lib/module/components/StripeProvider.js +1 -1
  165. package/lib/module/components/StripeProvider.js.map +1 -1
  166. package/lib/module/functions.js +1 -1
  167. package/lib/module/functions.js.map +1 -1
  168. package/lib/module/helpers.js +1 -1
  169. package/lib/module/helpers.js.map +1 -1
  170. package/lib/module/hooks/useConfirmPayment.js.map +1 -1
  171. package/lib/module/hooks/useConfirmSetupIntent.js.map +1 -1
  172. package/lib/module/hooks/useFinancialConnectionsSheet.js +1 -1
  173. package/lib/module/hooks/useFinancialConnectionsSheet.js.map +1 -1
  174. package/lib/module/hooks/usePaymentSheet.js.map +1 -1
  175. package/lib/module/hooks/usePlatformPay.js.map +1 -1
  176. package/lib/module/hooks/useStripe.js +1 -1
  177. package/lib/module/hooks/useStripe.js.map +1 -1
  178. package/lib/module/index.js.map +1 -1
  179. package/lib/module/package.json +1 -0
  180. package/lib/module/plugin/withStripe.js +1 -1
  181. package/lib/module/plugin/withStripe.js.map +1 -1
  182. package/lib/module/types/ApplePay.js.map +1 -1
  183. package/lib/module/types/Common.js +1 -1
  184. package/lib/module/types/Common.js.map +1 -1
  185. package/lib/module/types/CustomerSheet.js.map +1 -1
  186. package/lib/module/types/Errors.js +1 -1
  187. package/lib/module/types/Errors.js.map +1 -1
  188. package/lib/module/types/FinancialConnections.js +1 -1
  189. package/lib/module/types/FinancialConnections.js.map +1 -1
  190. package/lib/module/types/NextAction.js.map +1 -1
  191. package/lib/module/types/PaymentIntent.js +1 -1
  192. package/lib/module/types/PaymentIntent.js.map +1 -1
  193. package/lib/module/types/PaymentMethod.js.map +1 -1
  194. package/lib/module/types/PaymentSheet.js +1 -1
  195. package/lib/module/types/PaymentSheet.js.map +1 -1
  196. package/lib/module/types/PlatformPay.js +1 -1
  197. package/lib/module/types/PlatformPay.js.map +1 -1
  198. package/lib/module/types/PushProvisioning.js +1 -1
  199. package/lib/module/types/PushProvisioning.js.map +1 -1
  200. package/lib/module/types/SetupIntent.js +1 -1
  201. package/lib/module/types/SetupIntent.js.map +1 -1
  202. package/lib/module/types/ThreeDSecure.js +1 -1
  203. package/lib/module/types/ThreeDSecure.js.map +1 -1
  204. package/lib/module/types/Token.js.map +1 -1
  205. package/lib/module/types/components/ApplePayButtonComponent.js.map +1 -1
  206. package/lib/module/types/components/AuBECSDebitFormComponent.js.map +1 -1
  207. package/lib/module/types/components/CardFieldInput.js +1 -1
  208. package/lib/module/types/components/CardFieldInput.js.map +1 -1
  209. package/lib/module/types/components/CardFormView.js.map +1 -1
  210. package/lib/module/types/components/GooglePayButtonComponent.js.map +1 -1
  211. package/lib/module/types/index.js +1 -1
  212. package/lib/module/types/index.js.map +1 -1
  213. package/lib/typescript/src/NativeStripeSdk.d.ts +5 -4
  214. package/lib/typescript/src/NativeStripeSdk.d.ts.map +1 -0
  215. package/lib/typescript/src/components/AddToWalletButton.d.ts +3 -1
  216. package/lib/typescript/src/components/AddToWalletButton.d.ts.map +1 -0
  217. package/lib/typescript/src/components/AddressSheet.d.ts +4 -2
  218. package/lib/typescript/src/components/AddressSheet.d.ts.map +1 -0
  219. package/lib/typescript/src/components/ApplePayButtonNative.d.ts +1 -0
  220. package/lib/typescript/src/components/ApplePayButtonNative.d.ts.map +1 -0
  221. package/lib/typescript/src/components/AuBECSDebitForm.d.ts +3 -1
  222. package/lib/typescript/src/components/AuBECSDebitForm.d.ts.map +1 -0
  223. package/lib/typescript/src/components/CardField.d.ts +1 -0
  224. package/lib/typescript/src/components/CardField.d.ts.map +1 -0
  225. package/lib/typescript/src/components/CardForm.d.ts +1 -0
  226. package/lib/typescript/src/components/CardForm.d.ts.map +1 -0
  227. package/lib/typescript/src/components/CustomerSheet.d.ts +2 -1
  228. package/lib/typescript/src/components/CustomerSheet.d.ts.map +1 -0
  229. package/lib/typescript/src/components/GooglePayButtonNative.d.ts +1 -0
  230. package/lib/typescript/src/components/GooglePayButtonNative.d.ts.map +1 -0
  231. package/lib/typescript/src/components/PlatformPayButton.d.ts +3 -1
  232. package/lib/typescript/src/components/PlatformPayButton.d.ts.map +1 -0
  233. package/lib/typescript/src/components/StripeContainer.d.ts +2 -1
  234. package/lib/typescript/src/components/StripeContainer.d.ts.map +1 -0
  235. package/lib/typescript/src/components/StripeProvider.d.ts +3 -2
  236. package/lib/typescript/src/components/StripeProvider.d.ts.map +1 -0
  237. package/lib/typescript/src/functions.d.ts +12 -7
  238. package/lib/typescript/src/functions.d.ts.map +1 -0
  239. package/lib/typescript/src/helpers.d.ts +1 -0
  240. package/lib/typescript/src/helpers.d.ts.map +1 -0
  241. package/lib/typescript/src/hooks/useConfirmPayment.d.ts +2 -1
  242. package/lib/typescript/src/hooks/useConfirmPayment.d.ts.map +1 -0
  243. package/lib/typescript/src/hooks/useConfirmSetupIntent.d.ts +1 -0
  244. package/lib/typescript/src/hooks/useConfirmSetupIntent.d.ts.map +1 -0
  245. package/lib/typescript/src/hooks/useFinancialConnectionsSheet.d.ts +5 -2
  246. package/lib/typescript/src/hooks/useFinancialConnectionsSheet.d.ts.map +1 -0
  247. package/lib/typescript/src/hooks/usePaymentSheet.d.ts +2 -1
  248. package/lib/typescript/src/hooks/usePaymentSheet.d.ts.map +1 -0
  249. package/lib/typescript/src/hooks/usePlatformPay.d.ts +4 -3
  250. package/lib/typescript/src/hooks/usePlatformPay.d.ts.map +1 -0
  251. package/lib/typescript/src/hooks/useStripe.d.ts +11 -8
  252. package/lib/typescript/src/hooks/useStripe.d.ts.map +1 -0
  253. package/lib/typescript/src/index.d.ts +1 -0
  254. package/lib/typescript/src/index.d.ts.map +1 -0
  255. package/lib/typescript/src/plugin/withStripe.d.ts +2 -1
  256. package/lib/typescript/src/plugin/withStripe.d.ts.map +1 -0
  257. package/lib/typescript/src/types/ApplePay.d.ts +6 -5
  258. package/lib/typescript/src/types/ApplePay.d.ts.map +1 -0
  259. package/lib/typescript/src/types/Common.d.ts +4 -1
  260. package/lib/typescript/src/types/Common.d.ts.map +1 -0
  261. package/lib/typescript/src/types/CustomerSheet.d.ts +12 -4
  262. package/lib/typescript/src/types/CustomerSheet.d.ts.map +1 -0
  263. package/lib/typescript/src/types/Errors.d.ts +2 -1
  264. package/lib/typescript/src/types/Errors.d.ts.map +1 -0
  265. package/lib/typescript/src/types/FinancialConnections.d.ts +82 -14
  266. package/lib/typescript/src/types/FinancialConnections.d.ts.map +1 -0
  267. package/lib/typescript/src/types/NextAction.d.ts +9 -8
  268. package/lib/typescript/src/types/NextAction.d.ts.map +1 -0
  269. package/lib/typescript/src/types/PaymentIntent.d.ts +41 -14
  270. package/lib/typescript/src/types/PaymentIntent.d.ts.map +1 -0
  271. package/lib/typescript/src/types/PaymentMethod.d.ts +27 -15
  272. package/lib/typescript/src/types/PaymentMethod.d.ts.map +1 -0
  273. package/lib/typescript/src/types/PaymentSheet.d.ts +72 -22
  274. package/lib/typescript/src/types/PaymentSheet.d.ts.map +1 -0
  275. package/lib/typescript/src/types/PlatformPay.d.ts +22 -21
  276. package/lib/typescript/src/types/PlatformPay.d.ts.map +1 -0
  277. package/lib/typescript/src/types/PushProvisioning.d.ts +5 -4
  278. package/lib/typescript/src/types/PushProvisioning.d.ts.map +1 -0
  279. package/lib/typescript/src/types/SetupIntent.d.ts +4 -3
  280. package/lib/typescript/src/types/SetupIntent.d.ts.map +1 -0
  281. package/lib/typescript/src/types/ThreeDSecure.d.ts +1 -0
  282. package/lib/typescript/src/types/ThreeDSecure.d.ts.map +1 -0
  283. package/lib/typescript/src/types/Token.d.ts +10 -9
  284. package/lib/typescript/src/types/Token.d.ts.map +1 -0
  285. package/lib/typescript/src/types/components/ApplePayButtonComponent.d.ts +3 -2
  286. package/lib/typescript/src/types/components/ApplePayButtonComponent.d.ts.map +1 -0
  287. package/lib/typescript/src/types/components/AuBECSDebitFormComponent.d.ts +1 -0
  288. package/lib/typescript/src/types/components/AuBECSDebitFormComponent.d.ts.map +1 -0
  289. package/lib/typescript/src/types/components/CardFieldInput.d.ts +8 -5
  290. package/lib/typescript/src/types/components/CardFieldInput.d.ts.map +1 -0
  291. package/lib/typescript/src/types/components/CardFormView.d.ts +9 -6
  292. package/lib/typescript/src/types/components/CardFormView.d.ts.map +1 -0
  293. package/lib/typescript/src/types/components/GooglePayButtonComponent.d.ts +1 -0
  294. package/lib/typescript/src/types/components/GooglePayButtonComponent.d.ts.map +1 -0
  295. package/lib/typescript/src/types/index.d.ts +24 -23
  296. package/lib/typescript/src/types/index.d.ts.map +1 -0
  297. package/package.json +33 -42
  298. package/src/NativeStripeSdk.tsx +5 -3
  299. package/src/components/CardField.tsx +1 -1
  300. package/src/components/CardForm.tsx +12 -9
  301. package/src/components/CustomerSheet.tsx +4 -6
  302. package/src/components/StripeProvider.tsx +17 -0
  303. package/src/functions.ts +70 -16
  304. package/src/hooks/useFinancialConnectionsSheet.tsx +12 -4
  305. package/src/hooks/useStripe.tsx +10 -4
  306. package/src/types/Common.ts +3 -0
  307. package/src/types/CustomerSheet.ts +7 -0
  308. package/src/types/FinancialConnections.ts +72 -0
  309. package/src/types/PaymentIntent.ts +30 -1
  310. package/src/types/PaymentMethod.ts +13 -1
  311. package/src/types/PaymentSheet.ts +65 -5
  312. package/src/types/components/CardFieldInput.ts +8 -4
  313. package/src/types/components/CardFormView.ts +8 -4
  314. package/stripe-react-native.podspec +2 -1
@@ -1,2 +1,2 @@
1
- Object.defineProperty(exports,"__esModule",{value:true});var _exportNames={ApplePay:true,PaymentIntent:true,PaymentMethod:true,PaymentMethodLayout:true,PaymentSheet:true,SetupIntent:true,ThreeDSecure:true,AuBECSDebitFormComponent:true,CardFieldInput:true,CardFormView:true,Token:true,FinancialConnections:true,PlatformPay:true,CardBrand:true};exports.AuBECSDebitFormComponent=exports.ApplePay=void 0;Object.defineProperty(exports,"CardBrand",{enumerable:true,get:function get(){return _Common.CardBrand;}});exports.PaymentMethod=exports.PaymentIntent=exports.FinancialConnections=exports.CardFormView=exports.CardFieldInput=void 0;Object.defineProperty(exports,"PaymentMethodLayout",{enumerable:true,get:function get(){return PaymentSheet.PaymentMethodLayout;}});exports.Token=exports.ThreeDSecure=exports.SetupIntent=exports.PlatformPay=exports.PaymentSheet=void 0;var ApplePay=_interopRequireWildcard(require("./ApplePay"));exports.ApplePay=ApplePay;var PaymentIntent=_interopRequireWildcard(require("./PaymentIntent"));exports.PaymentIntent=PaymentIntent;var PaymentMethod=_interopRequireWildcard(require("./PaymentMethod"));exports.PaymentMethod=PaymentMethod;var PaymentSheet=_interopRequireWildcard(require("./PaymentSheet"));exports.PaymentSheet=PaymentSheet;var SetupIntent=_interopRequireWildcard(require("./SetupIntent"));exports.SetupIntent=SetupIntent;var ThreeDSecure=_interopRequireWildcard(require("./ThreeDSecure"));exports.ThreeDSecure=ThreeDSecure;var AuBECSDebitFormComponent=_interopRequireWildcard(require("./components/AuBECSDebitFormComponent"));exports.AuBECSDebitFormComponent=AuBECSDebitFormComponent;var CardFieldInput=_interopRequireWildcard(require("./components/CardFieldInput"));exports.CardFieldInput=CardFieldInput;var CardFormView=_interopRequireWildcard(require("./components/CardFormView"));exports.CardFormView=CardFormView;var Token=_interopRequireWildcard(require("./Token"));exports.Token=Token;var FinancialConnections=_interopRequireWildcard(require("./FinancialConnections"));exports.FinancialConnections=FinancialConnections;var PlatformPay=_interopRequireWildcard(require("./PlatformPay"));exports.PlatformPay=PlatformPay;var _PushProvisioning=require("./PushProvisioning");Object.keys(_PushProvisioning).forEach(function(key){if(key==="default"||key==="__esModule")return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;if(key in exports&&exports[key]===_PushProvisioning[key])return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _PushProvisioning[key];}});});var _Errors=require("./Errors");Object.keys(_Errors).forEach(function(key){if(key==="default"||key==="__esModule")return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;if(key in exports&&exports[key]===_Errors[key])return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _Errors[key];}});});var _CustomerSheet=require("./CustomerSheet");Object.keys(_CustomerSheet).forEach(function(key){if(key==="default"||key==="__esModule")return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;if(key in exports&&exports[key]===_CustomerSheet[key])return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _CustomerSheet[key];}});});var _Common=require("./Common");function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule){return obj;}if(obj===null||typeof obj!=="object"&&typeof obj!=="function"){return{default:obj};}var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj)){return cache.get(obj);}var newObj={};var hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj){if(key!=="default"&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;if(desc&&(desc.get||desc.set)){Object.defineProperty(newObj,key,desc);}else{newObj[key]=obj[key];}}}newObj.default=obj;if(cache){cache.set(obj,newObj);}return newObj;}
1
+ Object.defineProperty(exports,"__esModule",{value:true});var _exportNames={ApplePay:true,PaymentIntent:true,PaymentMethod:true,PaymentMethodLayout:true,PaymentSheet:true,SetupIntent:true,ThreeDSecure:true,AuBECSDebitFormComponent:true,CardFieldInput:true,CardFormView:true,Token:true,FinancialConnections:true,PlatformPay:true,CardBrand:true};exports.AuBECSDebitFormComponent=exports.ApplePay=void 0;Object.defineProperty(exports,"CardBrand",{enumerable:true,get:function get(){return _Common.CardBrand;}});exports.PaymentMethod=exports.PaymentIntent=exports.FinancialConnections=exports.CardFormView=exports.CardFieldInput=void 0;Object.defineProperty(exports,"PaymentMethodLayout",{enumerable:true,get:function get(){return PaymentSheet.PaymentMethodLayout;}});exports.Token=exports.ThreeDSecure=exports.SetupIntent=exports.PlatformPay=exports.PaymentSheet=void 0;var ApplePay=_interopRequireWildcard(require("./ApplePay"));exports.ApplePay=ApplePay;var PaymentIntent=_interopRequireWildcard(require("./PaymentIntent"));exports.PaymentIntent=PaymentIntent;var PaymentMethod=_interopRequireWildcard(require("./PaymentMethod"));exports.PaymentMethod=PaymentMethod;var PaymentSheet=_interopRequireWildcard(require("./PaymentSheet"));exports.PaymentSheet=PaymentSheet;var SetupIntent=_interopRequireWildcard(require("./SetupIntent"));exports.SetupIntent=SetupIntent;var ThreeDSecure=_interopRequireWildcard(require("./ThreeDSecure"));exports.ThreeDSecure=ThreeDSecure;var AuBECSDebitFormComponent=_interopRequireWildcard(require("./components/AuBECSDebitFormComponent"));exports.AuBECSDebitFormComponent=AuBECSDebitFormComponent;var CardFieldInput=_interopRequireWildcard(require("./components/CardFieldInput"));exports.CardFieldInput=CardFieldInput;var CardFormView=_interopRequireWildcard(require("./components/CardFormView"));exports.CardFormView=CardFormView;var Token=_interopRequireWildcard(require("./Token"));exports.Token=Token;var FinancialConnections=_interopRequireWildcard(require("./FinancialConnections"));exports.FinancialConnections=FinancialConnections;var PlatformPay=_interopRequireWildcard(require("./PlatformPay"));exports.PlatformPay=PlatformPay;var _PushProvisioning=require("./PushProvisioning");Object.keys(_PushProvisioning).forEach(function(key){if(key==="default"||key==="__esModule")return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;if(key in exports&&exports[key]===_PushProvisioning[key])return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _PushProvisioning[key];}});});var _Errors=require("./Errors");Object.keys(_Errors).forEach(function(key){if(key==="default"||key==="__esModule")return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;if(key in exports&&exports[key]===_Errors[key])return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _Errors[key];}});});var _CustomerSheet=require("./CustomerSheet");Object.keys(_CustomerSheet).forEach(function(key){if(key==="default"||key==="__esModule")return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;if(key in exports&&exports[key]===_CustomerSheet[key])return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _CustomerSheet[key];}});});var _Common=require("./Common");function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap(),t=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t:r;})(e);}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u];}return n.default=e,t&&t.set(e,n),n;}
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["import type {\n ApplePayError,\n CardActionError,\n ConfirmPaymentError,\n ConfirmSetupIntentError,\n CreatePaymentMethodError,\n CreateTokenError,\n GooglePayError,\n PaymentSheetError,\n RetrievePaymentIntentError,\n RetrieveSetupIntentError,\n StripeError,\n VerifyMicrodepositsError,\n CollectBankAccountError,\n} from './Errors';\nimport * as ApplePay from './ApplePay';\nimport * as PaymentIntent from './PaymentIntent';\nimport * as PaymentMethod from './PaymentMethod';\nimport * as PaymentSheet from './PaymentSheet';\nimport * as SetupIntent from './SetupIntent';\nimport * as ThreeDSecure from './ThreeDSecure';\nimport * as AuBECSDebitFormComponent from './components/AuBECSDebitFormComponent';\nimport * as CardFieldInput from './components/CardFieldInput';\nimport * as CardFormView from './components/CardFormView';\nimport * as Token from './Token';\nimport * as FinancialConnections from './FinancialConnections';\nimport * as PlatformPay from './PlatformPay';\n\nexport {\n ApplePay,\n PaymentIntent,\n PaymentMethod,\n PaymentSheet,\n SetupIntent,\n ThreeDSecure,\n AuBECSDebitFormComponent,\n CardFieldInput,\n CardFormView,\n Token,\n FinancialConnections,\n PlatformPay,\n};\n\nexport * from './PushProvisioning';\nexport * from './Errors';\nexport * from './CustomerSheet';\nexport type { Address, BillingDetails, AddressDetails } from './Common';\nexport { CardBrand } from './Common';\nexport { PaymentMethodLayout } from './PaymentSheet';\n\n/**\n * @ignore\n */\nexport type Dictionary<T> = {\n [key: string]: T;\n};\n\nexport interface AppInfo {\n name?: string;\n partnerId?: string;\n url?: string;\n version?: string;\n}\n\nexport type CreatePaymentMethodResult =\n | {\n paymentMethod: PaymentMethod.Result;\n error?: undefined;\n }\n | {\n paymentMethod?: undefined;\n error: StripeError<CreatePaymentMethodError>;\n };\n\nexport type RetrievePaymentIntentResult =\n | {\n paymentIntent: PaymentIntent.Result;\n error?: undefined;\n }\n | {\n paymentIntent?: undefined;\n error: StripeError<RetrievePaymentIntentError>;\n };\n\nexport type RetrieveSetupIntentResult =\n | {\n setupIntent: SetupIntent.Result;\n error?: undefined;\n }\n | {\n setupIntent?: undefined;\n error: StripeError<RetrieveSetupIntentError>;\n };\n\nexport type ConfirmPaymentResult =\n | {\n paymentIntent: PaymentIntent.Result;\n error?: undefined;\n }\n | {\n paymentIntent?: undefined;\n error: StripeError<ConfirmPaymentError>;\n };\n\nexport type HandleNextActionResult =\n | {\n paymentIntent: PaymentIntent.Result;\n error?: undefined;\n }\n | {\n paymentIntent?: undefined;\n error: StripeError<CardActionError>;\n };\n\nexport type HandleNextActionForSetupResult =\n | {\n setupIntent: SetupIntent.Result;\n error?: undefined;\n }\n | {\n setupIntent?: undefined;\n error: StripeError<CardActionError>;\n };\n\nexport type ConfirmSetupIntentResult =\n | {\n setupIntent: SetupIntent.Result;\n error?: undefined;\n }\n | {\n setupIntent?: undefined;\n error: StripeError<ConfirmSetupIntentError>;\n };\n\nexport type CreateTokenForCVCUpdateResult =\n | {\n tokenId: string;\n error?: undefined;\n }\n | {\n tokenId?: undefined;\n error: StripeError<ConfirmSetupIntentError>;\n };\n\nexport type InitPaymentSheetResult =\n | {\n paymentOption?: PaymentSheet.PaymentOption;\n error?: undefined;\n }\n | {\n paymentOption?: undefined;\n error: StripeError<PaymentSheetError>;\n };\n\nexport type PresentPaymentSheetResult = {\n paymentOption?: PaymentSheet.PaymentOption | undefined;\n error?: StripeError<PaymentSheetError> | undefined;\n};\n\nexport type CreateTokenResult =\n | {\n token: Token.Result;\n error?: undefined;\n }\n | {\n token?: undefined;\n error: StripeError<CreateTokenError>;\n };\n\nexport type ConfirmPaymentSheetPaymentResult = {\n error?: StripeError<PaymentSheetError>;\n};\n\nexport type ApplePayResult =\n | {\n paymentMethod: PaymentMethod.Result;\n error?: undefined;\n }\n | {\n paymentMethod?: undefined;\n error: StripeError<ApplePayError>;\n };\n\nexport interface InitStripeParams {\n publishableKey: string;\n stripeAccountId?: string;\n threeDSecureParams?: ThreeDSecure.ConfigurationParams;\n merchantIdentifier?: string;\n urlScheme?: string;\n setReturnUrlSchemeOnAndroid?: boolean;\n}\n\nexport interface InitialiseParams extends InitStripeParams {\n appInfo: AppInfo;\n}\n\nexport type GooglePayInitResult =\n | {\n error?: undefined;\n }\n | {\n error: StripeError<GooglePayError>;\n };\n\nexport type PayWithGooglePayResult =\n | {\n error?: undefined;\n }\n | {\n error: StripeError<GooglePayError>;\n };\n\nexport type CreateGooglePayPaymentMethodResult =\n | {\n paymentMethod: PaymentMethod.Result;\n error?: undefined;\n }\n | {\n paymentMethod?: undefined;\n error: StripeError<GooglePayError>;\n };\n\nexport type OpenApplePaySetupResult =\n | {\n error?: undefined;\n }\n | {\n error: StripeError<ApplePayError>;\n };\n\nexport type VerifyMicrodepositsParams =\n | {\n amounts: number[];\n descriptorCode?: undefined;\n }\n | {\n amounts?: undefined;\n descriptorCode: string;\n };\n\nexport type VerifyMicrodepositsForPaymentResult =\n | {\n paymentIntent: PaymentIntent.Result;\n error?: undefined;\n }\n | {\n paymentIntent?: undefined;\n error: StripeError<VerifyMicrodepositsError>;\n };\n\nexport type VerifyMicrodepositsForSetupResult =\n | {\n setupIntent: SetupIntent.Result;\n error?: undefined;\n }\n | {\n setupIntent?: undefined;\n error: StripeError<VerifyMicrodepositsError>;\n };\n\nexport type CollectBankAccountForPaymentResult =\n | {\n paymentIntent: PaymentIntent.Result;\n error?: undefined;\n }\n | {\n paymentIntent?: undefined;\n error: StripeError<CollectBankAccountError>;\n };\n\nexport type CollectBankAccountForSetupResult =\n | {\n setupIntent: SetupIntent.Result;\n error?: undefined;\n }\n | {\n setupIntent?: undefined;\n error: StripeError<CollectBankAccountError>;\n };\n"],"mappings":"k2BAeA,4DAAuC,0BACvC,sEAAiD,oCACjD,sEAAiD,oCACjD,oEAA+C,kCAC/C,kEAA6C,gCAC7C,oEAA+C,kCAC/C,uGAAkF,0DAClF,mFAA8D,sCAC9D,+EAA0D,kCAC1D,sDAAiC,oBACjC,oFAA+D,kDAC/D,kEAA6C,gCAiB7C,mYACA,iVACA,oXAEA,gCAAqC"}
1
+ {"version":3,"names":["ApplePay","_interopRequireWildcard","require","exports","PaymentIntent","PaymentMethod","PaymentSheet","SetupIntent","ThreeDSecure","AuBECSDebitFormComponent","CardFieldInput","CardFormView","Token","FinancialConnections","PlatformPay","_PushProvisioning","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","defineProperty","enumerable","get","_Errors","_CustomerSheet","_Common","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","n","__proto__","a","getOwnPropertyDescriptor","u","i","set"],"sourceRoot":"../../../src","sources":["types/index.ts"],"mappings":"k2BAeA,IAAAA,QAAA,CAAAC,uBAAA,CAAAC,OAAA,gBAAuCC,OAAA,CAAAH,QAAA,CAAAA,QAAA,CACvC,IAAAI,aAAA,CAAAH,uBAAA,CAAAC,OAAA,qBAAiDC,OAAA,CAAAC,aAAA,CAAAA,aAAA,CACjD,IAAAC,aAAA,CAAAJ,uBAAA,CAAAC,OAAA,qBAAiDC,OAAA,CAAAE,aAAA,CAAAA,aAAA,CACjD,IAAAC,YAAA,CAAAL,uBAAA,CAAAC,OAAA,oBAA+CC,OAAA,CAAAG,YAAA,CAAAA,YAAA,CAC/C,IAAAC,WAAA,CAAAN,uBAAA,CAAAC,OAAA,mBAA6CC,OAAA,CAAAI,WAAA,CAAAA,WAAA,CAC7C,IAAAC,YAAA,CAAAP,uBAAA,CAAAC,OAAA,oBAA+CC,OAAA,CAAAK,YAAA,CAAAA,YAAA,CAC/C,IAAAC,wBAAA,CAAAR,uBAAA,CAAAC,OAAA,2CAAkFC,OAAA,CAAAM,wBAAA,CAAAA,wBAAA,CAClF,IAAAC,cAAA,CAAAT,uBAAA,CAAAC,OAAA,iCAA8DC,OAAA,CAAAO,cAAA,CAAAA,cAAA,CAC9D,IAAAC,YAAA,CAAAV,uBAAA,CAAAC,OAAA,+BAA0DC,OAAA,CAAAQ,YAAA,CAAAA,YAAA,CAC1D,IAAAC,KAAA,CAAAX,uBAAA,CAAAC,OAAA,aAAiCC,OAAA,CAAAS,KAAA,CAAAA,KAAA,CACjC,IAAAC,oBAAA,CAAAZ,uBAAA,CAAAC,OAAA,4BAA+DC,OAAA,CAAAU,oBAA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","ignoreList":[]}
@@ -1,5 +1,5 @@
1
1
  import type { PaymentMethod, PaymentIntent, PlatformPay, PaymentSheet, SetupIntent, InitialiseParams, CreatePaymentMethodResult, RetrievePaymentIntentResult, RetrieveSetupIntentResult, ConfirmPaymentResult, HandleNextActionResult, HandleNextActionForSetupResult, ConfirmSetupIntentResult, CreateTokenForCVCUpdateResult, InitPaymentSheetResult, PresentPaymentSheetResult, ConfirmPaymentSheetPaymentResult, CreateTokenResult, OpenApplePaySetupResult, Token, VerifyMicrodepositsParams, IsCardInWalletResult, CanAddCardToWalletParams, CanAddCardToWalletResult, FinancialConnections, CustomerSheetInitParams, CustomerSheetPresentParams, CustomerSheetResult, CustomerSheetError, StripeError, CustomerPaymentOption, CustomerAdapter } from './types';
2
- declare type NativeStripeSdkType = {
2
+ type NativeStripeSdkType = {
3
3
  initialise(params: InitialiseParams): Promise<void>;
4
4
  createPaymentMethod(params: PaymentMethod.CreateParams, options: PaymentMethod.CreateOptions): Promise<CreatePaymentMethodResult>;
5
5
  handleNextAction(paymentIntentClientSecret: string, returnURL?: string | null): Promise<HandleNextActionResult>;
@@ -17,7 +17,7 @@ declare type NativeStripeSdkType = {
17
17
  createToken(params: Token.CreateParams): Promise<CreateTokenResult>;
18
18
  openApplePaySetup(): Promise<OpenApplePaySetupResult>;
19
19
  verifyMicrodeposits(isPaymentIntent: boolean, clientSecret: string, params: VerifyMicrodepositsParams): Promise<ConfirmSetupIntentResult | ConfirmPaymentResult>;
20
- collectBankAccount(isPaymentIntent: boolean, clientSecret: string, params: PaymentMethod.CollectBankAccountParams): Promise<ConfirmSetupIntentResult | ConfirmPaymentResult>;
20
+ collectBankAccount(isPaymentIntent: boolean, clientSecret: string, params: Omit<PaymentMethod.CollectBankAccountParams, 'onEvent'>): Promise<ConfirmSetupIntentResult | ConfirmPaymentResult>;
21
21
  getConstants(): {
22
22
  API_VERSIONS: {
23
23
  CORE: string;
@@ -28,8 +28,8 @@ declare type NativeStripeSdkType = {
28
28
  isCardInWallet(params: {
29
29
  cardLastFour: string;
30
30
  }): Promise<IsCardInWalletResult>;
31
- collectBankAccountToken(clientSecret: string): Promise<FinancialConnections.TokenResult>;
32
- collectFinancialConnectionsAccounts(clientSecret: string): Promise<FinancialConnections.SessionResult>;
31
+ collectBankAccountToken(clientSecret: string, params: PaymentMethod.CollectBankAccountTokenParams): Promise<FinancialConnections.TokenResult>;
32
+ collectFinancialConnectionsAccounts(clientSecret: string, params: FinancialConnections.CollectFinancialConnectionsAccountsParams): Promise<FinancialConnections.SessionResult>;
33
33
  resetPaymentSheetCustomer(): Promise<null>;
34
34
  isPlatformPaySupported(params: {
35
35
  googlePay?: PlatformPay.IsGooglePaySupportedParams;
@@ -55,3 +55,4 @@ declare type NativeStripeSdkType = {
55
55
  };
56
56
  declare const _default: NativeStripeSdkType;
57
57
  export default _default;
58
+ //# sourceMappingURL=NativeStripeSdk.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NativeStripeSdk.d.ts","sourceRoot":"","sources":["../../../src/NativeStripeSdk.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,WAAW,EACX,YAAY,EACZ,WAAW,EACX,gBAAgB,EAChB,yBAAyB,EACzB,2BAA2B,EAC3B,yBAAyB,EACzB,oBAAoB,EACpB,sBAAsB,EACtB,8BAA8B,EAC9B,wBAAwB,EACxB,6BAA6B,EAC7B,sBAAsB,EACtB,yBAAyB,EACzB,gCAAgC,EAChC,iBAAiB,EACjB,uBAAuB,EACvB,KAAK,EACL,yBAAyB,EACzB,oBAAoB,EACpB,wBAAwB,EACxB,wBAAwB,EACxB,oBAAoB,EACpB,uBAAuB,EACvB,0BAA0B,EAC1B,mBAAmB,EACnB,kBAAkB,EAClB,WAAW,EACX,qBAAqB,EACrB,eAAe,EAChB,MAAM,SAAS,CAAC;AAEjB,KAAK,mBAAmB,GAAG;IACzB,UAAU,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAA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AC;IACjB,0CAA0C,CACxC,aAAa,EAAE,MAAM,GACpB,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB,0CAA0C,CACxC,aAAa,EAAE,MAAM,GACpB,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB,+CAA+C,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACjE,iDAAiD,CAC/C,aAAa,EAAE,qBAAqB,GAAG,IAAI,GAC1C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB,+DAA+D,CAC7D,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB,CAAC;wBAI0B,mBAAmB;AAA/C,wBAAgD"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { AccessibilityProps, StyleProp, ViewStyle, ImageSourcePropType } from 'react-native';
2
3
  import type { Token, CardActionError, StripeError, GooglePayCardToken } from '../types';
3
4
  /**
@@ -62,4 +63,5 @@ export interface Props extends AccessibilityProps {
62
63
  * @returns JSX.Element
63
64
  * @category ReactComponents
64
65
  */
65
- export declare function AddToWalletButton({ onComplete, ...props }: Props): JSX.Element;
66
+ export declare function AddToWalletButton({ onComplete, ...props }: Props): React.JSX.Element;
67
+ //# sourceMappingURL=AddToWalletButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddToWalletButton.d.ts","sourceRoot":"","sources":["../../../../src/components/AddToWalletButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,kBAAkB,EAClB,SAAS,EACT,SAAS,EAGT,mBAAmB,EACpB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACV,KAAK,EACL,eAAe,EACf,WAAW,EACX,kBAAkB,EACnB,MAAM,UAAU,CAAC;AAKlB;;GAEG;AACH,MAAM,WAAW,KAAM,SAAQ,kBAAkB;IAC/C,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,2KAA2K;IAC3K,cAAc,CAAC,EAAE,kBAAkB,GAAG,mBAAmB,CAAC;IAC1D,+MAA+M;IAC/M,kBAAkB,EAAE,mBAAmB,CAAC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iRAAiR;IACjR,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yEAAyE;IACzE,WAAW,EAAE;QACX,mEAAmE;QACnE,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;QACxC,8CAA8C;QAC9C,IAAI,EAAE,MAAM,CAAC;QACb,iEAAiE;QACjE,WAAW,EAAE,MAAM,CAAC;QACpB,kDAAkD;QAClD,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,iCAAiC;QACjC,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;KACzB,CAAC;IAEF,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAClC,iFAAiF;IACjF,YAAY,EAAE,MAAM,CAAC;IACrB,wIAAwI;IACxI,UAAU,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,WAAW,CAAC,eAAe,CAAC,GAAG,IAAI,CAAA;KAAE,GAAG,IAAI,CAAC;CAC1E;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,qBAWhE"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { AccessibilityProps } from 'react-native';
2
3
  import type { PaymentSheet, AddressDetails, StripeError, AddressSheetError } from '../types';
3
4
  /**
@@ -36,7 +37,7 @@ export interface Props extends AccessibilityProps {
36
37
  /** Called when the user taps the button to close the sheet before submitting their information, or when an error occurs. */
37
38
  onError: (error: StripeError<AddressSheetError>) => void;
38
39
  }
39
- export declare type CollectAddressResult = Required<AddressDetails>;
40
+ export type CollectAddressResult = Required<AddressDetails>;
40
41
  /**
41
42
  *
42
43
  *
@@ -50,4 +51,5 @@ export declare type CollectAddressResult = Required<AddressDetails>;
50
51
  * @returns JSX.Element
51
52
  * @category ReactComponents
52
53
  */
53
- export declare function AddressSheet({ onSubmit, onError, ...props }: Props): JSX.Element;
54
+ export declare function AddressSheet({ onSubmit, onError, ...props }: Props): React.JSX.Element;
55
+ //# sourceMappingURL=AddressSheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddressSheet.d.ts","sourceRoot":"","sources":["../../../../src/components/AddressSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,kBAAkB,EAGnB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACV,YAAY,EACZ,cAAc,EACd,WAAW,EACX,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAIlB;;GAEG;AACH,MAAM,WAAW,KAAM,SAAQ,kBAAkB;IAC/C,uDAAuD;IACvD,OAAO,EAAE,OAAO,CAAC;IACjB,0LAA0L;IAC1L,iBAAiB,CAAC,EACd,YAAY,GACZ,SAAS,GACT,WAAW,GACX,WAAW,GACX,WAAW,GACX,gBAAgB,CAAC;IACrB,iDAAiD;IACjD,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC;IACxD,qDAAqD;IACrD,UAAU,CAAC,EAAE,YAAY,CAAC,gBAAgB,CAAC;IAC3C,yDAAyD;IACzD,aAAa,CAAC,EAAE,cAAc,CAAC;IAC/B,uEAAuE;IACvE,gBAAgB,CAAC,EAAE;QACjB,gGAAgG;QAChG,WAAW,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,UAAU,CAAC;QACjD,iHAAiH;QACjH,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,wJAAwJ;IACxJ,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC,qMAAqM;IACrM,qBAAqB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC,yGAAyG;IACzG,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oIAAoI;IACpI,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,qDAAqD;IACrD,QAAQ,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACjD,4HAA4H;IAC5H,OAAO,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;CAC1D;AAED,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC,cAAc,CAAC,CAAC;AAE5D;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,qBAclE"}
@@ -1,3 +1,4 @@
1
1
  import type * as ApplePayButtonComponent from '../types/components/ApplePayButtonComponent';
2
2
  declare const ApplePayButtonNative: import("react-native").HostComponent<ApplePayButtonComponent.NativeProps>;
3
3
  export default ApplePayButtonNative;
4
+ //# sourceMappingURL=ApplePayButtonNative.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApplePayButtonNative.d.ts","sourceRoot":"","sources":["../../../../src/components/ApplePayButtonNative.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,uBAAuB,MAAM,6CAA6C,CAAC;AAC5F,QAAA,MAAM,oBAAoB,2EACqD,CAAC;AAChF,eAAe,oBAAoB,CAAC"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { AccessibilityProps, StyleProp, ViewStyle } from 'react-native';
2
3
  import type { AuBECSDebitFormComponent } from '../types';
3
4
  /**
@@ -25,4 +26,5 @@ export interface Props extends AccessibilityProps {
25
26
  * @returns JSX.Element
26
27
  * @category ReactComponents
27
28
  */
28
- export declare function AuBECSDebitForm({ onComplete, companyName, formStyle, ...props }: Props): JSX.Element;
29
+ export declare function AuBECSDebitForm({ onComplete, companyName, formStyle, ...props }: Props): React.JSX.Element;
30
+ //# sourceMappingURL=AuBECSDebitForm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuBECSDebitForm.d.ts","sourceRoot":"","sources":["../../../../src/components/AuBECSDebitForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,kBAAkB,EAElB,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAOzD;;GAEG;AACH,MAAM,WAAW,KAAM,SAAQ,kBAAkB;IAC/C,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,KAAK,EAAE,wBAAwB,CAAC,WAAW,GAAG,IAAI,CAAC;IAC9D,SAAS,CAAC,EAAE,wBAAwB,CAAC,MAAM,CAAC;IAC5C,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,CAAC,EAC9B,UAAU,EACV,WAAW,EACX,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,qBASP"}
@@ -51,3 +51,4 @@ export interface Props extends AccessibilityProps {
51
51
  * @category ReactComponents
52
52
  */
53
53
  export declare const CardField: React.ForwardRefExoticComponent<Props & React.RefAttributes<CardFieldInput.Methods>>;
54
+ //# sourceMappingURL=CardField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardField.d.ts","sourceRoot":"","sources":["../../../../src/components/CardField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1D,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAAO,EACL,kBAAkB,EAIlB,SAAS,EAET,SAAS,EACV,MAAM,cAAc,CAAC;AAWtB;;GAEG;AACH,MAAM,WAAW,KAAM,SAAQ,kBAAkB;IAC/C,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,0VAA0V;IAC1V,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oIAAoI;IACpI,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wFAAwF;IACxF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;IAClC,YAAY,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC;IAC3C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,CAAC,IAAI,EAAE,cAAc,CAAC,OAAO,GAAG,IAAI,CAAC;IAClD,MAAM,CAAC,IAAI,IAAI,CAAC;IAChB,OAAO,CAAC,CAAC,YAAY,EAAE,cAAc,CAAC,SAAS,GAAG,IAAI,GAAG,IAAI,CAAC;IAC9D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;yFACqF;IACrF,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IACrC,2EAA2E;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;OAKG;IACH,6BAA6B,CAAC,EAAE,OAAO,CAAC;CACzC;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,SAAS,sFAsIrB,CAAC"}
@@ -46,3 +46,4 @@ export interface Props extends AccessibilityProps {
46
46
  * @category ReactComponents
47
47
  */
48
48
  export declare const CardForm: React.ForwardRefExoticComponent<Props & React.RefAttributes<CardFormView.Methods>>;
49
+ //# sourceMappingURL=CardForm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardForm.d.ts","sourceRoot":"","sources":["../../../../src/components/CardForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAAO,EACL,kBAAkB,EAIlB,SAAS,EAET,SAAS,EACV,MAAM,cAAc,CAAC;AAWtB;;GAEG;AACH,MAAM,WAAW,KAAM,SAAQ,kBAAkB;IAC/C,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wFAAwF;IACxF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qGAAqG;IACrG,SAAS,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC;IAChC;yFACqF;IACrF,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IAIrC,mBAAmB;IACnB,YAAY,CAAC,EAAE,YAAY,CAAC,YAAY,CAAC;IACzC,mBAAmB;IACnB,aAAa,CAAC,EAAE,YAAY,CAAC,aAAa,CAAC;IAG3C,cAAc,CAAC,CAAC,IAAI,EAAE,YAAY,CAAC,OAAO,GAAG,IAAI,CAAC;IAClD;;;;;OAKG;IACH,6BAA6B,CAAC,EAAE,OAAO,CAAC;CACzC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,QAAQ,oFA6HpB,CAAC"}
@@ -2,7 +2,7 @@ import type { CustomerSheetInitParams, CustomerSheetPresentParams, CustomerSheet
2
2
  /**
3
3
  * Props
4
4
  */
5
- export declare type Props = {
5
+ export type Props = {
6
6
  /** Whether the sheet is visible. Defaults to false. */
7
7
  visible: boolean;
8
8
  /** Called when the user submits, dismisses, or cancels the sheet, or when an error occurs. */
@@ -57,3 +57,4 @@ export declare const CustomerSheet: {
57
57
  retrievePaymentOptionSelection: () => Promise<CustomerSheetResult>;
58
58
  };
59
59
  export {};
60
+ //# sourceMappingURL=CustomerSheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CustomerSheet.d.ts","sourceRoot":"","sources":["../../../../src/components/CustomerSheet.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,uBAAuB,EACvB,0BAA0B,EAC1B,mBAAmB,EACnB,kBAAkB,EAClB,WAAW,EAEZ,MAAM,UAAU,CAAC;AAoMlB;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG;IAClB,uDAAuD;IACvD,OAAO,EAAE,OAAO,CAAC;IACjB,8FAA8F;IAC9F,QAAQ,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,IAAI,CAAC;CACjD,GAAG,uBAAuB,GACzB,0BAA0B,CAAC;AAE7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,iBAAS,SAAS,CAAC,EACjB,OAAO,EACP,iBAAiB,EACjB,cAAc,EACd,KAAK,EACL,UAAU,EACV,uBAAuB,EACvB,UAAU,EACV,0BAA0B,EAC1B,mBAAmB,EACnB,4BAA4B,EAC5B,qBAAqB,EACrB,qCAAqC,EACrC,SAAS,EACT,+BAA+B,EAC/B,eAAe,EACf,gBAAgB,EAChB,OAAO,EACP,QAAQ,EACR,eAAe,GAChB,EAAE,KAAK,QAqCP;AAED;;GAEG;AACH,eAAO,MAAM,aAAa;;yBApShB,uBAAuB,KAC9B,OAAO,CAAC;QAAE,KAAK,CAAC,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAA;KAAE,CAAC;uBA4J7C,0BAA0B,KACjC,OAAO,CAAC,mBAAmB,CAAC;0CAenB,OAAO,CAAC,mBAAmB,CAAC;CA4HvC,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import type * as GooglePayButtonComponent from '../types/components/GooglePayButtonComponent';
2
2
  declare const GooglePayButtonNative: import("react-native").HostComponent<GooglePayButtonComponent.NativeProps>;
3
3
  export default GooglePayButtonNative;
4
+ //# sourceMappingURL=GooglePayButtonNative.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GooglePayButtonNative.d.ts","sourceRoot":"","sources":["../../../../src/components/GooglePayButtonNative.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,wBAAwB,MAAM,8CAA8C,CAAC;AAC9F,QAAA,MAAM,qBAAqB,4EAGxB,CAAC;AACJ,eAAe,qBAAqB,CAAC"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { AccessibilityProps, StyleProp, ViewStyle } from 'react-native';
2
3
  import { ButtonType, ButtonStyle, ShippingMethod, ShippingContact } from '../types/PlatformPay';
3
4
  /**
@@ -68,4 +69,5 @@ export interface Props extends AccessibilityProps {
68
69
  * @returns JSX.Element
69
70
  * @category ReactComponents
70
71
  */
71
- export declare function PlatformPayButton({ type, appearance, onPress, disabled, borderRadius, onShippingMethodSelected, onShippingContactSelected, onCouponCodeEntered, setOrderTracking, style, ...props }: Props): JSX.Element;
72
+ export declare function PlatformPayButton({ type, appearance, onPress, disabled, borderRadius, onShippingMethodSelected, onShippingContactSelected, onCouponCodeEntered, setOrderTracking, style, ...props }: Props): React.JSX.Element;
73
+ //# sourceMappingURL=PlatformPayButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlatformPayButton.d.ts","sourceRoot":"","sources":["../../../../src/components/PlatformPayButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,kBAAkB,EAClB,SAAS,EACT,SAAS,EAKV,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,UAAU,EACV,WAAW,EACX,cAAc,EACd,eAAe,EAChB,MAAM,sBAAsB,CAAC;AAI9B;;GAEG;AACH,MAAM,WAAW,KAAM,SAAQ,kBAAkB;IAC/C,6CAA6C;IAC7C,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,uCAAuC;IACvC,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,4CAA4C;IAC5C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sDAAsD;IACtD,OAAO,IAAI,IAAI,CAAC;IAChB,6IAA6I;IAC7I,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,wBAAwB,CAAC,EAAE,CAAC,KAAK,EAAE;QACjC,cAAc,EAAE,cAAc,CAAC;KAChC,KAAK,IAAI,CAAC;IACX;;;;;;OAMG;IACH,yBAAyB,CAAC,EAAE,CAAC,KAAK,EAAE;QAClC,eAAe,EAAE,eAAe,CAAC;KAClC,KAAK,IAAI,CAAC;IACX;;;;;OAKG;IACH,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAC9D;;;yDAGqD;IACrD,gBAAgB,CAAC,EAAE,CACjB,UAAU,EAAE,CACV,eAAe,EAAE,MAAM,EACvB,mBAAmB,EAAE,MAAM,EAC3B,mBAAmB,EAAE,MAAM,EAC3B,aAAa,EAAE,MAAM,KAClB,IAAI,KACN,IAAI,CAAC;IACV,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,IAAyB,EACzB,UAAkC,EAClC,OAAO,EACP,QAAQ,EACR,YAAY,EACZ,wBAAwB,EACxB,yBAAyB,EACzB,mBAAmB,EACnB,gBAAgB,EAChB,KAAK,EACL,GAAG,KAAK,EACT,EAAE,KAAK,qBAoEP"}
@@ -15,4 +15,5 @@ export interface Props {
15
15
  * @returns JSX.Element
16
16
  * @category ReactComponents
17
17
  */
18
- export declare function StripeContainer({ keyboardShouldPersistTaps, children, }: Props): JSX.Element;
18
+ export declare function StripeContainer({ keyboardShouldPersistTaps, children, }: Props): React.JSX.Element;
19
+ //# sourceMappingURL=StripeContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StripeContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/StripeContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAEL,SAAS,EAET,SAAS,EAEV,MAAM,cAAc,CAAC;AAItB;;GAEG;AACH,MAAM,WAAW,KAAK;IACpB,QAAQ,EAAE,KAAK,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,EAAE,CAAC;IACpD,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,EAC9B,yBAAyB,EACzB,QAAQ,GACT,EAAE,KAAK,qBAWP"}
@@ -3,7 +3,7 @@ import type { InitStripeParams } from '../types';
3
3
  /**
4
4
  * Stripe Provider Component Props
5
5
  */
6
- export declare type Props = InitStripeParams & {
6
+ export type Props = InitStripeParams & {
7
7
  children: React.ReactElement | React.ReactElement[];
8
8
  };
9
9
  export declare const initStripe: (params: InitStripeParams) => Promise<void>;
@@ -27,4 +27,5 @@ export declare const initStripe: (params: InitStripeParams) => Promise<void>;
27
27
  * @returns JSX.Element
28
28
  * @category ReactComponents
29
29
  */
30
- export declare function StripeProvider({ children, publishableKey, merchantIdentifier, threeDSecureParams, stripeAccountId, urlScheme, setReturnUrlSchemeOnAndroid, }: Props): JSX.Element;
30
+ export declare function StripeProvider({ children, publishableKey, merchantIdentifier, threeDSecureParams, stripeAccountId, urlScheme, setReturnUrlSchemeOnAndroid, }: Props): React.JSX.Element;
31
+ //# sourceMappingURL=StripeProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StripeProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/StripeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,OAAO,KAAK,EAAW,gBAAgB,EAAoB,MAAM,UAAU,CAAC;AAM5E;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG,gBAAgB,GAAG;IACrC,QAAQ,EAAE,KAAK,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,EAAE,CAAC;CACrD,CAAC;AAcF,eAAO,MAAM,UAAU,WAAkB,gBAAgB,KAAG,OAAO,CAAC,IAAI,CAmBvE,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,SAAS,EACT,2BAA2B,GAC5B,EAAE,KAAK,qBAkCP"}
@@ -1,4 +1,6 @@
1
1
  import type { PlatformPayError, ConfirmPaymentResult, ConfirmPaymentSheetPaymentResult, SetupIntent, PaymentIntent, ConfirmSetupIntentResult, CreatePaymentMethodResult, CreateTokenForCVCUpdateResult, CreateTokenResult, HandleNextActionResult, HandleNextActionForSetupResult, InitPaymentSheetResult, PaymentMethod, PaymentSheet, PresentPaymentSheetResult, RetrievePaymentIntentResult, RetrieveSetupIntentResult, StripeError, Token, VerifyMicrodepositsParams, VerifyMicrodepositsForPaymentResult, VerifyMicrodepositsForSetupResult, CollectBankAccountForPaymentResult, CollectBankAccountForSetupResult, IsCardInWalletResult, CanAddCardToWalletParams, CanAddCardToWalletResult, FinancialConnections, PlatformPay } from './types';
2
+ import type { CollectFinancialConnectionsAccountsParams } from './types/FinancialConnections';
3
+ import type { CollectBankAccountTokenParams } from './types/PaymentMethod';
2
4
  export declare const createPaymentMethod: (params: PaymentMethod.CreateParams, options?: PaymentMethod.CreateOptions) => Promise<CreatePaymentMethodResult>;
3
5
  export declare const createToken: (params: Token.CreateParams) => Promise<CreateTokenResult>;
4
6
  export declare const retrievePaymentIntent: (clientSecret: string) => Promise<RetrievePaymentIntentResult>;
@@ -11,21 +13,21 @@ export declare const retrieveSetupIntent: (clientSecret: string) => Promise<Retr
11
13
  * @param {object=} options An optional object that contains options for this payment method.
12
14
  * @returns A promise that resolves to an object containing either a `paymentIntent` field, or an `error` field.
13
15
  */
14
- export declare const confirmPayment: (paymentIntentClientSecret: string, params?: PaymentIntent.ConfirmParams | undefined, options?: PaymentIntent.ConfirmOptions) => Promise<ConfirmPaymentResult>;
16
+ export declare const confirmPayment: (paymentIntentClientSecret: string, params?: PaymentIntent.ConfirmParams, options?: PaymentIntent.ConfirmOptions) => Promise<ConfirmPaymentResult>;
15
17
  /** Handles any nextAction required to authenticate the PaymentIntent.
16
18
  * Call this method if you are using manual confirmation. See https://stripe.com/docs/payments/accept-a-payment?platform=react-native&ui=custom
17
19
  *
18
20
  * @param {string} paymentIntentClientSecret The client secret associated with the PaymentIntent.
19
21
  * @param {string=} returnURL An optional return URL so the Stripe SDK can redirect back to your app after authentication. This should match the `return_url` you specified during PaymentIntent confirmation.
20
22
  * */
21
- export declare const handleNextAction: (paymentIntentClientSecret: string, returnURL?: string | undefined) => Promise<HandleNextActionResult>;
23
+ export declare const handleNextAction: (paymentIntentClientSecret: string, returnURL?: string) => Promise<HandleNextActionResult>;
22
24
  /** Handles any nextAction required to authenticate the SetupIntent.
23
25
  * Call this method if you are confirming the SetupIntent on your backend and get a status of requires_action.
24
26
  *
25
27
  * @param {string} setupIntentClientSecret The client secret associated with the SetupIntent.
26
28
  * @param {string=} returnURL An optional return URL so the Stripe SDK can redirect back to your app after authentication. This should match the `return_url` you specified during PaymentIntent confirmation.
27
29
  * */
28
- export declare const handleNextActionForSetup: (setupIntentClientSecret: string, returnURL?: string | undefined) => Promise<HandleNextActionForSetupResult>;
30
+ export declare const handleNextActionForSetup: (setupIntentClientSecret: string, returnURL?: string) => Promise<HandleNextActionForSetupResult>;
29
31
  export declare const confirmSetupIntent: (paymentIntentClientSecret: string, params: SetupIntent.ConfirmParams, options?: SetupIntent.ConfirmOptions) => Promise<ConfirmSetupIntentResult>;
30
32
  export declare const createTokenForCVCUpdate: (cvc: string) => Promise<CreateTokenForCVCUpdateResult>;
31
33
  /**
@@ -52,16 +54,18 @@ export declare const collectBankAccountForSetup: (clientSecret: string, params:
52
54
  * Use collectBankAccountToken in the [Add a Financial Connections Account to a US Custom Connect](https://stripe.com/docs/financial-connections/connect-payouts) account flow.
53
55
  * When called, it will load the Authentication Flow, an on-page modal UI which allows your user to securely link their external financial account for payouts.
54
56
  * @param {string} clientSecret The client_secret of the [Financial Connections Session](https://stripe.com/docs/api/financial_connections/session).
57
+ * @param {CollectBankAccountTokenParams} params Optional parameters.
55
58
  * @returns A promise that resolves to an object containing either `session` and `token` fields, or an error field.
56
59
  */
57
- export declare const collectBankAccountToken: (clientSecret: string) => Promise<FinancialConnections.TokenResult>;
60
+ export declare const collectBankAccountToken: (clientSecret: string, params?: CollectBankAccountTokenParams) => Promise<FinancialConnections.TokenResult>;
58
61
  /**
59
62
  * Use collectFinancialConnectionsAccounts in the [Collect an account to build data-powered products](https://stripe.com/docs/financial-connections/other-data-powered-products) flow.
60
63
  * When called, it will load the Authentication Flow, an on-page modal UI which allows your user to securely link their external financial account.
61
64
  * @param {string} clientSecret The client_secret of the [Financial Connections Session](https://stripe.com/docs/api/financial_connections/session).
65
+ * @param {CollectFinancialConnectionsAccountsParams} params Optional parameters.
62
66
  * @returns A promise that resolves to an object containing either a `session` field, or an error field.
63
67
  */
64
- export declare const collectFinancialConnectionsAccounts: (clientSecret: string) => Promise<FinancialConnections.SessionResult>;
68
+ export declare const collectFinancialConnectionsAccounts: (clientSecret: string, params?: CollectFinancialConnectionsAccountsParams) => Promise<FinancialConnections.SessionResult>;
65
69
  /**
66
70
  * Check if the app & device support adding this card to the native wallet.
67
71
  * @param params An object containing fields for `primaryAccountIdentifier`, `cardLastFour`, and `testEnv`.
@@ -84,8 +88,8 @@ export declare const Constants: {
84
88
  * @returns A boolean indicating whether or not the native wallet is supported.
85
89
  */
86
90
  export declare const isPlatformPaySupported: (params?: {
87
- googlePay?: PlatformPay.IsGooglePaySupportedParams | undefined;
88
- } | undefined) => Promise<boolean>;
91
+ googlePay?: PlatformPay.IsGooglePaySupportedParams;
92
+ }) => Promise<boolean>;
89
93
  /**
90
94
  * Launches the relevant native wallet sheet (Apple Pay on iOS, Google Pay on Android) in order to confirm a Stripe [SetupIntent](https://stripe.com/docs/api/setup_intents).
91
95
  * @param clientSecret The client secret of the SetupIntent.
@@ -141,3 +145,4 @@ export declare const updatePlatformPaySheet: (params: {
141
145
  * app on iPad. For devices that don’t support Apple Pay, this method does nothing.
142
146
  */
143
147
  export declare const openPlatformPaySetup: () => Promise<void>;
148
+ //# sourceMappingURL=functions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../../src/functions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,gBAAgB,EAChB,oBAAoB,EACpB,gCAAgC,EAChC,WAAW,EACX,aAAa,EACb,wBAAwB,EACxB,yBAAyB,EACzB,6BAA6B,EAC7B,iBAAiB,EACjB,sBAAsB,EACtB,8BAA8B,EAC9B,sBAAsB,EACtB,aAAa,EACb,YAAY,EACZ,yBAAyB,EACzB,2BAA2B,EAC3B,yBAAyB,EACzB,WAAW,EACX,KAAK,EACL,yBAAyB,EACzB,mCAAmC,EACnC,iCAAiC,EACjC,kCAAkC,EAClC,gCAAgC,EAChC,oBAAoB,EACpB,wBAAwB,EACxB,wBAAwB,EACxB,oBAAoB,EACpB,WAAW,EACZ,MAAM,SAAS,CAAC;AAOjB,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,8BAA8B,CAAC;AAC9F,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAE3E,eAAO,MAAM,mBAAmB,WACtB,aAAa,CAAC,YAAY,YACzB,aAAa,CAAC,aAAa,KACnC,OAAO,CAAC,yBAAyB,CAmBnC,CAAC;AAEF,eAAO,MAAM,WAAW,WACd,KAAK,CAAC,YAAY,KACzB,OAAO,CAAC,iBAAiB,CA2B3B,CAAC;AAEF,eAAO,MAAM,qBAAqB,iBAClB,MAAM,KACnB,OAAO,CAAC,2BAA2B,CAiBrC,CAAC;AAEF,eAAO,MAAM,mBAAmB,iBAChB,MAAM,KACnB,OAAO,CAAC,yBAAyB,CAiBnC,CAAC;AAEF;;;;;;;GAOG;AACH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C,mBAAmB,CAqBzC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,WACzB,WAAW,CAAC,mBAAmB,KACtC,OAAO,CAAC,WAAW,CAAC,WAAW,CAqBjC,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,WAAkB;IACnD,QAAQ,EAAE;QACR,SAAS,EAAE,KAAK,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;QAC9C,eAAe,EAAE,KAAK,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;QACnD,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC;KAC/C,CAAC;CACH,KAAG,OAAO,CAAC;IACV,KAAK,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;CACvC,CAkBA,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,QAAa,OAAO,CAAC,IAAI,CAIzD,CAAC"}
@@ -21,3 +21,4 @@ export declare const focusInput: (ref: React.MutableRefObject<any>) => void;
21
21
  export declare const registerInput: (ref: React.MutableRefObject<any>) => void;
22
22
  export declare const unregisterInput: (ref: React.MutableRefObject<any>) => void;
23
23
  export declare const currentlyFocusedInput: () => any;
24
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAK3C;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,eAM/B,CAAC;AAEF,eAAO,MAAM,KAAK,SAAwB,CAAC;AAC3C,eAAO,MAAM,SAAS,SAA4B,CAAC;AAEnD,wBAAgB,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC;;;;;;;EASnD;AAED,eAAO,MAAM,wBAAwB,UAAW,MAAM,WAC4C,CAAC;AAEnG,eAAO,MAAM,UAAU,QAAS,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,SAQ1D,CAAC;AAEF,eAAO,MAAM,aAAa,QAAS,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,SAQ7D,CAAC;AAEF,eAAO,MAAM,eAAe,QAAS,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,SAQ/D,CAAC;AAEF,eAAO,MAAM,qBAAqB,WAQjC,CAAC"}
@@ -3,6 +3,7 @@ import type { PaymentIntent } from '../types';
3
3
  * useConfirmPayment hook
4
4
  */
5
5
  export declare function useConfirmPayment(): {
6
- confirmPayment: (paymentIntentClientSecret: string, data?: PaymentIntent.ConfirmParams | undefined, options?: PaymentIntent.ConfirmOptions) => Promise<import("../types").ConfirmPaymentResult>;
6
+ confirmPayment: (paymentIntentClientSecret: string, data?: PaymentIntent.ConfirmParams, options?: PaymentIntent.ConfirmOptions) => Promise<import("../types").ConfirmPaymentResult>;
7
7
  loading: boolean;
8
8
  };
9
+ //# sourceMappingURL=useConfirmPayment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useConfirmPayment.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useConfirmPayment.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAG9C;;GAEG;AACH,wBAAgB,iBAAiB;gDAMA,MAAM,SAC1B,aAAa,CAAC,aAAa,YACzB,aAAa,CAAC,cAAc;;EAqB1C"}
@@ -6,3 +6,4 @@ export declare function useConfirmSetupIntent(): {
6
6
  confirmSetupIntent: (paymentIntentClientSecret: string, data: SetupIntent.ConfirmParams, options?: SetupIntent.ConfirmOptions) => Promise<import("../types").ConfirmSetupIntentResult>;
7
7
  loading: boolean;
8
8
  };
9
+ //# sourceMappingURL=useConfirmSetupIntent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useConfirmSetupIntent.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useConfirmSetupIntent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG5C;;GAEG;AACH,wBAAgB,qBAAqB;oDAMJ,MAAM,QAC3B,WAAW,CAAC,aAAa,YACtB,WAAW,CAAC,cAAc;;EAqBxC"}
@@ -1,3 +1,5 @@
1
+ import type { CollectFinancialConnectionsAccountsParams } from 'src/types/FinancialConnections';
2
+ import type { CollectBankAccountTokenParams } from 'src/types/PaymentMethod';
1
3
  /**
2
4
  * React hook for accessing functions on the Financial Connections sheet.
3
5
  *
@@ -5,7 +7,8 @@
5
7
  * to display loading state (like showing a spinner).
6
8
  */
7
9
  export declare function useFinancialConnectionsSheet(): {
8
- collectBankAccountToken: (clientSecret: string) => Promise<import("../types/FinancialConnections").TokenResult>;
9
- collectFinancialConnectionsAccounts: (clientSecret: string) => Promise<import("../types/FinancialConnections").SessionResult>;
10
+ collectBankAccountToken: (clientSecret: string, params?: CollectBankAccountTokenParams) => Promise<import("src/types/FinancialConnections").TokenResult>;
11
+ collectFinancialConnectionsAccounts: (clientSecret: string, params?: CollectFinancialConnectionsAccountsParams) => Promise<import("src/types/FinancialConnections").SessionResult>;
10
12
  loading: boolean;
11
13
  };
14
+ //# sourceMappingURL=useFinancialConnectionsSheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFinancialConnectionsSheet.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useFinancialConnectionsSheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,gCAAgC,CAAC;AAChG,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAE7E;;;;;GAKG;AACH,wBAAgB,4BAA4B;4CAMnB,MAAM,WAAW,6BAA6B;wDAWnD,MAAM,WACX,yCAAyC;;EAkBvD"}
@@ -5,7 +5,7 @@ import type { PaymentSheet } from '../types';
5
5
  export declare function usePaymentSheet(): {
6
6
  loading: boolean;
7
7
  initPaymentSheet: (params: PaymentSheet.SetupParams) => Promise<import("../types").InitPaymentSheetResult>;
8
- presentPaymentSheet: (options?: PaymentSheet.PresentOptions | undefined) => Promise<import("../types").PresentPaymentSheetResult>;
8
+ presentPaymentSheet: (options?: PaymentSheet.PresentOptions) => Promise<import("../types").PresentPaymentSheetResult>;
9
9
  confirmPaymentSheetPayment: () => Promise<import("../types").ConfirmPaymentSheetPaymentResult>;
10
10
  /**
11
11
  * You must call this method when the user logs out from your app. This will ensure that
@@ -14,3 +14,4 @@ export declare function usePaymentSheet(): {
14
14
  */
15
15
  resetPaymentSheetCustomer: () => Promise<null>;
16
16
  };
17
+ //# sourceMappingURL=usePaymentSheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePaymentSheet.d.ts","sourceRoot":"","sources":["../../../../src/hooks/usePaymentSheet.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C;;GAEG;AACH,wBAAgB,eAAe;;+BAUZ,YAAY,CAAC,WAAW;oCAUtB,YAAY,CAAC,cAAc;;IA4B5C;;;;OAIG;;EAGN"}
@@ -10,8 +10,8 @@ export declare function usePlatformPay(): {
10
10
  * @returns A boolean indicating whether or not the native wallet is supported.
11
11
  */
12
12
  isPlatformPaySupported: (params?: {
13
- googlePay?: PlatformPay.IsGooglePaySupportedParams | undefined;
14
- } | undefined) => Promise<boolean>;
13
+ googlePay?: PlatformPay.IsGooglePaySupportedParams;
14
+ }) => Promise<boolean>;
15
15
  /**
16
16
  * Launches the relevant native wallet sheet (Apple Pay on iOS, Google Pay on Android) in order to confirm a Stripe [SetupIntent](https://stripe.com/docs/api/setup_intents).
17
17
  * @param clientSecret The client secret of the SetupIntent.
@@ -58,7 +58,7 @@ export declare function usePlatformPay(): {
58
58
  errors: Array<PlatformPay.ApplePaySheetError>;
59
59
  };
60
60
  }) => Promise<{
61
- error?: import("../types").StripeError<import("../types").PlatformPayError> | undefined;
61
+ error?: import("../types").StripeError<import("../types").PlatformPayError>;
62
62
  }>;
63
63
  /**
64
64
  * Check if the app & device support adding this card to the native wallet.
@@ -74,3 +74,4 @@ export declare function usePlatformPay(): {
74
74
  */
75
75
  openPlatformPaySetup: () => Promise<void>;
76
76
  };
77
+ //# sourceMappingURL=usePlatformPay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePlatformPay.d.ts","sourceRoot":"","sources":["../../../../src/hooks/usePlatformPay.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,WAAW,EACX,wBAAwB,EACxB,wBAAwB,EACzB,MAAM,UAAU,CAAC;AAGlB;;GAEG;AACH,wBAAgB,cAAc;IAwH1B,8IAA8I;;IAE9I;;;OAGG;sCA9Ga;QAAE,SAAS,CAAC,EAAE,WAAW,CAAC,0BAA0B,CAAA;KAAE;IAgHtE;;;;;OAKG;kDAzGkB,MAAM,UAAU,WAAW,CAAC,aAAa;IA2G9D;;;;;OAKG;8CApGkB,MAAM,UAAU,WAAW,CAAC,aAAa;IAsG9D;;;;OAIG;6CA9FY,WAAW,CAAC,mBAAmB;IAgG9C;;;;OAIG;qCAxFY,WAAW,CAAC,mBAAmB;IA0F9C;;;OAGG;;IAEH;;;;;;;OAOG;qCAjFY;QACb,QAAQ,EAAE;YACR,SAAS,EAAE,KAAK,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;YAC9C,eAAe,EAAE,KAAK,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;YACnD,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC;SAC/C,CAAC;KACH;;;IA6ED;;;;;OAKG;iCArEO,wBAAwB,KAC/B,OAAO,CAAC,wBAAwB,CAAC;IAsEpC;;;;OAIG;gCA/D+C,OAAO,CAAC,IAAI,CAAC;EAkElE"}
@@ -1,19 +1,21 @@
1
1
  import type { PaymentMethod, PaymentIntent, PaymentSheet, CreatePaymentMethodResult, RetrievePaymentIntentResult, RetrieveSetupIntentResult, ConfirmPaymentResult, HandleNextActionResult, HandleNextActionForSetupResult, ConfirmSetupIntentResult, CreateTokenForCVCUpdateResult, StripeError, InitPaymentSheetResult, PresentPaymentSheetResult, ConfirmPaymentSheetPaymentResult, SetupIntent, CreateTokenResult, Token, VerifyMicrodepositsParams, VerifyMicrodepositsForPaymentResult, VerifyMicrodepositsForSetupResult, CollectBankAccountForSetupResult, CollectBankAccountForPaymentResult, CanAddCardToWalletParams, CanAddCardToWalletResult, FinancialConnections, PlatformPay, PlatformPayError } from '../types';
2
+ import type { CollectBankAccountTokenParams } from 'src/types/PaymentMethod';
3
+ import type { CollectFinancialConnectionsAccountsParams } from 'src/types/FinancialConnections';
2
4
  /**
3
5
  * useStripe hook
4
6
  */
5
7
  export declare function useStripe(): {
6
8
  retrievePaymentIntent: (clientSecret: string) => Promise<RetrievePaymentIntentResult>;
7
9
  retrieveSetupIntent: (clientSecret: string) => Promise<RetrieveSetupIntentResult>;
8
- confirmPayment: (paymentIntentClientSecret: string, data?: PaymentIntent.ConfirmParams | undefined, options?: PaymentIntent.ConfirmOptions) => Promise<ConfirmPaymentResult>;
10
+ confirmPayment: (paymentIntentClientSecret: string, data?: PaymentIntent.ConfirmParams, options?: PaymentIntent.ConfirmOptions) => Promise<ConfirmPaymentResult>;
9
11
  createPaymentMethod: (data: PaymentMethod.CreateParams, options?: PaymentMethod.CreateOptions) => Promise<CreatePaymentMethodResult>;
10
- handleNextAction: (paymentIntentClientSecret: string, returnURL?: string | undefined) => Promise<HandleNextActionResult>;
11
- handleNextActionForSetup: (setupIntentClientSecret: string, returnURL?: string | undefined) => Promise<HandleNextActionForSetupResult>;
12
+ handleNextAction: (paymentIntentClientSecret: string, returnURL?: string) => Promise<HandleNextActionResult>;
13
+ handleNextActionForSetup: (setupIntentClientSecret: string, returnURL?: string) => Promise<HandleNextActionForSetupResult>;
12
14
  confirmSetupIntent: (paymentIntentClientSecret: string, data: SetupIntent.ConfirmParams, options?: SetupIntent.ConfirmOptions) => Promise<ConfirmSetupIntentResult>;
13
15
  createTokenForCVCUpdate: (cvc: string) => Promise<CreateTokenForCVCUpdateResult>;
14
16
  handleURLCallback: (url: string) => Promise<boolean>;
15
17
  confirmPaymentSheetPayment: () => Promise<ConfirmPaymentSheetPaymentResult>;
16
- presentPaymentSheet: (options?: PaymentSheet.PresentOptions | undefined) => Promise<PresentPaymentSheetResult>;
18
+ presentPaymentSheet: (options?: PaymentSheet.PresentOptions) => Promise<PresentPaymentSheetResult>;
17
19
  initPaymentSheet: (params: PaymentSheet.SetupParams) => Promise<InitPaymentSheetResult>;
18
20
  createToken: (params: Token.CreateParams) => Promise<CreateTokenResult>;
19
21
  collectBankAccountForPayment: (clientSecret: string, params: PaymentMethod.CollectBankAccountParams) => Promise<CollectBankAccountForPaymentResult>;
@@ -21,8 +23,8 @@ export declare function useStripe(): {
21
23
  verifyMicrodepositsForPayment: (clientSecret: string, params: VerifyMicrodepositsParams) => Promise<VerifyMicrodepositsForPaymentResult>;
22
24
  verifyMicrodepositsForSetup: (clientSecret: string, params: VerifyMicrodepositsParams) => Promise<VerifyMicrodepositsForSetupResult>;
23
25
  canAddCardToWallet: (params: CanAddCardToWalletParams) => Promise<CanAddCardToWalletResult>;
24
- collectBankAccountToken: (clientSecret: string) => Promise<FinancialConnections.TokenResult>;
25
- collectFinancialConnectionsAccounts: (clientSecret: string) => Promise<FinancialConnections.SessionResult>;
26
+ collectBankAccountToken: (clientSecret: string, params?: CollectBankAccountTokenParams) => Promise<FinancialConnections.TokenResult>;
27
+ collectFinancialConnectionsAccounts: (clientSecret: string, params?: CollectFinancialConnectionsAccountsParams) => Promise<FinancialConnections.SessionResult>;
26
28
  /**
27
29
  * You must call this method when the user logs out from your app. This will ensure that
28
30
  * any persisted authentication state in the PaymentSheet, such as authentication cookies,
@@ -30,8 +32,8 @@ export declare function useStripe(): {
30
32
  */
31
33
  resetPaymentSheetCustomer: () => Promise<null>;
32
34
  isPlatformPaySupported: (params?: {
33
- googlePay?: PlatformPay.IsGooglePaySupportedParams | undefined;
34
- } | undefined) => Promise<boolean>;
35
+ googlePay?: PlatformPay.IsGooglePaySupportedParams;
36
+ }) => Promise<boolean>;
35
37
  confirmPlatformPaySetupIntent: (clientSecret: string, params: PlatformPay.ConfirmParams) => Promise<PlatformPay.ConfirmSetupIntentResult>;
36
38
  confirmPlatformPayPayment: (clientSecret: string, params: PlatformPay.ConfirmParams) => Promise<PlatformPay.ConfirmPaymentResult>;
37
39
  dismissPlatformPay: () => Promise<boolean>;
@@ -48,3 +50,4 @@ export declare function useStripe(): {
48
50
  }>;
49
51
  openPlatformPaySetup: () => Promise<void>;
50
52
  };
53
+ //# sourceMappingURL=useStripe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useStripe.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useStripe.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,YAAY,EACZ,yBAAyB,EACzB,2BAA2B,EAC3B,yBAAyB,EACzB,oBAAoB,EACpB,sBAAsB,EACtB,8BAA8B,EAC9B,wBAAwB,EACxB,6BAA6B,EAC7B,WAAW,EACX,sBAAsB,EACtB,yBAAyB,EACzB,gCAAgC,EAChC,WAAW,EACX,iBAAiB,EACjB,KAAK,EACL,yBAAyB,EACzB,mCAAmC,EACnC,iCAAiC,EACjC,gCAAgC,EAChC,kCAAkC,EAClC,wBAAwB,EACxB,wBAAwB,EACxB,oBAAoB,EACpB,WAAW,EACX,gBAAgB,EACjB,MAAM,UAAU,CAAC;AAiClB,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,gCAAgC,CAAC;AAEhG;;GAEG;AACH,wBAAgB,SAAS;0CAmBA,MAAM,KAAG,OAAO,CAAC,2BAA2B,CAAC;wCAO7C,MAAM,KAAG,OAAO,CAAC,yBA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CAKpD;QACd,SAAS,CAAC,EAAE,WAAW,CAAC,0BAA0B,CAAC;KACpD,KAAG,OAAO,CAAC,OAAO,CAAC;kDAQJ,MAAM,UACZ,WAAW,CAAC,aAAa,KAChC,OAAO,CAAC,WAAW,CAAC,wBAAwB,CAAC;8CAQhC,MAAM,UACZ,WAAW,CAAC,aAAa,KAChC,OAAO,CAAC,WAAW,CAAC,oBAAoB,CAAC;8BAMI,OAAO,CAAC,OAAO,CAAC;6CAMtD,WAAW,CAAC,mBAAmB,KACtC,OAAO,CAAC,WAAW,CAAC,mBAAmB,CAAC;qCAQjC,WAAW,CAAC,mBAAmB,KACtC,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC;qCAOpB;QACb,QAAQ,EAAE;YACR,SAAS,EAAE,KAAK,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;YAC9C,eAAe,EAAE,KAAK,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;YACnD,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC;SAC/C,CAAC;KACH,KAAG,OAAO,CAAC;QACV,KAAK,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;KACvC,CAAC;gCAMgD,OAAO,CAAC,IAAI,CAAC;EAwClE"}
@@ -24,3 +24,4 @@ export * from './functions';
24
24
  export * from './types/index';
25
25
  export * from './components/CustomerSheet';
26
26
  export type { Props as CustomerSheetProps } from './components/CustomerSheet';
27
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAA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from '@expo/config-plugins';
2
- declare type StripePluginProps = {
2
+ type StripePluginProps = {
3
3
  /**
4
4
  * The iOS merchant ID used for enabling Apple Pay.
5
5
  * Without this, the error "Missing merchant identifier" will be thrown on iOS.
@@ -33,3 +33,4 @@ export declare const withNoopSwiftFile: ConfigPlugin;
33
33
  export declare function setGooglePayMetaData(enabled: boolean, modResults: AndroidConfig.Manifest.AndroidManifest): AndroidConfig.Manifest.AndroidManifest;
34
34
  declare const _default: ConfigPlugin<StripePluginProps>;
35
35
  export default _default;
36
+ //# sourceMappingURL=withStripe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withStripe.d.ts","sourceRoot":"","sources":["../../../../src/plugin/withStripe.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,YAAY,EAKb,MAAM,sBAAsB,CAAC;AAU9B,KAAK,iBAAiB,GAAG;IACvB;;;OAGG;IACH,kBAAkB,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACtC,eAAe,EAAE,OAAO,CAAC;CAC1B,CAAC;AAsBF;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CACpC,mBAAmB,EAAE,MAAM,GAAG,MAAM,EAAE,EACtC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAChC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAmBrB;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,YAW/B,CAAC;AAgBF;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,aAAa,CAAC,QAAQ,CAAC,eAAe,GACjD,aAAa,CAAC,QAAQ,CAAC,eAAe,CAiBxC;;AAED,wBAAsE"}