@stripe/stripe-react-native 0.11.0 → 0.12.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 (975) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/android/gradle.properties +1 -1
  3. package/android/src/main/java/com/reactnativestripesdk/CardFieldView.kt +18 -1
  4. package/android/src/main/java/com/reactnativestripesdk/CardFormViewManager.kt +1 -1
  5. package/android/src/main/java/com/reactnativestripesdk/PaymentLauncherFragment.kt +127 -37
  6. package/android/src/main/java/com/reactnativestripesdk/PaymentSheetFragment.kt +0 -1
  7. package/android/src/main/java/com/reactnativestripesdk/StripeSdkModule.kt +32 -28
  8. package/ios/PaymentSheetAppearance.swift +3 -2
  9. package/lib/commonjs/components/AddToWalletButton.js +1 -1
  10. package/lib/commonjs/components/AddToWalletButton.js.map +1 -1
  11. package/lib/commonjs/components/ApplePayButton.js +1 -1
  12. package/lib/commonjs/components/ApplePayButton.js.map +1 -1
  13. package/lib/commonjs/components/AuBECSDebitForm.js +1 -1
  14. package/lib/commonjs/components/AuBECSDebitForm.js.map +1 -1
  15. package/lib/commonjs/components/CardField.js +1 -1
  16. package/lib/commonjs/components/CardField.js.map +1 -1
  17. package/lib/commonjs/components/CardForm.js +1 -1
  18. package/lib/commonjs/components/CardForm.js.map +1 -1
  19. package/lib/commonjs/components/GooglePayButton.js +1 -1
  20. package/lib/commonjs/components/GooglePayButton.js.map +1 -1
  21. package/lib/commonjs/components/StripeContainer.js +1 -1
  22. package/lib/commonjs/components/StripeContainer.js.map +1 -1
  23. package/lib/module/components/AddToWalletButton.js +1 -1
  24. package/lib/module/components/AddToWalletButton.js.map +1 -1
  25. package/lib/module/components/ApplePayButton.js +1 -1
  26. package/lib/module/components/ApplePayButton.js.map +1 -1
  27. package/lib/module/components/AuBECSDebitForm.js +1 -1
  28. package/lib/module/components/AuBECSDebitForm.js.map +1 -1
  29. package/lib/module/components/CardField.js +1 -1
  30. package/lib/module/components/CardField.js.map +1 -1
  31. package/lib/module/components/CardForm.js +1 -1
  32. package/lib/module/components/CardForm.js.map +1 -1
  33. package/lib/module/components/GooglePayButton.js +1 -1
  34. package/lib/module/components/GooglePayButton.js.map +1 -1
  35. package/lib/module/components/StripeContainer.js +1 -1
  36. package/lib/module/components/StripeContainer.js.map +1 -1
  37. package/lib/typescript/src/types/PaymentSheet.d.ts +2 -2
  38. package/package.json +1 -1
  39. package/src/types/PaymentSheet.ts +2 -2
  40. package/android/build/.transforms/253af79d247c9f91c901f2038cdc6938/results.bin +0 -1
  41. package/android/build/.transforms/253af79d247c9f91c901f2038cdc6938/transformed/classes/classes.dex +0 -0
  42. package/android/build/.transforms/3cbaee99352386a9df7b22dbbb69831e/results.bin +0 -1
  43. package/android/build/.transforms/3cbaee99352386a9df7b22dbbb69831e/transformed/classes/classes.dex +0 -0
  44. package/android/build/.transforms/8d3571dbfd2a31ee669f64a85b02f3fc/results.bin +0 -1
  45. package/android/build/.transforms/8d3571dbfd2a31ee669f64a85b02f3fc/transformed/classes/classes.dex +0 -0
  46. package/android/build/.transforms/a89cf6c2cdadbbdc1efcd07680043146/results.bin +0 -1
  47. package/android/build/.transforms/a89cf6c2cdadbbdc1efcd07680043146/transformed/classes/classes.dex +0 -0
  48. package/android/build/.transforms/bcac5194839639e17669a07fd0143335/results.bin +0 -1
  49. package/android/build/.transforms/bcac5194839639e17669a07fd0143335/transformed/classes/classes.dex +0 -0
  50. package/android/build/.transforms/c2903f324007d9cf08f00d0907189f5c/results.bin +0 -1
  51. package/android/build/.transforms/c2903f324007d9cf08f00d0907189f5c/transformed/classes/classes.dex +0 -0
  52. package/android/build/.transforms/cbd07d179becaf7a695a9aa977b655b5/results.bin +0 -1
  53. package/android/build/.transforms/cbd07d179becaf7a695a9aa977b655b5/transformed/classes/classes.dex +0 -0
  54. package/android/build/.transforms/d4c3b4aa21622b84b0445220f8ff900d/results.bin +0 -1
  55. package/android/build/.transforms/d4c3b4aa21622b84b0445220f8ff900d/transformed/classes/classes.dex +0 -0
  56. package/android/build/.transforms/eab9997f25e58be0896c10ef9ed1aad8/results.bin +0 -1
  57. package/android/build/.transforms/eab9997f25e58be0896c10ef9ed1aad8/transformed/classes/classes.dex +0 -0
  58. package/android/build/generated/data_binding_base_class_source_out/debug/out/com/reactnativestripesdk/databinding/GooglepayButtonBinding.java +0 -52
  59. package/android/build/generated/data_binding_base_class_source_out/debug/out/com/reactnativestripesdk/databinding/GooglepayButtonNoShadowBinding.java +0 -52
  60. package/android/build/generated/data_binding_base_class_source_out/debug/out/com/reactnativestripesdk/databinding/PayWithGooglepayButtonBinding.java +0 -52
  61. package/android/build/generated/data_binding_base_class_source_out/debug/out/com/reactnativestripesdk/databinding/PayWithGooglepayButtonNoShadowBinding.java +0 -52
  62. package/android/build/generated/data_binding_base_class_source_out/release/out/com/reactnativestripesdk/databinding/GooglepayButtonBinding.java +0 -52
  63. package/android/build/generated/data_binding_base_class_source_out/release/out/com/reactnativestripesdk/databinding/GooglepayButtonNoShadowBinding.java +0 -52
  64. package/android/build/generated/data_binding_base_class_source_out/release/out/com/reactnativestripesdk/databinding/PayWithGooglepayButtonBinding.java +0 -52
  65. package/android/build/generated/data_binding_base_class_source_out/release/out/com/reactnativestripesdk/databinding/PayWithGooglepayButtonNoShadowBinding.java +0 -52
  66. package/android/build/generated/source/buildConfig/debug/com/reactnativestripesdk/BuildConfig.java +0 -10
  67. package/android/build/generated/source/buildConfig/release/com/reactnativestripesdk/BuildConfig.java +0 -10
  68. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +0 -9
  69. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output-metadata.json +0 -18
  70. package/android/build/intermediates/aapt_friendly_merged_manifests/release/aapt/AndroidManifest.xml +0 -9
  71. package/android/build/intermediates/aapt_friendly_merged_manifests/release/aapt/output-metadata.json +0 -18
  72. package/android/build/intermediates/aar_metadata/debug/aar-metadata.properties +0 -3
  73. package/android/build/intermediates/aar_metadata/release/aar-metadata.properties +0 -3
  74. package/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json +0 -1
  75. package/android/build/intermediates/annotation_processor_list/release/annotationProcessors.json +0 -1
  76. package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
  77. package/android/build/intermediates/compile_library_classes_jar/release/classes.jar +0 -0
  78. package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
  79. package/android/build/intermediates/compile_r_class_jar/release/R.jar +0 -0
  80. package/android/build/intermediates/compile_symbol_list/debug/R.txt +0 -8238
  81. package/android/build/intermediates/compile_symbol_list/release/R.txt +0 -8238
  82. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ar-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  83. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ar_pay_with_googlepay_button_content.xml.flat +0 -0
  84. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-bg-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  85. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-bg_pay_with_googlepay_button_content.xml.flat +0 -0
  86. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ca-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  87. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ca_pay_with_googlepay_button_content.xml.flat +0 -0
  88. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-cs-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  89. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-cs_pay_with_googlepay_button_content.xml.flat +0 -0
  90. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-da-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  91. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-da_pay_with_googlepay_button_content.xml.flat +0 -0
  92. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-de-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  93. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-de_pay_with_googlepay_button_content.xml.flat +0 -0
  94. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-el-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  95. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-el_pay_with_googlepay_button_content.xml.flat +0 -0
  96. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-es-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  97. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-es_pay_with_googlepay_button_content.xml.flat +0 -0
  98. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-et-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  99. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-et_pay_with_googlepay_button_content.xml.flat +0 -0
  100. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-fi-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  101. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-fi_pay_with_googlepay_button_content.xml.flat +0 -0
  102. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-fr-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  103. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-fr_pay_with_googlepay_button_content.xml.flat +0 -0
  104. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-hdpi-v4_googlepay_button_background_image.9.png.flat +0 -0
  105. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-hdpi-v4_googlepay_button_background_image_focused.9.png.flat +0 -0
  106. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-hdpi-v4_googlepay_button_background_image_pressed.9.png.flat +0 -0
  107. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-hdpi-v4_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  108. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-hdpi-v4_googlepay_button_no_shadow_background_image_focused.9.png.flat +0 -0
  109. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-hdpi-v4_googlepay_button_no_shadow_background_image_pressed.9.png.flat +0 -0
  110. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-hr-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  111. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-hr_pay_with_googlepay_button_content.xml.flat +0 -0
  112. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-id-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  113. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-id_pay_with_googlepay_button_content.xml.flat +0 -0
  114. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-it-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  115. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-it_pay_with_googlepay_button_content.xml.flat +0 -0
  116. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ja-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  117. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ja_pay_with_googlepay_button_content.xml.flat +0 -0
  118. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ko-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  119. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ko_pay_with_googlepay_button_content.xml.flat +0 -0
  120. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-mdpi-v4_googlepay_button_background_image.9.png.flat +0 -0
  121. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-mdpi-v4_googlepay_button_background_image_focused.9.png.flat +0 -0
  122. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-mdpi-v4_googlepay_button_background_image_pressed.9.png.flat +0 -0
  123. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-mdpi-v4_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  124. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-mdpi-v4_googlepay_button_no_shadow_background_image_focused.9.png.flat +0 -0
  125. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-mdpi-v4_googlepay_button_no_shadow_background_image_pressed.9.png.flat +0 -0
  126. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ms-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  127. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ms_pay_with_googlepay_button_content.xml.flat +0 -0
  128. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-hdpi-v8_googlepay_button_background_image.9.png.flat +0 -0
  129. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-hdpi-v8_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  130. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-mdpi-v8_googlepay_button_background_image.9.png.flat +0 -0
  131. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-mdpi-v8_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  132. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-v21_googlepay_button_background.xml.flat +0 -0
  133. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-v21_googlepay_button_no_shadow_background.xml.flat +0 -0
  134. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-v8_googlepay_button_content.xml.flat +0 -0
  135. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-v8_googlepay_button_overlay.xml.flat +0 -0
  136. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  137. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-xhdpi-v8_googlepay_button_background_image.9.png.flat +0 -0
  138. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-xhdpi-v8_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  139. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-xxhdpi-v8_googlepay_button_background_image.9.png.flat +0 -0
  140. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-xxhdpi-v8_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  141. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-xxxhdpi-v8_googlepay_button_background_image.9.png.flat +0 -0
  142. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-xxxhdpi-v8_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  143. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-nl-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  144. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-nl_pay_with_googlepay_button_content.xml.flat +0 -0
  145. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-no-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  146. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-no_pay_with_googlepay_button_content.xml.flat +0 -0
  147. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-pl-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  148. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-pl_pay_with_googlepay_button_content.xml.flat +0 -0
  149. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-pt-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  150. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-pt_pay_with_googlepay_button_content.xml.flat +0 -0
  151. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ru-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  152. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ru_pay_with_googlepay_button_content.xml.flat +0 -0
  153. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-sk-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  154. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-sk_pay_with_googlepay_button_content.xml.flat +0 -0
  155. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-sl-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  156. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-sl_pay_with_googlepay_button_content.xml.flat +0 -0
  157. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-sr-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  158. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-sr_pay_with_googlepay_button_content.xml.flat +0 -0
  159. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-sv-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  160. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-sv_pay_with_googlepay_button_content.xml.flat +0 -0
  161. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-th-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  162. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-th_pay_with_googlepay_button_content.xml.flat +0 -0
  163. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-tr-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  164. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-tr_pay_with_googlepay_button_content.xml.flat +0 -0
  165. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-uk-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  166. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-uk_pay_with_googlepay_button_content.xml.flat +0 -0
  167. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-v21_googlepay_button_background.xml.flat +0 -0
  168. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-v21_googlepay_button_no_shadow_background.xml.flat +0 -0
  169. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xhdpi-v4_googlepay_button_background_image.9.png.flat +0 -0
  170. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xhdpi-v4_googlepay_button_background_image_focused.9.png.flat +0 -0
  171. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xhdpi-v4_googlepay_button_background_image_pressed.9.png.flat +0 -0
  172. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xhdpi-v4_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  173. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xhdpi-v4_googlepay_button_no_shadow_background_image_focused.9.png.flat +0 -0
  174. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xhdpi-v4_googlepay_button_no_shadow_background_image_pressed.9.png.flat +0 -0
  175. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxhdpi-v4_googlepay_button_background_image.9.png.flat +0 -0
  176. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxhdpi-v4_googlepay_button_background_image_focused.9.png.flat +0 -0
  177. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxhdpi-v4_googlepay_button_background_image_pressed.9.png.flat +0 -0
  178. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxhdpi-v4_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  179. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxhdpi-v4_googlepay_button_no_shadow_background_image_focused.9.png.flat +0 -0
  180. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxhdpi-v4_googlepay_button_no_shadow_background_image_pressed.9.png.flat +0 -0
  181. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxxhdpi-v4_googlepay_button_background_image.9.png.flat +0 -0
  182. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxxhdpi-v4_googlepay_button_background_image_focused.9.png.flat +0 -0
  183. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxxhdpi-v4_googlepay_button_background_image_pressed.9.png.flat +0 -0
  184. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxxhdpi-v4_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  185. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxxhdpi-v4_googlepay_button_no_shadow_background_image_focused.9.png.flat +0 -0
  186. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxxhdpi-v4_googlepay_button_no_shadow_background_image_pressed.9.png.flat +0 -0
  187. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-zh_pay_with_googlepay_button_content.xml.flat +0 -0
  188. package/android/build/intermediates/compiled_local_resources/debug/out/drawable_googlepay_button_content.xml.flat +0 -0
  189. package/android/build/intermediates/compiled_local_resources/debug/out/drawable_googlepay_button_overlay.xml.flat +0 -0
  190. package/android/build/intermediates/compiled_local_resources/debug/out/drawable_pay_with_googlepay_button_content.xml.flat +0 -0
  191. package/android/build/intermediates/compiled_local_resources/debug/out/layout-night-v8_googlepay_button.xml.flat +0 -0
  192. package/android/build/intermediates/compiled_local_resources/debug/out/layout-night-v8_pay_with_googlepay_button.xml.flat +0 -0
  193. package/android/build/intermediates/compiled_local_resources/debug/out/layout_googlepay_button.xml.flat +0 -0
  194. package/android/build/intermediates/compiled_local_resources/debug/out/layout_googlepay_button_no_shadow.xml.flat +0 -0
  195. package/android/build/intermediates/compiled_local_resources/debug/out/layout_pay_with_googlepay_button.xml.flat +0 -0
  196. package/android/build/intermediates/compiled_local_resources/debug/out/layout_pay_with_googlepay_button_no_shadow.xml.flat +0 -0
  197. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ar-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  198. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ar_pay_with_googlepay_button_content.xml.flat +0 -0
  199. package/android/build/intermediates/compiled_local_resources/release/out/drawable-bg-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  200. package/android/build/intermediates/compiled_local_resources/release/out/drawable-bg_pay_with_googlepay_button_content.xml.flat +0 -0
  201. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ca-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  202. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ca_pay_with_googlepay_button_content.xml.flat +0 -0
  203. package/android/build/intermediates/compiled_local_resources/release/out/drawable-cs-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  204. package/android/build/intermediates/compiled_local_resources/release/out/drawable-cs_pay_with_googlepay_button_content.xml.flat +0 -0
  205. package/android/build/intermediates/compiled_local_resources/release/out/drawable-da-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  206. package/android/build/intermediates/compiled_local_resources/release/out/drawable-da_pay_with_googlepay_button_content.xml.flat +0 -0
  207. package/android/build/intermediates/compiled_local_resources/release/out/drawable-de-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  208. package/android/build/intermediates/compiled_local_resources/release/out/drawable-de_pay_with_googlepay_button_content.xml.flat +0 -0
  209. package/android/build/intermediates/compiled_local_resources/release/out/drawable-el-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  210. package/android/build/intermediates/compiled_local_resources/release/out/drawable-el_pay_with_googlepay_button_content.xml.flat +0 -0
  211. package/android/build/intermediates/compiled_local_resources/release/out/drawable-es-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  212. package/android/build/intermediates/compiled_local_resources/release/out/drawable-es_pay_with_googlepay_button_content.xml.flat +0 -0
  213. package/android/build/intermediates/compiled_local_resources/release/out/drawable-et-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  214. package/android/build/intermediates/compiled_local_resources/release/out/drawable-et_pay_with_googlepay_button_content.xml.flat +0 -0
  215. package/android/build/intermediates/compiled_local_resources/release/out/drawable-fi-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  216. package/android/build/intermediates/compiled_local_resources/release/out/drawable-fi_pay_with_googlepay_button_content.xml.flat +0 -0
  217. package/android/build/intermediates/compiled_local_resources/release/out/drawable-fr-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  218. package/android/build/intermediates/compiled_local_resources/release/out/drawable-fr_pay_with_googlepay_button_content.xml.flat +0 -0
  219. package/android/build/intermediates/compiled_local_resources/release/out/drawable-hdpi-v4_googlepay_button_background_image.9.png.flat +0 -0
  220. package/android/build/intermediates/compiled_local_resources/release/out/drawable-hdpi-v4_googlepay_button_background_image_focused.9.png.flat +0 -0
  221. package/android/build/intermediates/compiled_local_resources/release/out/drawable-hdpi-v4_googlepay_button_background_image_pressed.9.png.flat +0 -0
  222. package/android/build/intermediates/compiled_local_resources/release/out/drawable-hdpi-v4_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  223. package/android/build/intermediates/compiled_local_resources/release/out/drawable-hdpi-v4_googlepay_button_no_shadow_background_image_focused.9.png.flat +0 -0
  224. package/android/build/intermediates/compiled_local_resources/release/out/drawable-hdpi-v4_googlepay_button_no_shadow_background_image_pressed.9.png.flat +0 -0
  225. package/android/build/intermediates/compiled_local_resources/release/out/drawable-hr-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  226. package/android/build/intermediates/compiled_local_resources/release/out/drawable-hr_pay_with_googlepay_button_content.xml.flat +0 -0
  227. package/android/build/intermediates/compiled_local_resources/release/out/drawable-id-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  228. package/android/build/intermediates/compiled_local_resources/release/out/drawable-id_pay_with_googlepay_button_content.xml.flat +0 -0
  229. package/android/build/intermediates/compiled_local_resources/release/out/drawable-it-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  230. package/android/build/intermediates/compiled_local_resources/release/out/drawable-it_pay_with_googlepay_button_content.xml.flat +0 -0
  231. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ja-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  232. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ja_pay_with_googlepay_button_content.xml.flat +0 -0
  233. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ko-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  234. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ko_pay_with_googlepay_button_content.xml.flat +0 -0
  235. package/android/build/intermediates/compiled_local_resources/release/out/drawable-mdpi-v4_googlepay_button_background_image.9.png.flat +0 -0
  236. package/android/build/intermediates/compiled_local_resources/release/out/drawable-mdpi-v4_googlepay_button_background_image_focused.9.png.flat +0 -0
  237. package/android/build/intermediates/compiled_local_resources/release/out/drawable-mdpi-v4_googlepay_button_background_image_pressed.9.png.flat +0 -0
  238. package/android/build/intermediates/compiled_local_resources/release/out/drawable-mdpi-v4_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  239. package/android/build/intermediates/compiled_local_resources/release/out/drawable-mdpi-v4_googlepay_button_no_shadow_background_image_focused.9.png.flat +0 -0
  240. package/android/build/intermediates/compiled_local_resources/release/out/drawable-mdpi-v4_googlepay_button_no_shadow_background_image_pressed.9.png.flat +0 -0
  241. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ms-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  242. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ms_pay_with_googlepay_button_content.xml.flat +0 -0
  243. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-hdpi-v8_googlepay_button_background_image.9.png.flat +0 -0
  244. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-hdpi-v8_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  245. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-mdpi-v8_googlepay_button_background_image.9.png.flat +0 -0
  246. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-mdpi-v8_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  247. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-v21_googlepay_button_background.xml.flat +0 -0
  248. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-v21_googlepay_button_no_shadow_background.xml.flat +0 -0
  249. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-v8_googlepay_button_content.xml.flat +0 -0
  250. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-v8_googlepay_button_overlay.xml.flat +0 -0
  251. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  252. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-xhdpi-v8_googlepay_button_background_image.9.png.flat +0 -0
  253. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-xhdpi-v8_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  254. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-xxhdpi-v8_googlepay_button_background_image.9.png.flat +0 -0
  255. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-xxhdpi-v8_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  256. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-xxxhdpi-v8_googlepay_button_background_image.9.png.flat +0 -0
  257. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-xxxhdpi-v8_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  258. package/android/build/intermediates/compiled_local_resources/release/out/drawable-nl-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  259. package/android/build/intermediates/compiled_local_resources/release/out/drawable-nl_pay_with_googlepay_button_content.xml.flat +0 -0
  260. package/android/build/intermediates/compiled_local_resources/release/out/drawable-no-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  261. package/android/build/intermediates/compiled_local_resources/release/out/drawable-no_pay_with_googlepay_button_content.xml.flat +0 -0
  262. package/android/build/intermediates/compiled_local_resources/release/out/drawable-pl-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  263. package/android/build/intermediates/compiled_local_resources/release/out/drawable-pl_pay_with_googlepay_button_content.xml.flat +0 -0
  264. package/android/build/intermediates/compiled_local_resources/release/out/drawable-pt-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  265. package/android/build/intermediates/compiled_local_resources/release/out/drawable-pt_pay_with_googlepay_button_content.xml.flat +0 -0
  266. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ru-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  267. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ru_pay_with_googlepay_button_content.xml.flat +0 -0
  268. package/android/build/intermediates/compiled_local_resources/release/out/drawable-sk-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  269. package/android/build/intermediates/compiled_local_resources/release/out/drawable-sk_pay_with_googlepay_button_content.xml.flat +0 -0
  270. package/android/build/intermediates/compiled_local_resources/release/out/drawable-sl-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  271. package/android/build/intermediates/compiled_local_resources/release/out/drawable-sl_pay_with_googlepay_button_content.xml.flat +0 -0
  272. package/android/build/intermediates/compiled_local_resources/release/out/drawable-sr-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  273. package/android/build/intermediates/compiled_local_resources/release/out/drawable-sr_pay_with_googlepay_button_content.xml.flat +0 -0
  274. package/android/build/intermediates/compiled_local_resources/release/out/drawable-sv-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  275. package/android/build/intermediates/compiled_local_resources/release/out/drawable-sv_pay_with_googlepay_button_content.xml.flat +0 -0
  276. package/android/build/intermediates/compiled_local_resources/release/out/drawable-th-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  277. package/android/build/intermediates/compiled_local_resources/release/out/drawable-th_pay_with_googlepay_button_content.xml.flat +0 -0
  278. package/android/build/intermediates/compiled_local_resources/release/out/drawable-tr-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  279. package/android/build/intermediates/compiled_local_resources/release/out/drawable-tr_pay_with_googlepay_button_content.xml.flat +0 -0
  280. package/android/build/intermediates/compiled_local_resources/release/out/drawable-uk-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  281. package/android/build/intermediates/compiled_local_resources/release/out/drawable-uk_pay_with_googlepay_button_content.xml.flat +0 -0
  282. package/android/build/intermediates/compiled_local_resources/release/out/drawable-v21_googlepay_button_background.xml.flat +0 -0
  283. package/android/build/intermediates/compiled_local_resources/release/out/drawable-v21_googlepay_button_no_shadow_background.xml.flat +0 -0
  284. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xhdpi-v4_googlepay_button_background_image.9.png.flat +0 -0
  285. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xhdpi-v4_googlepay_button_background_image_focused.9.png.flat +0 -0
  286. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xhdpi-v4_googlepay_button_background_image_pressed.9.png.flat +0 -0
  287. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xhdpi-v4_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  288. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xhdpi-v4_googlepay_button_no_shadow_background_image_focused.9.png.flat +0 -0
  289. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xhdpi-v4_googlepay_button_no_shadow_background_image_pressed.9.png.flat +0 -0
  290. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxhdpi-v4_googlepay_button_background_image.9.png.flat +0 -0
  291. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxhdpi-v4_googlepay_button_background_image_focused.9.png.flat +0 -0
  292. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxhdpi-v4_googlepay_button_background_image_pressed.9.png.flat +0 -0
  293. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxhdpi-v4_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  294. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxhdpi-v4_googlepay_button_no_shadow_background_image_focused.9.png.flat +0 -0
  295. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxhdpi-v4_googlepay_button_no_shadow_background_image_pressed.9.png.flat +0 -0
  296. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxxhdpi-v4_googlepay_button_background_image.9.png.flat +0 -0
  297. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxxhdpi-v4_googlepay_button_background_image_focused.9.png.flat +0 -0
  298. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxxhdpi-v4_googlepay_button_background_image_pressed.9.png.flat +0 -0
  299. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxxhdpi-v4_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  300. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxxhdpi-v4_googlepay_button_no_shadow_background_image_focused.9.png.flat +0 -0
  301. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxxhdpi-v4_googlepay_button_no_shadow_background_image_pressed.9.png.flat +0 -0
  302. package/android/build/intermediates/compiled_local_resources/release/out/drawable-zh_pay_with_googlepay_button_content.xml.flat +0 -0
  303. package/android/build/intermediates/compiled_local_resources/release/out/drawable_googlepay_button_content.xml.flat +0 -0
  304. package/android/build/intermediates/compiled_local_resources/release/out/drawable_googlepay_button_overlay.xml.flat +0 -0
  305. package/android/build/intermediates/compiled_local_resources/release/out/drawable_pay_with_googlepay_button_content.xml.flat +0 -0
  306. package/android/build/intermediates/compiled_local_resources/release/out/layout-night-v8_googlepay_button.xml.flat +0 -0
  307. package/android/build/intermediates/compiled_local_resources/release/out/layout-night-v8_pay_with_googlepay_button.xml.flat +0 -0
  308. package/android/build/intermediates/compiled_local_resources/release/out/layout_googlepay_button.xml.flat +0 -0
  309. package/android/build/intermediates/compiled_local_resources/release/out/layout_googlepay_button_no_shadow.xml.flat +0 -0
  310. package/android/build/intermediates/compiled_local_resources/release/out/layout_pay_with_googlepay_button.xml.flat +0 -0
  311. package/android/build/intermediates/compiled_local_resources/release/out/layout_pay_with_googlepay_button_no_shadow.xml.flat +0 -0
  312. package/android/build/intermediates/data_binding_base_class_log_artifact/debug/out/com.reactnativestripesdk-binding_classes.json +0 -0
  313. package/android/build/intermediates/data_binding_base_class_log_artifact/release/out/com.reactnativestripesdk-binding_classes.json +0 -0
  314. package/android/build/intermediates/data_binding_layout_info_type_package/debug/out/googlepay_button-layout-night.xml +0 -1
  315. package/android/build/intermediates/data_binding_layout_info_type_package/debug/out/googlepay_button-layout.xml +0 -1
  316. package/android/build/intermediates/data_binding_layout_info_type_package/debug/out/googlepay_button_no_shadow-layout.xml +0 -1
  317. package/android/build/intermediates/data_binding_layout_info_type_package/debug/out/pay_with_googlepay_button-layout-night.xml +0 -1
  318. package/android/build/intermediates/data_binding_layout_info_type_package/debug/out/pay_with_googlepay_button-layout.xml +0 -1
  319. package/android/build/intermediates/data_binding_layout_info_type_package/debug/out/pay_with_googlepay_button_no_shadow-layout.xml +0 -1
  320. package/android/build/intermediates/data_binding_layout_info_type_package/release/out/googlepay_button-layout-night.xml +0 -1
  321. package/android/build/intermediates/data_binding_layout_info_type_package/release/out/googlepay_button-layout.xml +0 -1
  322. package/android/build/intermediates/data_binding_layout_info_type_package/release/out/googlepay_button_no_shadow-layout.xml +0 -1
  323. package/android/build/intermediates/data_binding_layout_info_type_package/release/out/pay_with_googlepay_button-layout-night.xml +0 -1
  324. package/android/build/intermediates/data_binding_layout_info_type_package/release/out/pay_with_googlepay_button-layout.xml +0 -1
  325. package/android/build/intermediates/data_binding_layout_info_type_package/release/out/pay_with_googlepay_button_no_shadow-layout.xml +0 -1
  326. package/android/build/intermediates/incremental/dataBindingGenBaseClassesDebug/base_builder_log.json +0 -0
  327. package/android/build/intermediates/incremental/dataBindingGenBaseClassesRelease/base_builder_log.json +0 -0
  328. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  329. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  330. package/android/build/intermediates/incremental/mergeReleaseJniLibFolders/merger.xml +0 -2
  331. package/android/build/intermediates/incremental/mergeReleaseShaders/merger.xml +0 -2
  332. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +0 -2
  333. package/android/build/intermediates/incremental/packageDebugResources/compile-file-map.properties +0 -116
  334. package/android/build/intermediates/incremental/packageDebugResources/merged.dir/values/values.xml +0 -12
  335. package/android/build/intermediates/incremental/packageDebugResources/merged.dir/values-night-v8/values-night-v8.xml +0 -12
  336. package/android/build/intermediates/incremental/packageDebugResources/merger.xml +0 -2
  337. package/android/build/intermediates/incremental/packageDebugResources/stripped.dir/layout/googlepay_button.xml +0 -31
  338. package/android/build/intermediates/incremental/packageDebugResources/stripped.dir/layout/googlepay_button_no_shadow.xml +0 -31
  339. package/android/build/intermediates/incremental/packageDebugResources/stripped.dir/layout/pay_with_googlepay_button.xml +0 -31
  340. package/android/build/intermediates/incremental/packageDebugResources/stripped.dir/layout/pay_with_googlepay_button_no_shadow.xml +0 -31
  341. package/android/build/intermediates/incremental/packageDebugResources/stripped.dir/layout-night-v8/googlepay_button.xml +0 -31
  342. package/android/build/intermediates/incremental/packageDebugResources/stripped.dir/layout-night-v8/pay_with_googlepay_button.xml +0 -31
  343. package/android/build/intermediates/incremental/packageReleaseAssets/merger.xml +0 -2
  344. package/android/build/intermediates/incremental/packageReleaseResources/compile-file-map.properties +0 -116
  345. package/android/build/intermediates/incremental/packageReleaseResources/merged.dir/values/values.xml +0 -12
  346. package/android/build/intermediates/incremental/packageReleaseResources/merged.dir/values-night-v8/values-night-v8.xml +0 -12
  347. package/android/build/intermediates/incremental/packageReleaseResources/merger.xml +0 -2
  348. package/android/build/intermediates/incremental/packageReleaseResources/stripped.dir/layout/googlepay_button.xml +0 -31
  349. package/android/build/intermediates/incremental/packageReleaseResources/stripped.dir/layout/googlepay_button_no_shadow.xml +0 -31
  350. package/android/build/intermediates/incremental/packageReleaseResources/stripped.dir/layout/pay_with_googlepay_button.xml +0 -31
  351. package/android/build/intermediates/incremental/packageReleaseResources/stripped.dir/layout/pay_with_googlepay_button_no_shadow.xml +0 -31
  352. package/android/build/intermediates/incremental/packageReleaseResources/stripped.dir/layout-night-v8/googlepay_button.xml +0 -31
  353. package/android/build/intermediates/incremental/packageReleaseResources/stripped.dir/layout-night-v8/pay_with_googlepay_button.xml +0 -31
  354. package/android/build/intermediates/javac/debug/classes/com/reactnativestripesdk/BuildConfig.class +0 -0
  355. package/android/build/intermediates/javac/debug/classes/com/reactnativestripesdk/databinding/GooglepayButtonBinding.class +0 -0
  356. package/android/build/intermediates/javac/debug/classes/com/reactnativestripesdk/databinding/GooglepayButtonNoShadowBinding.class +0 -0
  357. package/android/build/intermediates/javac/debug/classes/com/reactnativestripesdk/databinding/PayWithGooglepayButtonBinding.class +0 -0
  358. package/android/build/intermediates/javac/debug/classes/com/reactnativestripesdk/databinding/PayWithGooglepayButtonNoShadowBinding.class +0 -0
  359. package/android/build/intermediates/javac/release/classes/com/reactnativestripesdk/BuildConfig.class +0 -0
  360. package/android/build/intermediates/javac/release/classes/com/reactnativestripesdk/databinding/GooglepayButtonBinding.class +0 -0
  361. package/android/build/intermediates/javac/release/classes/com/reactnativestripesdk/databinding/GooglepayButtonNoShadowBinding.class +0 -0
  362. package/android/build/intermediates/javac/release/classes/com/reactnativestripesdk/databinding/PayWithGooglepayButtonBinding.class +0 -0
  363. package/android/build/intermediates/javac/release/classes/com/reactnativestripesdk/databinding/PayWithGooglepayButtonNoShadowBinding.class +0 -0
  364. package/android/build/intermediates/library_java_res/debug/res.jar +0 -0
  365. package/android/build/intermediates/library_java_res/release/res.jar +0 -0
  366. package/android/build/intermediates/local_only_symbol_list/debug/R-def.txt +0 -26
  367. package/android/build/intermediates/local_only_symbol_list/release/R-def.txt +0 -26
  368. package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +0 -11
  369. package/android/build/intermediates/manifest_merge_blame_file/release/manifest-merger-blame-release-report.txt +0 -11
  370. package/android/build/intermediates/merged_manifest/debug/AndroidManifest.xml +0 -9
  371. package/android/build/intermediates/merged_manifest/release/AndroidManifest.xml +0 -9
  372. package/android/build/intermediates/navigation_json/debug/navigation.json +0 -1
  373. package/android/build/intermediates/navigation_json/release/navigation.json +0 -1
  374. package/android/build/intermediates/packaged_manifests/debug/output-metadata.json +0 -18
  375. package/android/build/intermediates/packaged_manifests/release/output-metadata.json +0 -18
  376. package/android/build/intermediates/packaged_res/debug/drawable/googlepay_button_content.xml +0 -48
  377. package/android/build/intermediates/packaged_res/debug/drawable/googlepay_button_overlay.xml +0 -11
  378. package/android/build/intermediates/packaged_res/debug/drawable/pay_with_googlepay_button_content.xml +0 -14
  379. package/android/build/intermediates/packaged_res/debug/drawable-ar/pay_with_googlepay_button_content.xml +0 -14
  380. package/android/build/intermediates/packaged_res/debug/drawable-ar-night-v8/pay_with_googlepay_button_content.xml +0 -14
  381. package/android/build/intermediates/packaged_res/debug/drawable-bg/pay_with_googlepay_button_content.xml +0 -14
  382. package/android/build/intermediates/packaged_res/debug/drawable-bg-night-v8/pay_with_googlepay_button_content.xml +0 -14
  383. package/android/build/intermediates/packaged_res/debug/drawable-ca/pay_with_googlepay_button_content.xml +0 -14
  384. package/android/build/intermediates/packaged_res/debug/drawable-ca-night-v8/pay_with_googlepay_button_content.xml +0 -14
  385. package/android/build/intermediates/packaged_res/debug/drawable-cs/pay_with_googlepay_button_content.xml +0 -14
  386. package/android/build/intermediates/packaged_res/debug/drawable-cs-night-v8/pay_with_googlepay_button_content.xml +0 -14
  387. package/android/build/intermediates/packaged_res/debug/drawable-da/pay_with_googlepay_button_content.xml +0 -14
  388. package/android/build/intermediates/packaged_res/debug/drawable-da-night-v8/pay_with_googlepay_button_content.xml +0 -14
  389. package/android/build/intermediates/packaged_res/debug/drawable-de/pay_with_googlepay_button_content.xml +0 -15
  390. package/android/build/intermediates/packaged_res/debug/drawable-de-night-v8/pay_with_googlepay_button_content.xml +0 -15
  391. package/android/build/intermediates/packaged_res/debug/drawable-el/pay_with_googlepay_button_content.xml +0 -14
  392. package/android/build/intermediates/packaged_res/debug/drawable-el-night-v8/pay_with_googlepay_button_content.xml +0 -14
  393. package/android/build/intermediates/packaged_res/debug/drawable-es/pay_with_googlepay_button_content.xml +0 -14
  394. package/android/build/intermediates/packaged_res/debug/drawable-es-night-v8/pay_with_googlepay_button_content.xml +0 -14
  395. package/android/build/intermediates/packaged_res/debug/drawable-et/pay_with_googlepay_button_content.xml +0 -14
  396. package/android/build/intermediates/packaged_res/debug/drawable-et-night-v8/pay_with_googlepay_button_content.xml +0 -14
  397. package/android/build/intermediates/packaged_res/debug/drawable-fi/pay_with_googlepay_button_content.xml +0 -15
  398. package/android/build/intermediates/packaged_res/debug/drawable-fi-night-v8/pay_with_googlepay_button_content.xml +0 -15
  399. package/android/build/intermediates/packaged_res/debug/drawable-fr/pay_with_googlepay_button_content.xml +0 -14
  400. package/android/build/intermediates/packaged_res/debug/drawable-fr-night-v8/pay_with_googlepay_button_content.xml +0 -14
  401. package/android/build/intermediates/packaged_res/debug/drawable-hdpi-v4/googlepay_button_background_image.9.png +0 -0
  402. package/android/build/intermediates/packaged_res/debug/drawable-hdpi-v4/googlepay_button_background_image_focused.9.png +0 -0
  403. package/android/build/intermediates/packaged_res/debug/drawable-hdpi-v4/googlepay_button_background_image_pressed.9.png +0 -0
  404. package/android/build/intermediates/packaged_res/debug/drawable-hdpi-v4/googlepay_button_no_shadow_background_image.9.png +0 -0
  405. package/android/build/intermediates/packaged_res/debug/drawable-hdpi-v4/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  406. package/android/build/intermediates/packaged_res/debug/drawable-hdpi-v4/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  407. package/android/build/intermediates/packaged_res/debug/drawable-hr/pay_with_googlepay_button_content.xml +0 -14
  408. package/android/build/intermediates/packaged_res/debug/drawable-hr-night-v8/pay_with_googlepay_button_content.xml +0 -14
  409. package/android/build/intermediates/packaged_res/debug/drawable-id/pay_with_googlepay_button_content.xml +0 -14
  410. package/android/build/intermediates/packaged_res/debug/drawable-id-night-v8/pay_with_googlepay_button_content.xml +0 -14
  411. package/android/build/intermediates/packaged_res/debug/drawable-it/pay_with_googlepay_button_content.xml +0 -14
  412. package/android/build/intermediates/packaged_res/debug/drawable-it-night-v8/pay_with_googlepay_button_content.xml +0 -14
  413. package/android/build/intermediates/packaged_res/debug/drawable-ja/pay_with_googlepay_button_content.xml +0 -14
  414. package/android/build/intermediates/packaged_res/debug/drawable-ja-night-v8/pay_with_googlepay_button_content.xml +0 -14
  415. package/android/build/intermediates/packaged_res/debug/drawable-ko/pay_with_googlepay_button_content.xml +0 -14
  416. package/android/build/intermediates/packaged_res/debug/drawable-ko-night-v8/pay_with_googlepay_button_content.xml +0 -14
  417. package/android/build/intermediates/packaged_res/debug/drawable-mdpi-v4/googlepay_button_background_image.9.png +0 -0
  418. package/android/build/intermediates/packaged_res/debug/drawable-mdpi-v4/googlepay_button_background_image_focused.9.png +0 -0
  419. package/android/build/intermediates/packaged_res/debug/drawable-mdpi-v4/googlepay_button_background_image_pressed.9.png +0 -0
  420. package/android/build/intermediates/packaged_res/debug/drawable-mdpi-v4/googlepay_button_no_shadow_background_image.9.png +0 -0
  421. package/android/build/intermediates/packaged_res/debug/drawable-mdpi-v4/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  422. package/android/build/intermediates/packaged_res/debug/drawable-mdpi-v4/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  423. package/android/build/intermediates/packaged_res/debug/drawable-ms/pay_with_googlepay_button_content.xml +0 -14
  424. package/android/build/intermediates/packaged_res/debug/drawable-ms-night-v8/pay_with_googlepay_button_content.xml +0 -14
  425. package/android/build/intermediates/packaged_res/debug/drawable-night-hdpi-v8/googlepay_button_background_image.9.png +0 -0
  426. package/android/build/intermediates/packaged_res/debug/drawable-night-hdpi-v8/googlepay_button_no_shadow_background_image.9.png +0 -0
  427. package/android/build/intermediates/packaged_res/debug/drawable-night-mdpi-v8/googlepay_button_background_image.9.png +0 -0
  428. package/android/build/intermediates/packaged_res/debug/drawable-night-mdpi-v8/googlepay_button_no_shadow_background_image.9.png +0 -0
  429. package/android/build/intermediates/packaged_res/debug/drawable-night-v21/googlepay_button_background.xml +0 -7
  430. package/android/build/intermediates/packaged_res/debug/drawable-night-v21/googlepay_button_no_shadow_background.xml +0 -7
  431. package/android/build/intermediates/packaged_res/debug/drawable-night-v8/googlepay_button_content.xml +0 -48
  432. package/android/build/intermediates/packaged_res/debug/drawable-night-v8/googlepay_button_overlay.xml +0 -12
  433. package/android/build/intermediates/packaged_res/debug/drawable-night-v8/pay_with_googlepay_button_content.xml +0 -14
  434. package/android/build/intermediates/packaged_res/debug/drawable-night-xhdpi-v8/googlepay_button_background_image.9.png +0 -0
  435. package/android/build/intermediates/packaged_res/debug/drawable-night-xhdpi-v8/googlepay_button_no_shadow_background_image.9.png +0 -0
  436. package/android/build/intermediates/packaged_res/debug/drawable-night-xxhdpi-v8/googlepay_button_background_image.9.png +0 -0
  437. package/android/build/intermediates/packaged_res/debug/drawable-night-xxhdpi-v8/googlepay_button_no_shadow_background_image.9.png +0 -0
  438. package/android/build/intermediates/packaged_res/debug/drawable-night-xxxhdpi-v8/googlepay_button_background_image.9.png +0 -0
  439. package/android/build/intermediates/packaged_res/debug/drawable-night-xxxhdpi-v8/googlepay_button_no_shadow_background_image.9.png +0 -0
  440. package/android/build/intermediates/packaged_res/debug/drawable-nl/pay_with_googlepay_button_content.xml +0 -14
  441. package/android/build/intermediates/packaged_res/debug/drawable-nl-night-v8/pay_with_googlepay_button_content.xml +0 -14
  442. package/android/build/intermediates/packaged_res/debug/drawable-no/pay_with_googlepay_button_content.xml +0 -14
  443. package/android/build/intermediates/packaged_res/debug/drawable-no-night-v8/pay_with_googlepay_button_content.xml +0 -14
  444. package/android/build/intermediates/packaged_res/debug/drawable-pl/pay_with_googlepay_button_content.xml +0 -14
  445. package/android/build/intermediates/packaged_res/debug/drawable-pl-night-v8/pay_with_googlepay_button_content.xml +0 -14
  446. package/android/build/intermediates/packaged_res/debug/drawable-pt/pay_with_googlepay_button_content.xml +0 -14
  447. package/android/build/intermediates/packaged_res/debug/drawable-pt-night-v8/pay_with_googlepay_button_content.xml +0 -14
  448. package/android/build/intermediates/packaged_res/debug/drawable-ru/pay_with_googlepay_button_content.xml +0 -14
  449. package/android/build/intermediates/packaged_res/debug/drawable-ru-night-v8/pay_with_googlepay_button_content.xml +0 -14
  450. package/android/build/intermediates/packaged_res/debug/drawable-sk/pay_with_googlepay_button_content.xml +0 -14
  451. package/android/build/intermediates/packaged_res/debug/drawable-sk-night-v8/pay_with_googlepay_button_content.xml +0 -14
  452. package/android/build/intermediates/packaged_res/debug/drawable-sl/pay_with_googlepay_button_content.xml +0 -14
  453. package/android/build/intermediates/packaged_res/debug/drawable-sl-night-v8/pay_with_googlepay_button_content.xml +0 -14
  454. package/android/build/intermediates/packaged_res/debug/drawable-sr/pay_with_googlepay_button_content.xml +0 -14
  455. package/android/build/intermediates/packaged_res/debug/drawable-sr-night-v8/pay_with_googlepay_button_content.xml +0 -14
  456. package/android/build/intermediates/packaged_res/debug/drawable-sv/pay_with_googlepay_button_content.xml +0 -14
  457. package/android/build/intermediates/packaged_res/debug/drawable-sv-night-v8/pay_with_googlepay_button_content.xml +0 -14
  458. package/android/build/intermediates/packaged_res/debug/drawable-th/pay_with_googlepay_button_content.xml +0 -14
  459. package/android/build/intermediates/packaged_res/debug/drawable-th-night-v8/pay_with_googlepay_button_content.xml +0 -14
  460. package/android/build/intermediates/packaged_res/debug/drawable-tr/pay_with_googlepay_button_content.xml +0 -14
  461. package/android/build/intermediates/packaged_res/debug/drawable-tr-night-v8/pay_with_googlepay_button_content.xml +0 -14
  462. package/android/build/intermediates/packaged_res/debug/drawable-uk/pay_with_googlepay_button_content.xml +0 -14
  463. package/android/build/intermediates/packaged_res/debug/drawable-uk-night-v8/pay_with_googlepay_button_content.xml +0 -14
  464. package/android/build/intermediates/packaged_res/debug/drawable-v21/googlepay_button_background.xml +0 -21
  465. package/android/build/intermediates/packaged_res/debug/drawable-v21/googlepay_button_no_shadow_background.xml +0 -21
  466. package/android/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/googlepay_button_background_image.9.png +0 -0
  467. package/android/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/googlepay_button_background_image_focused.9.png +0 -0
  468. package/android/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/googlepay_button_background_image_pressed.9.png +0 -0
  469. package/android/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/googlepay_button_no_shadow_background_image.9.png +0 -0
  470. package/android/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  471. package/android/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  472. package/android/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/googlepay_button_background_image.9.png +0 -0
  473. package/android/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/googlepay_button_background_image_focused.9.png +0 -0
  474. package/android/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/googlepay_button_background_image_pressed.9.png +0 -0
  475. package/android/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/googlepay_button_no_shadow_background_image.9.png +0 -0
  476. package/android/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  477. package/android/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  478. package/android/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/googlepay_button_background_image.9.png +0 -0
  479. package/android/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/googlepay_button_background_image_focused.9.png +0 -0
  480. package/android/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/googlepay_button_background_image_pressed.9.png +0 -0
  481. package/android/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/googlepay_button_no_shadow_background_image.9.png +0 -0
  482. package/android/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  483. package/android/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  484. package/android/build/intermediates/packaged_res/debug/drawable-zh/pay_with_googlepay_button_content.xml +0 -15
  485. package/android/build/intermediates/packaged_res/debug/layout/googlepay_button.xml +0 -31
  486. package/android/build/intermediates/packaged_res/debug/layout/googlepay_button_no_shadow.xml +0 -31
  487. package/android/build/intermediates/packaged_res/debug/layout/pay_with_googlepay_button.xml +0 -31
  488. package/android/build/intermediates/packaged_res/debug/layout/pay_with_googlepay_button_no_shadow.xml +0 -31
  489. package/android/build/intermediates/packaged_res/debug/layout-night-v8/googlepay_button.xml +0 -31
  490. package/android/build/intermediates/packaged_res/debug/layout-night-v8/pay_with_googlepay_button.xml +0 -31
  491. package/android/build/intermediates/packaged_res/debug/values/values.xml +0 -12
  492. package/android/build/intermediates/packaged_res/debug/values-night-v8/values-night-v8.xml +0 -12
  493. package/android/build/intermediates/packaged_res/release/drawable/googlepay_button_content.xml +0 -48
  494. package/android/build/intermediates/packaged_res/release/drawable/googlepay_button_overlay.xml +0 -11
  495. package/android/build/intermediates/packaged_res/release/drawable/pay_with_googlepay_button_content.xml +0 -14
  496. package/android/build/intermediates/packaged_res/release/drawable-ar/pay_with_googlepay_button_content.xml +0 -14
  497. package/android/build/intermediates/packaged_res/release/drawable-ar-night-v8/pay_with_googlepay_button_content.xml +0 -14
  498. package/android/build/intermediates/packaged_res/release/drawable-bg/pay_with_googlepay_button_content.xml +0 -14
  499. package/android/build/intermediates/packaged_res/release/drawable-bg-night-v8/pay_with_googlepay_button_content.xml +0 -14
  500. package/android/build/intermediates/packaged_res/release/drawable-ca/pay_with_googlepay_button_content.xml +0 -14
  501. package/android/build/intermediates/packaged_res/release/drawable-ca-night-v8/pay_with_googlepay_button_content.xml +0 -14
  502. package/android/build/intermediates/packaged_res/release/drawable-cs/pay_with_googlepay_button_content.xml +0 -14
  503. package/android/build/intermediates/packaged_res/release/drawable-cs-night-v8/pay_with_googlepay_button_content.xml +0 -14
  504. package/android/build/intermediates/packaged_res/release/drawable-da/pay_with_googlepay_button_content.xml +0 -14
  505. package/android/build/intermediates/packaged_res/release/drawable-da-night-v8/pay_with_googlepay_button_content.xml +0 -14
  506. package/android/build/intermediates/packaged_res/release/drawable-de/pay_with_googlepay_button_content.xml +0 -15
  507. package/android/build/intermediates/packaged_res/release/drawable-de-night-v8/pay_with_googlepay_button_content.xml +0 -15
  508. package/android/build/intermediates/packaged_res/release/drawable-el/pay_with_googlepay_button_content.xml +0 -14
  509. package/android/build/intermediates/packaged_res/release/drawable-el-night-v8/pay_with_googlepay_button_content.xml +0 -14
  510. package/android/build/intermediates/packaged_res/release/drawable-es/pay_with_googlepay_button_content.xml +0 -14
  511. package/android/build/intermediates/packaged_res/release/drawable-es-night-v8/pay_with_googlepay_button_content.xml +0 -14
  512. package/android/build/intermediates/packaged_res/release/drawable-et/pay_with_googlepay_button_content.xml +0 -14
  513. package/android/build/intermediates/packaged_res/release/drawable-et-night-v8/pay_with_googlepay_button_content.xml +0 -14
  514. package/android/build/intermediates/packaged_res/release/drawable-fi/pay_with_googlepay_button_content.xml +0 -15
  515. package/android/build/intermediates/packaged_res/release/drawable-fi-night-v8/pay_with_googlepay_button_content.xml +0 -15
  516. package/android/build/intermediates/packaged_res/release/drawable-fr/pay_with_googlepay_button_content.xml +0 -14
  517. package/android/build/intermediates/packaged_res/release/drawable-fr-night-v8/pay_with_googlepay_button_content.xml +0 -14
  518. package/android/build/intermediates/packaged_res/release/drawable-hdpi-v4/googlepay_button_background_image.9.png +0 -0
  519. package/android/build/intermediates/packaged_res/release/drawable-hdpi-v4/googlepay_button_background_image_focused.9.png +0 -0
  520. package/android/build/intermediates/packaged_res/release/drawable-hdpi-v4/googlepay_button_background_image_pressed.9.png +0 -0
  521. package/android/build/intermediates/packaged_res/release/drawable-hdpi-v4/googlepay_button_no_shadow_background_image.9.png +0 -0
  522. package/android/build/intermediates/packaged_res/release/drawable-hdpi-v4/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  523. package/android/build/intermediates/packaged_res/release/drawable-hdpi-v4/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  524. package/android/build/intermediates/packaged_res/release/drawable-hr/pay_with_googlepay_button_content.xml +0 -14
  525. package/android/build/intermediates/packaged_res/release/drawable-hr-night-v8/pay_with_googlepay_button_content.xml +0 -14
  526. package/android/build/intermediates/packaged_res/release/drawable-id/pay_with_googlepay_button_content.xml +0 -14
  527. package/android/build/intermediates/packaged_res/release/drawable-id-night-v8/pay_with_googlepay_button_content.xml +0 -14
  528. package/android/build/intermediates/packaged_res/release/drawable-it/pay_with_googlepay_button_content.xml +0 -14
  529. package/android/build/intermediates/packaged_res/release/drawable-it-night-v8/pay_with_googlepay_button_content.xml +0 -14
  530. package/android/build/intermediates/packaged_res/release/drawable-ja/pay_with_googlepay_button_content.xml +0 -14
  531. package/android/build/intermediates/packaged_res/release/drawable-ja-night-v8/pay_with_googlepay_button_content.xml +0 -14
  532. package/android/build/intermediates/packaged_res/release/drawable-ko/pay_with_googlepay_button_content.xml +0 -14
  533. package/android/build/intermediates/packaged_res/release/drawable-ko-night-v8/pay_with_googlepay_button_content.xml +0 -14
  534. package/android/build/intermediates/packaged_res/release/drawable-mdpi-v4/googlepay_button_background_image.9.png +0 -0
  535. package/android/build/intermediates/packaged_res/release/drawable-mdpi-v4/googlepay_button_background_image_focused.9.png +0 -0
  536. package/android/build/intermediates/packaged_res/release/drawable-mdpi-v4/googlepay_button_background_image_pressed.9.png +0 -0
  537. package/android/build/intermediates/packaged_res/release/drawable-mdpi-v4/googlepay_button_no_shadow_background_image.9.png +0 -0
  538. package/android/build/intermediates/packaged_res/release/drawable-mdpi-v4/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  539. package/android/build/intermediates/packaged_res/release/drawable-mdpi-v4/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  540. package/android/build/intermediates/packaged_res/release/drawable-ms/pay_with_googlepay_button_content.xml +0 -14
  541. package/android/build/intermediates/packaged_res/release/drawable-ms-night-v8/pay_with_googlepay_button_content.xml +0 -14
  542. package/android/build/intermediates/packaged_res/release/drawable-night-hdpi-v8/googlepay_button_background_image.9.png +0 -0
  543. package/android/build/intermediates/packaged_res/release/drawable-night-hdpi-v8/googlepay_button_no_shadow_background_image.9.png +0 -0
  544. package/android/build/intermediates/packaged_res/release/drawable-night-mdpi-v8/googlepay_button_background_image.9.png +0 -0
  545. package/android/build/intermediates/packaged_res/release/drawable-night-mdpi-v8/googlepay_button_no_shadow_background_image.9.png +0 -0
  546. package/android/build/intermediates/packaged_res/release/drawable-night-v21/googlepay_button_background.xml +0 -7
  547. package/android/build/intermediates/packaged_res/release/drawable-night-v21/googlepay_button_no_shadow_background.xml +0 -7
  548. package/android/build/intermediates/packaged_res/release/drawable-night-v8/googlepay_button_content.xml +0 -48
  549. package/android/build/intermediates/packaged_res/release/drawable-night-v8/googlepay_button_overlay.xml +0 -12
  550. package/android/build/intermediates/packaged_res/release/drawable-night-v8/pay_with_googlepay_button_content.xml +0 -14
  551. package/android/build/intermediates/packaged_res/release/drawable-night-xhdpi-v8/googlepay_button_background_image.9.png +0 -0
  552. package/android/build/intermediates/packaged_res/release/drawable-night-xhdpi-v8/googlepay_button_no_shadow_background_image.9.png +0 -0
  553. package/android/build/intermediates/packaged_res/release/drawable-night-xxhdpi-v8/googlepay_button_background_image.9.png +0 -0
  554. package/android/build/intermediates/packaged_res/release/drawable-night-xxhdpi-v8/googlepay_button_no_shadow_background_image.9.png +0 -0
  555. package/android/build/intermediates/packaged_res/release/drawable-night-xxxhdpi-v8/googlepay_button_background_image.9.png +0 -0
  556. package/android/build/intermediates/packaged_res/release/drawable-night-xxxhdpi-v8/googlepay_button_no_shadow_background_image.9.png +0 -0
  557. package/android/build/intermediates/packaged_res/release/drawable-nl/pay_with_googlepay_button_content.xml +0 -14
  558. package/android/build/intermediates/packaged_res/release/drawable-nl-night-v8/pay_with_googlepay_button_content.xml +0 -14
  559. package/android/build/intermediates/packaged_res/release/drawable-no/pay_with_googlepay_button_content.xml +0 -14
  560. package/android/build/intermediates/packaged_res/release/drawable-no-night-v8/pay_with_googlepay_button_content.xml +0 -14
  561. package/android/build/intermediates/packaged_res/release/drawable-pl/pay_with_googlepay_button_content.xml +0 -14
  562. package/android/build/intermediates/packaged_res/release/drawable-pl-night-v8/pay_with_googlepay_button_content.xml +0 -14
  563. package/android/build/intermediates/packaged_res/release/drawable-pt/pay_with_googlepay_button_content.xml +0 -14
  564. package/android/build/intermediates/packaged_res/release/drawable-pt-night-v8/pay_with_googlepay_button_content.xml +0 -14
  565. package/android/build/intermediates/packaged_res/release/drawable-ru/pay_with_googlepay_button_content.xml +0 -14
  566. package/android/build/intermediates/packaged_res/release/drawable-ru-night-v8/pay_with_googlepay_button_content.xml +0 -14
  567. package/android/build/intermediates/packaged_res/release/drawable-sk/pay_with_googlepay_button_content.xml +0 -14
  568. package/android/build/intermediates/packaged_res/release/drawable-sk-night-v8/pay_with_googlepay_button_content.xml +0 -14
  569. package/android/build/intermediates/packaged_res/release/drawable-sl/pay_with_googlepay_button_content.xml +0 -14
  570. package/android/build/intermediates/packaged_res/release/drawable-sl-night-v8/pay_with_googlepay_button_content.xml +0 -14
  571. package/android/build/intermediates/packaged_res/release/drawable-sr/pay_with_googlepay_button_content.xml +0 -14
  572. package/android/build/intermediates/packaged_res/release/drawable-sr-night-v8/pay_with_googlepay_button_content.xml +0 -14
  573. package/android/build/intermediates/packaged_res/release/drawable-sv/pay_with_googlepay_button_content.xml +0 -14
  574. package/android/build/intermediates/packaged_res/release/drawable-sv-night-v8/pay_with_googlepay_button_content.xml +0 -14
  575. package/android/build/intermediates/packaged_res/release/drawable-th/pay_with_googlepay_button_content.xml +0 -14
  576. package/android/build/intermediates/packaged_res/release/drawable-th-night-v8/pay_with_googlepay_button_content.xml +0 -14
  577. package/android/build/intermediates/packaged_res/release/drawable-tr/pay_with_googlepay_button_content.xml +0 -14
  578. package/android/build/intermediates/packaged_res/release/drawable-tr-night-v8/pay_with_googlepay_button_content.xml +0 -14
  579. package/android/build/intermediates/packaged_res/release/drawable-uk/pay_with_googlepay_button_content.xml +0 -14
  580. package/android/build/intermediates/packaged_res/release/drawable-uk-night-v8/pay_with_googlepay_button_content.xml +0 -14
  581. package/android/build/intermediates/packaged_res/release/drawable-v21/googlepay_button_background.xml +0 -21
  582. package/android/build/intermediates/packaged_res/release/drawable-v21/googlepay_button_no_shadow_background.xml +0 -21
  583. package/android/build/intermediates/packaged_res/release/drawable-xhdpi-v4/googlepay_button_background_image.9.png +0 -0
  584. package/android/build/intermediates/packaged_res/release/drawable-xhdpi-v4/googlepay_button_background_image_focused.9.png +0 -0
  585. package/android/build/intermediates/packaged_res/release/drawable-xhdpi-v4/googlepay_button_background_image_pressed.9.png +0 -0
  586. package/android/build/intermediates/packaged_res/release/drawable-xhdpi-v4/googlepay_button_no_shadow_background_image.9.png +0 -0
  587. package/android/build/intermediates/packaged_res/release/drawable-xhdpi-v4/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  588. package/android/build/intermediates/packaged_res/release/drawable-xhdpi-v4/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  589. package/android/build/intermediates/packaged_res/release/drawable-xxhdpi-v4/googlepay_button_background_image.9.png +0 -0
  590. package/android/build/intermediates/packaged_res/release/drawable-xxhdpi-v4/googlepay_button_background_image_focused.9.png +0 -0
  591. package/android/build/intermediates/packaged_res/release/drawable-xxhdpi-v4/googlepay_button_background_image_pressed.9.png +0 -0
  592. package/android/build/intermediates/packaged_res/release/drawable-xxhdpi-v4/googlepay_button_no_shadow_background_image.9.png +0 -0
  593. package/android/build/intermediates/packaged_res/release/drawable-xxhdpi-v4/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  594. package/android/build/intermediates/packaged_res/release/drawable-xxhdpi-v4/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  595. package/android/build/intermediates/packaged_res/release/drawable-xxxhdpi-v4/googlepay_button_background_image.9.png +0 -0
  596. package/android/build/intermediates/packaged_res/release/drawable-xxxhdpi-v4/googlepay_button_background_image_focused.9.png +0 -0
  597. package/android/build/intermediates/packaged_res/release/drawable-xxxhdpi-v4/googlepay_button_background_image_pressed.9.png +0 -0
  598. package/android/build/intermediates/packaged_res/release/drawable-xxxhdpi-v4/googlepay_button_no_shadow_background_image.9.png +0 -0
  599. package/android/build/intermediates/packaged_res/release/drawable-xxxhdpi-v4/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  600. package/android/build/intermediates/packaged_res/release/drawable-xxxhdpi-v4/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  601. package/android/build/intermediates/packaged_res/release/drawable-zh/pay_with_googlepay_button_content.xml +0 -15
  602. package/android/build/intermediates/packaged_res/release/layout/googlepay_button.xml +0 -31
  603. package/android/build/intermediates/packaged_res/release/layout/googlepay_button_no_shadow.xml +0 -31
  604. package/android/build/intermediates/packaged_res/release/layout/pay_with_googlepay_button.xml +0 -31
  605. package/android/build/intermediates/packaged_res/release/layout/pay_with_googlepay_button_no_shadow.xml +0 -31
  606. package/android/build/intermediates/packaged_res/release/layout-night-v8/googlepay_button.xml +0 -31
  607. package/android/build/intermediates/packaged_res/release/layout-night-v8/pay_with_googlepay_button.xml +0 -31
  608. package/android/build/intermediates/packaged_res/release/values/values.xml +0 -12
  609. package/android/build/intermediates/packaged_res/release/values-night-v8/values-night-v8.xml +0 -12
  610. package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
  611. package/android/build/intermediates/runtime_library_classes_jar/release/classes.jar +0 -0
  612. package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +0 -6278
  613. package/android/build/intermediates/symbol_list_with_package_name/release/package-aware-r.txt +0 -6278
  614. package/android/build/kotlin/compileDebugKotlin/build-history.bin +0 -0
  615. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab +0 -0
  616. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  617. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  618. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.len +0 -0
  619. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  620. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab_i +0 -0
  621. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  622. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  623. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  624. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  625. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  626. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  627. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  628. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  629. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  630. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  631. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  632. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  633. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  634. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  635. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  636. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab +0 -0
  637. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  638. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  639. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  640. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  641. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  642. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
  643. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  644. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  645. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  646. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  647. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  648. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  649. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  650. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
  651. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab.keystream +0 -0
  652. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len +0 -0
  653. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab.len +0 -0
  654. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
  655. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab_i +0 -0
  656. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab_i.len +0 -0
  657. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab +0 -0
  658. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  659. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  660. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  661. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.values +0 -0
  662. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  663. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.values.s +0 -1
  664. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  665. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  666. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  667. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  668. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  669. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  670. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  671. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  672. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  673. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  674. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  675. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  676. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  677. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  678. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  679. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  680. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  681. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  682. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  683. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  684. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  685. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  686. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  687. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/counters.tab +0 -2
  688. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab +0 -0
  689. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  690. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  691. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.len +0 -0
  692. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  693. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab_i +0 -0
  694. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  695. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab +0 -0
  696. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  697. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  698. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.len +0 -0
  699. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  700. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab_i +0 -0
  701. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  702. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab +0 -0
  703. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.keystream +0 -0
  704. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  705. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.len +0 -0
  706. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values +0 -0
  707. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values.at +0 -0
  708. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values.s +0 -1
  709. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab_i +0 -0
  710. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab_i.len +0 -0
  711. package/android/build/kotlin/compileDebugKotlin/last-build.bin +0 -0
  712. package/android/build/kotlin/compileReleaseKotlin/build-history.bin +0 -0
  713. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab +0 -0
  714. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  715. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  716. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab.len +0 -0
  717. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  718. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab_i +0 -0
  719. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  720. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  721. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  722. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  723. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  724. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  725. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  726. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  727. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  728. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  729. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  730. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  731. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  732. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  733. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  734. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/constants.tab +0 -0
  735. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  736. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  737. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  738. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  739. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  740. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
  741. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  742. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  743. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  744. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  745. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  746. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  747. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  748. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
  749. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/package-parts.tab.keystream +0 -0
  750. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len +0 -0
  751. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/package-parts.tab.len +0 -0
  752. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
  753. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/package-parts.tab_i +0 -0
  754. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/package-parts.tab_i.len +0 -0
  755. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab +0 -0
  756. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  757. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  758. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  759. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.values +0 -0
  760. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  761. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.values.s +0 -1
  762. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  763. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  764. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  765. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  766. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  767. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  768. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  769. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  770. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  771. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  772. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  773. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  774. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  775. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  776. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  777. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  778. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  779. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  780. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  781. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  782. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  783. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  784. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  785. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/counters.tab +0 -2
  786. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab +0 -0
  787. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  788. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  789. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab.len +0 -0
  790. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  791. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab_i +0 -0
  792. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  793. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab +0 -0
  794. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  795. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  796. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab.len +0 -0
  797. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  798. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab_i +0 -0
  799. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  800. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab +0 -0
  801. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.keystream +0 -0
  802. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  803. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.len +0 -0
  804. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.values +0 -0
  805. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.values.at +0 -0
  806. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.values.s +0 -1
  807. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab_i +0 -0
  808. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab_i.len +0 -0
  809. package/android/build/kotlin/compileReleaseKotlin/last-build.bin +0 -0
  810. package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -25
  811. package/android/build/outputs/logs/manifest-merger-release-report.txt +0 -25
  812. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  813. package/android/build/tmp/compileDebugJavaWithJavac/source-classes-mapping.txt +0 -10
  814. package/android/build/tmp/compileReleaseJavaWithJavac/previous-compilation-data.bin +0 -0
  815. package/android/build/tmp/kotlin-classes/debug/META-INF/reactnativestripesdk_debug.kotlin_module +0 -0
  816. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/AuBECSDebitFormView$setListeners$1.class +0 -0
  817. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/AuBECSDebitFormView.class +0 -0
  818. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/AuBECSDebitFormViewManager.class +0 -0
  819. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardChangedEvent$Companion.class +0 -0
  820. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardChangedEvent.class +0 -0
  821. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView$setListeners$10.class +0 -0
  822. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView$setListeners$6.class +0 -0
  823. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView$setListeners$7.class +0 -0
  824. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView$setListeners$8.class +0 -0
  825. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView$setListeners$9.class +0 -0
  826. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView.class +0 -0
  827. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldViewManager.class +0 -0
  828. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFocusEvent$Companion.class +0 -0
  829. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFocusEvent.class +0 -0
  830. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFormCompleteEvent$Companion.class +0 -0
  831. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFormCompleteEvent.class +0 -0
  832. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFormView.class +0 -0
  833. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFormViewManager.class +0 -0
  834. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CollectBankAccountLauncherFragment$createBankAccountLauncher$1.class +0 -0
  835. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CollectBankAccountLauncherFragment.class +0 -0
  836. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ConfirmPaymentErrorType.class +0 -0
  837. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ConfirmSetupIntentErrorType.class +0 -0
  838. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CreateTokenErrorType.class +0 -0
  839. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/DefaultPushProvisioningProxy.class +0 -0
  840. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ErrorType.class +0 -0
  841. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ErrorsKt.class +0 -0
  842. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ExtensionsKt.class +0 -0
  843. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/FormCompleteEvent$Companion.class +0 -0
  844. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/FormCompleteEvent.class +0 -0
  845. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayButtonManager$Companion.class +0 -0
  846. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayButtonManager.class +0 -0
  847. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayButtonView.class +0 -0
  848. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayErrorType.class +0 -0
  849. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayFragment$onViewCreated$1.class +0 -0
  850. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayFragment$onViewCreated$2.class +0 -0
  851. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayFragment$onViewCreated$3.class +0 -0
  852. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayFragment$onViewCreated$4.class +0 -0
  853. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayFragment.class +0 -0
  854. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayPaymentMethodLauncherFragment.class +0 -0
  855. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/MappersKt$WhenMappings.class +0 -0
  856. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/MappersKt.class +0 -0
  857. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$WhenMappings.class +0 -0
  858. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$retrievePaymentIntent$1$WhenMappings.class +0 -0
  859. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$retrievePaymentIntent$1.class +0 -0
  860. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$retrieveSetupIntent$1$WhenMappings.class +0 -0
  861. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$retrieveSetupIntent$1.class +0 -0
  862. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment.class +0 -0
  863. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentMethodCreateParamsException.class +0 -0
  864. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentMethodCreateParamsFactory$WhenMappings.class +0 -0
  865. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentMethodCreateParamsFactory.class +0 -0
  866. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentSheetErrorType.class +0 -0
  867. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentSheetFragment.class +0 -0
  868. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentSheetFragmentKt.class +0 -0
  869. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PushProvisioningProxy$createActivityEventListener$listener$1.class +0 -0
  870. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PushProvisioningProxy.class +0 -0
  871. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/RetrievePaymentIntentErrorType.class +0 -0
  872. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/RetrieveSetupIntentErrorType.class +0 -0
  873. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeContainerManager.class +0 -0
  874. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeContainerView.class +0 -0
  875. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$Companion.class +0 -0
  876. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createPaymentMethod$1.class +0 -0
  877. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createTokenForCVCUpdate$1.class +0 -0
  878. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createTokenFromBankAccount$1.class +0 -0
  879. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createTokenFromCard$1.class +0 -0
  880. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1.class +0 -0
  881. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$retrievePaymentIntent$1.class +0 -0
  882. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$retrieveSetupIntent$1.class +0 -0
  883. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$verifyMicrodeposits$paymentCallback$1.class +0 -0
  884. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$verifyMicrodeposits$setupCallback$1.class +0 -0
  885. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule.class +0 -0
  886. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkPackage.class +0 -0
  887. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/pushprovisioning/AddToWalletButtonManager.class +0 -0
  888. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/pushprovisioning/AddToWalletButtonView$onAfterUpdateTransaction$1.class +0 -0
  889. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/pushprovisioning/AddToWalletButtonView.class +0 -0
  890. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/pushprovisioning/AddToWalletCompleteEvent$Companion.class +0 -0
  891. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/pushprovisioning/AddToWalletCompleteEvent.class +0 -0
  892. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/pushprovisioning/EphemeralKeyProvider$CREATOR.class +0 -0
  893. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/pushprovisioning/EphemeralKeyProvider.class +0 -0
  894. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/pushprovisioning/TapAndPayProxy.class +0 -0
  895. package/android/build/tmp/kotlin-classes/release/META-INF/reactnativestripesdk_release.kotlin_module +0 -0
  896. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/AuBECSDebitFormView$setListeners$1.class +0 -0
  897. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/AuBECSDebitFormView.class +0 -0
  898. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/AuBECSDebitFormViewManager.class +0 -0
  899. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardChangedEvent$Companion.class +0 -0
  900. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardChangedEvent.class +0 -0
  901. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldView$setListeners$10.class +0 -0
  902. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldView$setListeners$6.class +0 -0
  903. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldView$setListeners$7.class +0 -0
  904. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldView$setListeners$8.class +0 -0
  905. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldView$setListeners$9.class +0 -0
  906. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldView.class +0 -0
  907. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldViewManager.class +0 -0
  908. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFocusEvent$Companion.class +0 -0
  909. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFocusEvent.class +0 -0
  910. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFormCompleteEvent$Companion.class +0 -0
  911. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFormCompleteEvent.class +0 -0
  912. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFormView.class +0 -0
  913. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFormViewManager.class +0 -0
  914. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CollectBankAccountLauncherFragment$createBankAccountLauncher$1.class +0 -0
  915. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CollectBankAccountLauncherFragment.class +0 -0
  916. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ConfirmPaymentErrorType.class +0 -0
  917. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ConfirmSetupIntentErrorType.class +0 -0
  918. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CreateTokenErrorType.class +0 -0
  919. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/DefaultPushProvisioningProxy.class +0 -0
  920. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ErrorType.class +0 -0
  921. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ErrorsKt.class +0 -0
  922. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ExtensionsKt.class +0 -0
  923. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/FormCompleteEvent$Companion.class +0 -0
  924. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/FormCompleteEvent.class +0 -0
  925. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayButtonManager$Companion.class +0 -0
  926. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayButtonManager.class +0 -0
  927. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayButtonView.class +0 -0
  928. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayErrorType.class +0 -0
  929. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayFragment$onViewCreated$1.class +0 -0
  930. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayFragment$onViewCreated$2.class +0 -0
  931. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayFragment$onViewCreated$3.class +0 -0
  932. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayFragment$onViewCreated$4.class +0 -0
  933. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayFragment.class +0 -0
  934. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayPaymentMethodLauncherFragment.class +0 -0
  935. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/MappersKt$WhenMappings.class +0 -0
  936. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/MappersKt.class +0 -0
  937. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment$WhenMappings.class +0 -0
  938. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment$retrievePaymentIntent$1$WhenMappings.class +0 -0
  939. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment$retrievePaymentIntent$1.class +0 -0
  940. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment$retrieveSetupIntent$1$WhenMappings.class +0 -0
  941. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment$retrieveSetupIntent$1.class +0 -0
  942. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment.class +0 -0
  943. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentMethodCreateParamsException.class +0 -0
  944. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentMethodCreateParamsFactory$WhenMappings.class +0 -0
  945. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentMethodCreateParamsFactory.class +0 -0
  946. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentSheetErrorType.class +0 -0
  947. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentSheetFragment.class +0 -0
  948. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentSheetFragmentKt.class +0 -0
  949. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PushProvisioningProxy$createActivityEventListener$listener$1.class +0 -0
  950. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PushProvisioningProxy.class +0 -0
  951. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/RetrievePaymentIntentErrorType.class +0 -0
  952. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/RetrieveSetupIntentErrorType.class +0 -0
  953. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeContainerManager.class +0 -0
  954. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeContainerView.class +0 -0
  955. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$Companion.class +0 -0
  956. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$createPaymentMethod$1.class +0 -0
  957. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$createTokenForCVCUpdate$1.class +0 -0
  958. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$createTokenFromBankAccount$1.class +0 -0
  959. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$createTokenFromCard$1.class +0 -0
  960. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1.class +0 -0
  961. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$retrievePaymentIntent$1.class +0 -0
  962. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$retrieveSetupIntent$1.class +0 -0
  963. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$verifyMicrodeposits$paymentCallback$1.class +0 -0
  964. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$verifyMicrodeposits$setupCallback$1.class +0 -0
  965. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule.class +0 -0
  966. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkPackage.class +0 -0
  967. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/pushprovisioning/AddToWalletButtonManager.class +0 -0
  968. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/pushprovisioning/AddToWalletButtonView$onAfterUpdateTransaction$1.class +0 -0
  969. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/pushprovisioning/AddToWalletButtonView.class +0 -0
  970. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/pushprovisioning/AddToWalletCompleteEvent$Companion.class +0 -0
  971. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/pushprovisioning/AddToWalletCompleteEvent.class +0 -0
  972. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/pushprovisioning/EphemeralKeyProvider$CREATOR.class +0 -0
  973. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/pushprovisioning/EphemeralKeyProvider.class +0 -0
  974. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/pushprovisioning/TapAndPayProxy.class +0 -0
  975. package/ios/.DS_Store +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["CardField.tsx"],"names":["CardFieldNative","CardField","ref","onCardChange","onFocus","onBlur","cardStyle","placeholders","postalCodeEnabled","props","inputRef","onCardChangeHandler","event","card","nativeEvent","data","last4","expiryMonth","expiryYear","complete","brand","validExpiryDate","validNumber","validCVC","hasOwnProperty","postalCode","number","cvc","__DEV__","console","warn","onFocusHandler","focusedField","current","focus","UIManager","dispatchViewManagerCommand","blur","clear","inputRefValue","backgroundColor","borderColor","borderWidth","borderRadius","cursorColor","fontSize","placeholderColor","textColor","textErrorColor","fontFamily","expiration"],"mappings":"qWACA,qDAOA,yCASA,mC,ssCAOA,GAAMA,CAAAA,eAAe,CACnB,wCAAmD,WAAnD,CADF,CA2CO,GAAMC,CAAAA,SAAS,CAAG,sBACvB,cAUEC,GAVF,CAWK,IATDC,CAAAA,YASC,MATDA,YASC,CARDC,OAQC,MARDA,OAQC,CAPDC,MAOC,MAPDA,MAOC,CANDC,SAMC,MANDA,SAMC,CALDC,YAKC,MALDA,YAKC,CAJDC,iBAIC,MAJ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E,YAAY,CAAEC,mBAFhB,CAGE,aAAa,CAAEoB,cAHjB,CAIE,iBAAiB,CAAEvB,iBAAF,OAAEA,iBAAF,CAAuB,IAJ1C,CAKE,SAAS,CAAE,CACTgC,eAAe,CAAElC,SAAF,cAAEA,SAAS,CAAEkC,eADnB,CAETC,WAAW,CAAEnC,SAAF,cAAEA,SAAS,CAAEmC,WAFf,CAGTC,WAAW,CAAEpC,SAAF,cAAEA,SAAS,CAAEoC,WAHf,CAITC,YAAY,CAAErC,SAAF,cAAEA,SAAS,CAAEqC,YAJhB,CAKTC,WAAW,CAAEtC,SAAF,cAAEA,SAAS,CAAEsC,WALf,CAMTC,QAAQ,CAAEvC,SAAF,cAAEA,SAAS,CAAEuC,QANZ,CAOTC,gBAAgB,CAAExC,SAAF,cAAEA,SAAS,CAAEwC,gBAPpB,CAQTC,SAAS,CAAEzC,SAAF,cAAEA,SAAS,CAAEyC,SARb,CASTC,cAAc,CAAE1C,SAAF,cAAEA,SAAS,CAAE0C,cATlB,CAUTC,UAAU,CAAE3C,SAAF,cAAEA,SAAS,CAAE2C,UAVd,CALb,CAiBE,YAAY,CAAE,CACZvB,MAAM,CAAEnB,YAAF,cAAEA,YAAY,CAAEmB,MADV,CAEZwB,UAAU,CAAE3C,YAAF,cAAEA,YAAY,CAAE2C,UAFd,CAGZvB,GAAG,CAAEpB,YAAF,cAAEA,YAAY,CAAEoB,GAHP,CAIZF,UAAU,CAAElB,YAAF,cAAEA,YAAY,CAAEkB,UAJd,CAjBhB,EAuBMhB,KAvBN,gFADF,CA2BD,CAnIsB,CAAlB,C","sourcesContent":["import type { CardFieldInput } from '../types';\nimport React, {\n forwardRef,\n useCallback,\n useImperativeHandle,\n useLayoutEffect,\n useRef,\n} from 'react';\nimport {\n AccessibilityProps,\n NativeSyntheticEvent,\n requireNativeComponent,\n UIManager,\n StyleProp,\n findNodeHandle,\n ViewStyle,\n} from 'react-native';\nimport {\n currentlyFocusedInput,\n focusInput,\n registerInput,\n unregisterInput,\n} from '../helpers';\n\nconst CardFieldNative =\n requireNativeComponent<CardFieldInput.NativeProps>('CardField');\n\n/**\n * Card Field Component Props\n */\nexport interface Props extends AccessibilityProps {\n style?: StyleProp<ViewStyle>;\n postalCodeEnabled?: boolean;\n cardStyle?: CardFieldInput.Styles;\n placeholders?: CardFieldInput.Placeholders;\n autofocus?: boolean;\n onCardChange?(card: CardFieldInput.Details): void;\n onBlur?(): void;\n onFocus?(focusedField: CardFieldInput.FieldName | null): void;\n testID?: string;\n /**\n * WARNING: If set to `true` the full card number will be returned in the `onCardChange` handler.\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 dangerouslyGetFullCardDetails?: boolean;\n}\n\n/**\n * Card Field Component\n *\n * @example\n * ```ts\n * <CardField\n * postalCodeEnabled={false}\n * onCardChange={(cardDetails) => {\n * console.log('card details', cardDetails);\n * setCard(cardDetails);\n * }}\n * style={{height: 50}}\n * />\n * ```\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport const CardField = forwardRef<CardFieldInput.Methods, Props>(\n (\n {\n onCardChange,\n onFocus,\n onBlur,\n cardStyle,\n placeholders,\n postalCodeEnabled,\n ...props\n },\n ref\n ) => {\n const inputRef = useRef<any>(null);\n\n const onCardChangeHandler = useCallback(\n (event: NativeSyntheticEvent<CardFieldInput.Details>) => {\n const card = event.nativeEvent;\n\n const data: CardFieldInput.Details = {\n last4: card.last4,\n expiryMonth: card.expiryMonth,\n expiryYear: card.expiryYear,\n complete: card.complete,\n brand: card.brand,\n validExpiryDate: card.validExpiryDate,\n validNumber: card.validNumber,\n validCVC: card.validCVC,\n };\n\n if (card.hasOwnProperty('postalCode')) {\n data.postalCode = card.postalCode || '';\n }\n if (card.hasOwnProperty('number') || card.hasOwnProperty('cvc')) {\n data.number = card.number || '';\n data.cvc = card.cvc || '';\n if (__DEV__ && onCardChange && card.complete) {\n console.warn(\n `[stripe-react-native] ⚠️ WARNING: You've enabled \\`dangerouslyGetFullCardDetails\\`, meaning full card details are being returned. Only do this if you're certain that you fulfill the necessary PCI compliance requirements. Make sure that you're not mistakenly logging or storing full card details! See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance`\n );\n }\n }\n onCardChange?.(data);\n },\n [onCardChange]\n );\n\n const onFocusHandler = useCallback(\n (event) => {\n const { focusedField } = event.nativeEvent;\n if (focusedField) {\n focusInput(inputRef.current);\n onFocus?.(focusedField);\n } else {\n onBlur?.();\n }\n },\n [onFocus, onBlur]\n );\n\n const focus = () => {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(inputRef.current),\n 'focus' as any,\n []\n );\n };\n\n const blur = () => {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(inputRef.current),\n 'blur' as any,\n []\n );\n };\n\n const clear = () => {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(inputRef.current),\n 'clear' as any,\n []\n );\n };\n\n useImperativeHandle(ref, () => ({\n focus,\n blur,\n clear,\n }));\n\n useLayoutEffect(() => {\n const inputRefValue = inputRef.current;\n if (inputRefValue !== null) {\n registerInput(inputRefValue);\n return () => {\n unregisterInput(inputRefValue);\n if (currentlyFocusedInput() === inputRefValue) {\n inputRefValue.blur();\n }\n };\n }\n return () => {};\n }, [inputRef]);\n\n return (\n <CardFieldNative\n ref={inputRef}\n onCardChange={onCardChangeHandler}\n onFocusChange={onFocusHandler}\n postalCodeEnabled={postalCodeEnabled ?? true}\n cardStyle={{\n backgroundColor: cardStyle?.backgroundColor,\n borderColor: cardStyle?.borderColor,\n borderWidth: cardStyle?.borderWidth,\n borderRadius: cardStyle?.borderRadius,\n cursorColor: cardStyle?.cursorColor,\n fontSize: cardStyle?.fontSize,\n placeholderColor: cardStyle?.placeholderColor,\n textColor: cardStyle?.textColor,\n textErrorColor: cardStyle?.textErrorColor,\n fontFamily: cardStyle?.fontFamily,\n }}\n placeholders={{\n number: placeholders?.number,\n expiration: placeholders?.expiration,\n cvc: placeholders?.cvc,\n postalCode: placeholders?.postalCode,\n }}\n {...props}\n />\n );\n }\n);\n"]}
