@stripe/stripe-react-native 0.42.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 (308) hide show
  1. package/.husky/pre-commit +0 -3
  2. package/CHANGELOG.md +14 -0
  3. package/android/.gradle/8.11.1/checksums/checksums.lock +0 -0
  4. package/android/.gradle/8.11.1/checksums/md5-checksums.bin +0 -0
  5. package/android/.gradle/8.11.1/checksums/sha1-checksums.bin +0 -0
  6. package/android/.gradle/8.11.1/executionHistory/executionHistory.lock +0 -0
  7. package/android/.gradle/8.11.1/fileHashes/fileHashes.lock +0 -0
  8. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  9. package/android/.gradle/buildOutputCleanup/cache.properties +2 -2
  10. package/android/.project +0 -11
  11. package/android/.settings/org.eclipse.buildship.core.prefs +3 -3
  12. package/android/build.gradle +7 -1
  13. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  14. package/android/gradle/wrapper/gradle-wrapper.properties +7 -0
  15. package/android/gradle.properties +4 -1
  16. package/android/gradlew +249 -0
  17. package/android/gradlew.bat +92 -0
  18. package/android/spotless.gradle +19 -0
  19. package/android/src/main/java/com/reactnativestripesdk/AuBECSDebitFormView.kt +30 -34
  20. package/android/src/main/java/com/reactnativestripesdk/AuBECSDebitFormViewManager.kt +20 -10
  21. package/android/src/main/java/com/reactnativestripesdk/CardChangedEvent.kt +12 -13
  22. package/android/src/main/java/com/reactnativestripesdk/CardFieldView.kt +242 -105
  23. package/android/src/main/java/com/reactnativestripesdk/CardFieldViewManager.kt +58 -20
  24. package/android/src/main/java/com/reactnativestripesdk/CardFocusEvent.kt +8 -11
  25. package/android/src/main/java/com/reactnativestripesdk/CardFormCompleteEvent.kt +10 -12
  26. package/android/src/main/java/com/reactnativestripesdk/CardFormView.kt +135 -87
  27. package/android/src/main/java/com/reactnativestripesdk/CardFormViewManager.kt +57 -22
  28. package/android/src/main/java/com/reactnativestripesdk/CollectBankAccountLauncherFragment.kt +33 -24
  29. package/android/src/main/java/com/reactnativestripesdk/FinancialConnectionsSheetFragment.kt +107 -85
  30. package/android/src/main/java/com/reactnativestripesdk/FormCompleteEvent.kt +9 -11
  31. package/android/src/main/java/com/reactnativestripesdk/GooglePayButtonManager.kt +16 -9
  32. package/android/src/main/java/com/reactnativestripesdk/GooglePayButtonView.kt +36 -28
  33. package/android/src/main/java/com/reactnativestripesdk/GooglePayLauncherFragment.kt +67 -43
  34. package/android/src/main/java/com/reactnativestripesdk/GooglePayPaymentMethodLauncherFragment.kt +21 -16
  35. package/android/src/main/java/com/reactnativestripesdk/GooglePayRequestHelper.kt +101 -56
  36. package/android/src/main/java/com/reactnativestripesdk/PaymentLauncherFragment.kt +244 -166
  37. package/android/src/main/java/com/reactnativestripesdk/PaymentMethodCreateParamsFactory.kt +137 -156
  38. package/android/src/main/java/com/reactnativestripesdk/PaymentSheetAppearance.kt +181 -57
  39. package/android/src/main/java/com/reactnativestripesdk/PaymentSheetFragment.kt +402 -258
  40. package/android/src/main/java/com/reactnativestripesdk/StripeContainerManager.kt +11 -4
  41. package/android/src/main/java/com/reactnativestripesdk/StripeContainerView.kt +5 -1
  42. package/android/src/main/java/com/reactnativestripesdk/StripeSdkModule.kt +654 -299
  43. package/android/src/main/java/com/reactnativestripesdk/StripeSdkPackage.kt +12 -14
  44. package/android/src/main/java/com/reactnativestripesdk/addresssheet/AddressLauncherFragment.kt +42 -37
  45. package/android/src/main/java/com/reactnativestripesdk/addresssheet/AddressSheetEvent.kt +12 -11
  46. package/android/src/main/java/com/reactnativestripesdk/addresssheet/AddressSheetView.kt +29 -29
  47. package/android/src/main/java/com/reactnativestripesdk/addresssheet/AddressSheetViewManager.kt +50 -18
  48. package/android/src/main/java/com/reactnativestripesdk/customersheet/CustomerSheetFragment.kt +227 -147
  49. package/android/src/main/java/com/reactnativestripesdk/customersheet/ReactNativeCustomerAdapter.kt +15 -18
  50. package/android/src/main/java/com/reactnativestripesdk/pushprovisioning/AddToWalletButtonManager.kt +33 -15
  51. package/android/src/main/java/com/reactnativestripesdk/pushprovisioning/AddToWalletButtonView.kt +63 -37
  52. package/android/src/main/java/com/reactnativestripesdk/pushprovisioning/AddToWalletCompleteEvent.kt +9 -13
  53. package/android/src/main/java/com/reactnativestripesdk/pushprovisioning/EphemeralKeyProvider.kt +15 -17
  54. package/android/src/main/java/com/reactnativestripesdk/pushprovisioning/PushProvisioningProxy.kt +76 -60
  55. package/android/src/main/java/com/reactnativestripesdk/pushprovisioning/TapAndPayProxy.kt +71 -47
  56. package/android/src/main/java/com/reactnativestripesdk/utils/Errors.kt +117 -51
  57. package/android/src/main/java/com/reactnativestripesdk/utils/Extensions.kt +4 -3
  58. package/android/src/main/java/com/reactnativestripesdk/utils/KeepJsAwakeTask.kt +39 -0
  59. package/android/src/main/java/com/reactnativestripesdk/utils/Mappers.kt +295 -258
  60. package/android/src/main/java/com/reactnativestripesdk/utils/PostalCodeUtilities.kt +2 -11
  61. package/ios/CustomerSheet/CustomerSheetUtils.swift +3 -1
  62. package/ios/FinancialConnections.swift +6 -2
  63. package/ios/StripeSdk+CustomerSheet.swift +2 -1
  64. package/ios/StripeSdk+PaymentSheet.swift +42 -0
  65. package/ios/StripeSdk.m +2 -0
  66. package/ios/StripeSdk.swift +72 -11
  67. package/lib/commonjs/NativeStripeSdk.js +1 -1
  68. package/lib/commonjs/NativeStripeSdk.js.map +1 -1
  69. package/lib/commonjs/components/AddToWalletButton.js +1 -1
  70. package/lib/commonjs/components/AddToWalletButton.js.map +1 -1
  71. package/lib/commonjs/components/AddressSheet.js +1 -1
  72. package/lib/commonjs/components/AddressSheet.js.map +1 -1
  73. package/lib/commonjs/components/ApplePayButtonNative.js +1 -1
  74. package/lib/commonjs/components/ApplePayButtonNative.js.map +1 -1
  75. package/lib/commonjs/components/AuBECSDebitForm.js +1 -1
  76. package/lib/commonjs/components/AuBECSDebitForm.js.map +1 -1
  77. package/lib/commonjs/components/CardField.js +1 -1
  78. package/lib/commonjs/components/CardField.js.map +1 -1
  79. package/lib/commonjs/components/CardForm.js +1 -1
  80. package/lib/commonjs/components/CardForm.js.map +1 -1
  81. package/lib/commonjs/components/CustomerSheet.js +1 -1
  82. package/lib/commonjs/components/CustomerSheet.js.map +1 -1
  83. package/lib/commonjs/components/GooglePayButtonNative.js +1 -1
  84. package/lib/commonjs/components/GooglePayButtonNative.js.map +1 -1
  85. package/lib/commonjs/components/PlatformPayButton.js +1 -1
  86. package/lib/commonjs/components/PlatformPayButton.js.map +1 -1
  87. package/lib/commonjs/components/StripeContainer.js +1 -1
  88. package/lib/commonjs/components/StripeContainer.js.map +1 -1
  89. package/lib/commonjs/components/StripeProvider.js +1 -1
  90. package/lib/commonjs/components/StripeProvider.js.map +1 -1
  91. package/lib/commonjs/functions.js +1 -1
  92. package/lib/commonjs/functions.js.map +1 -1
  93. package/lib/commonjs/helpers.js +1 -1
  94. package/lib/commonjs/helpers.js.map +1 -1
  95. package/lib/commonjs/hooks/useConfirmPayment.js.map +1 -1
  96. package/lib/commonjs/hooks/useConfirmSetupIntent.js.map +1 -1
  97. package/lib/commonjs/hooks/useFinancialConnectionsSheet.js.map +1 -1
  98. package/lib/commonjs/hooks/usePaymentSheet.js.map +1 -1
  99. package/lib/commonjs/hooks/usePlatformPay.js.map +1 -1
  100. package/lib/commonjs/hooks/useStripe.js.map +1 -1
  101. package/lib/commonjs/index.js.map +1 -1
  102. package/lib/commonjs/package.json +1 -0
  103. package/lib/commonjs/plugin/withStripe.js +1 -1
  104. package/lib/commonjs/plugin/withStripe.js.map +1 -1
  105. package/lib/commonjs/types/ApplePay.js.map +1 -1
  106. package/lib/commonjs/types/Common.js +1 -1
  107. package/lib/commonjs/types/Common.js.map +1 -1
  108. package/lib/commonjs/types/CustomerSheet.js.map +1 -1
  109. package/lib/commonjs/types/Errors.js +1 -1
  110. package/lib/commonjs/types/Errors.js.map +1 -1
  111. package/lib/commonjs/types/FinancialConnections.js +1 -1
  112. package/lib/commonjs/types/FinancialConnections.js.map +1 -1
  113. package/lib/commonjs/types/NextAction.js.map +1 -1
  114. package/lib/commonjs/types/PaymentIntent.js +1 -1
  115. package/lib/commonjs/types/PaymentIntent.js.map +1 -1
  116. package/lib/commonjs/types/PaymentMethod.js.map +1 -1
  117. package/lib/commonjs/types/PaymentSheet.js +1 -1
  118. package/lib/commonjs/types/PaymentSheet.js.map +1 -1
  119. package/lib/commonjs/types/PlatformPay.js +1 -1
  120. package/lib/commonjs/types/PlatformPay.js.map +1 -1
  121. package/lib/commonjs/types/PushProvisioning.js +1 -1
  122. package/lib/commonjs/types/PushProvisioning.js.map +1 -1
  123. package/lib/commonjs/types/SetupIntent.js +1 -1
  124. package/lib/commonjs/types/SetupIntent.js.map +1 -1
  125. package/lib/commonjs/types/ThreeDSecure.js +1 -1
  126. package/lib/commonjs/types/ThreeDSecure.js.map +1 -1
  127. package/lib/commonjs/types/Token.js.map +1 -1
  128. package/lib/commonjs/types/components/ApplePayButtonComponent.js.map +1 -1
  129. package/lib/commonjs/types/components/AuBECSDebitFormComponent.js.map +1 -1
  130. package/lib/commonjs/types/components/CardFieldInput.js +1 -1
  131. package/lib/commonjs/types/components/CardFieldInput.js.map +1 -1
  132. package/lib/commonjs/types/components/CardFormView.js.map +1 -1
  133. package/lib/commonjs/types/components/GooglePayButtonComponent.js.map +1 -1
  134. package/lib/commonjs/types/index.js +1 -1
  135. package/lib/commonjs/types/index.js.map +1 -1
  136. package/lib/module/NativeStripeSdk.js +1 -1
  137. package/lib/module/NativeStripeSdk.js.map +1 -1
  138. package/lib/module/components/AddToWalletButton.js +1 -1
  139. package/lib/module/components/AddToWalletButton.js.map +1 -1
  140. package/lib/module/components/AddressSheet.js +1 -1
  141. package/lib/module/components/AddressSheet.js.map +1 -1
  142. package/lib/module/components/ApplePayButtonNative.js +1 -1
  143. package/lib/module/components/ApplePayButtonNative.js.map +1 -1
  144. package/lib/module/components/AuBECSDebitForm.js +1 -1
  145. package/lib/module/components/AuBECSDebitForm.js.map +1 -1
  146. package/lib/module/components/CardField.js +1 -1
  147. package/lib/module/components/CardField.js.map +1 -1
  148. package/lib/module/components/CardForm.js +1 -1
  149. package/lib/module/components/CardForm.js.map +1 -1
  150. package/lib/module/components/CustomerSheet.js +1 -1
  151. package/lib/module/components/CustomerSheet.js.map +1 -1
  152. package/lib/module/components/GooglePayButtonNative.js +1 -1
  153. package/lib/module/components/GooglePayButtonNative.js.map +1 -1
  154. package/lib/module/components/PlatformPayButton.js +1 -1
  155. package/lib/module/components/PlatformPayButton.js.map +1 -1
  156. package/lib/module/components/StripeContainer.js +1 -1
  157. package/lib/module/components/StripeContainer.js.map +1 -1
  158. package/lib/module/components/StripeProvider.js +1 -1
  159. package/lib/module/components/StripeProvider.js.map +1 -1
  160. package/lib/module/functions.js +1 -1
  161. package/lib/module/functions.js.map +1 -1
  162. package/lib/module/helpers.js +1 -1
  163. package/lib/module/helpers.js.map +1 -1
  164. package/lib/module/hooks/useConfirmPayment.js.map +1 -1
  165. package/lib/module/hooks/useConfirmSetupIntent.js.map +1 -1
  166. package/lib/module/hooks/useFinancialConnectionsSheet.js.map +1 -1
  167. package/lib/module/hooks/usePaymentSheet.js.map +1 -1
  168. package/lib/module/hooks/usePlatformPay.js.map +1 -1
  169. package/lib/module/hooks/useStripe.js.map +1 -1
  170. package/lib/module/index.js.map +1 -1
  171. package/lib/module/package.json +1 -0
  172. package/lib/module/plugin/withStripe.js +1 -1
  173. package/lib/module/plugin/withStripe.js.map +1 -1
  174. package/lib/module/types/ApplePay.js.map +1 -1
  175. package/lib/module/types/Common.js +1 -1
  176. package/lib/module/types/Common.js.map +1 -1
  177. package/lib/module/types/CustomerSheet.js.map +1 -1
  178. package/lib/module/types/Errors.js +1 -1
  179. package/lib/module/types/Errors.js.map +1 -1
  180. package/lib/module/types/FinancialConnections.js +1 -1
  181. package/lib/module/types/FinancialConnections.js.map +1 -1
  182. package/lib/module/types/NextAction.js.map +1 -1
  183. package/lib/module/types/PaymentIntent.js +1 -1
  184. package/lib/module/types/PaymentIntent.js.map +1 -1
  185. package/lib/module/types/PaymentMethod.js.map +1 -1
  186. package/lib/module/types/PaymentSheet.js +1 -1
  187. package/lib/module/types/PaymentSheet.js.map +1 -1
  188. package/lib/module/types/PlatformPay.js +1 -1
  189. package/lib/module/types/PlatformPay.js.map +1 -1
  190. package/lib/module/types/PushProvisioning.js +1 -1
  191. package/lib/module/types/PushProvisioning.js.map +1 -1
  192. package/lib/module/types/SetupIntent.js +1 -1
  193. package/lib/module/types/SetupIntent.js.map +1 -1
  194. package/lib/module/types/ThreeDSecure.js +1 -1
  195. package/lib/module/types/ThreeDSecure.js.map +1 -1
  196. package/lib/module/types/Token.js.map +1 -1
  197. package/lib/module/types/components/ApplePayButtonComponent.js.map +1 -1
  198. package/lib/module/types/components/AuBECSDebitFormComponent.js.map +1 -1
  199. package/lib/module/types/components/CardFieldInput.js +1 -1
  200. package/lib/module/types/components/CardFieldInput.js.map +1 -1
  201. package/lib/module/types/components/CardFormView.js.map +1 -1
  202. package/lib/module/types/components/GooglePayButtonComponent.js.map +1 -1
  203. package/lib/module/types/index.js +1 -1
  204. package/lib/module/types/index.js.map +1 -1
  205. package/lib/typescript/src/NativeStripeSdk.d.ts +4 -3
  206. package/lib/typescript/src/NativeStripeSdk.d.ts.map +1 -0
  207. package/lib/typescript/src/components/AddToWalletButton.d.ts +3 -1
  208. package/lib/typescript/src/components/AddToWalletButton.d.ts.map +1 -0
  209. package/lib/typescript/src/components/AddressSheet.d.ts +4 -2
  210. package/lib/typescript/src/components/AddressSheet.d.ts.map +1 -0
  211. package/lib/typescript/src/components/ApplePayButtonNative.d.ts +1 -0
  212. package/lib/typescript/src/components/ApplePayButtonNative.d.ts.map +1 -0
  213. package/lib/typescript/src/components/AuBECSDebitForm.d.ts +3 -1
  214. package/lib/typescript/src/components/AuBECSDebitForm.d.ts.map +1 -0
  215. package/lib/typescript/src/components/CardField.d.ts +1 -0
  216. package/lib/typescript/src/components/CardField.d.ts.map +1 -0
  217. package/lib/typescript/src/components/CardForm.d.ts +1 -0
  218. package/lib/typescript/src/components/CardForm.d.ts.map +1 -0
  219. package/lib/typescript/src/components/CustomerSheet.d.ts +2 -1
  220. package/lib/typescript/src/components/CustomerSheet.d.ts.map +1 -0
  221. package/lib/typescript/src/components/GooglePayButtonNative.d.ts +1 -0
  222. package/lib/typescript/src/components/GooglePayButtonNative.d.ts.map +1 -0
  223. package/lib/typescript/src/components/PlatformPayButton.d.ts +3 -1
  224. package/lib/typescript/src/components/PlatformPayButton.d.ts.map +1 -0
  225. package/lib/typescript/src/components/StripeContainer.d.ts +2 -1
  226. package/lib/typescript/src/components/StripeContainer.d.ts.map +1 -0
  227. package/lib/typescript/src/components/StripeProvider.d.ts +3 -2
  228. package/lib/typescript/src/components/StripeProvider.d.ts.map +1 -0
  229. package/lib/typescript/src/functions.d.ts +6 -5
  230. package/lib/typescript/src/functions.d.ts.map +1 -0
  231. package/lib/typescript/src/helpers.d.ts +1 -0
  232. package/lib/typescript/src/helpers.d.ts.map +1 -0
  233. package/lib/typescript/src/hooks/useConfirmPayment.d.ts +2 -1
  234. package/lib/typescript/src/hooks/useConfirmPayment.d.ts.map +1 -0
  235. package/lib/typescript/src/hooks/useConfirmSetupIntent.d.ts +1 -0
  236. package/lib/typescript/src/hooks/useConfirmSetupIntent.d.ts.map +1 -0
  237. package/lib/typescript/src/hooks/useFinancialConnectionsSheet.d.ts +3 -2
  238. package/lib/typescript/src/hooks/useFinancialConnectionsSheet.d.ts.map +1 -0
  239. package/lib/typescript/src/hooks/usePaymentSheet.d.ts +2 -1
  240. package/lib/typescript/src/hooks/usePaymentSheet.d.ts.map +1 -0
  241. package/lib/typescript/src/hooks/usePlatformPay.d.ts +4 -3
  242. package/lib/typescript/src/hooks/usePlatformPay.d.ts.map +1 -0
  243. package/lib/typescript/src/hooks/useStripe.d.ts +11 -8
  244. package/lib/typescript/src/hooks/useStripe.d.ts.map +1 -0
  245. package/lib/typescript/src/index.d.ts +1 -0
  246. package/lib/typescript/src/index.d.ts.map +1 -0
  247. package/lib/typescript/src/plugin/withStripe.d.ts +2 -1
  248. package/lib/typescript/src/plugin/withStripe.d.ts.map +1 -0
  249. package/lib/typescript/src/types/ApplePay.d.ts +6 -5
  250. package/lib/typescript/src/types/ApplePay.d.ts.map +1 -0
  251. package/lib/typescript/src/types/Common.d.ts +4 -1
  252. package/lib/typescript/src/types/Common.d.ts.map +1 -0
  253. package/lib/typescript/src/types/CustomerSheet.d.ts +12 -4
  254. package/lib/typescript/src/types/CustomerSheet.d.ts.map +1 -0
  255. package/lib/typescript/src/types/Errors.d.ts +2 -1
  256. package/lib/typescript/src/types/Errors.d.ts.map +1 -0
  257. package/lib/typescript/src/types/FinancialConnections.d.ts +21 -17
  258. package/lib/typescript/src/types/FinancialConnections.d.ts.map +1 -0
  259. package/lib/typescript/src/types/NextAction.d.ts +9 -8
  260. package/lib/typescript/src/types/NextAction.d.ts.map +1 -0
  261. package/lib/typescript/src/types/PaymentIntent.d.ts +16 -15
  262. package/lib/typescript/src/types/PaymentIntent.d.ts.map +1 -0
  263. package/lib/typescript/src/types/PaymentMethod.d.ts +21 -16
  264. package/lib/typescript/src/types/PaymentMethod.d.ts.map +1 -0
  265. package/lib/typescript/src/types/PaymentSheet.d.ts +72 -22
  266. package/lib/typescript/src/types/PaymentSheet.d.ts.map +1 -0
  267. package/lib/typescript/src/types/PlatformPay.d.ts +22 -21
  268. package/lib/typescript/src/types/PlatformPay.d.ts.map +1 -0
  269. package/lib/typescript/src/types/PushProvisioning.d.ts +5 -4
  270. package/lib/typescript/src/types/PushProvisioning.d.ts.map +1 -0
  271. package/lib/typescript/src/types/SetupIntent.d.ts +4 -3
  272. package/lib/typescript/src/types/SetupIntent.d.ts.map +1 -0
  273. package/lib/typescript/src/types/ThreeDSecure.d.ts +1 -0
  274. package/lib/typescript/src/types/ThreeDSecure.d.ts.map +1 -0
  275. package/lib/typescript/src/types/Token.d.ts +10 -9
  276. package/lib/typescript/src/types/Token.d.ts.map +1 -0
  277. package/lib/typescript/src/types/components/ApplePayButtonComponent.d.ts +3 -2
  278. package/lib/typescript/src/types/components/ApplePayButtonComponent.d.ts.map +1 -0
  279. package/lib/typescript/src/types/components/AuBECSDebitFormComponent.d.ts +1 -0
  280. package/lib/typescript/src/types/components/AuBECSDebitFormComponent.d.ts.map +1 -0
  281. package/lib/typescript/src/types/components/CardFieldInput.d.ts +8 -5
  282. package/lib/typescript/src/types/components/CardFieldInput.d.ts.map +1 -0
  283. package/lib/typescript/src/types/components/CardFormView.d.ts +9 -6
  284. package/lib/typescript/src/types/components/CardFormView.d.ts.map +1 -0
  285. package/lib/typescript/src/types/components/GooglePayButtonComponent.d.ts +1 -0
  286. package/lib/typescript/src/types/components/GooglePayButtonComponent.d.ts.map +1 -0
  287. package/lib/typescript/src/types/index.d.ts +24 -23
  288. package/lib/typescript/src/types/index.d.ts.map +1 -0
  289. package/package.json +32 -40
  290. package/src/NativeStripeSdk.tsx +4 -2
  291. package/src/components/CardField.tsx +1 -1
  292. package/src/components/CardForm.tsx +12 -9
  293. package/src/components/CustomerSheet.tsx +4 -6
  294. package/src/components/StripeProvider.tsx +17 -0
  295. package/src/functions.ts +13 -14
  296. package/src/types/Common.ts +3 -0
  297. package/src/types/CustomerSheet.ts +7 -0
  298. package/src/types/FinancialConnections.ts +3 -0
  299. package/src/types/PaymentMethod.ts +5 -1
  300. package/src/types/PaymentSheet.ts +64 -4
  301. package/src/types/components/CardFieldInput.ts +8 -4
  302. package/src/types/components/CardFormView.ts +8 -4
  303. package/stripe-react-native.podspec +2 -1
  304. package/android/.gradle/8.9/checksums/checksums.lock +0 -0
  305. package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
  306. package/android/.gradle/8.9/gc.properties +0 -0
  307. /package/android/.gradle/{8.9 → 8.11.1}/fileChanges/last-build.bin +0 -0
  308. /package/android/.gradle/{8.9/dependencies-accessors → 8.11.1}/gc.properties +0 -0