1
+ {"version":3,"sources":["CardField.tsx"],"names":["CardFieldNative","CardField","ref","onCardChange","onFocus","onBlur","cardStyle","placeholders","postalCodeEnabled","props","inputRef","onCardChangeHandler","event","card","nativeEvent","data","last4","expiryMonth","expiryYear","complete","brand","validExpiryDate","validNumber","validCVC","hasOwnProperty","postalCode","number","cvc","__DEV__","console","warn","onFocusHandler","focusedField","current","focus","UIManager","dispatchViewManagerCommand","blur","clear","inputRefValue","backgroundColor","borderColor","borderWidth","borderRadius","cursorColor","fontSize","placeholderColor","textColor","textErrorColor","fontFamily","expiration"],"mappings":"qWACA,qDAOA,yCASA,mC,gsCAOA,GAAMA,CAAAA,eAAe,CACnB,wCAAmD,WAAnD,CADF,CA2CO,GAAMC,CAAAA,SAAS,CAAG,sBACvB,cAUEC,GAVF,CAWK,IATDC,CAAAA,YASC,MATDA,YASC,CARDC,OAQC,MARDA,OAQC,CAPDC,MAOC,MAPDA,MAOC,CANDC,SAMC,MANDA,SAMC,CALDC,YAKC,MALDA,YAKC,CAJDC,iBAIC,MAJDA,iBAIC,CAHEC,KAGF,uDACH,GAAMC,CAAAA,QAAQ,CAAG,kBAAY,IAAZ,CAAjB,CAEA,GAAMC,CAAAA,mBAAmB,CAAG,uBAC1B,SAACC,KAAD,CAAyD,CACvD,GAAMC,CAAAA,IAAI,CAAGD,KAAK,CAACE,WAAnB,CAEA,GAAMC,CAAAA,IAA4B,CAAG,CACnCC,KAAK,CAAEH,IAAI,CAACG,KADuB,CAEnCC,WAAW,CAAEJ,IAAI,CAACI,WAFiB,CAGnCC,UAAU,CAAEL,IAAI,CAACK,UAHkB,CAInCC,QAAQ,CAAEN,IAAI,CAACM,QAJoB,CAKnCC,KAAK,CAAEP,IAAI,CAACO,KALuB,CAMnCC,eAAe,CAAER,IAAI,CAACQ,eANa,CAOnCC,WAAW,CAA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cAAEA,SAAS,CAAEwC,gBAPpB,CAQTC,SAAS,CAAEzC,SAAF,cAAEA,SAAS,CAAEyC,SARb,CASTC,cAAc,CAAE1C,SAAF,cAAEA,SAAS,CAAE0C,cATlB,CAUTC,UAAU,CAAE3C,SAAF,cAAEA,SAAS,CAAE2C,UAVd,CALb,CAiBE,YAAY,CAAE,CACZvB,MAAM,CAAEnB,YAAF,cAAEA,YAAY,CAAEmB,MADV,CAEZwB,UAAU,CAAE3C,YAAF,cAAEA,YAAY,CAAE2C,UAFd,CAGZvB,GAAG,CAAEpB,YAAF,cAAEA,YAAY,CAAEoB,GAHP,CAIZF,UAAU,CAAElB,YAAF,cAAEA,YAAY,CAAEkB,UAJd,CAjBhB,EAuBMhB,KAvBN,gFADF,CA2BD,CAnIsB,CAAlB,C","sourcesContent":["import type { CardFieldInput } from '../types';\nimport React, {\n forwardRef,\n useCallback,\n useImperativeHandle,\n useLayoutEffect,\n useRef,\n} from 'react';\nimport {\n AccessibilityProps,\n NativeSyntheticEvent,\n requireNativeComponent,\n UIManager,\n StyleProp,\n findNodeHandle,\n ViewStyle,\n} from 'react-native';\nimport {\n currentlyFocusedInput,\n focusInput,\n registerInput,\n unregisterInput,\n} from '../helpers';\n\nconst CardFieldNative =\n requireNativeComponent<CardFieldInput.NativeProps>('CardField');\n\n/**\n * Card Field Component Props\n */\nexport interface Props extends AccessibilityProps {\n style?: StyleProp<ViewStyle>;\n postalCodeEnabled?: boolean;\n cardStyle?: CardFieldInput.Styles;\n placeholders?: CardFieldInput.Placeholders;\n autofocus?: boolean;\n onCardChange?(card: CardFieldInput.Details): void;\n onBlur?(): void;\n onFocus?(focusedField: CardFieldInput.FieldName | null): void;\n testID?: string;\n /**\n * WARNING: If set to `true` the full card number will be returned in the `onCardChange` handler.\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 dangerouslyGetFullCardDetails?: boolean;\n}\n\n/**\n * Card Field Component\n *\n * @example\n * ```ts\n * <CardField\n * postalCodeEnabled={false}\n * onCardChange={(cardDetails) => {\n * console.log('card details', cardDetails);\n * setCard(cardDetails);\n * }}\n * style={{height: 50}}\n * />\n * ```\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport const CardField = forwardRef<CardFieldInput.Methods, Props>(\n (\n {\n onCardChange,\n onFocus,\n onBlur,\n cardStyle,\n placeholders,\n postalCodeEnabled,\n ...props\n },\n ref\n ) => {\n const inputRef = useRef<any>(null);\n\n const onCardChangeHandler = useCallback(\n (event: NativeSyntheticEvent<CardFieldInput.Details>) => {\n const card = event.nativeEvent;\n\n const data: CardFieldInput.Details = {\n last4: card.last4,\n expiryMonth: card.expiryMonth,\n expiryYear: card.expiryYear,\n complete: card.complete,\n brand: card.brand,\n validExpiryDate: card.validExpiryDate,\n validNumber: card.validNumber,\n validCVC: card.validCVC,\n };\n\n if (card.hasOwnProperty('postalCode')) {\n data.postalCode = card.postalCode || '';\n }\n if (card.hasOwnProperty('number') || card.hasOwnProperty('cvc')) {\n data.number = card.number || '';\n data.cvc = card.cvc || '';\n if (__DEV__ && onCardChange && card.complete) {\n console.warn(\n `[stripe-react-native] ⚠️ WARNING: You've enabled \\`dangerouslyGetFullCardDetails\\`, meaning full card details are being returned. Only do this if you're certain that you fulfill the necessary PCI compliance requirements. Make sure that you're not mistakenly logging or storing full card details! See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance`\n );\n }\n }\n onCardChange?.(data);\n },\n [onCardChange]\n );\n\n const onFocusHandler = useCallback(\n (event) => {\n const { focusedField } = event.nativeEvent;\n if (focusedField) {\n focusInput(inputRef.current);\n onFocus?.(focusedField);\n } else {\n onBlur?.();\n }\n },\n [onFocus, onBlur]\n );\n\n const focus = () => {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(inputRef.current),\n 'focus' as any,\n []\n );\n };\n\n const blur = () => {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(inputRef.current),\n 'blur' as any,\n []\n );\n };\n\n const clear = () => {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(inputRef.current),\n 'clear' as any,\n []\n );\n };\n\n useImperativeHandle(ref, () => ({\n focus,\n blur,\n clear,\n }));\n\n useLayoutEffect(() => {\n const inputRefValue = inputRef.current;\n if (inputRefValue !== null) {\n registerInput(inputRefValue);\n return () => {\n unregisterInput(inputRefValue);\n if (currentlyFocusedInput() === inputRefValue) {\n inputRefValue.blur();\n }\n };\n }\n return () => {};\n }, [inputRef]);\n\n return (\n <CardFieldNative\n ref={inputRef}\n onCardChange={onCardChangeHandler}\n onFocusChange={onFocusHandler}\n postalCodeEnabled={postalCodeEnabled ?? true}\n cardStyle={{\n backgroundColor: cardStyle?.backgroundColor,\n borderColor: cardStyle?.borderColor,\n borderWidth: cardStyle?.borderWidth,\n borderRadius: cardStyle?.borderRadius,\n cursorColor: cardStyle?.cursorColor,\n fontSize: cardStyle?.fontSize,\n placeholderColor: cardStyle?.placeholderColor,\n textColor: cardStyle?.textColor,\n textErrorColor: cardStyle?.textErrorColor,\n fontFamily: cardStyle?.fontFamily,\n }}\n placeholders={{\n number: placeholders?.number,\n expiration: placeholders?.expiration,\n cvc: placeholders?.cvc,\n postalCode: placeholders?.postalCode,\n }}\n {...props}\n />\n );\n }\n);\n"]}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.CardForm=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _helpers=require("../helpers");var _excluded=["onFormComplete","cardStyle","placeholders"];var _this=this,_jsxFileName="/Users/charliecruzan/stripe/stripe-react-native/src/components/CardForm.tsx";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;}var CardFormNative=(0,_reactNative.requireNativeComponent)('CardForm');var CardForm=(0,_react.forwardRef)(function(_ref,ref){var onFormComplete=_ref.onFormComplete,cardStyle=_ref.cardStyle,placeholders=_ref.placeholders,props=(0,_objectWithoutProperties2.default)(_ref,_excluded);var inputRef=(0,_react.useRef)(null);var onFormCompleteHandler=(0,_react.useCallback)(function(event){var card=event.nativeEvent;var data={last4:card.last4,expiryMonth:card.expiryMonth,expiryYear:card.expiryYear,complete:card.complete,brand:card.brand,country:card.country,postalCode:card.postalCode};if(card.hasOwnProperty('number')||card.hasOwnProperty('cvc')){data.number=card.number||'';data.cvc=card.cvc||'';if(__DEV__&&onFormComplete&&card.complete){console.warn("[stripe-react-native] \u26A0\uFE0F WARNING: You've enabled `dangerouslyGetFullCardDetails`, meaning full card details are being returned. Only do this if you're certain that you fulfill the necessary PCI compliance requirements. Make sure that you're not mistakenly logging or storing full card details! See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance");}}onFormComplete==null?void 0:onFormComplete(data);},[onFormComplete]);var focus=function focus(){_reactNative.UIManager.dispatchViewManagerCommand((0,_reactNative.findNodeHandle)(inputRef.current),'focus',[]);};var blur=function blur(){_reactNative.UIManager.dispatchViewManagerCommand((0,_reactNative.findNodeHandle)(inputRef.current),'blur',[]);};(0,_react.useImperativeHandle)(ref,function(){return{focus:focus,blur:blur};});var onFocusHandler=(0,_react.useCallback)(function(event){var focusedField=event.nativeEvent.focusedField;if(focusedField){(0,_helpers.focusInput)(inputRef.current);}else{}},[]);(0,_react.useLayoutEffect)(function(){var inputRefValue=inputRef.current;if(inputRefValue!==null){(0,_helpers.registerInput)(inputRefValue);return function(){(0,_helpers.unregisterInput)(inputRefValue);if((0,_helpers.currentlyFocusedInput)()===inputRefValue){inputRefValue.blur();}};}return function(){};},[inputRef]);return _react.default.createElement(CardFormNative,(0,_extends2.default)({ref:inputRef,onFormComplete:onFormCompleteHandler,cardStyle:{backgroundColor:cardStyle==null?void 0:cardStyle.backgroundColor,borderColor:cardStyle==null?void 0:cardStyle.borderColor,borderWidth:cardStyle==null?void 0:cardStyle.borderWidth,borderRadius:cardStyle==null?void 0:cardStyle.borderRadius,cursorColor:cardStyle==null?void 0:cardStyle.cursorColor,fontSize:cardStyle==null?void 0:cardStyle.fontSize,placeholderColor:cardStyle==null?void 0:cardStyle.placeholderColor,textColor:cardStyle==null?void 0:cardStyle.textColor,textErrorColor:cardStyle==null?void 0:cardStyle.textErrorColor,fontFamily:cardStyle==null?void 0:cardStyle.fontFamily},placeholders:{number:placeholders==null?void 0:placeholders.number,expiration:placeholders==null?void 0:placeholders.expiration,cvc:placeholders==null?void 0:placeholders.cvc,postalCode:placeholders==null?void 0:placeholders.postalCode},onFocusChange:onFocusHandler},props,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:164,columnNumber:7}}));});exports.CardForm=CardForm;
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.CardForm=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _helpers=require("../helpers");var _excluded=["onFormComplete","cardStyle","placeholders"];var _this=this,_jsxFileName="/Users/acomley/stripe/stripe-react-native/src/components/CardForm.tsx";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;}var CardFormNative=(0,_reactNative.requireNativeComponent)('CardForm');var CardForm=(0,_react.forwardRef)(function(_ref,ref){var onFormComplete=_ref.onFormComplete,cardStyle=_ref.cardStyle,placeholders=_ref.placeholders,props=(0,_objectWithoutProperties2.default)(_ref,_excluded);var inputRef=(0,_react.useRef)(null);var onFormCompleteHandler=(0,_react.useCallback)(function(event){var card=event.nativeEvent;var data={last4:card.last4,expiryMonth:card.expiryMonth,expiryYear:card.expiryYear,complete:card.complete,brand:card.brand,country:card.country,postalCode:card.postalCode};if(card.hasOwnProperty('number')||card.hasOwnProperty('cvc')){data.number=card.number||'';data.cvc=card.cvc||'';if(__DEV__&&onFormComplete&&card.complete){console.warn("[stripe-react-native] \u26A0\uFE0F WARNING: You've enabled `dangerouslyGetFullCardDetails`, meaning full card details are being returned. Only do this if you're certain that you fulfill the necessary PCI compliance requirements. Make sure that you're not mistakenly logging or storing full card details! See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance");}}onFormComplete==null?void 0:onFormComplete(data);},[onFormComplete]);var focus=function focus(){_reactNative.UIManager.dispatchViewManagerCommand((0,_reactNative.findNodeHandle)(inputRef.current),'focus',[]);};var blur=function blur(){_reactNative.UIManager.dispatchViewManagerCommand((0,_reactNative.findNodeHandle)(inputRef.current),'blur',[]);};(0,_react.useImperativeHandle)(ref,function(){return{focus:focus,blur:blur};});var onFocusHandler=(0,_react.useCallback)(function(event){var focusedField=event.nativeEvent.focusedField;if(focusedField){(0,_helpers.focusInput)(inputRef.current);}else{}},[]);(0,_react.useLayoutEffect)(function(){var inputRefValue=inputRef.current;if(inputRefValue!==null){(0,_helpers.registerInput)(inputRefValue);return function(){(0,_helpers.unregisterInput)(inputRefValue);if((0,_helpers.currentlyFocusedInput)()===inputRefValue){inputRefValue.blur();}};}return function(){};},[inputRef]);return _react.default.createElement(CardFormNative,(0,_extends2.default)({ref:inputRef,onFormComplete:onFormCompleteHandler,cardStyle:{backgroundColor:cardStyle==null?void 0:cardStyle.backgroundColor,borderColor:cardStyle==null?void 0:cardStyle.borderColor,borderWidth:cardStyle==null?void 0:cardStyle.borderWidth,borderRadius:cardStyle==null?void 0:cardStyle.borderRadius,cursorColor:cardStyle==null?void 0:cardStyle.cursorColor,fontSize:cardStyle==null?void 0:cardStyle.fontSize,placeholderColor:cardStyle==null?void 0:cardStyle.placeholderColor,textColor:cardStyle==null?void 0:cardStyle.textColor,textErrorColor:cardStyle==null?void 0:cardStyle.textErrorColor,fontFamily:cardStyle==null?void 0:cardStyle.fontFamily},placeholders:{number:placeholders==null?void 0:placeholders.number,expiration:placeholders==null?void 0:placeholders.expiration,cvc:placeholders==null?void 0:placeholders.cvc,postalCode:placeholders==null?void 0:placeholders.postalCode},onFocusChange:onFocusHandler},props,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:164,columnNumber:7}}));});exports.CardForm=CardForm;
2
2
  //# sourceMappingURL=CardForm.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["CardForm.tsx"],"names":["CardFormNative","CardForm","ref","onFormComplete","cardStyle","placeholders","props","inputRef","onFormCompleteHandler","event","card","nativeEvent","data","last4","expiryMonth","expiryYear","complete","brand","country","postalCode","hasOwnProperty","number","cvc","__DEV__","console","warn","focus","UIManager","dispatchViewManagerCommand","current","blur","onFocusHandler","focusedField","inputRefValue","backgroundColor","borderColor","borderWidth","borderRadius","cursorColor","fontSize","placeholderColor","textColor","textErrorColor","fontFamily","expiration"],"mappings":"oWACA,qDAOA,yCASA,mC,gqCAOA,GAAMA,CAAAA,cAAc,CAClB,wCAAiD,UAAjD,CADF,CAiDO,GAAMC,CAAAA,QAAQ,CAAG,sBACtB,cAWEC,GAXF,CAYK,IAVDC,CAAAA,cAUC,MAVDA,cAUC,CATDC,SASC,MATDA,SASC,CAJDC,YAIC,MAJDA,YAIC,CAHEC,KAGF,uDACH,GAAMC,CAAAA,QAAQ,CAAG,kBAAY,IAAZ,CAAjB,CAEA,GAAMC,CAAAA,qBAAqB,CAAG,uBAC5B,SAACC,KAAD,CAAuD,CACrD,GAAMC,CAAAA,IAAI,CAAGD,KAAK,CAACE,WAAnB,CAEA,GAAMC,CAAAA,IAA0B,CAAG,CACjCC,KAAK,CAAEH,IAAI,CAACG,KADqB,CAEjCC,WAAW,CAAEJ,IAAI,CAACI,WAFe,CAGjCC,UAAU,CAAEL,IAAI,CAACK,UAHgB,CAIjCC,QAAQ,CAAEN,IAAI,CAACM,QAJkB,CAKjCC,KAAK,CAAEP,IAAI,CAACO,KALqB,CAMjCC,OAAO,CAAER,IAAI,CAACQ,OANmB,CAOjCC,UAAU,CAAET,IAAI,CAACS,UAPgB,CAAnC,CAUA,GAAIT,IAAI,CAACU,cAAL,CAAoB,QAApB,GAAiCV,IAAI,CAACU,c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A,aAAhC,CAA+C,CAC7CA,aAAa,CAACH,IAAd,GACD,CACF,CALD,CAMD,CACD,MAAO,WAAM,CAAE,CAAf,CACD,CAZD,CAYG,CAACvB,QAAD,CAZH,EAcA,MACE,8BAAC,cAAD,wBACE,GAAG,CAAEA,QADP,CAEE,cAAc,CAAEC,qBAFlB,CAGE,SAAS,CAAE,CACT0B,eAAe,CAAE9B,SAAF,cAAEA,SAAS,CAAE8B,eADnB,CAETC,WAAW,CAAE/B,SAAF,cAAEA,SAAS,CAAE+B,WAFf,CAGTC,WAAW,CAAEhC,SAAF,cAAEA,SAAS,CAAEgC,WAHf,CAITC,YAAY,CAAEjC,SAAF,cAAEA,SAAS,CAAEiC,YAJhB,CAKTC,WAAW,CAAElC,SAAF,cAAEA,SAAS,CAAEkC,WALf,CAMTC,QAAQ,CAAEnC,SAAF,cAAEA,SAAS,CAAEmC,QANZ,CAOTC,gBAAgB,CAAEpC,SAAF,cAAEA,SAAS,CAAEoC,gBAPpB,CAQTC,SAAS,CAAErC,SAAF,cAAEA,SAAS,CAAEqC,SARb,CASTC,cAAc,CAAEtC,SAAF,cAAEA,SAAS,CAAEsC,cATlB,CAUTC,UAAU,CAAEvC,SAAF,cAAEA,SAAS,CAAEuC,UAVd,CAHb,CAkBE,YAAY,CAAE,CACZtB,MAAM,CAAEhB,YAAF,cAAEA,YAAY,CAAEgB,MADV,CAEZuB,UAAU,CAAEvC,YAAF,cAAEA,YAAY,CAAEuC,UAFd,CAGZtB,GAAG,CAAEjB,YAAF,cAAEA,YAAY,CAAEiB,GAHP,CAIZH,UAAU,CAAEd,YAAF,cAAEA,YAAY,CAAEc,UAJd,CAlBhB,CAwBE,aAAa,CAAEY,cAxBjB,EA0BMzB,KA1BN,gFADF,CA8BD,CAvHqB,CAAjB,C","sourcesContent":["import type { CardFormView } from '../types';\nimport React, {\n forwardRef,\n useCallback,\n useImperativeHandle,\n useLayoutEffect,\n useRef,\n} from 'react';\nimport {\n AccessibilityProps,\n NativeSyntheticEvent,\n requireNativeComponent,\n UIManager,\n StyleProp,\n findNodeHandle,\n ViewStyle,\n} from 'react-native';\nimport {\n currentlyFocusedInput,\n focusInput,\n registerInput,\n unregisterInput,\n} from '../helpers';\n\nconst CardFormNative =\n requireNativeComponent<CardFormView.NativeProps>('CardForm');\n\n/**\n * Card Form Component Props\n */\nexport interface Props extends AccessibilityProps {\n style?: StyleProp<ViewStyle>;\n autofocus?: boolean;\n testID?: string;\n\n /** All styles except backgroundColor are Android only */\n cardStyle?: CardFormView.Styles;\n // isUserInteractionEnabled?: boolean;\n\n // TODO: will make it public when android-sdk allows for this\n // postalCodeEnabled?: boolean;\n\n /** Android only */\n placeholders?: CardFormView.Placeholders;\n // onBlur?(): void;\n // onFocus?(focusedField: CardFormView.FieldNames | null): void;\n onFormComplete?(card: CardFormView.Details): void;\n /**\n * WARNING: If set to `true` the full card number will be returned in the `onFormComplete` handler.\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 dangerouslyGetFullCardDetails?: boolean;\n}\n\n/**\n * Card Form Component\n *\n * @example\n * ```ts\n * <CardForm\n * onFormComplete={(cardDetails) => {\n * console.log('card details', cardDetails);\n * setCard(cardDetails);\n * }}\n * style={{height: 200}}\n * />\n * ```\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport const CardForm = forwardRef<CardFormView.Methods, Props>(\n (\n {\n onFormComplete,\n cardStyle,\n // isUserInteractionEnabled = true,\n // postalCodeEnabled = true,\n // onFocus,\n // onBlur,\n placeholders,\n ...props\n },\n ref\n ) => {\n const inputRef = useRef<any>(null);\n\n const onFormCompleteHandler = useCallback(\n (event: NativeSyntheticEvent<CardFormView.Details>) => {\n const card = event.nativeEvent;\n\n const data: CardFormView.Details = {\n last4: card.last4,\n expiryMonth: card.expiryMonth,\n expiryYear: card.expiryYear,\n complete: card.complete,\n brand: card.brand,\n country: card.country,\n postalCode: card.postalCode,\n };\n\n if (card.hasOwnProperty('number') || card.hasOwnProperty('cvc')) {\n data.number = card.number || '';\n data.cvc = card.cvc || '';\n if (__DEV__ && onFormComplete && card.complete) {\n console.warn(\n `[stripe-react-native] ⚠️ WARNING: You've enabled \\`dangerouslyGetFullCardDetails\\`, meaning full card details are being returned. Only do this if you're certain that you fulfill the necessary PCI compliance requirements. Make sure that you're not mistakenly logging or storing full card details! See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance`\n );\n }\n }\n onFormComplete?.(data);\n },\n [onFormComplete]\n );\n\n const focus = () => {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(inputRef.current),\n 'focus' as any,\n []\n );\n };\n\n const blur = () => {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(inputRef.current),\n 'blur' as any,\n []\n );\n };\n\n useImperativeHandle(ref, () => ({\n focus,\n blur,\n }));\n\n const onFocusHandler = useCallback((event) => {\n const { focusedField } = event.nativeEvent;\n if (focusedField) {\n focusInput(inputRef.current);\n // onFocus?.(focusedField);\n } else {\n // onBlur?.();\n }\n }, []);\n\n useLayoutEffect(() => {\n const inputRefValue = inputRef.current;\n if (inputRefValue !== null) {\n registerInput(inputRefValue);\n return () => {\n unregisterInput(inputRefValue);\n if (currentlyFocusedInput() === inputRefValue) {\n inputRefValue.blur();\n }\n };\n }\n return () => {};\n }, [inputRef]);\n\n return (\n <CardFormNative\n ref={inputRef}\n onFormComplete={onFormCompleteHandler}\n cardStyle={{\n backgroundColor: cardStyle?.backgroundColor,\n borderColor: cardStyle?.borderColor,\n borderWidth: cardStyle?.borderWidth,\n borderRadius: cardStyle?.borderRadius,\n cursorColor: cardStyle?.cursorColor,\n fontSize: cardStyle?.fontSize,\n placeholderColor: cardStyle?.placeholderColor,\n textColor: cardStyle?.textColor,\n textErrorColor: cardStyle?.textErrorColor,\n fontFamily: cardStyle?.fontFamily,\n // disabledBackgroundColor: cardStyle?.disabledBackgroundColor,\n // type: cardStyle?.type,\n }}\n // isUserInteractionEnabledValue={isUserInteractionEnabled}\n placeholders={{\n number: placeholders?.number,\n expiration: placeholders?.expiration,\n cvc: placeholders?.cvc,\n postalCode: placeholders?.postalCode,\n }}\n onFocusChange={onFocusHandler}\n // postalCodeEnabled={postalCodeEnabled}\n {...props}\n />\n );\n }\n);\n"]}
1
+ {"version":3,"sources":["CardForm.tsx"],"names":["CardFormNative","CardForm","ref","onFormComplete","cardStyle","placeholders","props","inputRef","onFormCompleteHandler","event","card","nativeEvent","data","last4","expiryMonth","expiryYear","complete","brand","country","postalCode","hasOwnProperty","number","cvc","__DEV__","console","warn","focus","UIManager","dispatchViewManagerCommand","current","blur","onFocusHandler","focusedField","inputRefValue","backgroundColor","borderColor","borderWidth","borderRadius","cursorColor","fontSize","placeholderColor","textColor","textErrorColor","fontFamily","expiration"],"mappings":"oWACA,qDAOA,yCASA,mC,0pCAOA,GAAMA,CAAAA,cAAc,CAClB,wCAAiD,UAAjD,CADF,CAiDO,GAAMC,CAAAA,QAAQ,CAAG,sBACtB,cAWEC,GAXF,CAYK,IAVDC,CAAAA,cAUC,MAVDA,cAUC,CATDC,SASC,MATDA,SASC,CAJDC,YAIC,MAJDA,YAIC,CAHEC,KAGF,uDACH,GAAMC,CAAAA,QAAQ,CAAG,kBAAY,IAAZ,CAAjB,CAEA,GAAMC,CAAAA,qBAAqB,CAAG,uBAC5B,SAACC,KAAD,CAAuD,CACrD,GAAMC,CAAAA,IAAI,CAAGD,KAAK,CAACE,WAAnB,CAEA,GAAMC,CAAAA,IAA0B,CAAG,CACjCC,KAAK,CAAEH,IAAI,CAACG,KADqB,CAEjCC,WAAW,CAAEJ,IAAI,CAACI,WAFe,CAGjCC,UAAU,CAAEL,IAAI,CAACK,UAHgB,CAIjCC,QAAQ,CAAEN,IAAI,CAACM,QAJkB,CAKjCC,KAAK,CAAEP,IAAI,CAACO,KALqB,CAMjCC,OAAO,CAAER,IAAI,CAACQ,OANmB,CAOjCC,UAAU,CA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port React, {\n forwardRef,\n useCallback,\n useImperativeHandle,\n useLayoutEffect,\n useRef,\n} from 'react';\nimport {\n AccessibilityProps,\n NativeSyntheticEvent,\n requireNativeComponent,\n UIManager,\n StyleProp,\n findNodeHandle,\n ViewStyle,\n} from 'react-native';\nimport {\n currentlyFocusedInput,\n focusInput,\n registerInput,\n unregisterInput,\n} from '../helpers';\n\nconst CardFormNative =\n requireNativeComponent<CardFormView.NativeProps>('CardForm');\n\n/**\n * Card Form Component Props\n */\nexport interface Props extends AccessibilityProps {\n style?: StyleProp<ViewStyle>;\n autofocus?: boolean;\n testID?: string;\n\n /** All styles except backgroundColor are Android only */\n cardStyle?: CardFormView.Styles;\n // isUserInteractionEnabled?: boolean;\n\n // TODO: will make it public when android-sdk allows for this\n // postalCodeEnabled?: boolean;\n\n /** Android only */\n placeholders?: CardFormView.Placeholders;\n // onBlur?(): void;\n // onFocus?(focusedField: CardFormView.FieldNames | null): void;\n onFormComplete?(card: CardFormView.Details): void;\n /**\n * WARNING: If set to `true` the full card number will be returned in the `onFormComplete` handler.\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 dangerouslyGetFullCardDetails?: boolean;\n}\n\n/**\n * Card Form Component\n *\n * @example\n * ```ts\n * <CardForm\n * onFormComplete={(cardDetails) => {\n * console.log('card details', cardDetails);\n * setCard(cardDetails);\n * }}\n * style={{height: 200}}\n * />\n * ```\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport const CardForm = forwardRef<CardFormView.Methods, Props>(\n (\n {\n onFormComplete,\n cardStyle,\n // isUserInteractionEnabled = true,\n // postalCodeEnabled = true,\n // onFocus,\n // onBlur,\n placeholders,\n ...props\n },\n ref\n ) => {\n const inputRef = useRef<any>(null);\n\n const onFormCompleteHandler = useCallback(\n (event: NativeSyntheticEvent<CardFormView.Details>) => {\n const card = event.nativeEvent;\n\n const data: CardFormView.Details = {\n last4: card.last4,\n expiryMonth: card.expiryMonth,\n expiryYear: card.expiryYear,\n complete: card.complete,\n brand: card.brand,\n country: card.country,\n postalCode: card.postalCode,\n };\n\n if (card.hasOwnProperty('number') || card.hasOwnProperty('cvc')) {\n data.number = card.number || '';\n data.cvc = card.cvc || '';\n if (__DEV__ && onFormComplete && card.complete) {\n console.warn(\n `[stripe-react-native] ⚠️ WARNING: You've enabled \\`dangerouslyGetFullCardDetails\\`, meaning full card details are being returned. Only do this if you're certain that you fulfill the necessary PCI compliance requirements. Make sure that you're not mistakenly logging or storing full card details! See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance`\n );\n }\n }\n onFormComplete?.(data);\n },\n [onFormComplete]\n );\n\n const focus = () => {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(inputRef.current),\n 'focus' as any,\n []\n );\n };\n\n const blur = () => {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(inputRef.current),\n 'blur' as any,\n []\n );\n };\n\n useImperativeHandle(ref, () => ({\n focus,\n blur,\n }));\n\n const onFocusHandler = useCallback((event) => {\n const { focusedField } = event.nativeEvent;\n if (focusedField) {\n focusInput(inputRef.current);\n // onFocus?.(focusedField);\n } else {\n // onBlur?.();\n }\n }, []);\n\n useLayoutEffect(() => {\n const inputRefValue = inputRef.current;\n if (inputRefValue !== null) {\n registerInput(inputRefValue);\n return () => {\n unregisterInput(inputRefValue);\n if (currentlyFocusedInput() === inputRefValue) {\n inputRefValue.blur();\n }\n };\n }\n return () => {};\n }, [inputRef]);\n\n return (\n <CardFormNative\n ref={inputRef}\n onFormComplete={onFormCompleteHandler}\n cardStyle={{\n backgroundColor: cardStyle?.backgroundColor,\n borderColor: cardStyle?.borderColor,\n borderWidth: cardStyle?.borderWidth,\n borderRadius: cardStyle?.borderRadius,\n cursorColor: cardStyle?.cursorColor,\n fontSize: cardStyle?.fontSize,\n placeholderColor: cardStyle?.placeholderColor,\n textColor: cardStyle?.textColor,\n textErrorColor: cardStyle?.textErrorColor,\n fontFamily: cardStyle?.fontFamily,\n // disabledBackgroundColor: cardStyle?.disabledBackgroundColor,\n // type: cardStyle?.type,\n }}\n // isUserInteractionEnabledValue={isUserInteractionEnabled}\n placeholders={{\n number: placeholders?.number,\n expiration: placeholders?.expiration,\n cvc: placeholders?.cvc,\n postalCode: placeholders?.postalCode,\n }}\n onFocusChange={onFocusHandler}\n // postalCodeEnabled={postalCodeEnabled}\n {...props}\n />\n );\n }\n);\n"]}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.GooglePayButton=GooglePayButton;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _jsxFileName="/Users/charliecruzan/stripe/stripe-react-native/src/components/GooglePayButton.tsx";var _excluded=["type","onPress","disabled"];var GooglePayButtonNative=(0,_reactNative.requireNativeComponent)('GooglePayButton');function GooglePayButton(_ref){var _ref$type=_ref.type,type=_ref$type===void 0?'pay':_ref$type,onPress=_ref.onPress,disabled=_ref.disabled,props=(0,_objectWithoutProperties2.default)(_ref,_excluded);return _react.default.createElement(_reactNative.TouchableOpacity,{disabled:disabled,activeOpacity:1,onPress:onPress,style:disabled?styles.disabled:{},__self:this,__source:{fileName:_jsxFileName,lineNumber:45,columnNumber:5}},_react.default.createElement(GooglePayButtonNative,(0,_extends2.default)({buttonType:type},props,{__self:this,__source:{fileName:_jsxFileName,lineNumber:51,columnNumber:7}})));}var styles=_reactNative.StyleSheet.create({disabled:{opacity:0.3}});
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.GooglePayButton=GooglePayButton;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _jsxFileName="/Users/acomley/stripe/stripe-react-native/src/components/GooglePayButton.tsx";var _excluded=["type","onPress","disabled"];var GooglePayButtonNative=(0,_reactNative.requireNativeComponent)('GooglePayButton');function GooglePayButton(_ref){var _ref$type=_ref.type,type=_ref$type===void 0?'pay':_ref$type,onPress=_ref.onPress,disabled=_ref.disabled,props=(0,_objectWithoutProperties2.default)(_ref,_excluded);return _react.default.createElement(_reactNative.TouchableOpacity,{disabled:disabled,activeOpacity:1,onPress:onPress,style:disabled?styles.disabled:{},__self:this,__source:{fileName:_jsxFileName,lineNumber:45,columnNumber:5}},_react.default.createElement(GooglePayButtonNative,(0,_extends2.default)({buttonType:type},props,{__self:this,__source:{fileName:_jsxFileName,lineNumber:51,columnNumber:7}})));}var styles=_reactNative.StyleSheet.create({disabled:{opacity:0.3}});
2
2
  //# sourceMappingURL=GooglePayButton.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["GooglePayButton.tsx"],"names":["GooglePayButtonNative","GooglePayButton","type","onPress","disabled","props","styles","StyleSheet","create","opacity"],"mappings":"oXAAA,oDACA,yC,kJASA,GAAMA,CAAAA,qBAAqB,CAAG,wCAA4B,iBAA5B,CAA9B,CA2BO,QAASC,CAAAA,eAAT,MAKG,oBAJRC,IAIQ,CAJRA,IAIQ,oBAJD,KAIC,WAHRC,OAGQ,MAHRA,OAGQ,CAFRC,QAEQ,MAFRA,QAEQ,CADLC,KACK,uDACR,MACE,8BAAC,6BAAD,EACE,QAAQ,CAAED,QADZ,CAEE,aAAa,CAAE,CAFjB,CAGE,OAAO,CAAED,OAHX,CAIE,KAAK,CAAEC,QAAQ,CAAGE,MAAM,CAACF,QAAV,CAAqB,EAJtC,4EAME,6BAAC,qBAAD,wBAAuB,UAAU,CAAEF,IAAnC,EAA6CG,KAA7C,8EANF,CADF,CAUD,CAED,GAAMC,CAAAA,MAAM,CAAGC,wBAAWC,MAAX,CAAkB,CAC/BJ,QAAQ,CAAE,CACRK,OAAO,CAAE,GADD,CADqB,CAAlB,CAAf","sourcesContent":["import React from 'react';\nimport {\n AccessibilityProps,\n StyleProp,\n ViewStyle,\n requireNativeComponent,\n TouchableOpacity,\n StyleSheet,\n} from 'react-native';\n\nconst GooglePayButtonNative = requireNativeComponent<any>('GooglePayButton');\n\n/**\n * Apple Pay Button Component Props\n */\nexport interface Props extends AccessibilityProps {\n style?: StyleProp<ViewStyle>;\n type?: 'pay' | 'pay_shadow' | 'standard' | 'standard_shadow';\n onPress(): void;\n disabled?: boolean;\n testID?: string;\n}\n\n/**\n * Google Pay Button Component\n *\n * @example\n * ```ts\n * <GooglePayButton\n * onPress={pay}\n * style={styles.payButton}\n * />\n * ```\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport function GooglePayButton({\n type = 'pay',\n onPress,\n disabled,\n ...props\n}: Props) {\n return (\n <TouchableOpacity\n disabled={disabled}\n activeOpacity={1}\n onPress={onPress}\n style={disabled ? styles.disabled : {}}\n >\n <GooglePayButtonNative buttonType={type} {...props} />\n </TouchableOpacity>\n );\n}\n\nconst styles = StyleSheet.create({\n disabled: {\n opacity: 0.3,\n },\n});\n"]}