@@ -1 +1 @@
1
- {"version":3,"names":["ApplePaySheetErrorType","ContactField","InvalidShippingField","PaymentRequestType","ApplePayMerchantCapability","ApplePayShippingType","BillingAddressFormat","ButtonType","ButtonStyle","PaymentType","IntervalUnit"],"sources":["PlatformPay.ts"],"sourcesContent":["import type { Result as Token } from './Token';\nimport type { Result as PaymentMethod } from './PaymentMethod';\nimport type { Result as PaymentIntent } from './PaymentIntent';\nimport type { Result as SetupIntent } from './SetupIntent';\nimport type { StripeError, PlatformPayError } from './Errors';\n\nexport type ApplePaySheetError =\n | {\n errorType: ApplePaySheetErrorType.InvalidShippingAddress;\n field: InvalidShippingField;\n message?: string;\n }\n | {\n errorType:\n | ApplePaySheetErrorType.UnserviceableShippingAddress\n | ApplePaySheetErrorType.InvalidCouponCode\n | ApplePaySheetErrorType.ExpiredCouponCode;\n message?: string;\n };\n\nexport enum ApplePaySheetErrorType {\n InvalidShippingAddress = 'InvalidShippingAddress',\n UnserviceableShippingAddress = 'UnserviceableShippingAddress',\n InvalidCouponCode = 'InvalidCouponCode',\n ExpiredCouponCode = 'ExpiredCouponCode',\n}\n\nexport enum ContactField {\n EmailAddress = 'emailAddress',\n Name = 'name',\n PhoneNumber = 'phoneNumber',\n PhoneticName = 'phoneticName',\n PostalAddress = 'postalAddress',\n}\n\nexport enum InvalidShippingField {\n Street = 'street',\n City = 'city',\n SubAdministrativeArea = 'subAdministrativeArea',\n State = 'state',\n PostalCode = 'postalCode',\n Country = 'country',\n CountryCode = 'countryCode',\n SubLocality = 'subLocality',\n}\n\nexport type ApplePayBaseParams = {\n /** ISO 3166-1 alpha-2 country code where the transaction is processed. */\n merchantCountryCode: string;\n /** ISO 4217 alphabetic currency code. */\n currencyCode: string;\n /** The SDK accepts Amex, Mastercard, Visa, and Discover for Apple Pay by default. Set this property to enable other card networks, for example: [\"JCB\", \"barcode\", \"chinaUnionPay\"]. A full list of possible networks can be found at https://developer.apple.com/documentation/passkit/pkpaymentnetwork. */\n additionalEnabledNetworks?: Array<string>;\n /** The list of items that describe a purchase. For example: total, tax, discount, and grand total. */\n cartItems: Array<CartSummaryItem>;\n /** The list of fields that you need for a shipping contact in order to process the transaction. If you include ContactField.PostalAddress in this array, you must implement the PlatformPayButton component's `onShippingContactSelected` callback and call `updatePlatformPaySheet` from there.*/\n requiredShippingAddressFields?: Array<ContactField>;\n /** The list of fields that you need for a billing contact in order to process the transaction. */\n requiredBillingContactFields?: Array<ContactField>;\n /** An array of shipping method objects that describe the supported shipping methods. If provided, you must implement the PlatformPayButton component's `onShippingMethodSelected` callback and call `updatePlatformPaySheet` from there. */\n shippingMethods?: Array<ShippingMethod>;\n /** Set the payment capabilities you support. If set, 3DS is required. */\n merchantCapabilities?: Array<ApplePayMerchantCapability>;\n /** An optional value that indicates how to ship purchased items. Defaults to 'Shipping'.*/\n shippingType?: ApplePayShippingType;\n /** A list of two-letter ISO 3166 country codes for limiting payment to cards from specific countries or regions. */\n supportedCountries?: Array<string>;\n};\n\nexport type ApplePayConfirmParams = {\n /** A typical request is for a one-time payment. To support different types of payment requests, include a PaymentRequestType. Only supported on iOS 16 and up. */\n request?:\n | RecurringPaymentRequest\n | AutomaticReloadPaymentRequest\n | MultiMerchantRequest;\n};\n\nexport enum PaymentRequestType {\n Recurring = 'Recurring',\n AutomaticReload = 'AutomaticReload',\n MultiMerchant = 'MultiMerchant',\n}\n\n/** Use this for a recurring payment, typically a subscription. */\nexport type RecurringPaymentRequest = {\n type: PaymentRequestType.Recurring;\n /** A description that you provide of the recurring payment and that Apple Pay displays to the user in the sheet. */\n description: string;\n /** A URL to a web page where the user can update or delete the payment method for the recurring payment. */\n managementUrl: string;\n /** The regular billing cycle for the payment, including start and end dates, an interval, and an interval count. */\n billing: RecurringCartSummaryItem;\n /** Same as the billing property, but use this if the purchase has a trial period. */\n trialBilling?: RecurringCartSummaryItem;\n /** A localized billing agreement that the sheet displays to the user before the user authorizes the payment. */\n billingAgreement?: string;\n /** A URL you provide to receive life-cycle notifications from the Apple Pay servers about the Apple Pay merchant token for the recurring payment.\n * For more information about handling merchant token life-cycle notifications, see Receiving and handling merchant token notifications.\n */\n tokenNotificationURL?: string;\n};\n\n/** Use this for an automatic reload or refill payment, such as a store card top-up. */\nexport type AutomaticReloadPaymentRequest = {\n type: PaymentRequestType.AutomaticReload;\n /** A description that you provide of the recurring payment and that Apple Pay displays to the user in the sheet. */\n description: string;\n /** A URL to a web page where the user can update or delete the payment method for the recurring payment. */\n managementUrl: string;\n /** A short, localized description of the item. */\n label: string;\n /** This is the amount that is automatically applied to the account when the account balance drops below the threshold amount. */\n reloadAmount: string;\n /** The balance an account reaches before you apply the automatic reload amount. */\n thresholdAmount: string;\n /** A localized billing agreement that the sheet displays to the user before the user authorizes the payment. */\n billingAgreement?: string;\n /** A URL you provide to receive life-cycle notifications from the Apple Pay servers about the Apple Pay merchant token for the recurring payment.\n * For more information about handling merchant token life-cycle notifications, see Receiving and handling merchant token notifications.\n */\n tokenNotificationURL?: string;\n};\n\n/** Use this to indicate payments for multiple merchants. */\nexport type MultiMerchantRequest = {\n type: PaymentRequestType.MultiMerchant;\n merchants: Array<{\n /** The Apple Pay merchant identifier. */\n merchantIdentifier: string;\n /** An external identifier for the merchant. */\n externalIdentifier: string;\n /** The merchant’s display name that the Apple Pay server associates with the payment token. */\n merchantName: string;\n /** The merchant’s top-level domain that the Apple Pay server associates with the payment token. */\n merchantDomain?: string;\n /** The amount to authorize for the payment token. */\n amount: string;\n }>;\n};\n\nexport type ApplePayPaymentMethodParams = {\n /** Set this value to true to display the coupon code field, or pass the 'couponCode' field to autofill with a coupon code. Defaults to false. If true, you must implement the PlatformPayButton component's `onCouponCodeEntered` callback and call `updatePlatformPaySheet` from there. */\n supportsCouponCode?: boolean;\n /** Set this value to autofill with a coupon code. If provided, you must implement the PlatformPayButton component's `onCouponCodeEntered` callback and call `updatePlatformPaySheet` from there. */\n couponCode?: string;\n};\n\nexport enum ApplePayMerchantCapability {\n /** Required. This value must be supplied. */\n Supports3DS = 'supports3DS',\n /** Optional. If present, only transactions that are categorized as credit cards are allowed. */\n SupportsCredit = 'supportsCredit',\n /** Optional. If present, only transactions that are categorized as debit cards are allowed. */\n SupportsDebit = 'supportsDebit',\n}\n\n/** A type that indicates how to ship purchased items. */\nexport enum ApplePayShippingType {\n /** Default. */\n Shipping = 'shipping',\n Delivery = 'delivery',\n StorePickup = 'storePickup',\n ServicePickup = 'servicePickup',\n}\n\nexport type GooglePayBaseParams = {\n /**\n * Set to true to run in a test environment with relaxed application / merchant requirements. This environment is suggested for early development and for easily testing SDK.\n - Does not require the application to be uploaded to the Google Play Store.\n - Does not require a Google Pay Developer Profile.\n - It uses production data, but at the end of the transaction you will receive a fake and non chargeable payment credential.\n - The user will see a warning message that the app is not recognized/verified.\n */\n testEnv: boolean;\n /** ISO 3166-1 alpha-2 country code where the transaction is processed. */\n merchantCountryCode: string;\n /** ISO 4217 alphabetic currency code. */\n currencyCode: string;\n /** Your merchant name, displayed in the Google Pay sheet. */\n merchantName?: string;\n /** Set to true to request an email address. Defaults to false. */\n isEmailRequired?: boolean;\n /** Set to false if you don't support credit cards. Defaults to true. */\n allowCreditCards?: boolean;\n /** If true, Google Pay is considered \"available\" if the customer's Google Pay wallet has an existing payment method. Defaults to false. */\n existingPaymentMethodRequired?: boolean;\n /** Describes the configuration for billing address collection in the Google Pay sheet. */\n billingAddressConfig?: {\n /** Set to true if billing address is required for payment. Defaults to false. */\n isRequired?: boolean;\n /** Set to true if phone number is required for payment. Defaults to false. */\n isPhoneNumberRequired?: boolean;\n /** Defines what address fields to collect. Defaults to BillingAddressFormat.Min */\n format?: BillingAddressFormat;\n };\n /** An optional label to display with the amount. Google Pay may or may not display this label depending on its own internal logic. Defaults to a generic label if none is provided. */\n label?: string;\n /** An optional amount to display for setup intents. Google Pay may or may not display this amount depending on its own internal logic. Defaults to 0 if none is provided. Provide this value in the currency’s smallest unit. */\n amount?: number;\n};\n\nexport type GooglePayPaymentMethodParams = {\n /** Describes the configuration for shipping address collection in the Google Pay sheet. */\n shippingAddressConfig?: {\n /** Set to true if shipping address is required for payment. Defaults to false. */\n isRequired?: boolean;\n /** Set to true if phone number is required for payment. Defaults to false. */\n isPhoneNumberRequired?: boolean;\n /** Set of ISO 3166-1 alpha-2 country code values of the countries where shipping is allowed. Defaults to all shipping address countries. */\n allowedCountryCodes?: Array<string>;\n };\n};\n\nexport enum BillingAddressFormat {\n /** Collect name, street address, locality, region, country code, and postal code. */\n Full = 'FULL',\n /** Collect name, country code, and postal code (default). */\n Min = 'MIN',\n}\n\nexport type PaymentMethodParams = {\n /** Defines Google Pay behavior. Android only. */\n googlePay?: GooglePayBaseParams & GooglePayPaymentMethodParams;\n /** Defines Apple Pay behavior. iOS only. */\n applePay?: ApplePayBaseParams & ApplePayPaymentMethodParams;\n};\n\nexport type ConfirmParams = {\n /** Defines Google Pay behavior. Android only. */\n googlePay?: GooglePayBaseParams;\n /** Defines Apple Pay behavior. iOS only. */\n applePay?: ApplePayBaseParams & ApplePayConfirmParams;\n};\n\nexport enum ButtonType {\n /** A button with the Apple Pay or Google Pay logo only, useful when an additional call to action isn't needed. */\n Default = 0,\n /** A button useful for product purchases. */\n Buy = 1,\n /** A button useful for booking trips, flights, or other experiences. */\n Book = 6,\n /** A button useful for purchase experiences that include other payment buttons that start with “Check out”. */\n Checkout = 5,\n /** A button used by approved nonprofit organization that lets people make donations. */\n Donate = 4,\n /** A button useful for placing orders for such as like meals or flowers. */\n Order = 11,\n /** A button useful for purchasing a subscription such as a gym membership or meal-kit delivery service. */\n Subscribe = 7,\n /** iOS only. A button useful for prompting the user to set up a card. */\n SetUp = 2,\n /** iOS only. A button useful for paying bills or invoices. */\n InStore = 3,\n /** iOS only. A button useful for adding money to a card, account, or payment system.*/\n Reload = 8,\n /** iOS only. A button useful for adding money to a card, account, or payment system. */\n AddMoney = 9,\n /** iOS only. A button useful for adding money to a card, account, or payment system. */\n TopUp = 10,\n /** iOS only. A button useful for renting items such as cars or scooters. */\n Rent = 12,\n /** iOS only. A button useful supporting people give money to projects, causes, organizations, and other entities.*/\n Support = 13,\n /** iOS only. A button useful to help people contribute money to projects, causes, organizations, and other entities. */\n Contribute = 14,\n /** iOS only. A button useful useful for letting people tip for goods or services. */\n Tip = 15,\n /** iOS only. A button useful for general purchases. */\n Continue = 16,\n /** Android only. A button useful for general payments. */\n Pay = 1000,\n /** Android only. The Google Pay payment button without the additional text. */\n GooglePayMark = 1001,\n}\n\n/** iOS only. */\nexport enum ButtonStyle {\n /** A white button with black lettering. */\n White = 0,\n /** A white button with black lettering and a black outline. */\n WhiteOutline = 1,\n /** A black button with white lettering. */\n Black = 2,\n /** Default. A button that automatically changes its appearance when the user switches between Light Mode and Dark Mode. */\n Automatic = 3,\n}\n\n/** iOS only. */\nexport type CartSummaryItem =\n | DeferredCartSummaryItem\n | ImmediateCartSummaryItem\n | RecurringCartSummaryItem;\n\n/** iOS only. */\nexport enum PaymentType {\n Deferred = 'Deferred',\n Immediate = 'Immediate',\n Recurring = 'Recurring',\n}\n\n/** iOS only. Use this type for a payment that occurs in the future, such as a pre-order. Only available on iOS 15 and up, otherwise falls back to ImmediateCartSummaryItem. */\nexport type DeferredCartSummaryItem = {\n paymentType: PaymentType.Deferred;\n /** The unix timestamp of the date, in the future, of the payment. Measured in seconds. */\n deferredDate: number;\n label: string;\n amount: string;\n};\n\n/** iOS only. Use this type for payments that will occur immediately. */\nexport type ImmediateCartSummaryItem = {\n paymentType: PaymentType.Immediate;\n /** When creating items for estimates or charges whose final value is not yet known, set this to true. */\n isPending?: boolean;\n label: string;\n amount: string;\n};\n\n/** iOS only. Use this type for payments that occur more than once, such as a subscription. Only available on iOS 15 and up, otherwise falls back to ImmediateCartSummaryItem.*/\nexport type RecurringCartSummaryItem = {\n paymentType: PaymentType.Recurring;\n /** The amount of time – in calendar units such as Day, Month, or Year – that represents a fraction of the total payment interval. For example, if you set the intervalUnit to 'Month' and intervalCount to 3, then the payment interval is three months.*/\n intervalUnit: IntervalUnit;\n /** The number of interval units that make up the total payment interval. For example, if you set the intervalUnit to 'Month' and intervalCount to 3, then the payment interval is three months.*/\n intervalCount: number;\n /** The unix timestamp of the start date. Measured in seconds. */\n startDate?: number;\n /** The unix timestamp of the end date. Measured in seconds. */\n endDate?: number;\n label: string;\n amount: string;\n};\n\n/** iOS only. */\nexport enum IntervalUnit {\n Minute = 'minute',\n Hour = 'hour',\n Day = 'day',\n Month = 'month',\n Year = 'year',\n}\n\n/** iOS only. */\nexport type ShippingMethod = {\n /** A short, localized description. */\n label: string;\n /** The cost associated with this shipping option. */\n amount: string;\n /** When creating items for estimates or charges whose final value is not yet known, set this to true. */\n isPending?: boolean;\n /** A unique identifier for the shipping method. */\n identifier: string;\n /** A user-readable description of the shipping method. For example “Ships in 24 hours.” Don't repeat the content of the 'label' property. */\n detail?: string;\n /** The unix timestamp of the start date of the expected range of delivery or shipping dates for a package, or the time range when an item is available for pickup. Measured in seconds. */\n startDate?: number;\n /** The unix timestamp of the end date of the expected range of delivery or shipping dates for a package, or the time range when an item is available for pickup. Measured in seconds. */\n endDate?: number;\n};\n\ninterface PostalAddress {\n city?: string;\n country?: string;\n postalCode?: string;\n state?: string;\n street?: string;\n isoCountryCode?: string;\n subAdministrativeArea?: string;\n subLocality?: string;\n}\n\ninterface ContactName {\n familyName?: string;\n namePrefix?: string;\n nameSuffix?: string;\n givenName?: string;\n middleName?: string;\n nickname?: string;\n}\n\nexport interface ShippingContact {\n emailAddress?: string;\n name: ContactName;\n phoneNumber?: string;\n postalAddress: PostalAddress;\n}\n\n/** Android only. */\nexport type IsGooglePaySupportedParams = {\n /** Set to true to run in a test environment with relaxed application / merchant requirements. This environment is suggested for early development and for easily testing SDK. Defaults to false. */\n testEnv?: boolean;\n /**\n * If `true`, Google Pay is considered ready if the customer's Google Pay wallet\n * has an existing payment method. Defaults to false.\n */\n existingPaymentMethodRequired?: boolean;\n};\n\nexport type PaymentMethodResult =\n | {\n paymentMethod: PaymentMethod;\n shippingContact?: ShippingContact;\n error?: undefined;\n }\n | {\n paymentMethod?: undefined;\n shippingContact?: undefined;\n error: StripeError<PlatformPayError>;\n };\n\nexport type TokenResult =\n | {\n token: Token;\n shippingContact?: ShippingContact;\n error?: undefined;\n }\n | {\n token?: undefined;\n shippingContact?: undefined;\n error: StripeError<PlatformPayError>;\n };\n\nexport type ConfirmPaymentResult =\n | {\n paymentIntent: PaymentIntent;\n error?: StripeError<PlatformPayError>;\n }\n | {\n paymentIntent?: undefined;\n error: StripeError<PlatformPayError>;\n };\n\nexport type ConfirmSetupIntentResult =\n | {\n setupIntent: SetupIntent;\n error?: StripeError<PlatformPayError>;\n }\n | {\n setupIntent?: undefined;\n error: StripeError<PlatformPayError>;\n };\n"],"mappings":"4VAoBYA,uBAAsB,iEAAtBA,sBAAsB,EAAtBA,sBAAsB,oDAAtBA,sBAAsB,gEAAtBA,sBAAsB,0CAAtBA,sBAAsB,6CAAtBA,sBAAsB,kCAAtBA,sBAAsB,SAOtBC,aAAY,6CAAZA,YAAY,EAAZA,YAAY,gCAAZA,YAAY,gBAAZA,YAAY,8BAAZA,YAAY,gCAAZA,YAAY,qCAAZA,YAAY,wBAAZA,YAAY,SAQZC,qBAAoB,6DAApBA,oBAAoB,EAApBA,oBAAoB,oBAApBA,oBAAoB,gBAApBA,oBAAoB,kDAApBA,oBAAoB,kBAApBA,oBAAoB,4BAApBA,oBAAoB,sBAApBA,oBAAoB,8BAApBA,oBAAoB,iCAApBA,oBAAoB,gCAApBA,oBAAoB,SA0CpBC,mBAAkB,yDAAlBA,kBAAkB,EAAlBA,kBAAkB,0BAAlBA,kBAAkB,sCAAlBA,kBAAkB,qCAAlBA,kBAAkB,8BAAlBA,kBAAkB,SAsElBC,2BAA0B,yEAA1BA,0BAA0B,EAA1BA,0BAA0B,8BAA1BA,0BAA0B,oCAA1BA,0BAA0B,qCAA1BA,0BAA0B,sCAA1BA,0BAA0B,SAU1BC,qBAAoB,6DAApBA,oBAAoB,EAApBA,oBAAoB,wBAApBA,oBAAoB,wBAApBA,oBAAoB,8BAApBA,oBAAoB,qCAApBA,oBAAoB,gCAApBA,oBAAoB,SAwDpBC,qBAAoB,6DAApBA,oBAAoB,EAApBA,oBAAoB,gBAApBA,oBAAoB,iBAApBA,oBAAoB,gCAApBA,oBAAoB,SAqBpBC,WAAU,yCAAVA,UAAU,EAAVA,UAAU,CAAVA,UAAU,yBAAVA,UAAU,CAAVA,UAAU,iBAAVA,UAAU,CAAVA,UAAU,mBAAVA,UAAU,CAAVA,UAAU,2BAAVA,UAAU,CAAVA,UAAU,uBAAVA,UAAU,CAAVA,UAAU,sBAAVA,UAAU,CAAVA,UAAU,6BAAVA,UAAU,CAAVA,UAAU,qBAAVA,UAAU,CAAVA,UAAU,yBAAVA,UAAU,CAAVA,UAAU,uBAAVA,UAAU,CAAVA,UAAU,2BAAVA,UAAU,CAAVA,UAAU,sBAAVA,UAAU,CAAVA,UAAU,oBAAVA,UAAU,CAAVA,UAAU,0BAAVA,UAAU,CAAVA,UAAU,gCAAVA,UAAU,CAAVA,UAAU,kBAAVA,UAAU,CAAVA,UAAU,4BAAVA,UAAU,CAAVA,UAAU,oBAAVA,UAAU,CAAVA,UAAU,2CAAVA,UAAU,sBAAVA,UAAU,SA0CVC,YAAW,2CAAXA,WAAW,EAAXA,WAAW,CAAXA,WAAW,qBAAXA,WAAW,CAAXA,WAAW,mCAAXA,WAAW,CAAXA,WAAW,qBAAXA,WAAW,CAAXA,WAAW,gCAAXA,WAAW,uBAAXA,WAAW,SAkBXC,YAAW,2CAAXA,WAAW,EAAXA,WAAW,wBAAXA,WAAW,0BAAXA,WAAW,6BAAXA,WAAW,uBAAXA,WAAW,SAwCXC,aAAY,6CAAZA,YAAY,EAAZA,YAAY,oBAAZA,YAAY,gBAAZA,YAAY,cAAZA,YAAY,kBAAZA,YAAY,mBAAZA,YAAY,wBAAZA,YAAY"}
1
+ {"version":3,"names":["ApplePaySheetErrorType","exports","ContactField","InvalidShippingField","PaymentRequestType","ApplePayMerchantCapability","ApplePayShippingType","BillingAddressFormat","ButtonType","ButtonStyle","PaymentType","IntervalUnit"],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A,UAAU,yBAAVA,UAAU,CAAVA,UAAU,iBAAVA,UAAU,CAAVA,UAAU,mBAAVA,UAAU,CAAVA,UAAU,2BAAVA,UAAU,CAAVA,UAAU,uBAAVA,UAAU,CAAVA,UAAU,sBAAVA,UAAU,CAAVA,UAAU,6BAAVA,UAAU,CAAVA,UAAU,qBAAVA,UAAU,CAAVA,UAAU,yBAAVA,UAAU,CAAVA,UAAU,uBAAVA,UAAU,CAAVA,UAAU,2BAAVA,UAAU,CAAVA,UAAU,sBAAVA,UAAU,CAAVA,UAAU,oBAAVA,UAAU,CAAVA,UAAU,0BAAVA,UAAU,CAAVA,UAAU,gCAAVA,UAAU,CAAVA,UAAU,kBAAVA,UAAU,CAAVA,UAAU,4BAAVA,UAAU,CAAVA,UAAU,oBAAVA,UAAU,CAAVA,UAAU,8CAAV,CAAAA,UAAU,UA0CV,CAAAC,WAAW,CAAAR,OAAA,CAAAQ,WAAA,UAAXA,WAAW,EAAXA,WAAW,CAAXA,WAAW,qBAAXA,WAAW,CAAXA,WAAW,mCAAXA,WAAW,CAAXA,WAAW,qBAAXA,WAAW,CAAXA,WAAW,mCAAX,CAAAA,WAAW,UAkBX,CAAAC,WAAW,CAAAT,OAAA,CAAAS,WAAA,UAAXA,WAAW,EAAXA,WAAW,wBAAXA,WAAW,0BAAXA,WAAW,gCAAX,CAAAA,WAAW,UAwCX,CAAAC,YAAY,CAAAV,OAAA,CAAAU,YAAA,UAAZA,YAAY,EAAZA,YAAY,oBAAZA,YAAY,gBAAZA,YAAY,cAAZA,YAAY,kBAAZA,YAAY,sBAAZ,CAAAA,YAAY","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- Object.defineProperty(exports,"__esModule",{value:true});exports.GooglePayCardTokenStatus=exports.CanAddCardToWalletStatus=void 0;var GooglePayCardTokenStatus;exports.GooglePayCardTokenStatus=GooglePayCardTokenStatus;(function(GooglePayCardTokenStatus){GooglePayCardTokenStatus["TOKEN_STATE_NEEDS_IDENTITY_VERIFICATION"]="TOKEN_STATE_NEEDS_IDENTITY_VERIFICATION";GooglePayCardTokenStatus["TOKEN_STATE_PENDING"]="TOKEN_STATE_PENDING";GooglePayCardTokenStatus["TOKEN_STATE_SUSPENDED"]="TOKEN_STATE_SUSPENDED";GooglePayCardTokenStatus["TOKEN_STATE_ACTIVE"]="TOKEN_STATE_ACTIVE";GooglePayCardTokenStatus["TOKEN_STATE_FELICA_PENDING_PROVISIONING"]="TOKEN_STATE_FELICA_PENDING_PROVISIONING";GooglePayCardTokenStatus["TOKEN_STATE_UNTOKENIZED"]="TOKEN_STATE_UNTOKENIZED";})(GooglePayCardTokenStatus||(exports.GooglePayCardTokenStatus=GooglePayCardTokenStatus={}));var CanAddCardToWalletStatus;exports.CanAddCardToWalletStatus=CanAddCardToWalletStatus;(function(CanAddCardToWalletStatus){CanAddCardToWalletStatus["MISSING_CONFIGURATION"]="MISSING_CONFIGURATION";CanAddCardToWalletStatus["UNSUPPORTED_DEVICE"]="UNSUPPORTED_DEVICE";CanAddCardToWalletStatus["CARD_ALREADY_EXISTS"]="CARD_ALREADY_EXISTS";CanAddCardToWalletStatus["CARD_EXISTS_ON_CURRENT_DEVICE"]="CARD_EXISTS_ON_CURRENT_DEVICE";CanAddCardToWalletStatus["CARD_EXISTS_ON_PAIRED_DEVICE"]="CARD_EXISTS_ON_PAIRED_DEVICE";})(CanAddCardToWalletStatus||(exports.CanAddCardToWalletStatus=CanAddCardToWalletStatus={}));
1
+ Object.defineProperty(exports,"__esModule",{value:true});exports.GooglePayCardTokenStatus=exports.CanAddCardToWalletStatus=void 0;var GooglePayCardTokenStatus=exports.GooglePayCardTokenStatus=function(GooglePayCardTokenStatus){GooglePayCardTokenStatus["TOKEN_STATE_NEEDS_IDENTITY_VERIFICATION"]="TOKEN_STATE_NEEDS_IDENTITY_VERIFICATION";GooglePayCardTokenStatus["TOKEN_STATE_PENDING"]="TOKEN_STATE_PENDING";GooglePayCardTokenStatus["TOKEN_STATE_SUSPENDED"]="TOKEN_STATE_SUSPENDED";GooglePayCardTokenStatus["TOKEN_STATE_ACTIVE"]="TOKEN_STATE_ACTIVE";GooglePayCardTokenStatus["TOKEN_STATE_FELICA_PENDING_PROVISIONING"]="TOKEN_STATE_FELICA_PENDING_PROVISIONING";GooglePayCardTokenStatus["TOKEN_STATE_UNTOKENIZED"]="TOKEN_STATE_UNTOKENIZED";return GooglePayCardTokenStatus;}({});var CanAddCardToWalletStatus=exports.CanAddCardToWalletStatus=function(CanAddCardToWalletStatus){CanAddCardToWalletStatus["MISSING_CONFIGURATION"]="MISSING_CONFIGURATION";CanAddCardToWalletStatus["UNSUPPORTED_DEVICE"]="UNSUPPORTED_DEVICE";CanAddCardToWalletStatus["CARD_ALREADY_EXISTS"]="CARD_ALREADY_EXISTS";CanAddCardToWalletStatus["CARD_EXISTS_ON_CURRENT_DEVICE"]="CARD_EXISTS_ON_CURRENT_DEVICE";CanAddCardToWalletStatus["CARD_EXISTS_ON_PAIRED_DEVICE"]="CARD_EXISTS_ON_PAIRED_DEVICE";return CanAddCardToWalletStatus;}({});
2
2
  //# sourceMappingURL=PushProvisioning.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["GooglePayCardTokenStatus","CanAddCardToWalletStatus"],"sources":["PushProvisioning.ts"],"sourcesContent":["import type { StripeError, GooglePayError } from './Errors';\n\nexport type GooglePayCardToken = {\n /** The token reference ID. */\n id: string;\n /** Last four digits of the FPAN */\n fpanLastFour: string;\n /** Last four digits of the DPAN */\n dpanLastFour: string;\n network: number;\n serviceProvider: number;\n /** The name of the issuer. */\n issuer: string;\n /** The GooglePayCardTokenStatus. */\n status: GooglePayCardTokenStatus;\n /** Deprecated. Use fpanLastFour or dpanLastFour. */\n cardLastFour: string;\n};\n\nexport enum GooglePayCardTokenStatus {\n /** */\n TOKEN_STATE_NEEDS_IDENTITY_VERIFICATION = 'TOKEN_STATE_NEEDS_IDENTITY_VERIFICATION',\n /** */\n TOKEN_STATE_PENDING = 'TOKEN_STATE_PENDING',\n /** */\n TOKEN_STATE_SUSPENDED = 'TOKEN_STATE_SUSPENDED',\n /** */\n TOKEN_STATE_ACTIVE = 'TOKEN_STATE_ACTIVE',\n /** */\n TOKEN_STATE_FELICA_PENDING_PROVISIONING = 'TOKEN_STATE_FELICA_PENDING_PROVISIONING',\n /** */\n TOKEN_STATE_UNTOKENIZED = 'TOKEN_STATE_UNTOKENIZED',\n}\n\nexport type IsCardInWalletResult =\n | {\n isInWallet: boolean;\n token?: GooglePayCardToken;\n error?: undefined;\n }\n | {\n isInWallet?: undefined;\n token?: undefined;\n error: StripeError<GooglePayError>;\n };\n\nexport type CanAddCardToWalletParams = {\n /** The `primary_account_identifier` value from the issued card. Can be an empty string. */\n primaryAccountIdentifier: string | null;\n /** Last 4 digits of the card number. Required for Android. */\n cardLastFour: string;\n /** iOS only. Set this to `true` until shipping through TestFlight || App Store. If false, you must be using live cards, and have the proper iOS entitlement set up. See https://stripe.com/docs/issuing/cards/digital-wallets?platform=react-native#requesting-access-for-ios */\n testEnv?: boolean;\n /** iOS only. Set this to `true` if: your user has an Apple Watch device currently paired, and you want to check that device for the presence of the specified card. */\n hasPairedAppleWatch?: boolean;\n /** Android only, defaults to `true`. Set this to `false` if you'd like to allow users without NFC-enabled devices to add cards to the wallet. NFC is required for paying in stores. */\n supportsTapToPay?: boolean;\n};\n\nexport type CanAddCardToWalletResult =\n | {\n canAddCard: boolean;\n details?: {\n token?: GooglePayCardToken;\n status?: CanAddCardToWalletStatus;\n };\n error?: undefined;\n }\n | {\n canAddCard?: undefined;\n details?: undefined;\n error: StripeError<GooglePayError>;\n };\n\nexport enum CanAddCardToWalletStatus {\n /** You are missing configuration required for Push Provisioning. Make sure you've completed all steps at https://stripe.com/docs/issuing/cards/digital-wallets?platform=react-native. */\n MISSING_CONFIGURATION = 'MISSING_CONFIGURATION',\n /** This device doesn't support adding a card to the native wallet. */\n UNSUPPORTED_DEVICE = 'UNSUPPORTED_DEVICE',\n /** This card already exists on this device and any paired devices. */\n CARD_ALREADY_EXISTS = 'CARD_ALREADY_EXISTS',\n /** This card already exists on this device, but not on the paired device. */\n CARD_EXISTS_ON_CURRENT_DEVICE = 'CARD_EXISTS_ON_CURRENT_DEVICE',\n /** This card already exists on the paired device, but not on this device. */\n CARD_EXISTS_ON_PAIRED_DEVICE = 'CARD_EXISTS_ON_PAIRED_DEVICE',\n}\n"],"mappings":"qIAmBYA,yBAAwB,qEAAxBA,wBAAwB,EAAxBA,wBAAwB,sFAAxBA,wBAAwB,8CAAxBA,wBAAwB,kDAAxBA,wBAAwB,4CAAxBA,wBAAwB,sFAAxBA,wBAAwB,yDAAxBA,wBAAwB,oCAAxBA,wBAAwB,SAuDxBC,yBAAwB,qEAAxBA,wBAAwB,EAAxBA,wBAAwB,kDAAxBA,wBAAwB,4CAAxBA,wBAAwB,8CAAxBA,wBAAwB,kEAAxBA,wBAAwB,mEAAxBA,wBAAwB,oCAAxBA,wBAAwB"}
1
+ {"version":3,"names":["GooglePayCardTokenStatus","exports","CanAddCardToWalletStatus"],"sourceRoot":"../../../src","sources":["types/PushProvisioning.ts"],"mappings":"qIAmBY,CAAAA,wBAAwB,CAAAC,OAAA,CAAAD,wBAAA,UAAxBA,wBAAwB,EAAxBA,wBAAwB,sFAAxBA,wBAAwB,8CAAxBA,wBAAwB,kDAAxBA,wBAAwB,4CAAxBA,wBAAwB,sFAAxBA,wBAAwB,4DAAxB,CAAAA,wBAAwB,UAuDxB,CAAAE,wBAAwB,CAAAD,OAAA,CAAAC,wBAAA,UAAxBA,wBAAwB,EAAxBA,wBAAwB,kDAAxBA,wBAAwB,4CAAxBA,wBAAwB,8CAAxBA,wBAAwB,kEAAxBA,wBAAwB,sEAAxB,CAAAA,wBAAwB","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- Object.defineProperty(exports,"__esModule",{value:true});exports.Status=void 0;var Status;exports.Status=Status;(function(Status){Status["Succeeded"]="Succeeded";Status["RequiresPaymentMethod"]="RequiresPaymentMethod";Status["RequiresConfirmation"]="RequiresConfirmation";Status["Canceled"]="Canceled";Status["Processing"]="Processing";Status["RequiresAction"]="RequiresAction";Status["Unknown"]="Unknown";})(Status||(exports.Status=Status={}));
1
+ Object.defineProperty(exports,"__esModule",{value:true});exports.Status=void 0;var Status=exports.Status=function(Status){Status["Succeeded"]="Succeeded";Status["RequiresPaymentMethod"]="RequiresPaymentMethod";Status["RequiresConfirmation"]="RequiresConfirmation";Status["Canceled"]="Canceled";Status["Processing"]="Processing";Status["RequiresAction"]="RequiresAction";Status["Unknown"]="Unknown";return Status;}({});
2
2
  //# sourceMappingURL=SetupIntent.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["Status"],"sources":["SetupIntent.ts"],"sourcesContent":["import type { Type } from './PaymentMethod';\nimport type {\n LastPaymentError,\n ConfirmParams as PaymentIntentConfirmParams,\n ConfirmOptions as PaymentIntentConfirmOptions,\n} from './PaymentIntent';\nimport type { NextAction } from './NextAction';\nimport type * as PaymentMethod from './PaymentMethod';\nexport interface Result {\n id: string;\n clientSecret: string;\n lastSetupError: LastPaymentError | null;\n /** The UNIX timestamp (in milliseconds) of the date this Setup Intent was created. */\n created: string | null;\n livemode: boolean;\n /** @deprecated Use paymentMethod.id instead. */\n paymentMethodId: string | null;\n paymentMethod: PaymentMethod.Result | null;\n status: Status;\n paymentMethodTypes: Type[];\n usage: FutureUsage;\n description: string | null;\n nextAction: NextAction | null;\n}\n\nexport type ConfirmParams = PaymentIntentConfirmParams;\n\nexport type ConfirmOptions = PaymentIntentConfirmOptions;\n\nexport type FutureUsage =\n | 'Unknown'\n | 'None'\n | 'OnSession'\n | 'OffSession'\n | 'OneTime';\n\nexport enum Status {\n Succeeded = 'Succeeded',\n RequiresPaymentMethod = 'RequiresPaymentMethod',\n RequiresConfirmation = 'RequiresConfirmation',\n Canceled = 'Canceled',\n Processing = 'Processing',\n RequiresAction = 'RequiresAction',\n Unknown = 'Unknown',\n}\n"],"mappings":"kFAoCYA,OAAM,iCAANA,MAAM,EAANA,MAAM,0BAANA,MAAM,kDAANA,MAAM,gDAANA,MAAM,wBAANA,MAAM,4BAANA,MAAM,oCAANA,MAAM,yBAANA,MAAM,kBAANA,MAAM"}
1
+ {"version":3,"names":["Status","exports"],"sourceRoot":"../../../src","sources":["types/SetupIntent.ts"],"mappings":"kFAoCY,CAAAA,MAAM,CAAAC,OAAA,CAAAD,MAAA,UAANA,MAAM,EAANA,MAAM,0BAANA,MAAM,kDAANA,MAAM,gDAANA,MAAM,wBAANA,MAAM,4BAANA,MAAM,oCAANA,MAAM,4BAAN,CAAAA,MAAM","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- Object.defineProperty(exports,"__esModule",{value:true});exports.NavigationBarStyle=void 0;var NavigationBarStyle;exports.NavigationBarStyle=NavigationBarStyle;(function(NavigationBarStyle){NavigationBarStyle[NavigationBarStyle["default"]=0]="default";NavigationBarStyle[NavigationBarStyle["black"]=1]="black";NavigationBarStyle[NavigationBarStyle["blackTranslucent"]=2]="blackTranslucent";})(NavigationBarStyle||(exports.NavigationBarStyle=NavigationBarStyle={}));
1
+ Object.defineProperty(exports,"__esModule",{value:true});exports.NavigationBarStyle=void 0;var NavigationBarStyle=exports.NavigationBarStyle=function(NavigationBarStyle){NavigationBarStyle[NavigationBarStyle["default"]=0]="default";NavigationBarStyle[NavigationBarStyle["black"]=1]="black";NavigationBarStyle[NavigationBarStyle["blackTranslucent"]=2]="blackTranslucent";return NavigationBarStyle;}({});
2
2
  //# sourceMappingURL=ThreeDSecure.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["NavigationBarStyle"],"sources":["ThreeDSecure.ts"],"sourcesContent":["export interface ConfigurationParams extends Props {\n timeout?: number;\n label?: LabelProps;\n navigationBar?: NavigationBarProps;\n textField?: TextFieldProps;\n submitButton?: ButtonProps;\n cancelButton?: ButtonProps;\n continueButton?: ButtonProps;\n nextButton?: ButtonProps;\n resendButton?: ButtonProps;\n}\n\nexport interface Props extends IOSProps, AndroidProps {}\n\nexport enum NavigationBarStyle {\n default = 0,\n black = 1,\n blackTranslucent = 2,\n}\n\nexport interface IOSProps {\n backgroundColor?: string;\n footer?: FooterProps;\n}\nexport interface IOSNavigationBarProps {\n barStyle?: NavigationBarStyle;\n translucent?: boolean;\n barTintColor?: string;\n}\n\nexport interface AndroidProps {\n accentColor?: string;\n}\nexport interface AndroidNavigationBarProps {\n statusBarColor?: string;\n backgroundColor?: string;\n}\n\nexport interface NavigationBarProps\n extends IOSNavigationBarProps,\n AndroidNavigationBarProps {\n headerText?: string;\n buttonText?: string;\n textColor?: string;\n textFontSize?: number;\n}\n\nexport interface FooterProps {\n backgroundColor?: string;\n chevronColor?: string;\n headingTextColor?: string;\n textColor?: string;\n}\n\nexport interface LabelProps {\n headingTextColor?: string;\n textColor?: string;\n textFontSize?: number;\n headingFontSize?: number;\n}\n\nexport interface TextFieldProps {\n borderColor?: string;\n borderWidth?: number;\n borderRadius?: number;\n textColor?: string;\n textFontSize?: number;\n}\n\nexport interface ButtonProps {\n backgroundColor?: string;\n borderRadius?: number;\n textColor?: string;\n textFontSize?: number;\n}\n"],"mappings":"8FAcYA,mBAAkB,yDAAlBA,kBAAkB,EAAlBA,kBAAkB,CAAlBA,kBAAkB,yBAAlBA,kBAAkB,CAAlBA,kBAAkB,qBAAlBA,kBAAkB,CAAlBA,kBAAkB,8CAAlBA,kBAAkB,8BAAlBA,kBAAkB"}
1
+ {"version":3,"names":["NavigationBarStyle","exports"],"sourceRoot":"../../../src","sources":["types/ThreeDSecure.ts"],"mappings":"8FAcY,CAAAA,kBAAkB,CAAAC,OAAA,CAAAD,kBAAA,UAAlBA,kBAAkB,EAAlBA,kBAAkB,CAAlBA,kBAAkB,yBAAlBA,kBAAkB,CAAlBA,kBAAkB,qBAAlBA,kBAAkB,CAAlBA,kBAAkB,iDAAlB,CAAAA,kBAAkB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["Token.ts"],"sourcesContent":["import type { Address } from './Common';\n\nexport type CardBrand =\n | 'AmericanExpress'\n | 'DinersClub'\n | 'Discover'\n | 'JCB'\n | 'MasterCard'\n | 'UnionPay'\n | 'Visa'\n | 'Unknown';\n\nexport type Type =\n | 'Account'\n | 'BankAccount'\n | 'Card'\n | 'CvcUpdate'\n | 'Person'\n | 'Pii';\n\nexport interface Result {\n id: string;\n /** The UNIX timestamp (in milliseconds) of the date this token was created. */\n created: string;\n type: Type;\n used: boolean;\n livemode: boolean;\n card?: Card;\n bankAccount?: BankAccount;\n}\n\nexport interface BankAccount {\n /** A unique ID for this bank account. */\n id: string;\n /** The name of the associated bank. */\n bankName: string | null;\n /** The name of the person or business that owns the bank account. This field is required when attaching the bank account to a Customer object. */\n accountHolderName: string | null;\n /** The type of entity that holds the account. */\n accountHolderType: BankAcccountHolderType | null;\n /** The currency the bank account is in. This must be a country/currency pairing that Stripe supports. */\n currency: string | null;\n /** The country in which the bank account is located. */\n country: string | null;\n routingNumber: string | null;\n status: BankAccountStatus | null;\n fingerprint: string | null;\n last4: string | null;\n}\n\nexport type BankAccountStatus =\n | 'Errored'\n | 'New'\n | 'Validated'\n | 'VerificationFailed'\n | 'Verified';\n\nexport interface Card {\n id: string;\n country: string;\n brand: CardBrand;\n currency?: string;\n expMonth: number;\n expYear: number;\n last4: string;\n funding: 'Credit' | 'Debit' | 'Prepaid' | 'Unknown';\n address: Address;\n name?: string;\n}\n\nexport type CreateParams =\n | CreateCardTokenParams\n | CreateBankAccountTokenParams\n | CreatePiiTokenParams;\n\n/** Creates a single-use token that represents a credit card’s details. Use this in combination with either the CardField or CardForm components. This token can be used in place of a credit card object with any API method. See https://stripe.com/docs/api/tokens/create_card*/\nexport type CreateCardTokenParams = {\n type: 'Card';\n address?: Address;\n name?: string;\n currency?: string;\n};\n\nexport type BankAcccountHolderType = 'Company' | 'Individual';\n\nexport type BankAcccountType = 'Checking' | 'Savings';\n\n/** Creates a single-use token that represents a bank account’s details. This token can be used with any API method in place of a bank account object. See https://stripe.com/docs/api/tokens/create_bank_account */\nexport type CreateBankAccountTokenParams = {\n type: 'BankAccount';\n accountHolderName?: string;\n accountHolderType?: BankAcccountHolderType;\n accountNumber: string;\n country: string;\n currency: string;\n routingNumber?: string;\n};\n\n/** Creates a single-use token that represents the details of personally identifiable information (PII). See https://stripe.com/docs/api/tokens/create_pii */\nexport type CreatePiiTokenParams = {\n type: 'Pii';\n /** The user's personal ID number */\n personalId: string;\n};\n"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/Token.ts"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["ApplePayButtonComponent.ts"],"sourcesContent":["import type { StyleProp, ViewStyle, NativeSyntheticEvent } from 'react-native';\nimport type { ShippingMethod, ShippingContact } from '../PlatformPay';\nexport interface NativeProps {\n style?: StyleProp<ViewStyle>;\n disabled?: boolean;\n type?: number;\n buttonStyle?: number;\n borderRadius?: number;\n onPressAction?(): void;\n onShippingMethodSelectedAction?: (\n value: NativeSyntheticEvent<{\n shippingMethod: ShippingMethod;\n }>\n ) => void;\n onShippingContactSelectedAction?: (\n value: NativeSyntheticEvent<{\n shippingContact: ShippingContact;\n }>\n ) => void;\n onCouponCodeEnteredAction?: (\n value: NativeSyntheticEvent<{\n couponCode: string;\n }>\n ) => void;\n onOrderTrackingAction?: () => void;\n}\n\nexport type Type =\n | 'plain'\n | 'buy'\n | 'setUp'\n | 'inStore'\n | 'donate'\n | 'checkout'\n | 'book'\n | 'subscribe'\n | 'reload'\n | 'addMoney'\n | 'topUp'\n | 'order'\n | 'rent'\n | 'support'\n | 'contribute'\n | 'tip'\n | 'continue';\n\nexport type Style = 'white' | 'whiteOutline' | 'black' | 'automatic';\n"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/components/ApplePayButtonComponent.ts"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["AuBECSDebitFormComponent.ts"],"sourcesContent":["import type { NativeSyntheticEvent, StyleProp, ViewStyle } from 'react-native';\n\n/**\n * @ignore\n */\nexport interface NativeProps {\n companyName: string;\n style?: StyleProp<ViewStyle>;\n formStyle: Styles;\n onCompleteAction(value: NativeSyntheticEvent<FormDetails>): void;\n}\n\nexport interface FormDetails {\n accountNumber: string;\n bsbNumber: string;\n email: string;\n name: string;\n}\n\nexport interface Styles {\n borderWidth?: number;\n backgroundColor?: string;\n borderColor?: string;\n borderRadius?: number;\n textColor?: string;\n fontSize?: number;\n placeholderColor?: string;\n textErrorColor?: string;\n}\n"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/components/AuBECSDebitFormComponent.ts"],"mappings":"","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- Object.defineProperty(exports,"__esModule",{value:true});exports.ValidationState=void 0;var ValidationState;exports.ValidationState=ValidationState;(function(ValidationState){ValidationState["Valid"]="Valid";ValidationState["Invalid"]="Invalid";ValidationState["Incomplete"]="Incomplete";ValidationState["Unknown"]="Unknown";})(ValidationState||(exports.ValidationState=ValidationState={}));
1
+ Object.defineProperty(exports,"__esModule",{value:true});exports.ValidationState=void 0;var ValidationState=exports.ValidationState=function(ValidationState){ValidationState["Valid"]="Valid";ValidationState["Invalid"]="Invalid";ValidationState["Incomplete"]="Incomplete";ValidationState["Unknown"]="Unknown";return ValidationState;}({});
2
2
  //# sourceMappingURL=CardFieldInput.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["ValidationState"],"sources":["CardFieldInput.ts"],"sourcesContent":["import type { NativeSyntheticEvent, StyleProp, ViewStyle } from 'react-native';\nimport type { CardBrand } from '../Token';\n\nexport type FieldName = 'CardNumber' | 'Cvc' | 'ExpiryDate' | 'PostalCode';\n\nexport enum ValidationState {\n Valid = 'Valid',\n Invalid = 'Invalid',\n Incomplete = 'Incomplete',\n Unknown = 'Unknown',\n}\n\nexport interface Details {\n last4: string;\n expiryMonth: number;\n expiryYear: number;\n postalCode?: string;\n brand: CardBrand;\n complete: boolean;\n validExpiryDate: ValidationState;\n validCVC: ValidationState;\n validNumber: ValidationState;\n /**\n * WARNING: Full card details are only returned when the `dangerouslyGetFullCardDetails` prop\n * on the `CardField` component is set to `true`.\n * Only do this if you're certain that you fulfill the necessary PCI compliance requirements.\n * Make sure that you're not mistakenly logging or storing full card details!\n * See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance\n */\n number?: string;\n cvc?: string;\n}\n\nexport interface Styles {\n borderWidth?: number;\n backgroundColor?: string;\n borderColor?: string;\n borderRadius?: number;\n textColor?: string;\n fontSize?: number;\n placeholderColor?: string;\n cursorColor?: string;\n textErrorColor?: string;\n fontFamily?: string;\n}\n\nexport interface Placeholders {\n number?: string;\n expiration?: string;\n cvc?: string;\n postalCode?: string;\n}\n\n/**\n * @ignore\n */\nexport interface NativeProps {\n style?: StyleProp<ViewStyle>;\n value?: Partial<Details>;\n postalCodeEnabled?: boolean;\n autofocus?: boolean;\n countryCode: string | null;\n onCardChange(event: NativeSyntheticEvent<Details>): void;\n onFocusChange(\n event: NativeSyntheticEvent<{ focusedField: FieldName | null }>\n ): void;\n cardStyle?: Styles;\n placeholders?: Placeholders;\n disabled?: boolean;\n}\n\nexport interface Methods {\n focus(): void;\n blur(): void;\n clear(): void;\n}\n"],"mappings":"2FAKYA,gBAAe,mDAAfA,eAAe,EAAfA,eAAe,kBAAfA,eAAe,sBAAfA,eAAe,4BAAfA,eAAe,yBAAfA,eAAe,2BAAfA,eAAe"}
1
+ {"version":3,"names":["ValidationState","exports"],"sourceRoot":"../../../../src","sources":["types/components/CardFieldInput.ts"],"mappings":"2FAKY,CAAAA,eAAe,CAAAC,OAAA,CAAAD,eAAA,UAAfA,eAAe,EAAfA,eAAe,kBAAfA,eAAe,sBAAfA,eAAe,4BAAfA,eAAe,4BAAf,CAAAA,eAAe","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["CardFormView.ts"],"sourcesContent":["import type { NativeSyntheticEvent, StyleProp, ViewStyle } from 'react-native';\nimport type { CardBrand } from '../Token';\n\nexport type FieldName = 'CardNumber' | 'Cvc' | 'ExpiryDate' | 'PostalCode';\n\nexport interface Details {\n last4: string;\n expiryMonth: number;\n expiryYear: number;\n postalCode?: string;\n brand: CardBrand;\n complete: boolean;\n country: string;\n /**\n * WARNING: Full card details are only returned when the `dangerouslyGetFullCardDetails` prop\n * on the `CardField` component is set to `true`.\n * Only do this if you're certain that you fulfill the necessary PCI compliance requirements.\n * Make sure that you're not mistakenly logging or storing full card details!\n * See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance\n */\n number?: string;\n cvc?: string;\n}\n\nexport interface Styles {\n backgroundColor?: string;\n // disabledBackgroundColor?: string;\n // type?: 'borderless' | 'standard';\n borderWidth?: number;\n borderColor?: string;\n borderRadius?: number;\n textColor?: string;\n fontSize?: number;\n placeholderColor?: string;\n cursorColor?: string;\n textErrorColor?: string;\n fontFamily?: string;\n}\n\nexport interface Placeholders {\n number?: string;\n expiration?: string;\n cvc?: string;\n postalCode?: string;\n}\n\nexport type DefaultValues = {\n /** The 2-letter country code for the country selected by default on Android. If this is null, it is set by the device's configured region in the Settings app. */\n countryCode?: string;\n};\n\n/**\n * @ignore\n */\nexport interface NativeProps {\n style?: StyleProp<ViewStyle>;\n autofocus?: boolean;\n cardStyle?: Styles;\n /** Android only */\n placeholders?: Placeholders;\n /** Android only */\n defaultValues?: DefaultValues;\n // postalCodeEnabled: boolean;\n onFocusChange(\n event: NativeSyntheticEvent<{ focusedField: FieldName | null }>\n ): void;\n onFormComplete(event: NativeSyntheticEvent<Details>): void;\n disabled?: boolean;\n}\n\nexport interface Methods {\n focus(): void;\n blur(): void;\n}\n"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/components/CardFormView.ts"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["GooglePayButtonComponent.ts"],"sourcesContent":["import type { StyleProp, ViewStyle } from 'react-native';\nexport interface NativeProps {\n style?: StyleProp<ViewStyle>;\n type?: number;\n appearance?: number;\n borderRadius?: number;\n}\n"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/components/GooglePayButtonComponent.ts"],"mappings":"","ignoreList":[]}
@@ -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,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EAAAA,CAAA","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>;
@@ -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,IAAI,CAAC,CAAC;IACpD,mBAAmB,CACjB,MAAM,EAAE,aAAa,CAAC,YAAY,EAClC,OAAO,EAAE,aAAa,CAAC,aAAa,GACnC,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACtC,gBAAgB,CACd,yBAAyB,EAAE,MAAM,EACjC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GACxB,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC,wBAAwB,CACtB,uBAAuB,EAAE,MAAM,EAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GACxB,OAAO,CAAC,8BAA8B,CAAC,CAAC;IAC3C,cAAc,CACZ,yBAAyB,EAAE,MAAM,EACjC,MAAM,CAAC,EAAE,aAAa,CAAC,aAAa,EACpC,OAAO,CAAC,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yle, 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;;GA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AE,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"}
@@ -13,21 +13,21 @@ export declare const retrieveSetupIntent: (clientSecret: string) => Promise<Retr
13
13
  * @param {object=} options An optional object that contains options for this payment method.
14
14
  * @returns A promise that resolves to an object containing either a `paymentIntent` field, or an `error` field.
15
15
  */
16
- 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>;
17
17
  /** Handles any nextAction required to authenticate the PaymentIntent.
18
18
  * Call this method if you are using manual confirmation. See https://stripe.com/docs/payments/accept-a-payment?platform=react-native&ui=custom
19
19
  *
20
20
  * @param {string} paymentIntentClientSecret The client secret associated with the PaymentIntent.
21
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.
22
22
  * */
23
- export declare const handleNextAction: (paymentIntentClientSecret: string, returnURL?: string | undefined) => Promise<HandleNextActionResult>;
23
+ export declare const handleNextAction: (paymentIntentClientSecret: string, returnURL?: string) => Promise<HandleNextActionResult>;
24
24
  /** Handles any nextAction required to authenticate the SetupIntent.
25
25
  * Call this method if you are confirming the SetupIntent on your backend and get a status of requires_action.
26
26
  *
27
27
  * @param {string} setupIntentClientSecret The client secret associated with the SetupIntent.
28
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.
29
29
  * */
30
- export declare const handleNextActionForSetup: (setupIntentClientSecret: string, returnURL?: string | undefined) => Promise<HandleNextActionForSetupResult>;
30
+ export declare const handleNextActionForSetup: (setupIntentClientSecret: string, returnURL?: string) => Promise<HandleNextActionForSetupResult>;
31
31
  export declare const confirmSetupIntent: (paymentIntentClientSecret: string, params: SetupIntent.ConfirmParams, options?: SetupIntent.ConfirmOptions) => Promise<ConfirmSetupIntentResult>;
32
32
  export declare const createTokenForCVCUpdate: (cvc: string) => Promise<CreateTokenForCVCUpdateResult>;
33
33
  /**
@@ -88,8 +88,8 @@ export declare const Constants: {
88
88
  * @returns A boolean indicating whether or not the native wallet is supported.
89
89
  */
90
90
  export declare const isPlatformPaySupported: (params?: {
91
- googlePay?: PlatformPay.IsGooglePaySupportedParams | undefined;
92
- } | undefined) => Promise<boolean>;
91
+ googlePay?: PlatformPay.IsGooglePaySupportedParams;
92
+ }) => Promise<boolean>;
93
93
  /**
94
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).
95
95
  * @param clientSecret The client secret of the SetupIntent.
@@ -145,3 +145,4 @@ export declare const updatePlatformPaySheet: (params: {
145
145
  * app on iPad. For devices that don’t support Apple Pay, this method does nothing.
146
146
  */
147
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,iBAA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,CAAC,oBAAoB,CAoB1C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,QAAa,OAAO,CAAC,OAAO,CAU1D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,WACjC,WAAW,CAAC,mBAAmB,KACtC,OAAO,CAAC,WAAW,CAAC,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"}
@@ -7,7 +7,8 @@ import type { CollectBankAccountTokenParams } from 'src/types/PaymentMethod';
7
7
  * to display loading state (like showing a spinner).
8
8
  */
9
9
  export declare function useFinancialConnectionsSheet(): {
10
- collectBankAccountToken: (clientSecret: string, params?: CollectBankAccountTokenParams | undefined) => Promise<import("src/types/FinancialConnections").TokenResult>;
11
- collectFinancialConnectionsAccounts: (clientSecret: string, params?: CollectFinancialConnectionsAccountsParams | undefined) => Promise<import("src/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>;
12
12
  loading: boolean;
13
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