1
+ {"version":3,"sources":["GooglePayButton.tsx"],"names":["GooglePayButtonNative","GooglePayButton","type","onPress","disabled","props","styles","StyleSheet","create","opacity"],"mappings":"oXAAA,oDACA,yC,4IASA,GAAMA,CAAAA,qBAAqB,CAAG,wCAA4B,iBAA5B,CAA9B,CA2BO,QAASC,CAAAA,eAAT,MAKG,oBAJRC,IAIQ,CAJRA,IAIQ,oBAJD,KAIC,WAHRC,OAGQ,MAHRA,OAGQ,CAFRC,QAEQ,MAFRA,QAEQ,CADLC,KACK,uDACR,MACE,8BAAC,6BAAD,EACE,QAAQ,CAAED,QADZ,CAEE,aAAa,CAAE,CAFjB,CAGE,OAAO,CAAED,OAHX,CAIE,KAAK,CAAEC,QAAQ,CAAGE,MAAM,CAACF,QAAV,CAAqB,EAJtC,4EAME,6BAAC,qBAAD,wBAAuB,UAAU,CAAEF,IAAnC,EAA6CG,KAA7C,8EANF,CADF,CAUD,CAED,GAAMC,CAAAA,MAAM,CAAGC,wBAAWC,MAAX,CAAkB,CAC/BJ,QAAQ,CAAE,CACRK,OAAO,CAAE,GADD,CADqB,CAAlB,CAAf","sourcesContent":["import React from 'react';\nimport {\n AccessibilityProps,\n StyleProp,\n ViewStyle,\n requireNativeComponent,\n TouchableOpacity,\n StyleSheet,\n} from 'react-native';\n\nconst GooglePayButtonNative = requireNativeComponent<any>('GooglePayButton');\n\n/**\n * Apple Pay Button Component Props\n */\nexport interface Props extends AccessibilityProps {\n style?: StyleProp<ViewStyle>;\n type?: 'pay' | 'pay_shadow' | 'standard' | 'standard_shadow';\n onPress(): void;\n disabled?: boolean;\n testID?: string;\n}\n\n/**\n * Google Pay Button Component\n *\n * @example\n * ```ts\n * <GooglePayButton\n * onPress={pay}\n * style={styles.payButton}\n * />\n * ```\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport function GooglePayButton({\n type = 'pay',\n onPress,\n disabled,\n ...props\n}: Props) {\n return (\n <TouchableOpacity\n disabled={disabled}\n activeOpacity={1}\n onPress={onPress}\n style={disabled ? styles.disabled : {}}\n >\n <GooglePayButtonNative buttonType={type} {...props} />\n </TouchableOpacity>\n );\n}\n\nconst styles = StyleSheet.create({\n disabled: {\n opacity: 0.3,\n },\n});\n"]}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.StripeContainer=StripeContainer;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _jsxFileName="/Users/charliecruzan/stripe/stripe-react-native/src/components/StripeContainer.tsx";var StripeContainerNative=(0,_reactNative.requireNativeComponent)('StripeContainer');function StripeContainer(_ref){var keyboardShouldPersistTaps=_ref.keyboardShouldPersistTaps,children=_ref.children;return _react.default.createElement(StripeContainerNative,{keyboardShouldPersistTaps:keyboardShouldPersistTaps,style:styles.container,__self:this,__source:{fileName:_jsxFileName,lineNumber:34,columnNumber:5}},_react.default.createElement(_reactNative.View,{style:styles.container,accessible:false,__self:this,__source:{fileName:_jsxFileName,lineNumber:38,columnNumber:7}},children));}var styles=_reactNative.StyleSheet.create({container:{flex:1}});
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.StripeContainer=StripeContainer;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _jsxFileName="/Users/acomley/stripe/stripe-react-native/src/components/StripeContainer.tsx";var StripeContainerNative=(0,_reactNative.requireNativeComponent)('StripeContainer');function StripeContainer(_ref){var keyboardShouldPersistTaps=_ref.keyboardShouldPersistTaps,children=_ref.children;return _react.default.createElement(StripeContainerNative,{keyboardShouldPersistTaps:keyboardShouldPersistTaps,style:styles.container,__self:this,__source:{fileName:_jsxFileName,lineNumber:34,columnNumber:5}},_react.default.createElement(_reactNative.View,{style:styles.container,accessible:false,__self:this,__source:{fileName:_jsxFileName,lineNumber:38,columnNumber:7}},children));}var styles=_reactNative.StyleSheet.create({container:{flex:1}});
2
2
  //# sourceMappingURL=StripeContainer.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["StripeContainer.tsx"],"names":["StripeContainerNative","StripeContainer","keyboardShouldPersistTaps","children","styles","container","StyleSheet","create","flex"],"mappings":"oLAAA,oDAEA,yC,sGAQA,GAAMA,CAAAA,qBAAqB,CAAG,wCAA4B,iBAA5B,CAA9B,CAkBO,QAASC,CAAAA,eAAT,MAGG,IAFRC,CAAAA,yBAEQ,MAFRA,yBAEQ,CADRC,QACQ,MADRA,QACQ,CACR,MACE,8BAAC,qBAAD,EACE,yBAAyB,CAAED,yBAD7B,CAEE,KAAK,CAAEE,MAAM,CAACC,SAFhB,4EAIE,6BAAC,iBAAD,EAAM,KAAK,CAAED,MAAM,CAACC,SAApB,CAA+B,UAAU,CAAE,KAA3C,4EACGF,QADH,CAJF,CADF,CAUD,CAED,GAAMC,CAAAA,MAAM,CAAGE,wBAAWC,MAAX,CAAkB,CAC/BF,SAAS,CAAE,CACTG,IAAI,CAAE,CADG,CADoB,CAAlB,CAAf","sourcesContent":["import React from 'react';\n\nimport {\n requireNativeComponent,\n StyleProp,\n StyleSheet,\n ViewStyle,\n View,\n} from 'react-native';\n\nconst StripeContainerNative = requireNativeComponent<any>('StripeContainer');\n\n/**\n * Stripe Container Component Props\n */\nexport interface Props {\n children: React.ReactElement | React.ReactElement[];\n keyboardShouldPersistTaps?: boolean;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}\n\n/**\n * StripeContainer Component\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport function StripeContainer({\n keyboardShouldPersistTaps,\n children,\n}: Props) {\n return (\n <StripeContainerNative\n keyboardShouldPersistTaps={keyboardShouldPersistTaps}\n style={styles.container}\n >\n <View style={styles.container} accessible={false}>\n {children}\n </View>\n </StripeContainerNative>\n );\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n },\n});\n"]}
1
+ {"version":3,"sources":["StripeContainer.tsx"],"names":["StripeContainerNative","StripeContainer","keyboardShouldPersistTaps","children","styles","container","StyleSheet","create","flex"],"mappings":"oLAAA,oDAEA,yC,gGAQA,GAAMA,CAAAA,qBAAqB,CAAG,wCAA4B,iBAA5B,CAA9B,CAkBO,QAASC,CAAAA,eAAT,MAGG,IAFRC,CAAAA,yBAEQ,MAFRA,yBAEQ,CADRC,QACQ,MADRA,QACQ,CACR,MACE,8BAAC,qBAAD,EACE,yBAAyB,CAAED,yBAD7B,CAEE,KAAK,CAAEE,MAAM,CAACC,SAFhB,4EAIE,6BAAC,iBAAD,EAAM,KAAK,CAAED,MAAM,CAACC,SAApB,CAA+B,UAAU,CAAE,KAA3C,4EACGF,QADH,CAJF,CADF,CAUD,CAED,GAAMC,CAAAA,MAAM,CAAGE,wBAAWC,MAAX,CAAkB,CAC/BF,SAAS,CAAE,CACTG,IAAI,CAAE,CADG,CADoB,CAAlB,CAAf","sourcesContent":["import React from 'react';\n\nimport {\n requireNativeComponent,\n StyleProp,\n StyleSheet,\n ViewStyle,\n View,\n} from 'react-native';\n\nconst StripeContainerNative = requireNativeComponent<any>('StripeContainer');\n\n/**\n * Stripe Container Component Props\n */\nexport interface Props {\n children: React.ReactElement | React.ReactElement[];\n keyboardShouldPersistTaps?: boolean;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}\n\n/**\n * StripeContainer Component\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport function StripeContainer({\n keyboardShouldPersistTaps,\n children,\n}: Props) {\n return (\n <StripeContainerNative\n keyboardShouldPersistTaps={keyboardShouldPersistTaps}\n style={styles.container}\n >\n <View style={styles.container} accessible={false}>\n {children}\n </View>\n </StripeContainerNative>\n );\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n },\n});\n"]}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.AddToWalletButton=AddToWalletButton;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _jsxFileName="/Users/charliecruzan/stripe/stripe-react-native/src/components/AddToWalletButton.tsx";var _excluded=["onComplete"];var AddToWalletButtonNative=(0,_reactNative.requireNativeComponent)('AddToWalletButton');function AddToWalletButton(_ref){var onComplete=_ref.onComplete,props=(0,_objectWithoutProperties2.default)(_ref,_excluded);return _react.default.createElement(AddToWalletButtonNative,(0,_extends2.default)({},props,{onCompleteAction:function onCompleteAction(value){return onComplete(value.nativeEvent);},__self:this,__source:{fileName:_jsxFileName,lineNumber:84,columnNumber:5}}));}
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.AddToWalletButton=AddToWalletButton;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _jsxFileName="/Users/acomley/stripe/stripe-react-native/src/components/AddToWalletButton.tsx";var _excluded=["onComplete"];var AddToWalletButtonNative=(0,_reactNative.requireNativeComponent)('AddToWalletButton');function AddToWalletButton(_ref){var onComplete=_ref.onComplete,props=(0,_objectWithoutProperties2.default)(_ref,_excluded);return _react.default.createElement(AddToWalletButtonNative,(0,_extends2.default)({},props,{onCompleteAction:function onCompleteAction(value){return onComplete(value.nativeEvent);},__self:this,__source:{fileName:_jsxFileName,lineNumber:84,columnNumber:5}}));}
2
2
  //# sourceMappingURL=AddToWalletButton.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["AddToWalletButton.tsx"],"names":["AddToWalletButtonNative","AddToWalletButton","onComplete","props","value","nativeEvent"],"mappings":"wXAAA,oDACA,yC,qIAeA,GAAMA,CAAAA,uBAAuB,CAC3B,wCAA4B,mBAA5B,CADF,CAiEO,QAASC,CAAAA,iBAAT,MAA4D,IAA/BC,CAAAA,UAA+B,MAA/BA,UAA+B,CAAhBC,KAAgB,uDACjE,MACE,8BAAC,uBAAD,0BACMA,KADN,EAEE,gBAAgB,CAAE,0BAChBC,KADgB,QAIbF,CAAAA,UAAU,CAACE,KAAK,CAACC,WAAP,CAJG,EAFpB,6EADF,CAUD","sourcesContent":["import React from 'react';\nimport {\n AccessibilityProps,\n StyleProp,\n ViewStyle,\n requireNativeComponent,\n NativeSyntheticEvent,\n ImageSourcePropType,\n} from 'react-native';\nimport type {\n Token,\n CardActionError,\n StripeError,\n GooglePayCardToken,\n} from '../types';\n\nconst AddToWalletButtonNative =\n requireNativeComponent<any>('AddToWalletButton');\n\n/**\n * Add to wallet button component props\n */\nexport interface Props extends AccessibilityProps {\n style?: StyleProp<ViewStyle>;\n /** Sets the Apple Wallet/Google Pay button style. If the button is placed over a dark background, set this to 'onDarkBackground', otherwise set to 'onLightBackground'. */\n iOSButtonStyle?: 'onDarkBackground' | 'onLightBackground';\n /** The image asset to use as the Google Pay button. Downloadable from https://developers.google.com/pay/issuers/apis/push-provisioning/android/downloads/flutter/googlepay_flutter_buttons.zip */\n androidAssetSource: ImageSourcePropType;\n testID?: string;\n /** Only set to `false` when shipping through TestFlight || App Store */\n testEnv?: boolean;\n /** Details of the Issued Card you'd like added to the device's wallet */\n cardDetails: {\n /** The `primary_account_identifier` value from the issued card. */\n primaryAccountIdentifier: string | null;\n /** The card holder name (used only on iOS) */\n name: string;\n /** A user-facing description of the card. Required on Android.*/\n description: string;\n /** Last 4 digits of the card, only used on iOS */\n lastFour?: string;\n /** Optional, only used on iOS */\n brand?: Token.CardBrand;\n };\n // Optional, only for Android and only for cards that are in the \"yellow path\" (as defined by Google- https://developers.google.com/pay/issuers/apis/push-provisioning/android/wallet-operations#resolving_yellow_path). Obtain this value via the `isCardInWallet` method.\n token?: GooglePayCardToken | null;\n /** Used by stripe to securely obtain card info of the card being provisioned. */\n ephemeralKey: object;\n /** Called when the flow completes. If the `error` field is `null`, then the card was successfully added to the user's native wallet. */\n onComplete(result: { error: StripeError<CardActionError> | null }): void;\n}\n\n/**\n * Add to wallet button\n *\n * @example\n * ```ts\n * <AddToWalletButton\n * testEnv={true}\n * style={styles.myButtonStyle}\n * iOSButtonStyle=\"onLightBackground\"\n * cardDetails={{\n * primaryAccountIdentifier: \"V-123\",\n * name: \"David Wallace\",\n * lastFour: \"4242\",\n * }}\n * ephemeralKey={myEphemeralKey} // This object is retrieved from your server. See https://stripe.com/docs/issuing/cards/digital-wallets?platform=react-native#update-your-backend\n * onComplete={(error) => {\n * Alert.alert(\n * error ? error.code : 'Success',\n * error\n * ? error.message\n * : 'Card was successfully added to the wallet.'\n * );\n * }}\n * />\n * ```\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport function AddToWalletButton({ onComplete, ...props }: Props) {\n return (\n <AddToWalletButtonNative\n {...props}\n onCompleteAction={(\n value: NativeSyntheticEvent<{\n error: StripeError<CardActionError> | null;\n }>\n ) => onComplete(value.nativeEvent)}\n />\n );\n}\n"]}
1
+ {"version":3,"sources":["AddToWalletButton.tsx"],"names":["AddToWalletButtonNative","AddToWalletButton","onComplete","props","value","nativeEvent"],"mappings":"wXAAA,oDACA,yC,+HAeA,GAAMA,CAAAA,uBAAuB,CAC3B,wCAA4B,mBAA5B,CADF,CAiEO,QAASC,CAAAA,iBAAT,MAA4D,IAA/BC,CAAAA,UAA+B,MAA/BA,UAA+B,CAAhBC,KAAgB,uDACjE,MACE,8BAAC,uBAAD,0BACMA,KADN,EAEE,gBAAgB,CAAE,0BAChBC,KADgB,QAIbF,CAAAA,UAAU,CAACE,KAAK,CAACC,WAAP,CAJG,EAFpB,6EADF,CAUD","sourcesContent":["import React from 'react';\nimport {\n AccessibilityProps,\n StyleProp,\n ViewStyle,\n requireNativeComponent,\n NativeSyntheticEvent,\n ImageSourcePropType,\n} from 'react-native';\nimport type {\n Token,\n CardActionError,\n StripeError,\n GooglePayCardToken,\n} from '../types';\n\nconst AddToWalletButtonNative =\n requireNativeComponent<any>('AddToWalletButton');\n\n/**\n * Add to wallet button component props\n */\nexport interface Props extends AccessibilityProps {\n style?: StyleProp<ViewStyle>;\n /** Sets the Apple Wallet/Google Pay button style. If the button is placed over a dark background, set this to 'onDarkBackground', otherwise set to 'onLightBackground'. */\n iOSButtonStyle?: 'onDarkBackground' | 'onLightBackground';\n /** The image asset to use as the Google Pay button. Downloadable from https://developers.google.com/pay/issuers/apis/push-provisioning/android/downloads/flutter/googlepay_flutter_buttons.zip */\n androidAssetSource: ImageSourcePropType;\n testID?: string;\n /** Only set to `false` when shipping through TestFlight || App Store */\n testEnv?: boolean;\n /** Details of the Issued Card you'd like added to the device's wallet */\n cardDetails: {\n /** The `primary_account_identifier` value from the issued card. */\n primaryAccountIdentifier: string | null;\n /** The card holder name (used only on iOS) */\n name: string;\n /** A user-facing description of the card. Required on Android.*/\n description: string;\n /** Last 4 digits of the card, only used on iOS */\n lastFour?: string;\n /** Optional, only used on iOS */\n brand?: Token.CardBrand;\n };\n // Optional, only for Android and only for cards that are in the \"yellow path\" (as defined by Google- https://developers.google.com/pay/issuers/apis/push-provisioning/android/wallet-operations#resolving_yellow_path). Obtain this value via the `isCardInWallet` method.\n token?: GooglePayCardToken | null;\n /** Used by stripe to securely obtain card info of the card being provisioned. */\n ephemeralKey: object;\n /** Called when the flow completes. If the `error` field is `null`, then the card was successfully added to the user's native wallet. */\n onComplete(result: { error: StripeError<CardActionError> | null }): void;\n}\n\n/**\n * Add to wallet button\n *\n * @example\n * ```ts\n * <AddToWalletButton\n * testEnv={true}\n * style={styles.myButtonStyle}\n * iOSButtonStyle=\"onLightBackground\"\n * cardDetails={{\n * primaryAccountIdentifier: \"V-123\",\n * name: \"David Wallace\",\n * lastFour: \"4242\",\n * }}\n * ephemeralKey={myEphemeralKey} // This object is retrieved from your server. See https://stripe.com/docs/issuing/cards/digital-wallets?platform=react-native#update-your-backend\n * onComplete={(error) => {\n * Alert.alert(\n * error ? error.code : 'Success',\n * error\n * ? error.message\n * : 'Card was successfully added to the wallet.'\n * );\n * }}\n * />\n * ```\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport function AddToWalletButton({ onComplete, ...props }: Props) {\n return (\n <AddToWalletButtonNative\n {...props}\n onCompleteAction={(\n value: NativeSyntheticEvent<{\n error: StripeError<CardActionError> | null;\n }>\n ) => onComplete(value.nativeEvent)}\n />\n );\n}\n"]}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.ApplePayButton=ApplePayButton;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _jsxFileName="/Users/charliecruzan/stripe/stripe-react-native/src/components/ApplePayButton.tsx";var _excluded=["onPress","buttonStyle","type","borderRadius"];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;}var ApplePayButtonNative=(0,_reactNative.requireNativeComponent)('ApplePayButton');function ApplePayButton(_ref){var onPress=_ref.onPress,_ref$buttonStyle=_ref.buttonStyle,buttonStyle=_ref$buttonStyle===void 0?'black':_ref$buttonStyle,_ref$type=_ref.type,type=_ref$type===void 0?'plain':_ref$type,_ref$borderRadius=_ref.borderRadius,borderRadius=_ref$borderRadius===void 0?4:_ref$borderRadius,props=(0,_objectWithoutProperties2.default)(_ref,_excluded);var buttonType=(0,_react.useMemo)(function(){return mapButtonType(type);},[type]);var style=(0,_react.useMemo)(function(){return mapButtonStyle(buttonStyle);},[buttonStyle]);return _react.default.createElement(ApplePayButtonNative,(0,_extends2.default)({type:buttonType,buttonStyle:style,borderRadius:borderRadius,onPressAction:onPress},props,{__self:this,__source:{fileName:_jsxFileName,lineNumber:53,columnNumber:5}}));}function mapButtonType(type){switch(type){case'plain':return 0;case'buy':return 1;case'setUp':return 2;case'inStore':return 3;case'donate':return 4;case'checkout':return 5;case'book':return 6;case'subscribe':return 7;case'reload':return 8;case'addMoney':return 9;case'topUp':return 10;case'order':return 11;case'rent':return 12;case'support':return 13;case'contribute':return 14;case'tip':return 15;default:return 0;}}function mapButtonStyle(type){switch(type){case'white':return 0;case'whiteOutline':return 1;case'black':return 2;case'automatic':return 3;default:return 2;}}
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.ApplePayButton=ApplePayButton;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _jsxFileName="/Users/acomley/stripe/stripe-react-native/src/components/ApplePayButton.tsx";var _excluded=["onPress","buttonStyle","type","borderRadius"];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;}var ApplePayButtonNative=(0,_reactNative.requireNativeComponent)('ApplePayButton');function ApplePayButton(_ref){var onPress=_ref.onPress,_ref$buttonStyle=_ref.buttonStyle,buttonStyle=_ref$buttonStyle===void 0?'black':_ref$buttonStyle,_ref$type=_ref.type,type=_ref$type===void 0?'plain':_ref$type,_ref$borderRadius=_ref.borderRadius,borderRadius=_ref$borderRadius===void 0?4:_ref$borderRadius,props=(0,_objectWithoutProperties2.default)(_ref,_excluded);var buttonType=(0,_react.useMemo)(function(){return mapButtonType(type);},[type]);var style=(0,_react.useMemo)(function(){return mapButtonStyle(buttonStyle);},[buttonStyle]);return _react.default.createElement(ApplePayButtonNative,(0,_extends2.default)({type:buttonType,buttonStyle:style,borderRadius:borderRadius,onPressAction:onPress},props,{__self:this,__source:{fileName:_jsxFileName,lineNumber:53,columnNumber:5}}));}function mapButtonType(type){switch(type){case'plain':return 0;case'buy':return 1;case'setUp':return 2;case'inStore':return 3;case'donate':return 4;case'checkout':return 5;case'book':return 6;case'subscribe':return 7;case'reload':return 8;case'addMoney':return 9;case'topUp':return 10;case'order':return 11;case'rent':return 12;case'support':return 13;case'contribute':return 14;case'tip':return 15;default:return 0;}}function mapButtonStyle(type){switch(type){case'white':return 0;case'whiteOutline':return 1;case'black':return 2;case'automatic':return 3;default:return 2;}}
2
2
  //# sourceMappingURL=ApplePayButton.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["ApplePayButton.tsx"],"names":["ApplePayButtonNative","ApplePayButton","onPress","buttonStyle","type","borderRadius","props","buttonType","mapButtonType","style","mapButtonStyle"],"mappings":"kXACA,qDACA,yC,6pCAOA,GAAMA,CAAAA,oBAAoB,CACxB,wCAA4D,gBAA5D,CADF,CAgCO,QAASC,CAAAA,cAAT,MAMG,IALRC,CAAAA,OAKQ,MALRA,OAKQ,uBAJRC,WAIQ,CAJRA,WAIQ,2BAJM,OAIN,iCAHRC,IAGQ,CAHRA,IAGQ,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,EAAP,CACF,IAAK,OAAL,CACE,MAAO,EAAP,CACF,IAAK,WAAL,CACE,MAAO,EAAP,CACF,QACE,MAAO,EAAP,CAVJ,CAYD","sourcesContent":["import type { ApplePayButtonComponent } from '../types';\nimport React, { useMemo } from 'react';\nimport {\n AccessibilityProps,\n requireNativeComponent,\n StyleProp,\n ViewStyle,\n} from 'react-native';\n\nconst ApplePayButtonNative =\n requireNativeComponent<ApplePayButtonComponent.NativeProps>('ApplePayButton');\n\n/**\n * Apple Pay Button Component Props\n */\nexport interface Props extends AccessibilityProps {\n style?: StyleProp<ViewStyle>;\n type?: ApplePayButtonComponent.Type;\n buttonStyle?: ApplePayButtonComponent.Style;\n borderRadius?: number;\n onPress(): void;\n testID?: string;\n}\n\n/**\n * Apple Pay Button Component\n *\n * @example\n * ```ts\n * <ApplePayButton\n * onPress={pay}\n * type=\"plain\"\n * buttonStyle=\"black\"\n * borderRadius={4}\n * style={styles.payButton}\n * />\n * ```\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport function ApplePayButton({\n onPress,\n buttonStyle = 'black',\n type = 'plain',\n borderRadius = 4,\n ...props\n}: Props) {\n const buttonType = useMemo(() => mapButtonType(type), [type]);\n const style = useMemo(() => mapButtonStyle(buttonStyle), [buttonStyle]);\n\n return (\n <ApplePayButtonNative\n type={buttonType}\n buttonStyle={style}\n borderRadius={borderRadius}\n onPressAction={onPress}\n {...props}\n />\n );\n}\n\nfunction mapButtonType(type: ApplePayButtonComponent.Type) {\n switch (type) {\n case 'plain':\n return 0;\n case 'buy':\n return 1;\n case 'setUp':\n return 2;\n case 'inStore':\n return 3;\n case 'donate':\n return 4;\n case 'checkout':\n return 5;\n case 'book':\n return 6;\n case 'subscribe':\n return 7;\n case 'reload':\n return 8;\n case 'addMoney':\n return 9;\n case 'topUp':\n return 10;\n case 'order':\n return 11;\n case 'rent':\n return 12;\n case 'support':\n return 13;\n case 'contribute':\n return 14;\n case 'tip':\n return 15;\n default:\n return 0;\n }\n}\n\nfunction mapButtonStyle(type: ApplePayButtonComponent.Style) {\n switch (type) {\n case 'white':\n return 0;\n case 'whiteOutline':\n return 1;\n case 'black':\n return 2;\n case 'automatic':\n return 3;\n default:\n return 2;\n }\n}\n"]}
1
+ {"version":3,"sources":["ApplePayButton.tsx"],"names":["ApplePayButtonNative","ApplePayButton","onPress","buttonStyle","type","borderRadius","props","buttonType","mapButtonType","style","mapButtonStyle"],"mappings":"kXACA,qDACA,yC,upCAOA,GAAMA,CAAAA,oBAAoB,CACxB,wCAA4D,gBAA5D,CADF,CAgCO,QAASC,CAAAA,cAAT,MAMG,IALRC,CAAAA,OAKQ,MALRA,OAKQ,uBAJRC,WAIQ,CAJRA,WAIQ,2BAJM,OAIN,iCAHRC,IAGQ,CAHRA,IAGQ,oBAHD,OAGC,kCAFRC,YAEQ,CAFRA,YAEQ,4BAFO,CAEP,mBADLC,KACK,uDACR,GAAMC,CAAAA,UAAU,CAAG,mBAAQ,iBAAMC,CAAAA,aAAa,CAACJ,IAAD,CAAnB,EAAR,CAAmC,CAACA,IAAD,CAAnC,CAAnB,CACA,GAAMK,CAAAA,KAAK,CAAG,mBAAQ,iBAAMC,CAAAA,cAAc,CAACP,WAAD,CAApB,EAAR,CAA2C,CAACA,WAAD,CAA3C,CAAd,CAEA,MACE,8BAAC,oBAAD,wBACE,IAAI,CAAEI,UADR,CAEE,WAAW,CAAEE,KAFf,CAGE,YAAY,CAAEJ,YAHhB,CAIE,aAAa,CAAEH,OAJjB,EAKMI,KALN,8EADF,CASD,CAED,QAASE,CAAAA,aAAT,CAAuBJ,IAAvB,CAA2D,CACzD,OAAQA,IAAR,EACE,IAAK,OAAL,CACE,MAAO,EAAP,CACF,IAAK,KAAL,CACE,MAAO,EAAP,CACF,IAAK,OAAL,CACE,MAAO,EAAP,CACF,IAAK,SAAL,CACE,MAAO,EAAP,CACF,IAAK,QAAL,CACE,MAAO,EAAP,CACF,IAAK,UAAL,CACE,MAAO,EAAP,CACF,IAAK,MAAL,CACE,MAAO,EAAP,CACF,IAAK,WAAL,CACE,MAAO,EAAP,CACF,IAAK,QAAL,CACE,MAAO,EAAP,CACF,IAAK,UAAL,CACE,MAAO,EAAP,CACF,IAAK,OAAL,CACE,MAAO,GAAP,CACF,IAAK,OAAL,CACE,MAAO,GAAP,CACF,IAAK,MAAL,CACE,MAAO,GAAP,CACF,IAAK,SAAL,CACE,MAAO,GAAP,CACF,IAAK,YAAL,CACE,MAAO,GAAP,CACF,IAAK,KAAL,CACE,MAAO,GAAP,CACF,QACE,MAAO,EAAP,CAlCJ,CAoCD,CAED,QAASM,CAAAA,cAAT,CAAwBN,IAAxB,CAA6D,CAC3D,OAAQA,IAAR,EACE,IAAK,OAAL,CACE,MAAO,EAAP,CACF,IAAK,cAAL,CACE,MAAO,EAAP,CACF,IAAK,OAAL,CACE,MAAO,EAAP,CACF,IAAK,WAAL,CACE,MAAO,EAAP,CACF,QACE,MAAO,EAAP,CAVJ,CAYD","sourcesContent":["import type { ApplePayButtonComponent } from '../types';\nimport React, { useMemo } from 'react';\nimport {\n AccessibilityProps,\n requireNativeComponent,\n StyleProp,\n ViewStyle,\n} from 'react-native';\n\nconst ApplePayButtonNative =\n requireNativeComponent<ApplePayButtonComponent.NativeProps>('ApplePayButton');\n\n/**\n * Apple Pay Button Component Props\n */\nexport interface Props extends AccessibilityProps {\n style?: StyleProp<ViewStyle>;\n type?: ApplePayButtonComponent.Type;\n buttonStyle?: ApplePayButtonComponent.Style;\n borderRadius?: number;\n onPress(): void;\n testID?: string;\n}\n\n/**\n * Apple Pay Button Component\n *\n * @example\n * ```ts\n * <ApplePayButton\n * onPress={pay}\n * type=\"plain\"\n * buttonStyle=\"black\"\n * borderRadius={4}\n * style={styles.payButton}\n * />\n * ```\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport function ApplePayButton({\n onPress,\n buttonStyle = 'black',\n type = 'plain',\n borderRadius = 4,\n ...props\n}: Props) {\n const buttonType = useMemo(() => mapButtonType(type), [type]);\n const style = useMemo(() => mapButtonStyle(buttonStyle), [buttonStyle]);\n\n return (\n <ApplePayButtonNative\n type={buttonType}\n buttonStyle={style}\n borderRadius={borderRadius}\n onPressAction={onPress}\n {...props}\n />\n );\n}\n\nfunction mapButtonType(type: ApplePayButtonComponent.Type) {\n switch (type) {\n case 'plain':\n return 0;\n case 'buy':\n return 1;\n case 'setUp':\n return 2;\n case 'inStore':\n return 3;\n case 'donate':\n return 4;\n case 'checkout':\n return 5;\n case 'book':\n return 6;\n case 'subscribe':\n return 7;\n case 'reload':\n return 8;\n case 'addMoney':\n return 9;\n case 'topUp':\n return 10;\n case 'order':\n return 11;\n case 'rent':\n return 12;\n case 'support':\n return 13;\n case 'contribute':\n return 14;\n case 'tip':\n return 15;\n default:\n return 0;\n }\n}\n\nfunction mapButtonStyle(type: ApplePayButtonComponent.Style) {\n switch (type) {\n case 'white':\n return 0;\n case 'whiteOutline':\n return 1;\n case 'black':\n return 2;\n case 'automatic':\n return 3;\n default:\n return 2;\n }\n}\n"]}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.AuBECSDebitForm=AuBECSDebitForm;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _jsxFileName="/Users/charliecruzan/stripe/stripe-react-native/src/components/AuBECSDebitForm.tsx";var _excluded=["onComplete","companyName","formStyle"];var AuBECSDebitFormNative=(0,_reactNative.requireNativeComponent)('AuBECSDebitForm');function AuBECSDebitForm(_ref){var onComplete=_ref.onComplete,companyName=_ref.companyName,formStyle=_ref.formStyle,props=(0,_objectWithoutProperties2.default)(_ref,_excluded);return _react.default.createElement(AuBECSDebitFormNative,(0,_extends2.default)({onCompleteAction:function onCompleteAction(value){return onComplete(value.nativeEvent);},companyName:companyName,formStyle:(0,_extends2.default)({},formStyle)},props,{__self:this,__source:{fileName:_jsxFileName,lineNumber:48,columnNumber:5}}));}
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.AuBECSDebitForm=AuBECSDebitForm;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _jsxFileName="/Users/acomley/stripe/stripe-react-native/src/components/AuBECSDebitForm.tsx";var _excluded=["onComplete","companyName","formStyle"];var AuBECSDebitFormNative=(0,_reactNative.requireNativeComponent)('AuBECSDebitForm');function AuBECSDebitForm(_ref){var onComplete=_ref.onComplete,companyName=_ref.companyName,formStyle=_ref.formStyle,props=(0,_objectWithoutProperties2.default)(_ref,_excluded);return _react.default.createElement(AuBECSDebitFormNative,(0,_extends2.default)({onCompleteAction:function onCompleteAction(value){return onComplete(value.nativeEvent);},companyName:companyName,formStyle:(0,_extends2.default)({},formStyle)},props,{__self:this,__source:{fileName:_jsxFileName,lineNumber:48,columnNumber:5}}));}
2
2
  //# sourceMappingURL=AuBECSDebitForm.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["AuBECSDebitForm.tsx"],"names":["AuBECSDebitFormNative","AuBECSDebitForm","onComplete","companyName","formStyle","props","value","nativeEvent"],"mappings":"oXAAA,oDACA,yC,6JAQA,GAAMA,CAAAA,qBAAqB,CACzB,wCACE,iBADF,CADF,CA+BO,QAASC,CAAAA,eAAT,MAKG,IAJRC,CAAAA,UAIQ,MAJRA,UAIQ,CAHRC,WAGQ,MAHRA,WAGQ,CAFRC,SAEQ,MAFRA,SAEQ,CADLC,KACK,uDACR,MACE,8BAAC,qBAAD,wBACE,gBAAgB,CAAE,0BAACC,KAAD,QAAWJ,CAAAA,UAAU,CAACI,KAAK,CAACC,WAAP,CAArB,EADpB,CAEE,WAAW,CAAEJ,WAFf,CAGE,SAAS,0BAAOC,SAAP,CAHX,EAIMC,KAJN,8EADF,CAQD","sourcesContent":["import React from 'react';\nimport {\n AccessibilityProps,\n requireNativeComponent,\n StyleProp,\n ViewStyle,\n} from 'react-native';\nimport type { AuBECSDebitFormComponent } from '../types';\n\nconst AuBECSDebitFormNative =\n requireNativeComponent<AuBECSDebitFormComponent.NativeProps>(\n 'AuBECSDebitForm'\n );\n\n/**\n * BECS Debit Form Component Props\n */\nexport interface Props extends AccessibilityProps {\n companyName: string;\n onComplete(value: AuBECSDebitFormComponent.FormDetails): void;\n formStyle?: AuBECSDebitFormComponent.Styles;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}\n\n/**\n * BECS Debit form component\n *\n * @example\n * ```ts\n * <AuBECSDebitForm\n * companyName=\"Example Company Inc.\"\n * onComplete={value => onComplete(value)}\n * style={{ width: '100%', height: 500 }}\n * />\n * ```\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport function AuBECSDebitForm({\n onComplete,\n companyName,\n formStyle,\n ...props\n}: Props) {\n return (\n <AuBECSDebitFormNative\n onCompleteAction={(value) => onComplete(value.nativeEvent)}\n companyName={companyName}\n formStyle={{ ...formStyle }}\n {...props}\n />\n );\n}\n"]}
1
+ {"version":3,"sources":["AuBECSDebitForm.tsx"],"names":["AuBECSDebitFormNative","AuBECSDebitForm","onComplete","companyName","formStyle","props","value","nativeEvent"],"mappings":"oXAAA,oDACA,yC,uJAQA,GAAMA,CAAAA,qBAAqB,CACzB,wCACE,iBADF,CADF,CA+BO,QAASC,CAAAA,eAAT,MAKG,IAJRC,CAAAA,UAIQ,MAJRA,UAIQ,CAHRC,WAGQ,MAHRA,WAGQ,CAFRC,SAEQ,MAFRA,SAEQ,CADLC,KACK,uDACR,MACE,8BAAC,qBAAD,wBACE,gBAAgB,CAAE,0BAACC,KAAD,QAAWJ,CAAAA,UAAU,CAACI,KAAK,CAACC,WAAP,CAArB,EADpB,CAEE,WAAW,CAAEJ,WAFf,CAGE,SAAS,0BAAOC,SAAP,CAHX,EAIMC,KAJN,8EADF,CAQD","sourcesContent":["import React from 'react';\nimport {\n AccessibilityProps,\n requireNativeComponent,\n StyleProp,\n ViewStyle,\n} from 'react-native';\nimport type { AuBECSDebitFormComponent } from '../types';\n\nconst AuBECSDebitFormNative =\n requireNativeComponent<AuBECSDebitFormComponent.NativeProps>(\n 'AuBECSDebitForm'\n );\n\n/**\n * BECS Debit Form Component Props\n */\nexport interface Props extends AccessibilityProps {\n companyName: string;\n onComplete(value: AuBECSDebitFormComponent.FormDetails): void;\n formStyle?: AuBECSDebitFormComponent.Styles;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}\n\n/**\n * BECS Debit form component\n *\n * @example\n * ```ts\n * <AuBECSDebitForm\n * companyName=\"Example Company Inc.\"\n * onComplete={value => onComplete(value)}\n * style={{ width: '100%', height: 500 }}\n * />\n * ```\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport function AuBECSDebitForm({\n onComplete,\n companyName,\n formStyle,\n ...props\n}: Props) {\n return (\n <AuBECSDebitFormNative\n onCompleteAction={(value) => onComplete(value.nativeEvent)}\n companyName={companyName}\n formStyle={{ ...formStyle }}\n {...props}\n />\n );\n}\n"]}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.CardField=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _helpers=require("../helpers");var _excluded=["onCardChange","onFocus","onBlur","cardStyle","placeholders","postalCodeEnabled"];var _this=this,_jsxFileName="/Users/charliecruzan/stripe/stripe-react-native/src/components/CardField.tsx";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;}var CardFieldNative=(0,_reactNative.requireNativeComponent)('CardField');var CardField=(0,_react.forwardRef)(function(_ref,ref){var onCardChange=_ref.onCardChange,onFocus=_ref.onFocus,onBlur=_ref.onBlur,cardStyle=_ref.cardStyle,placeholders=_ref.placeholders,postalCodeEnabled=_ref.postalCodeEnabled,props=(0,_objectWithoutProperties2.default)(_ref,_excluded);var inputRef=(0,_react.useRef)(null);var onCardChangeHandler=(0,_react.useCallback)(function(event){var card=event.nativeEvent;var data={last4:card.last4,expiryMonth:card.expiryMonth,expiryYear:card.expiryYear,complete:card.complete,brand:card.brand,validExpiryDate:card.validExpiryDate,validNumber:card.validNumber,validCVC:card.validCVC};if(card.hasOwnProperty('postalCode')){data.postalCode=card.postalCode||'';}if(card.hasOwnProperty('number')||card.hasOwnProperty('cvc')){data.number=card.number||'';data.cvc=card.cvc||'';if(__DEV__&&onCardChange&&card.complete){console.warn("[stripe-react-native] \u26A0\uFE0F WARNING: You've enabled `dangerouslyGetFullCardDetails`, meaning full card details are being returned. Only do this if you're certain that you fulfill the necessary PCI compliance requirements. Make sure that you're not mistakenly logging or storing full card details! See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance");}}onCardChange==null?void 0:onCardChange(data);},[onCardChange]);var onFocusHandler=(0,_react.useCallback)(function(event){var focusedField=event.nativeEvent.focusedField;if(focusedField){(0,_helpers.focusInput)(inputRef.current);onFocus==null?void 0:onFocus(focusedField);}else{onBlur==null?void 0:onBlur();}},[onFocus,onBlur]);var focus=function focus(){_reactNative.UIManager.dispatchViewManagerCommand((0,_reactNative.findNodeHandle)(inputRef.current),'focus',[]);};var blur=function blur(){_reactNative.UIManager.dispatchViewManagerCommand((0,_reactNative.findNodeHandle)(inputRef.current),'blur',[]);};var clear=function clear(){_reactNative.UIManager.dispatchViewManagerCommand((0,_reactNative.findNodeHandle)(inputRef.current),'clear',[]);};(0,_react.useImperativeHandle)(ref,function(){return{focus:focus,blur:blur,clear:clear};});(0,_react.useLayoutEffect)(function(){var inputRefValue=inputRef.current;if(inputRefValue!==null){(0,_helpers.registerInput)(inputRefValue);return function(){(0,_helpers.unregisterInput)(inputRefValue);if((0,_helpers.currentlyFocusedInput)()===inputRefValue){inputRefValue.blur();}};}return function(){};},[inputRef]);return _react.default.createElement(CardFieldNative,(0,_extends2.default)({ref:inputRef,onCardChange:onCardChangeHandler,onFocusChange:onFocusHandler,postalCodeEnabled:postalCodeEnabled!=null?postalCodeEnabled:true,cardStyle:{backgroundColor:cardStyle==null?void 0:cardStyle.backgroundColor,borderColor:cardStyle==null?void 0:cardStyle.borderColor,borderWidth:cardStyle==null?void 0:cardStyle.borderWidth,borderRadius:cardStyle==null?void 0:cardStyle.borderRadius,cursorColor:cardStyle==null?void 0:cardStyle.cursorColor,fontSize:cardStyle==null?void 0:cardStyle.fontSize,placeholderColor:cardStyle==null?void 0:cardStyle.placeholderColor,textColor:cardStyle==null?void 0:cardStyle.textColor,textErrorColor:cardStyle==null?void 0:cardStyle.textErrorColor,fontFamily:cardStyle==null?void 0:cardStyle.fontFamily},placeholders:{number:placeholders==null?void 0:placeholders.number,expiration:placeholders==null?void 0:placeholders.expiration,cvc:placeholders==null?void 0:placeholders.cvc,postalCode:placeholders==null?void 0:placeholders.postalCode}},props,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:173,columnNumber:7}}));});exports.CardField=CardField;
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.CardField=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _helpers=require("../helpers");var _excluded=["onCardChange","onFocus","onBlur","cardStyle","placeholders","postalCodeEnabled"];var _this=this,_jsxFileName="/Users/acomley/stripe/stripe-react-native/src/components/CardField.tsx";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;}var CardFieldNative=(0,_reactNative.requireNativeComponent)('CardField');var CardField=(0,_react.forwardRef)(function(_ref,ref){var onCardChange=_ref.onCardChange,onFocus=_ref.onFocus,onBlur=_ref.onBlur,cardStyle=_ref.cardStyle,placeholders=_ref.placeholders,postalCodeEnabled=_ref.postalCodeEnabled,props=(0,_objectWithoutProperties2.default)(_ref,_excluded);var inputRef=(0,_react.useRef)(null);var onCardChangeHandler=(0,_react.useCallback)(function(event){var card=event.nativeEvent;var data={last4:card.last4,expiryMonth:card.expiryMonth,expiryYear:card.expiryYear,complete:card.complete,brand:card.brand,validExpiryDate:card.validExpiryDate,validNumber:card.validNumber,validCVC:card.validCVC};if(card.hasOwnProperty('postalCode')){data.postalCode=card.postalCode||'';}if(card.hasOwnProperty('number')||card.hasOwnProperty('cvc')){data.number=card.number||'';data.cvc=card.cvc||'';if(__DEV__&&onCardChange&&card.complete){console.warn("[stripe-react-native] \u26A0\uFE0F WARNING: You've enabled `dangerouslyGetFullCardDetails`, meaning full card details are being returned. Only do this if you're certain that you fulfill the necessary PCI compliance requirements. Make sure that you're not mistakenly logging or storing full card details! See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance");}}onCardChange==null?void 0:onCardChange(data);},[onCardChange]);var onFocusHandler=(0,_react.useCallback)(function(event){var focusedField=event.nativeEvent.focusedField;if(focusedField){(0,_helpers.focusInput)(inputRef.current);onFocus==null?void 0:onFocus(focusedField);}else{onBlur==null?void 0:onBlur();}},[onFocus,onBlur]);var focus=function focus(){_reactNative.UIManager.dispatchViewManagerCommand((0,_reactNative.findNodeHandle)(inputRef.current),'focus',[]);};var blur=function blur(){_reactNative.UIManager.dispatchViewManagerCommand((0,_reactNative.findNodeHandle)(inputRef.current),'blur',[]);};var clear=function clear(){_reactNative.UIManager.dispatchViewManagerCommand((0,_reactNative.findNodeHandle)(inputRef.current),'clear',[]);};(0,_react.useImperativeHandle)(ref,function(){return{focus:focus,blur:blur,clear:clear};});(0,_react.useLayoutEffect)(function(){var inputRefValue=inputRef.current;if(inputRefValue!==null){(0,_helpers.registerInput)(inputRefValue);return function(){(0,_helpers.unregisterInput)(inputRefValue);if((0,_helpers.currentlyFocusedInput)()===inputRefValue){inputRefValue.blur();}};}return function(){};},[inputRef]);return _react.default.createElement(CardFieldNative,(0,_extends2.default)({ref:inputRef,onCardChange:onCardChangeHandler,onFocusChange:onFocusHandler,postalCodeEnabled:postalCodeEnabled!=null?postalCodeEnabled:true,cardStyle:{backgroundColor:cardStyle==null?void 0:cardStyle.backgroundColor,borderColor:cardStyle==null?void 0:cardStyle.borderColor,borderWidth:cardStyle==null?void 0:cardStyle.borderWidth,borderRadius:cardStyle==null?void 0:cardStyle.borderRadius,cursorColor:cardStyle==null?void 0:cardStyle.cursorColor,fontSize:cardStyle==null?void 0:cardStyle.fontSize,placeholderColor:cardStyle==null?void 0:cardStyle.placeholderColor,textColor:cardStyle==null?void 0:cardStyle.textColor,textErrorColor:cardStyle==null?void 0:cardStyle.textErrorColor,fontFamily:cardStyle==null?void 0:cardStyle.fontFamily},placeholders:{number:placeholders==null?void 0:placeholders.number,expiration:placeholders==null?void 0:placeholders.expiration,cvc:placeholders==null?void 0:placeholders.cvc,postalCode:placeholders==null?void 0:placeholders.postalCode}},props,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:173,columnNumber:7}}));});exports.CardField=CardField;
2
2
  //# sourceMappingURL=CardField.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["CardField.tsx"],"names":["CardFieldNative","CardField","ref","onCardChange","onFocus","onBlur","cardStyle","placeholders","postalCodeEnabled","props","inputRef","onCardChangeHandler","event","card","nativeEvent","data","last4","expiryMonth","expiryYear","complete","brand","validExpiryDate","validNumber","validCVC","hasOwnProperty","postalCode","number","cvc","__DEV__","console","warn","onFocusHandler","focusedField","current","focus","UIManager","dispatchViewManagerCommand","blur","clear","inputRefValue","backgroundColor","borderColor","borderWidth","borderRadius","cursorColor","fontSize","placeholderColor","textColor","textErrorColor","fontFamily","expiration"],"mappings":"qWACA,qDAOA,yCASA,mC,ssCAOA,GAAMA,CAAAA,eAAe,CACnB,wCAAmD,WAAnD,CADF,CA2CO,GAAMC,CAAAA,SAAS,CAAG,sBACvB,cAUEC,GAVF,CAWK,I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IAAd,GACD,CACF,CALD,CAMD,CACD,MAAO,WAAM,CAAE,CAAf,CACD,CAZD,CAYG,CAAC3B,QAAD,CAZH,EAcA,MACE,8BAAC,eAAD,wBACE,GAAG,CAAEA,QADP,CAEE,YAAY,CAAEC,mBAFhB,CAGE,aAAa,CAAEoB,cAHjB,CAIE,iBAAiB,CAAEvB,iBAAF,OAAEA,iBAAF,CAAuB,IAJ1C,CAKE,SAAS,CAAE,CACTgC,eAAe,CAAElC,SAAF,cAAEA,SAAS,CAAEkC,eADnB,CAETC,WAAW,CAAEnC,SAAF,cAAEA,SAAS,CAAEmC,WAFf,CAGTC,WAAW,CAAEpC,SAAF,cAAEA,SAAS,CAAEoC,WAHf,CAITC,YAAY,CAAErC,SAAF,cAAEA,SAAS,CAAEqC,YAJhB,CAKTC,WAAW,CAAEtC,SAAF,cAAEA,SAAS,CAAEsC,WALf,CAMTC,QAAQ,CAAEvC,SAAF,cAAEA,SAAS,CAAEuC,QANZ,CAOTC,gBAAgB,CAAExC,SAAF,cAAEA,SAAS,CAAEwC,gBAPpB,CAQTC,SAAS,CAAEzC,SAAF,cAAEA,SAAS,CAAEyC,SARb,CASTC,cAAc,CAAE1C,SAAF,cAAEA,SAAS,CAAE0C,cATlB,CAUTC,UAAU,CAAE3C,SAAF,cAAEA,SAAS,CAAE2C,UAVd,CALb,CAiBE,YAAY,CAAE,CACZvB,MAAM,CAAEnB,YAAF,cAAEA,YAAY,CAAEmB,MADV,CAEZwB,UAAU,CAAE3C,YAAF,cAAEA,YAAY,CAAE2C,UAFd,CAGZvB,GAAG,CAAEpB,YAAF,cAAEA,YAAY,CAAEoB,GAHP,CAIZF,UAAU,CAAElB,YAAF,cAAEA,YAAY,CAAEkB,UAJd,CAjBhB,EAuBMhB,KAvBN,gFADF,CA2BD,CAnIsB,CAAlB,C","sourcesContent":["import type { CardFieldInput } from '../types';\nimport React, {\n forwardRef,\n useCallback,\n useImperativeHandle,\n useLayoutEffect,\n useRef,\n} from 'react';\nimport {\n AccessibilityProps,\n NativeSyntheticEvent,\n requireNativeComponent,\n UIManager,\n StyleProp,\n findNodeHandle,\n ViewStyle,\n} from 'react-native';\nimport {\n currentlyFocusedInput,\n focusInput,\n registerInput,\n unregisterInput,\n} from '../helpers';\n\nconst CardFieldNative =\n requireNativeComponent<CardFieldInput.NativeProps>('CardField');\n\n/**\n * Card Field Component Props\n */\nexport interface Props extends AccessibilityProps {\n style?: StyleProp<ViewStyle>;\n postalCodeEnabled?: boolean;\n cardStyle?: CardFieldInput.Styles;\n placeholders?: CardFieldInput.Placeholders;\n autofocus?: boolean;\n onCardChange?(card: CardFieldInput.Details): void;\n onBlur?(): void;\n onFocus?(focusedField: CardFieldInput.FieldName | null): void;\n testID?: string;\n /**\n * WARNING: If set to `true` the full card number will be returned in the `onCardChange` handler.\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 dangerouslyGetFullCardDetails?: boolean;\n}\n\n/**\n * Card Field Component\n *\n * @example\n * ```ts\n * <CardField\n * postalCodeEnabled={false}\n * onCardChange={(cardDetails) => {\n * console.log('card details', cardDetails);\n * setCard(cardDetails);\n * }}\n * style={{height: 50}}\n * />\n * ```\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport const CardField = forwardRef<CardFieldInput.Methods, Props>(\n (\n {\n onCardChange,\n onFocus,\n onBlur,\n cardStyle,\n placeholders,\n postalCodeEnabled,\n ...props\n },\n ref\n ) => {\n const inputRef = useRef<any>(null);\n\n const onCardChangeHandler = useCallback(\n (event: NativeSyntheticEvent<CardFieldInput.Details>) => {\n const card = event.nativeEvent;\n\n const data: CardFieldInput.Details = {\n last4: card.last4,\n expiryMonth: card.expiryMonth,\n expiryYear: card.expiryYear,\n complete: card.complete,\n brand: card.brand,\n validExpiryDate: card.validExpiryDate,\n validNumber: card.validNumber,\n validCVC: card.validCVC,\n };\n\n if (card.hasOwnProperty('postalCode')) {\n data.postalCode = card.postalCode || '';\n }\n if (card.hasOwnProperty('number') || card.hasOwnProperty('cvc')) {\n data.number = card.number || '';\n data.cvc = card.cvc || '';\n if (__DEV__ && onCardChange && card.complete) {\n console.warn(\n `[stripe-react-native] ⚠️ WARNING: You've enabled \\`dangerouslyGetFullCardDetails\\`, meaning full card details are being returned. Only do this if you're certain that you fulfill the necessary PCI compliance requirements. Make sure that you're not mistakenly logging or storing full card details! See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance`\n );\n }\n }\n onCardChange?.(data);\n },\n [onCardChange]\n );\n\n const onFocusHandler = useCallback(\n (event) => {\n const { focusedField } = event.nativeEvent;\n if (focusedField) {\n focusInput(inputRef.current);\n onFocus?.(focusedField);\n } else {\n onBlur?.();\n }\n },\n [onFocus, onBlur]\n );\n\n const focus = () => {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(inputRef.current),\n 'focus' as any,\n []\n );\n };\n\n const blur = () => {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(inputRef.current),\n 'blur' as any,\n []\n );\n };\n\n const clear = () => {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(inputRef.current),\n 'clear' as any,\n []\n );\n };\n\n useImperativeHandle(ref, () => ({\n focus,\n blur,\n clear,\n }));\n\n useLayoutEffect(() => {\n const inputRefValue = inputRef.current;\n if (inputRefValue !== null) {\n registerInput(inputRefValue);\n return () => {\n unregisterInput(inputRefValue);\n if (currentlyFocusedInput() === inputRefValue) {\n inputRefValue.blur();\n }\n };\n }\n return () => {};\n }, [inputRef]);\n\n return (\n <CardFieldNative\n ref={inputRef}\n onCardChange={onCardChangeHandler}\n onFocusChange={onFocusHandler}\n postalCodeEnabled={postalCodeEnabled ?? true}\n cardStyle={{\n backgroundColor: cardStyle?.backgroundColor,\n borderColor: cardStyle?.borderColor,\n borderWidth: cardStyle?.borderWidth,\n borderRadius: cardStyle?.borderRadius,\n cursorColor: cardStyle?.cursorColor,\n fontSize: cardStyle?.fontSize,\n placeholderColor: cardStyle?.placeholderColor,\n textColor: cardStyle?.textColor,\n textErrorColor: cardStyle?.textErrorColor,\n fontFamily: cardStyle?.fontFamily,\n }}\n placeholders={{\n number: placeholders?.number,\n expiration: placeholders?.expiration,\n cvc: placeholders?.cvc,\n postalCode: placeholders?.postalCode,\n }}\n {...props}\n />\n );\n }\n);\n"]}
1
+ {"version":3,"sources":["CardField.tsx"],"names":["CardFieldNative","CardField","ref","onCardChange","onFocus","onBlur","cardStyle","placeholders","postalCodeEnabled","props","inputRef","onCardChangeHandler","event","card","nativeEvent","data","last4","expiryMonth","expiryYear","complete","brand","validExpiryDate","validNumber","validCVC","hasOwnProperty","postalCode","number","cvc","__DEV__","console","warn","onFocusHandler","focusedField","current","focus","UIManager","dispatchViewManagerCommand","blur","clear","inputRefValue","backgroundColor","borderColor","borderWidth","borderRadius","cursorColor","fontSize","placeholderColor","textColor","textErrorColor","fontFamily","expiration"],"mappings":"qWACA,qDAOA,yCASA,mC,gsCAOA,GAAMA,CAAAA,eAAe,CACnB,wCAAmD,WAAnD,CADF,CA2CO,GAAMC,CAAAA,SAAS,CAAG,sBACvB,cAUEC,GAVF,CAWK,IATDC,CAAAA,YASC,MATDA,YASC,CARDC,OAQC,MARDA,OAQC,CAPDC,MAOC,MAPDA,MAOC,CANDC,SAMC,MANDA,SAMC,CALDC,YAKC,MALDA,YAKC,CAJDC,iBAIC,MAJDA,iBAIC,CAHEC,KAGF,uDACH,GAAMC,CAAAA,QAAQ,CAAG,kBAAY,IAAZ,CAAjB,CAEA,GAAMC,CAAAA,mBAAmB,CAAG,uBAC1B,SAACC,KAAD,CAAyD,CACvD,GAAMC,CAAAA,IAAI,CAAGD,KAAK,CAACE,WAAnB,CAEA,GAAMC,CAAAA,IAA4B,CAAG,CACnCC,KAAK,CAAEH,IAAI,CAACG,KADuB,CAEnCC,WAAW,CAAEJ,IAAI,CAACI,WAFiB,CAGnCC,UAAU,CAAEL,IAAI,CAACK,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JhB,CAKTC,WAAW,CAAEtC,SAAF,cAAEA,SAAS,CAAEsC,WALf,CAMTC,QAAQ,CAAEvC,SAAF,cAAEA,SAAS,CAAEuC,QANZ,CAOTC,gBAAgB,CAAExC,SAAF,cAAEA,SAAS,CAAEwC,gBAPpB,CAQTC,SAAS,CAAEzC,SAAF,cAAEA,SAAS,CAAEyC,SARb,CASTC,cAAc,CAAE1C,SAAF,cAAEA,SAAS,CAAE0C,cATlB,CAUTC,UAAU,CAAE3C,SAAF,cAAEA,SAAS,CAAE2C,UAVd,CALb,CAiBE,YAAY,CAAE,CACZvB,MAAM,CAAEnB,YAAF,cAAEA,YAAY,CAAEmB,MADV,CAEZwB,UAAU,CAAE3C,YAAF,cAAEA,YAAY,CAAE2C,UAFd,CAGZvB,GAAG,CAAEpB,YAAF,cAAEA,YAAY,CAAEoB,GAHP,CAIZF,UAAU,CAAElB,YAAF,cAAEA,YAAY,CAAEkB,UAJd,CAjBhB,EAuBMhB,KAvBN,gFADF,CA2BD,CAnIsB,CAAlB,C","sourcesContent":["import type { CardFieldInput } from '../types';\nimport React, {\n forwardRef,\n useCallback,\n useImperativeHandle,\n useLayoutEffect,\n useRef,\n} from 'react';\nimport {\n AccessibilityProps,\n NativeSyntheticEvent,\n requireNativeComponent,\n UIManager,\n StyleProp,\n findNodeHandle,\n ViewStyle,\n} from 'react-native';\nimport {\n currentlyFocusedInput,\n focusInput,\n registerInput,\n unregisterInput,\n} from '../helpers';\n\nconst CardFieldNative =\n requireNativeComponent<CardFieldInput.NativeProps>('CardField');\n\n/**\n * Card Field Component Props\n */\nexport interface Props extends AccessibilityProps {\n style?: StyleProp<ViewStyle>;\n postalCodeEnabled?: boolean;\n cardStyle?: CardFieldInput.Styles;\n placeholders?: CardFieldInput.Placeholders;\n autofocus?: boolean;\n onCardChange?(card: CardFieldInput.Details): void;\n onBlur?(): void;\n onFocus?(focusedField: CardFieldInput.FieldName | null): void;\n testID?: string;\n /**\n * WARNING: If set to `true` the full card number will be returned in the `onCardChange` handler.\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 dangerouslyGetFullCardDetails?: boolean;\n}\n\n/**\n * Card Field Component\n *\n * @example\n * ```ts\n * <CardField\n * postalCodeEnabled={false}\n * onCardChange={(cardDetails) => {\n * console.log('card details', cardDetails);\n * setCard(cardDetails);\n * }}\n * style={{height: 50}}\n * />\n * ```\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport const CardField = forwardRef<CardFieldInput.Methods, Props>(\n (\n {\n onCardChange,\n onFocus,\n onBlur,\n cardStyle,\n placeholders,\n postalCodeEnabled,\n ...props\n },\n ref\n ) => {\n const inputRef = useRef<any>(null);\n\n const onCardChangeHandler = useCallback(\n (event: NativeSyntheticEvent<CardFieldInput.Details>) => {\n const card = event.nativeEvent;\n\n const data: CardFieldInput.Details = {\n last4: card.last4,\n expiryMonth: card.expiryMonth,\n expiryYear: card.expiryYear,\n complete: card.complete,\n brand: card.brand,\n validExpiryDate: card.validExpiryDate,\n validNumber: card.validNumber,\n validCVC: card.validCVC,\n };\n\n if (card.hasOwnProperty('postalCode')) {\n data.postalCode = card.postalCode || '';\n }\n if (card.hasOwnProperty('number') || card.hasOwnProperty('cvc')) {\n data.number = card.number || '';\n data.cvc = card.cvc || '';\n if (__DEV__ && onCardChange && card.complete) {\n console.warn(\n `[stripe-react-native] ⚠️ WARNING: You've enabled \\`dangerouslyGetFullCardDetails\\`, meaning full card details are being returned. Only do this if you're certain that you fulfill the necessary PCI compliance requirements. Make sure that you're not mistakenly logging or storing full card details! See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance`\n );\n }\n }\n onCardChange?.(data);\n },\n [onCardChange]\n );\n\n const onFocusHandler = useCallback(\n (event) => {\n const { focusedField } = event.nativeEvent;\n if (focusedField) {\n focusInput(inputRef.current);\n onFocus?.(focusedField);\n } else {\n onBlur?.();\n }\n },\n [onFocus, onBlur]\n );\n\n const focus = () => {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(inputRef.current),\n 'focus' as any,\n []\n );\n };\n\n const blur = () => {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(inputRef.current),\n 'blur' as any,\n []\n );\n };\n\n const clear = () => {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(inputRef.current),\n 'clear' as any,\n []\n );\n };\n\n useImperativeHandle(ref, () => ({\n focus,\n blur,\n clear,\n }));\n\n useLayoutEffect(() => {\n const inputRefValue = inputRef.current;\n if (inputRefValue !== null) {\n registerInput(inputRefValue);\n return () => {\n unregisterInput(inputRefValue);\n if (currentlyFocusedInput() === inputRefValue) {\n inputRefValue.blur();\n }\n };\n }\n return () => {};\n }, [inputRef]);\n\n return (\n <CardFieldNative\n ref={inputRef}\n onCardChange={onCardChangeHandler}\n onFocusChange={onFocusHandler}\n postalCodeEnabled={postalCodeEnabled ?? true}\n cardStyle={{\n backgroundColor: cardStyle?.backgroundColor,\n borderColor: cardStyle?.borderColor,\n borderWidth: cardStyle?.borderWidth,\n borderRadius: cardStyle?.borderRadius,\n cursorColor: cardStyle?.cursorColor,\n fontSize: cardStyle?.fontSize,\n placeholderColor: cardStyle?.placeholderColor,\n textColor: cardStyle?.textColor,\n textErrorColor: cardStyle?.textErrorColor,\n fontFamily: cardStyle?.fontFamily,\n }}\n placeholders={{\n number: placeholders?.number,\n expiration: placeholders?.expiration,\n cvc: placeholders?.cvc,\n postalCode: placeholders?.postalCode,\n }}\n {...props}\n />\n );\n }\n);\n"]}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.CardForm=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _helpers=require("../helpers");var _excluded=["onFormComplete","cardStyle","placeholders"];var _this=this,_jsxFileName="/Users/charliecruzan/stripe/stripe-react-native/src/components/CardForm.tsx";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;}var CardFormNative=(0,_reactNative.requireNativeComponent)('CardForm');var CardForm=(0,_react.forwardRef)(function(_ref,ref){var onFormComplete=_ref.onFormComplete,cardStyle=_ref.cardStyle,placeholders=_ref.placeholders,props=(0,_objectWithoutProperties2.default)(_ref,_excluded);var inputRef=(0,_react.useRef)(null);var onFormCompleteHandler=(0,_react.useCallback)(function(event){var card=event.nativeEvent;var data={last4:card.last4,expiryMonth:card.expiryMonth,expiryYear:card.expiryYear,complete:card.complete,brand:card.brand,country:card.country,postalCode:card.postalCode};if(card.hasOwnProperty('number')||card.hasOwnProperty('cvc')){data.number=card.number||'';data.cvc=card.cvc||'';if(__DEV__&&onFormComplete&&card.complete){console.warn("[stripe-react-native] \u26A0\uFE0F WARNING: You've enabled `dangerouslyGetFullCardDetails`, meaning full card details are being returned. Only do this if you're certain that you fulfill the necessary PCI compliance requirements. Make sure that you're not mistakenly logging or storing full card details! See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance");}}onFormComplete==null?void 0:onFormComplete(data);},[onFormComplete]);var focus=function focus(){_reactNative.UIManager.dispatchViewManagerCommand((0,_reactNative.findNodeHandle)(inputRef.current),'focus',[]);};var blur=function blur(){_reactNative.UIManager.dispatchViewManagerCommand((0,_reactNative.findNodeHandle)(inputRef.current),'blur',[]);};(0,_react.useImperativeHandle)(ref,function(){return{focus:focus,blur:blur};});var onFocusHandler=(0,_react.useCallback)(function(event){var focusedField=event.nativeEvent.focusedField;if(focusedField){(0,_helpers.focusInput)(inputRef.current);}else{}},[]);(0,_react.useLayoutEffect)(function(){var inputRefValue=inputRef.current;if(inputRefValue!==null){(0,_helpers.registerInput)(inputRefValue);return function(){(0,_helpers.unregisterInput)(inputRefValue);if((0,_helpers.currentlyFocusedInput)()===inputRefValue){inputRefValue.blur();}};}return function(){};},[inputRef]);return _react.default.createElement(CardFormNative,(0,_extends2.default)({ref:inputRef,onFormComplete:onFormCompleteHandler,cardStyle:{backgroundColor:cardStyle==null?void 0:cardStyle.backgroundColor,borderColor:cardStyle==null?void 0:cardStyle.borderColor,borderWidth:cardStyle==null?void 0:cardStyle.borderWidth,borderRadius:cardStyle==null?void 0:cardStyle.borderRadius,cursorColor:cardStyle==null?void 0:cardStyle.cursorColor,fontSize:cardStyle==null?void 0:cardStyle.fontSize,placeholderColor:cardStyle==null?void 0:cardStyle.placeholderColor,textColor:cardStyle==null?void 0:cardStyle.textColor,textErrorColor:cardStyle==null?void 0:cardStyle.textErrorColor,fontFamily:cardStyle==null?void 0:cardStyle.fontFamily},placeholders:{number:placeholders==null?void 0:placeholders.number,expiration:placeholders==null?void 0:placeholders.expiration,cvc:placeholders==null?void 0:placeholders.cvc,postalCode:placeholders==null?void 0:placeholders.postalCode},onFocusChange:onFocusHandler},props,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:164,columnNumber:7}}));});exports.CardForm=CardForm;
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.CardForm=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _helpers=require("../helpers");var _excluded=["onFormComplete","cardStyle","placeholders"];var _this=this,_jsxFileName="/Users/acomley/stripe/stripe-react-native/src/components/CardForm.tsx";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;}var CardFormNative=(0,_reactNative.requireNativeComponent)('CardForm');var CardForm=(0,_react.forwardRef)(function(_ref,ref){var onFormComplete=_ref.onFormComplete,cardStyle=_ref.cardStyle,placeholders=_ref.placeholders,props=(0,_objectWithoutProperties2.default)(_ref,_excluded);var inputRef=(0,_react.useRef)(null);var onFormCompleteHandler=(0,_react.useCallback)(function(event){var card=event.nativeEvent;var data={last4:card.last4,expiryMonth:card.expiryMonth,expiryYear:card.expiryYear,complete:card.complete,brand:card.brand,country:card.country,postalCode:card.postalCode};if(card.hasOwnProperty('number')||card.hasOwnProperty('cvc')){data.number=card.number||'';data.cvc=card.cvc||'';if(__DEV__&&onFormComplete&&card.complete){console.warn("[stripe-react-native] \u26A0\uFE0F WARNING: You've enabled `dangerouslyGetFullCardDetails`, meaning full card details are being returned. Only do this if you're certain that you fulfill the necessary PCI compliance requirements. Make sure that you're not mistakenly logging or storing full card details! See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance");}}onFormComplete==null?void 0:onFormComplete(data);},[onFormComplete]);var focus=function focus(){_reactNative.UIManager.dispatchViewManagerCommand((0,_reactNative.findNodeHandle)(inputRef.current),'focus',[]);};var blur=function blur(){_reactNative.UIManager.dispatchViewManagerCommand((0,_reactNative.findNodeHandle)(inputRef.current),'blur',[]);};(0,_react.useImperativeHandle)(ref,function(){return{focus:focus,blur:blur};});var onFocusHandler=(0,_react.useCallback)(function(event){var focusedField=event.nativeEvent.focusedField;if(focusedField){(0,_helpers.focusInput)(inputRef.current);}else{}},[]);(0,_react.useLayoutEffect)(function(){var inputRefValue=inputRef.current;if(inputRefValue!==null){(0,_helpers.registerInput)(inputRefValue);return function(){(0,_helpers.unregisterInput)(inputRefValue);if((0,_helpers.currentlyFocusedInput)()===inputRefValue){inputRefValue.blur();}};}return function(){};},[inputRef]);return _react.default.createElement(CardFormNative,(0,_extends2.default)({ref:inputRef,onFormComplete:onFormCompleteHandler,cardStyle:{backgroundColor:cardStyle==null?void 0:cardStyle.backgroundColor,borderColor:cardStyle==null?void 0:cardStyle.borderColor,borderWidth:cardStyle==null?void 0:cardStyle.borderWidth,borderRadius:cardStyle==null?void 0:cardStyle.borderRadius,cursorColor:cardStyle==null?void 0:cardStyle.cursorColor,fontSize:cardStyle==null?void 0:cardStyle.fontSize,placeholderColor:cardStyle==null?void 0:cardStyle.placeholderColor,textColor:cardStyle==null?void 0:cardStyle.textColor,textErrorColor:cardStyle==null?void 0:cardStyle.textErrorColor,fontFamily:cardStyle==null?void 0:cardStyle.fontFamily},placeholders:{number:placeholders==null?void 0:placeholders.number,expiration:placeholders==null?void 0:placeholders.expiration,cvc:placeholders==null?void 0:placeholders.cvc,postalCode:placeholders==null?void 0:placeholders.postalCode},onFocusChange:onFocusHandler},props,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:164,columnNumber:7}}));});exports.CardForm=CardForm;
2
2
  //# sourceMappingURL=CardForm.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["CardForm.tsx"],"names":["CardFormNative","CardForm","ref","onFormComplete","cardStyle","placeholders","props","inputRef","onFormCompleteHandler","event","card","nativeEvent","data","last4","expiryMonth","expiryYear","complete","brand","country","postalCode","hasOwnProperty","number","cvc","__DEV__","console","warn","focus","UIManager","dispatchViewManagerCommand","current","blur","onFocusHandler","focusedField","inputRefValue","backgroundColor","borderColor","borderWidth","borderRadius","cursorColor","fontSize","placeholderColor","textColor","textErrorColor","fontFamily","expiration"],"mappings":"oWACA,qDAOA,yCASA,mC,gqCAOA,GAAMA,CAAAA,cAAc,CAClB,wCAAiD,UAAjD,CADF,CAiDO,GAAMC,CAAAA,QAAQ,CAAG,sBACtB,cAWEC,GAXF,CAYK,IAVDC,CAAAA,cAUC,MAVDA,cAUC,CATDC,SASC,MATDA,SASC,CAJDC,YAIC,MAJDA,YAIC,CAHEC,KAGF,uDACH,GAAMC,CAAAA,QAAQ,CAAG,kBAAY,IAAZ,CAAjB,CAEA,GAAMC,CAAAA,qBAAqB,CAAG,uBAC5B,SAACC,KAAD,CAAuD,CACrD,GAAMC,CAAAA,IAAI,CAAGD,KAAK,CAACE,WAAnB,CAEA,GAAMC,CAAAA,IAA0B,CAAG,CACjCC,KAAK,CAAEH,IAAI,CAACG,KADqB,CAEjCC,WAAW,CAAEJ,IAAI,CAACI,WAFe,CAGjCC,UAAU,CAAEL,IAAI,CAACK,UAHgB,CAIjCC,QAAQ,CAAEN,IAAI,CAACM,QAJkB,CAKjCC,KAAK,CAAEP,IAAI,CAACO,KALqB,CAMjCC,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CAvHqB,CAAjB,C","sourcesContent":["import type { CardFormView } from '../types';\nimport React, {\n forwardRef,\n useCallback,\n useImperativeHandle,\n useLayoutEffect,\n useRef,\n} from 'react';\nimport {\n AccessibilityProps,\n NativeSyntheticEvent,\n requireNativeComponent,\n UIManager,\n StyleProp,\n findNodeHandle,\n ViewStyle,\n} from 'react-native';\nimport {\n currentlyFocusedInput,\n focusInput,\n registerInput,\n unregisterInput,\n} from '../helpers';\n\nconst CardFormNative =\n requireNativeComponent<CardFormView.NativeProps>('CardForm');\n\n/**\n * Card Form Component Props\n */\nexport interface Props extends AccessibilityProps {\n style?: StyleProp<ViewStyle>;\n autofocus?: boolean;\n testID?: string;\n\n /** All styles except backgroundColor are Android only */\n cardStyle?: CardFormView.Styles;\n // isUserInteractionEnabled?: boolean;\n\n // TODO: will make it public when android-sdk allows for this\n // postalCodeEnabled?: boolean;\n\n /** Android only */\n placeholders?: CardFormView.Placeholders;\n // onBlur?(): void;\n // onFocus?(focusedField: CardFormView.FieldNames | null): void;\n onFormComplete?(card: CardFormView.Details): void;\n /**\n * WARNING: If set to `true` the full card number will be returned in the `onFormComplete` handler.\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 dangerouslyGetFullCardDetails?: boolean;\n}\n\n/**\n * Card Form Component\n *\n * @example\n * ```ts\n * <CardForm\n * onFormComplete={(cardDetails) => {\n * console.log('card details', cardDetails);\n * setCard(cardDetails);\n * }}\n * style={{height: 200}}\n * />\n * ```\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport const CardForm = forwardRef<CardFormView.Methods, Props>(\n (\n {\n onFormComplete,\n cardStyle,\n // isUserInteractionEnabled = true,\n // postalCodeEnabled = true,\n // onFocus,\n // onBlur,\n placeholders,\n ...props\n },\n ref\n ) => {\n const inputRef = useRef<any>(null);\n\n const onFormCompleteHandler = useCallback(\n (event: NativeSyntheticEvent<CardFormView.Details>) => {\n const card = event.nativeEvent;\n\n const data: CardFormView.Details = {\n last4: card.last4,\n expiryMonth: card.expiryMonth,\n expiryYear: card.expiryYear,\n complete: card.complete,\n brand: card.brand,\n country: card.country,\n postalCode: card.postalCode,\n };\n\n if (card.hasOwnProperty('number') || card.hasOwnProperty('cvc')) {\n data.number = card.number || '';\n data.cvc = card.cvc || '';\n if (__DEV__ && onFormComplete && card.complete) {\n console.warn(\n `[stripe-react-native] ⚠️ WARNING: You've enabled \\`dangerouslyGetFullCardDetails\\`, meaning full card details are being returned. Only do this if you're certain that you fulfill the necessary PCI compliance requirements. Make sure that you're not mistakenly logging or storing full card details! See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance`\n );\n }\n }\n onFormComplete?.(data);\n },\n [onFormComplete]\n );\n\n const focus = () => {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(inputRef.current),\n 'focus' as any,\n []\n );\n };\n\n const blur = () => {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(inputRef.current),\n 'blur' as any,\n []\n );\n };\n\n useImperativeHandle(ref, () => ({\n focus,\n blur,\n }));\n\n const onFocusHandler = useCallback((event) => {\n const { focusedField } = event.nativeEvent;\n if (focusedField) {\n focusInput(inputRef.current);\n // onFocus?.(focusedField);\n } else {\n // onBlur?.();\n }\n }, []);\n\n useLayoutEffect(() => {\n const inputRefValue = inputRef.current;\n if (inputRefValue !== null) {\n registerInput(inputRefValue);\n return () => {\n unregisterInput(inputRefValue);\n if (currentlyFocusedInput() === inputRefValue) {\n inputRefValue.blur();\n }\n };\n }\n return () => {};\n }, [inputRef]);\n\n return (\n <CardFormNative\n ref={inputRef}\n onFormComplete={onFormCompleteHandler}\n cardStyle={{\n backgroundColor: cardStyle?.backgroundColor,\n borderColor: cardStyle?.borderColor,\n borderWidth: cardStyle?.borderWidth,\n borderRadius: cardStyle?.borderRadius,\n cursorColor: cardStyle?.cursorColor,\n fontSize: cardStyle?.fontSize,\n placeholderColor: cardStyle?.placeholderColor,\n textColor: cardStyle?.textColor,\n textErrorColor: cardStyle?.textErrorColor,\n fontFamily: cardStyle?.fontFamily,\n // disabledBackgroundColor: cardStyle?.disabledBackgroundColor,\n // type: cardStyle?.type,\n }}\n // isUserInteractionEnabledValue={isUserInteractionEnabled}\n placeholders={{\n number: placeholders?.number,\n expiration: placeholders?.expiration,\n cvc: placeholders?.cvc,\n postalCode: placeholders?.postalCode,\n }}\n onFocusChange={onFocusHandler}\n // postalCodeEnabled={postalCodeEnabled}\n {...props}\n />\n );\n }\n);\n"]}
1
+ {"version":3,"sources":["CardForm.tsx"],"names":["CardFormNative","CardForm","ref","onFormComplete","cardStyle","placeholders","props","inputRef","onFormCompleteHandler","event","card","nativeEvent","data","last4","expiryMonth","expiryYear","complete","brand","country","postalCode","hasOwnProperty","number","cvc","__DEV__","console","warn","focus","UIManager","dispatchViewManagerCommand","current","blur","onFocusHandler","focusedField","inputRefValue","backgroundColor","borderColor","borderWidth","borderRadius","cursorColor","fontSize","placeholderColor","textColor","textErrorColor","fontFamily","expiration"],"mappings":"oWACA,qDAOA,yCASA,mC,0pCAOA,GAAMA,CAAAA,cAAc,CAClB,wCAAiD,UAAjD,CADF,CAiDO,GAAMC,CAAAA,QAAQ,CAAG,sBACtB,cAWEC,GAXF,CAYK,IAVDC,CAAAA,cAUC,MAVDA,cAUC,CATDC,SASC,MATDA,SASC,CAJDC,YAIC,MAJDA,YAIC,CAHEC,KAGF,uDACH,GAAMC,CAAAA,QAAQ,CAAG,kBAAY,IAAZ,CAAjB,CAEA,GAAMC,CAAAA,qBAAqB,CAAG,uBAC5B,SAACC,KAAD,CAAuD,CACrD,GAAMC,CAAAA,IAAI,CAAGD,KAAK,CAACE,WAAnB,CAEA,GAAMC,CAAAA,IAA0B,CAAG,CACjCC,KAAK,CAAEH,IAAI,CAACG,KADqB,CAEjCC,WAAW,CAAEJ,IAAI,CAACI,WAFe,CAGjCC,UAAU,CAAEL,IAAI,CAACK,U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F,cAAEA,YAAY,CAAEc,UAJd,CAlBhB,CAwBE,aAAa,CAAEY,cAxBjB,EA0BMzB,KA1BN,gFADF,CA8BD,CAvHqB,CAAjB,C","sourcesContent":["import type { CardFormView } from '../types';\nimport React, {\n forwardRef,\n useCallback,\n useImperativeHandle,\n useLayoutEffect,\n useRef,\n} from 'react';\nimport {\n AccessibilityProps,\n NativeSyntheticEvent,\n requireNativeComponent,\n UIManager,\n StyleProp,\n findNodeHandle,\n ViewStyle,\n} from 'react-native';\nimport {\n currentlyFocusedInput,\n focusInput,\n registerInput,\n unregisterInput,\n} from '../helpers';\n\nconst CardFormNative =\n requireNativeComponent<CardFormView.NativeProps>('CardForm');\n\n/**\n * Card Form Component Props\n */\nexport interface Props extends AccessibilityProps {\n style?: StyleProp<ViewStyle>;\n autofocus?: boolean;\n testID?: string;\n\n /** All styles except backgroundColor are Android only */\n cardStyle?: CardFormView.Styles;\n // isUserInteractionEnabled?: boolean;\n\n // TODO: will make it public when android-sdk allows for this\n // postalCodeEnabled?: boolean;\n\n /** Android only */\n placeholders?: CardFormView.Placeholders;\n // onBlur?(): void;\n // onFocus?(focusedField: CardFormView.FieldNames | null): void;\n onFormComplete?(card: CardFormView.Details): void;\n /**\n * WARNING: If set to `true` the full card number will be returned in the `onFormComplete` handler.\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 dangerouslyGetFullCardDetails?: boolean;\n}\n\n/**\n * Card Form Component\n *\n * @example\n * ```ts\n * <CardForm\n * onFormComplete={(cardDetails) => {\n * console.log('card details', cardDetails);\n * setCard(cardDetails);\n * }}\n * style={{height: 200}}\n * />\n * ```\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport const CardForm = forwardRef<CardFormView.Methods, Props>(\n (\n {\n onFormComplete,\n cardStyle,\n // isUserInteractionEnabled = true,\n // postalCodeEnabled = true,\n // onFocus,\n // onBlur,\n placeholders,\n ...props\n },\n ref\n ) => {\n const inputRef = useRef<any>(null);\n\n const onFormCompleteHandler = useCallback(\n (event: NativeSyntheticEvent<CardFormView.Details>) => {\n const card = event.nativeEvent;\n\n const data: CardFormView.Details = {\n last4: card.last4,\n expiryMonth: card.expiryMonth,\n expiryYear: card.expiryYear,\n complete: card.complete,\n brand: card.brand,\n country: card.country,\n postalCode: card.postalCode,\n };\n\n if (card.hasOwnProperty('number') || card.hasOwnProperty('cvc')) {\n data.number = card.number || '';\n data.cvc = card.cvc || '';\n if (__DEV__ && onFormComplete && card.complete) {\n console.warn(\n `[stripe-react-native] ⚠️ WARNING: You've enabled \\`dangerouslyGetFullCardDetails\\`, meaning full card details are being returned. Only do this if you're certain that you fulfill the necessary PCI compliance requirements. Make sure that you're not mistakenly logging or storing full card details! See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance`\n );\n }\n }\n onFormComplete?.(data);\n },\n [onFormComplete]\n );\n\n const focus = () => {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(inputRef.current),\n 'focus' as any,\n []\n );\n };\n\n const blur = () => {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(inputRef.current),\n 'blur' as any,\n []\n );\n };\n\n useImperativeHandle(ref, () => ({\n focus,\n blur,\n }));\n\n const onFocusHandler = useCallback((event) => {\n const { focusedField } = event.nativeEvent;\n if (focusedField) {\n focusInput(inputRef.current);\n // onFocus?.(focusedField);\n } else {\n // onBlur?.();\n }\n }, []);\n\n useLayoutEffect(() => {\n const inputRefValue = inputRef.current;\n if (inputRefValue !== null) {\n registerInput(inputRefValue);\n return () => {\n unregisterInput(inputRefValue);\n if (currentlyFocusedInput() === inputRefValue) {\n inputRefValue.blur();\n }\n };\n }\n return () => {};\n }, [inputRef]);\n\n return (\n <CardFormNative\n ref={inputRef}\n onFormComplete={onFormCompleteHandler}\n cardStyle={{\n backgroundColor: cardStyle?.backgroundColor,\n borderColor: cardStyle?.borderColor,\n borderWidth: cardStyle?.borderWidth,\n borderRadius: cardStyle?.borderRadius,\n cursorColor: cardStyle?.cursorColor,\n fontSize: cardStyle?.fontSize,\n placeholderColor: cardStyle?.placeholderColor,\n textColor: cardStyle?.textColor,\n textErrorColor: cardStyle?.textErrorColor,\n fontFamily: cardStyle?.fontFamily,\n // disabledBackgroundColor: cardStyle?.disabledBackgroundColor,\n // type: cardStyle?.type,\n }}\n // isUserInteractionEnabledValue={isUserInteractionEnabled}\n placeholders={{\n number: placeholders?.number,\n expiration: placeholders?.expiration,\n cvc: placeholders?.cvc,\n postalCode: placeholders?.postalCode,\n }}\n onFocusChange={onFocusHandler}\n // postalCodeEnabled={postalCodeEnabled}\n {...props}\n />\n );\n }\n);\n"]}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.GooglePayButton=GooglePayButton;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _jsxFileName="/Users/charliecruzan/stripe/stripe-react-native/src/components/GooglePayButton.tsx";var _excluded=["type","onPress","disabled"];var GooglePayButtonNative=(0,_reactNative.requireNativeComponent)('GooglePayButton');function GooglePayButton(_ref){var _ref$type=_ref.type,type=_ref$type===void 0?'pay':_ref$type,onPress=_ref.onPress,disabled=_ref.disabled,props=(0,_objectWithoutProperties2.default)(_ref,_excluded);return _react.default.createElement(_reactNative.TouchableOpacity,{disabled:disabled,activeOpacity:1,onPress:onPress,style:disabled?styles.disabled:{},__self:this,__source:{fileName:_jsxFileName,lineNumber:45,columnNumber:5}},_react.default.createElement(GooglePayButtonNative,(0,_extends2.default)({buttonType:type},props,{__self:this,__source:{fileName:_jsxFileName,lineNumber:51,columnNumber:7}})));}var styles=_reactNative.StyleSheet.create({disabled:{opacity:0.3}});
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.GooglePayButton=GooglePayButton;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _jsxFileName="/Users/acomley/stripe/stripe-react-native/src/components/GooglePayButton.tsx";var _excluded=["type","onPress","disabled"];var GooglePayButtonNative=(0,_reactNative.requireNativeComponent)('GooglePayButton');function GooglePayButton(_ref){var _ref$type=_ref.type,type=_ref$type===void 0?'pay':_ref$type,onPress=_ref.onPress,disabled=_ref.disabled,props=(0,_objectWithoutProperties2.default)(_ref,_excluded);return _react.default.createElement(_reactNative.TouchableOpacity,{disabled:disabled,activeOpacity:1,onPress:onPress,style:disabled?styles.disabled:{},__self:this,__source:{fileName:_jsxFileName,lineNumber:45,columnNumber:5}},_react.default.createElement(GooglePayButtonNative,(0,_extends2.default)({buttonType:type},props,{__self:this,__source:{fileName:_jsxFileName,lineNumber:51,columnNumber:7}})));}var styles=_reactNative.StyleSheet.create({disabled:{opacity:0.3}});
2
2
  //# sourceMappingURL=GooglePayButton.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["GooglePayButton.tsx"],"names":["GooglePayButtonNative","GooglePayButton","type","onPress","disabled","props","styles","StyleSheet","create","opacity"],"mappings":"oXAAA,oDACA,yC,kJASA,GAAMA,CAAAA,qBAAqB,CAAG,wCAA4B,iBAA5B,CAA9B,CA2BO,QAASC,CAAAA,eAAT,MAKG,oBAJRC,IAIQ,CAJRA,IAIQ,oBAJD,KAIC,WAHRC,OAGQ,MAHRA,OAGQ,CAFRC,QAEQ,MAFRA,QAEQ,CADLC,KACK,uDACR,MACE,8BAAC,6BAAD,EACE,QAAQ,CAAED,QADZ,CAEE,aAAa,CAAE,CAFjB,CAGE,OAAO,CAAED,OAHX,CAIE,KAAK,CAAEC,QAAQ,CAAGE,MAAM,CAACF,QAAV,CAAqB,EAJtC,4EAME,6BAAC,qBAAD,wBAAuB,UAAU,CAAEF,IAAnC,EAA6CG,KAA7C,8EANF,CADF,CAUD,CAED,GAAMC,CAAAA,MAAM,CAAGC,wBAAWC,MAAX,CAAkB,CAC/BJ,QAAQ,CAAE,CACRK,OAAO,CAAE,GADD,CADqB,CAAlB,CAAf","sourcesContent":["import React from 'react';\nimport {\n AccessibilityProps,\n StyleProp,\n ViewStyle,\n requireNativeComponent,\n TouchableOpacity,\n StyleSheet,\n} from 'react-native';\n\nconst GooglePayButtonNative = requireNativeComponent<any>('GooglePayButton');\n\n/**\n * Apple Pay Button Component Props\n */\nexport interface Props extends AccessibilityProps {\n style?: StyleProp<ViewStyle>;\n type?: 'pay' | 'pay_shadow' | 'standard' | 'standard_shadow';\n onPress(): void;\n disabled?: boolean;\n testID?: string;\n}\n\n/**\n * Google Pay Button Component\n *\n * @example\n * ```ts\n * <GooglePayButton\n * onPress={pay}\n * style={styles.payButton}\n * />\n * ```\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport function GooglePayButton({\n type = 'pay',\n onPress,\n disabled,\n ...props\n}: Props) {\n return (\n <TouchableOpacity\n disabled={disabled}\n activeOpacity={1}\n onPress={onPress}\n style={disabled ? styles.disabled : {}}\n >\n <GooglePayButtonNative buttonType={type} {...props} />\n </TouchableOpacity>\n );\n}\n\nconst styles = StyleSheet.create({\n disabled: {\n opacity: 0.3,\n },\n});\n"]}
1
+ {"version":3,"sources":["GooglePayButton.tsx"],"names":["GooglePayButtonNative","GooglePayButton","type","onPress","disabled","props","styles","StyleSheet","create","opacity"],"mappings":"oXAAA,oDACA,yC,4IASA,GAAMA,CAAAA,qBAAqB,CAAG,wCAA4B,iBAA5B,CAA9B,CA2BO,QAASC,CAAAA,eAAT,MAKG,oBAJRC,IAIQ,CAJRA,IAIQ,oBAJD,KAIC,WAHRC,OAGQ,MAHRA,OAGQ,CAFRC,QAEQ,MAFRA,QAEQ,CADLC,KACK,uDACR,MACE,8BAAC,6BAAD,EACE,QAAQ,CAAED,QADZ,CAEE,aAAa,CAAE,CAFjB,CAGE,OAAO,CAAED,OAHX,CAIE,KAAK,CAAEC,QAAQ,CAAGE,MAAM,CAACF,QAAV,CAAqB,EAJtC,4EAME,6BAAC,qBAAD,wBAAuB,UAAU,CAAEF,IAAnC,EAA6CG,KAA7C,8EANF,CADF,CAUD,CAED,GAAMC,CAAAA,MAAM,CAAGC,wBAAWC,MAAX,CAAkB,CAC/BJ,QAAQ,CAAE,CACRK,OAAO,CAAE,GADD,CADqB,CAAlB,CAAf","sourcesContent":["import React from 'react';\nimport {\n AccessibilityProps,\n StyleProp,\n ViewStyle,\n requireNativeComponent,\n TouchableOpacity,\n StyleSheet,\n} from 'react-native';\n\nconst GooglePayButtonNative = requireNativeComponent<any>('GooglePayButton');\n\n/**\n * Apple Pay Button Component Props\n */\nexport interface Props extends AccessibilityProps {\n style?: StyleProp<ViewStyle>;\n type?: 'pay' | 'pay_shadow' | 'standard' | 'standard_shadow';\n onPress(): void;\n disabled?: boolean;\n testID?: string;\n}\n\n/**\n * Google Pay Button Component\n *\n * @example\n * ```ts\n * <GooglePayButton\n * onPress={pay}\n * style={styles.payButton}\n * />\n * ```\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport function GooglePayButton({\n type = 'pay',\n onPress,\n disabled,\n ...props\n}: Props) {\n return (\n <TouchableOpacity\n disabled={disabled}\n activeOpacity={1}\n onPress={onPress}\n style={disabled ? styles.disabled : {}}\n >\n <GooglePayButtonNative buttonType={type} {...props} />\n </TouchableOpacity>\n );\n}\n\nconst styles = StyleSheet.create({\n disabled: {\n opacity: 0.3,\n },\n});\n"]}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.StripeContainer=StripeContainer;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _jsxFileName="/Users/charliecruzan/stripe/stripe-react-native/src/components/StripeContainer.tsx";var StripeContainerNative=(0,_reactNative.requireNativeComponent)('StripeContainer');function StripeContainer(_ref){var keyboardShouldPersistTaps=_ref.keyboardShouldPersistTaps,children=_ref.children;return _react.default.createElement(StripeContainerNative,{keyboardShouldPersistTaps:keyboardShouldPersistTaps,style:styles.container,__self:this,__source:{fileName:_jsxFileName,lineNumber:34,columnNumber:5}},_react.default.createElement(_reactNative.View,{style:styles.container,accessible:false,__self:this,__source:{fileName:_jsxFileName,lineNumber:38,columnNumber:7}},children));}var styles=_reactNative.StyleSheet.create({container:{flex:1}});
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.StripeContainer=StripeContainer;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _jsxFileName="/Users/acomley/stripe/stripe-react-native/src/components/StripeContainer.tsx";var StripeContainerNative=(0,_reactNative.requireNativeComponent)('StripeContainer');function StripeContainer(_ref){var keyboardShouldPersistTaps=_ref.keyboardShouldPersistTaps,children=_ref.children;return _react.default.createElement(StripeContainerNative,{keyboardShouldPersistTaps:keyboardShouldPersistTaps,style:styles.container,__self:this,__source:{fileName:_jsxFileName,lineNumber:34,columnNumber:5}},_react.default.createElement(_reactNative.View,{style:styles.container,accessible:false,__self:this,__source:{fileName:_jsxFileName,lineNumber:38,columnNumber:7}},children));}var styles=_reactNative.StyleSheet.create({container:{flex:1}});
2
2
  //# sourceMappingURL=StripeContainer.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["StripeContainer.tsx"],"names":["StripeContainerNative","StripeContainer","keyboardShouldPersistTaps","children","styles","container","StyleSheet","create","flex"],"mappings":"oLAAA,oDAEA,yC,sGAQA,GAAMA,CAAAA,qBAAqB,CAAG,wCAA4B,iBAA5B,CAA9B,CAkBO,QAASC,CAAAA,eAAT,MAGG,IAFRC,CAAAA,yBAEQ,MAFRA,yBAEQ,CADRC,QACQ,MADRA,QACQ,CACR,MACE,8BAAC,qBAAD,EACE,yBAAyB,CAAED,yBAD7B,CAEE,KAAK,CAAEE,MAAM,CAACC,SAFhB,4EAIE,6BAAC,iBAAD,EAAM,KAAK,CAAED,MAAM,CAACC,SAApB,CAA+B,UAAU,CAAE,KAA3C,4EACGF,QADH,CAJF,CADF,CAUD,CAED,GAAMC,CAAAA,MAAM,CAAGE,wBAAWC,MAAX,CAAkB,CAC/BF,SAAS,CAAE,CACTG,IAAI,CAAE,CADG,CADoB,CAAlB,CAAf","sourcesContent":["import React from 'react';\n\nimport {\n requireNativeComponent,\n StyleProp,\n StyleSheet,\n ViewStyle,\n View,\n} from 'react-native';\n\nconst StripeContainerNative = requireNativeComponent<any>('StripeContainer');\n\n/**\n * Stripe Container Component Props\n */\nexport interface Props {\n children: React.ReactElement | React.ReactElement[];\n keyboardShouldPersistTaps?: boolean;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}\n\n/**\n * StripeContainer Component\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport function StripeContainer({\n keyboardShouldPersistTaps,\n children,\n}: Props) {\n return (\n <StripeContainerNative\n keyboardShouldPersistTaps={keyboardShouldPersistTaps}\n style={styles.container}\n >\n <View style={styles.container} accessible={false}>\n {children}\n </View>\n </StripeContainerNative>\n );\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n },\n});\n"]}
1
+ {"version":3,"sources":["StripeContainer.tsx"],"names":["StripeContainerNative","StripeContainer","keyboardShouldPersistTaps","children","styles","container","StyleSheet","create","flex"],"mappings":"oLAAA,oDAEA,yC,gGAQA,GAAMA,CAAAA,qBAAqB,CAAG,wCAA4B,iBAA5B,CAA9B,CAkBO,QAASC,CAAAA,eAAT,MAGG,IAFRC,CAAAA,yBAEQ,MAFRA,yBAEQ,CADRC,QACQ,MADRA,QACQ,CACR,MACE,8BAAC,qBAAD,EACE,yBAAyB,CAAED,yBAD7B,CAEE,KAAK,CAAEE,MAAM,CAACC,SAFhB,4EAIE,6BAAC,iBAAD,EAAM,KAAK,CAAED,MAAM,CAACC,SAApB,CAA+B,UAAU,CAAE,KAA3C,4EACGF,QADH,CAJF,CADF,CAUD,CAED,GAAMC,CAAAA,MAAM,CAAGE,wBAAWC,MAAX,CAAkB,CAC/BF,SAAS,CAAE,CACTG,IAAI,CAAE,CADG,CADoB,CAAlB,CAAf","sourcesContent":["import React from 'react';\n\nimport {\n requireNativeComponent,\n StyleProp,\n StyleSheet,\n ViewStyle,\n View,\n} from 'react-native';\n\nconst StripeContainerNative = requireNativeComponent<any>('StripeContainer');\n\n/**\n * Stripe Container Component Props\n */\nexport interface Props {\n children: React.ReactElement | React.ReactElement[];\n keyboardShouldPersistTaps?: boolean;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}\n\n/**\n * StripeContainer Component\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport function StripeContainer({\n keyboardShouldPersistTaps,\n children,\n}: Props) {\n return (\n <StripeContainerNative\n keyboardShouldPersistTaps={keyboardShouldPersistTaps}\n style={styles.container}\n >\n <View style={styles.container} accessible={false}>\n {children}\n </View>\n </StripeContainerNative>\n );\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n },\n});\n"]}
@@ -94,10 +94,10 @@ export declare type ShadowConfig = {
94
94
  x: number;
95
95
  y: number;
96
96
  };
97
- /** The border radius of the shadow.
97
+ /** The blur radius of the shadow.
98
98
  * @default 4
99
99
  */
100
- borderRadius: number;
100
+ blurRadius: number;
101
101
  };
102
102
  export declare type GlobalColorConfig = {
103
103
  /** A primary color used throughout your PaymentSheet, represented as a hex string with format #RRGGBB or #AARRGGBB.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stripe/stripe-react-native",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "author": "Stripe",
5
5
  "description": "Stripe SDK for React Native",
6
6
  "main": "lib/commonjs/index",
@@ -103,10 +103,10 @@ export type ShadowConfig = {
103
103
  * @default {x: 0, y: 2}
104
104
  */
105
105
  offset: { x: number; y: number };
106
- /** The border radius of the shadow.
106
+ /** The blur radius of the shadow.
107
107
  * @default 4
108
108
  */
109
- borderRadius: number;
109
+ blurRadius: number;
110
110
  };
111
111
 
112
112
  export type GlobalColorConfig = {