@stripe/stripe-react-native 0.2.0 → 0.2.4

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 (1165) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/README.md +42 -3
  3. package/android/.DS_Store +0 -0
  4. package/android/build/.transforms/58a84c8dde5bf16d639a134b8787b5f4.bin +1 -0
  5. package/android/build/.transforms/b2dbf9d896f8ddb73fdd3eb4d127feb5/classes/classes.dex +0 -0
  6. package/android/build/.transforms/b2dbf9d896f8ddb73fdd3eb4d127feb5.bin +1 -0
  7. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/AuBECSDebitFormView$setListeners$1.dex +0 -0
  8. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/AuBECSDebitFormView.dex +0 -0
  9. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/AuBECSDebitFormViewManager.dex +0 -0
  10. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/BuildConfig.dex +0 -0
  11. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/CardChangedEvent$Companion.dex +0 -0
  12. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/CardChangedEvent.dex +0 -0
  13. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/CardFocusEvent$Companion.dex +0 -0
  14. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/CardFocusEvent.dex +0 -0
  15. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/CardFormCompleteEvent$Companion.dex +0 -0
  16. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/CardFormCompleteEvent.dex +0 -0
  17. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/CardFormView.dex +0 -0
  18. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/CardFormViewManager.dex +0 -0
  19. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/ConfirmPaymentErrorType.dex +0 -0
  20. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/ConfirmSetupIntentErrorType.dex +0 -0
  21. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/ConstantsKt.dex +0 -0
  22. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/CreateTokenErrorType.dex +0 -0
  23. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/ErrorsKt.dex +0 -0
  24. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/ExtensionsKt.dex +0 -0
  25. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/FormCompleteEvent$Companion.dex +0 -0
  26. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/FormCompleteEvent.dex +0 -0
  27. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/GooglePayButtonManager$Companion.dex +0 -0
  28. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/GooglePayButtonManager.dex +0 -0
  29. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/GooglePayButtonView.dex +0 -0
  30. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/GooglePayErrorType.dex +0 -0
  31. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/GooglePayFragment$onViewCreated$1.dex +0 -0
  32. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/GooglePayFragment$onViewCreated$2.dex +0 -0
  33. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/GooglePayFragment$onViewCreated$3.dex +0 -0
  34. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/GooglePayFragment$onViewCreated$4.dex +0 -0
  35. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/GooglePayFragment.dex +0 -0
  36. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/MappersKt$WhenMappings.dex +0 -0
  37. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/MappersKt.dex +0 -0
  38. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/NextPaymentActionErrorType.dex +0 -0
  39. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/PaymentMethodCreateParamsException.dex +0 -0
  40. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/PaymentMethodCreateParamsFactory$WhenMappings.dex +0 -0
  41. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/PaymentMethodCreateParamsFactory.dex +0 -0
  42. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/PaymentSheetErrorType.dex +0 -0
  43. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/PaymentSheetFragment$configureFlowController$onFlowControllerConfigure$1.dex +0 -0
  44. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/PaymentSheetFragment$onViewCreated$paymentOptionCallback$1.dex +0 -0
  45. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/PaymentSheetFragment$onViewCreated$paymentResultCallback$1.dex +0 -0
  46. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/PaymentSheetFragment.dex +0 -0
  47. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/PaymentSheetFragmentKt.dex +0 -0
  48. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/RetrievePaymentIntentErrorType.dex +0 -0
  49. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/RetrieveSetupIntentErrorType.dex +0 -0
  50. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeContainerManager.dex +0 -0
  51. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeContainerView.dex +0 -0
  52. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkCardView$setListeners$2.dex +0 -0
  53. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkCardView$setListeners$3.dex +0 -0
  54. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkCardView$setListeners$4.dex +0 -0
  55. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkCardView$setListeners$5.dex +0 -0
  56. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkCardView$setListeners$6.dex +0 -0
  57. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkCardView.dex +0 -0
  58. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkCardViewManager.dex +0 -0
  59. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkModule$Companion.dex +0 -0
  60. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkModule$createPaymentMethod$1.dex +0 -0
  61. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkModule$createToken$1.dex +0 -0
  62. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkModule$createTokenForCVCUpdate$1.dex +0 -0
  63. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkModule$googlePayReceiver$1.dex +0 -0
  64. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2$WhenMappings.dex +0 -0
  65. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2.dex +0 -0
  66. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$3$WhenMappings.dex +0 -0
  67. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$3.dex +0 -0
  68. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1.dex +0 -0
  69. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkModule$mPaymentSheetReceiver$1.dex +0 -0
  70. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkModule$payWithWeChatPay$1.dex +0 -0
  71. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkModule.dex +0 -0
  72. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/StripeSdkPackage.dex +0 -0
  73. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/databinding/GooglepayButtonBinding.dex +0 -0
  74. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/databinding/GooglepayButtonNoShadowBinding.dex +0 -0
  75. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/databinding/PayWithGooglepayButtonBinding.dex +0 -0
  76. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/debug/com/reactnativestripesdk/databinding/PayWithGooglepayButtonNoShadowBinding.dex +0 -0
  77. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a/desugar_graph.bin +0 -0
  78. package/android/build/.transforms/f9b34f3ef926ba9375893474ef77045a.bin +1 -0
  79. package/android/build/generated/data_binding_base_class_source_out/debug/out/com/reactnativestripesdk/databinding/GooglepayButtonBinding.java +52 -0
  80. package/android/build/generated/data_binding_base_class_source_out/debug/out/com/reactnativestripesdk/databinding/GooglepayButtonNoShadowBinding.java +52 -0
  81. package/android/build/generated/data_binding_base_class_source_out/debug/out/com/reactnativestripesdk/databinding/PayWithGooglepayButtonBinding.java +52 -0
  82. package/android/build/generated/data_binding_base_class_source_out/debug/out/com/reactnativestripesdk/databinding/PayWithGooglepayButtonNoShadowBinding.java +52 -0
  83. package/android/build/generated/data_binding_base_class_source_out/release/out/com/reactnativestripesdk/databinding/GooglepayButtonBinding.java +52 -0
  84. package/android/build/generated/data_binding_base_class_source_out/release/out/com/reactnativestripesdk/databinding/GooglepayButtonNoShadowBinding.java +52 -0
  85. package/android/build/generated/data_binding_base_class_source_out/release/out/com/reactnativestripesdk/databinding/PayWithGooglepayButtonBinding.java +52 -0
  86. package/android/build/generated/data_binding_base_class_source_out/release/out/com/reactnativestripesdk/databinding/PayWithGooglepayButtonNoShadowBinding.java +52 -0
  87. package/android/build/generated/source/buildConfig/debug/com/reactnativestripesdk/BuildConfig.java +10 -0
  88. package/android/build/generated/source/buildConfig/release/com/reactnativestripesdk/BuildConfig.java +10 -0
  89. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +9 -0
  90. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output-metadata.json +16 -0
  91. package/android/build/intermediates/aapt_friendly_merged_manifests/release/aapt/AndroidManifest.xml +9 -0
  92. package/android/build/intermediates/aapt_friendly_merged_manifests/release/aapt/output-metadata.json +16 -0
  93. package/android/build/intermediates/aar_metadata/debug/aar-metadata.properties +2 -0
  94. package/android/build/intermediates/aar_metadata/release/aar-metadata.properties +2 -0
  95. package/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json +1 -0
  96. package/android/build/intermediates/annotation_processor_list/release/annotationProcessors.json +1 -0
  97. package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
  98. package/android/build/intermediates/compile_library_classes_jar/release/classes.jar +0 -0
  99. package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
  100. package/android/build/intermediates/compile_r_class_jar/release/R.jar +0 -0
  101. package/android/build/intermediates/compile_symbol_list/debug/R.txt +6003 -0
  102. package/android/build/intermediates/compile_symbol_list/release/R.txt +6003 -0
  103. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ar-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  104. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ar_pay_with_googlepay_button_content.xml.flat +0 -0
  105. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-bg-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  106. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-bg_pay_with_googlepay_button_content.xml.flat +0 -0
  107. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ca-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  108. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ca_pay_with_googlepay_button_content.xml.flat +0 -0
  109. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-cs-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  110. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-cs_pay_with_googlepay_button_content.xml.flat +0 -0
  111. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-da-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  112. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-da_pay_with_googlepay_button_content.xml.flat +0 -0
  113. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-de-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  114. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-de_pay_with_googlepay_button_content.xml.flat +0 -0
  115. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-el-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  116. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-el_pay_with_googlepay_button_content.xml.flat +0 -0
  117. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-es-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  118. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-es_pay_with_googlepay_button_content.xml.flat +0 -0
  119. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-et-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  120. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-et_pay_with_googlepay_button_content.xml.flat +0 -0
  121. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-fi-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  122. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-fi_pay_with_googlepay_button_content.xml.flat +0 -0
  123. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-fr-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  124. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-fr_pay_with_googlepay_button_content.xml.flat +0 -0
  125. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-hdpi-v4_googlepay_button_background_image.9.png.flat +0 -0
  126. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-hdpi-v4_googlepay_button_background_image_focused.9.png.flat +0 -0
  127. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-hdpi-v4_googlepay_button_background_image_pressed.9.png.flat +0 -0
  128. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-hdpi-v4_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  129. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-hdpi-v4_googlepay_button_no_shadow_background_image_focused.9.png.flat +0 -0
  130. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-hdpi-v4_googlepay_button_no_shadow_background_image_pressed.9.png.flat +0 -0
  131. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-hr-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  132. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-hr_pay_with_googlepay_button_content.xml.flat +0 -0
  133. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-id-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  134. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-id_pay_with_googlepay_button_content.xml.flat +0 -0
  135. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-it-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  136. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-it_pay_with_googlepay_button_content.xml.flat +0 -0
  137. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ja-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  138. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ja_pay_with_googlepay_button_content.xml.flat +0 -0
  139. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ko-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  140. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ko_pay_with_googlepay_button_content.xml.flat +0 -0
  141. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-mdpi-v4_googlepay_button_background_image.9.png.flat +0 -0
  142. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-mdpi-v4_googlepay_button_background_image_focused.9.png.flat +0 -0
  143. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-mdpi-v4_googlepay_button_background_image_pressed.9.png.flat +0 -0
  144. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-mdpi-v4_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  145. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-mdpi-v4_googlepay_button_no_shadow_background_image_focused.9.png.flat +0 -0
  146. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-mdpi-v4_googlepay_button_no_shadow_background_image_pressed.9.png.flat +0 -0
  147. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ms-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  148. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ms_pay_with_googlepay_button_content.xml.flat +0 -0
  149. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-hdpi-v8_googlepay_button_background_image.9.png.flat +0 -0
  150. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-hdpi-v8_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  151. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-mdpi-v8_googlepay_button_background_image.9.png.flat +0 -0
  152. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-mdpi-v8_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  153. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-v21_googlepay_button_background.xml.flat +0 -0
  154. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-v21_googlepay_button_no_shadow_background.xml.flat +0 -0
  155. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-v8_googlepay_button_content.xml.flat +0 -0
  156. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-v8_googlepay_button_overlay.xml.flat +0 -0
  157. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  158. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-xhdpi-v8_googlepay_button_background_image.9.png.flat +0 -0
  159. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-xhdpi-v8_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  160. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-xxhdpi-v8_googlepay_button_background_image.9.png.flat +0 -0
  161. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-xxhdpi-v8_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  162. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-xxxhdpi-v8_googlepay_button_background_image.9.png.flat +0 -0
  163. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-night-xxxhdpi-v8_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  164. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-nl-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  165. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-nl_pay_with_googlepay_button_content.xml.flat +0 -0
  166. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-no-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  167. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-no_pay_with_googlepay_button_content.xml.flat +0 -0
  168. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-pl-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  169. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-pl_pay_with_googlepay_button_content.xml.flat +0 -0
  170. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-pt-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  171. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-pt_pay_with_googlepay_button_content.xml.flat +0 -0
  172. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ru-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  173. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-ru_pay_with_googlepay_button_content.xml.flat +0 -0
  174. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-sk-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  175. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-sk_pay_with_googlepay_button_content.xml.flat +0 -0
  176. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-sl-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  177. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-sl_pay_with_googlepay_button_content.xml.flat +0 -0
  178. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-sr-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  179. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-sr_pay_with_googlepay_button_content.xml.flat +0 -0
  180. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-sv-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  181. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-sv_pay_with_googlepay_button_content.xml.flat +0 -0
  182. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-th-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  183. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-th_pay_with_googlepay_button_content.xml.flat +0 -0
  184. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-tr-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  185. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-tr_pay_with_googlepay_button_content.xml.flat +0 -0
  186. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-uk-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  187. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-uk_pay_with_googlepay_button_content.xml.flat +0 -0
  188. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-v21_googlepay_button_background.xml.flat +0 -0
  189. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-v21_googlepay_button_no_shadow_background.xml.flat +0 -0
  190. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xhdpi-v4_googlepay_button_background_image.9.png.flat +0 -0
  191. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xhdpi-v4_googlepay_button_background_image_focused.9.png.flat +0 -0
  192. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xhdpi-v4_googlepay_button_background_image_pressed.9.png.flat +0 -0
  193. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xhdpi-v4_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  194. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xhdpi-v4_googlepay_button_no_shadow_background_image_focused.9.png.flat +0 -0
  195. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xhdpi-v4_googlepay_button_no_shadow_background_image_pressed.9.png.flat +0 -0
  196. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxhdpi-v4_googlepay_button_background_image.9.png.flat +0 -0
  197. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxhdpi-v4_googlepay_button_background_image_focused.9.png.flat +0 -0
  198. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxhdpi-v4_googlepay_button_background_image_pressed.9.png.flat +0 -0
  199. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxhdpi-v4_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  200. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxhdpi-v4_googlepay_button_no_shadow_background_image_focused.9.png.flat +0 -0
  201. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxhdpi-v4_googlepay_button_no_shadow_background_image_pressed.9.png.flat +0 -0
  202. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxxhdpi-v4_googlepay_button_background_image.9.png.flat +0 -0
  203. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxxhdpi-v4_googlepay_button_background_image_focused.9.png.flat +0 -0
  204. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxxhdpi-v4_googlepay_button_background_image_pressed.9.png.flat +0 -0
  205. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxxhdpi-v4_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  206. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxxhdpi-v4_googlepay_button_no_shadow_background_image_focused.9.png.flat +0 -0
  207. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-xxxhdpi-v4_googlepay_button_no_shadow_background_image_pressed.9.png.flat +0 -0
  208. package/android/build/intermediates/compiled_local_resources/debug/out/drawable-zh_pay_with_googlepay_button_content.xml.flat +0 -0
  209. package/android/build/intermediates/compiled_local_resources/debug/out/drawable_googlepay_button_content.xml.flat +0 -0
  210. package/android/build/intermediates/compiled_local_resources/debug/out/drawable_googlepay_button_overlay.xml.flat +0 -0
  211. package/android/build/intermediates/compiled_local_resources/debug/out/drawable_pay_with_googlepay_button_content.xml.flat +0 -0
  212. package/android/build/intermediates/compiled_local_resources/debug/out/layout-night-v8_googlepay_button.xml.flat +0 -0
  213. package/android/build/intermediates/compiled_local_resources/debug/out/layout-night-v8_pay_with_googlepay_button.xml.flat +0 -0
  214. package/android/build/intermediates/compiled_local_resources/debug/out/layout_googlepay_button.xml.flat +0 -0
  215. package/android/build/intermediates/compiled_local_resources/debug/out/layout_googlepay_button_no_shadow.xml.flat +0 -0
  216. package/android/build/intermediates/compiled_local_resources/debug/out/layout_pay_with_googlepay_button.xml.flat +0 -0
  217. package/android/build/intermediates/compiled_local_resources/debug/out/layout_pay_with_googlepay_button_no_shadow.xml.flat +0 -0
  218. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ar-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  219. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ar_pay_with_googlepay_button_content.xml.flat +0 -0
  220. package/android/build/intermediates/compiled_local_resources/release/out/drawable-bg-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  221. package/android/build/intermediates/compiled_local_resources/release/out/drawable-bg_pay_with_googlepay_button_content.xml.flat +0 -0
  222. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ca-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  223. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ca_pay_with_googlepay_button_content.xml.flat +0 -0
  224. package/android/build/intermediates/compiled_local_resources/release/out/drawable-cs-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  225. package/android/build/intermediates/compiled_local_resources/release/out/drawable-cs_pay_with_googlepay_button_content.xml.flat +0 -0
  226. package/android/build/intermediates/compiled_local_resources/release/out/drawable-da-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  227. package/android/build/intermediates/compiled_local_resources/release/out/drawable-da_pay_with_googlepay_button_content.xml.flat +0 -0
  228. package/android/build/intermediates/compiled_local_resources/release/out/drawable-de-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  229. package/android/build/intermediates/compiled_local_resources/release/out/drawable-de_pay_with_googlepay_button_content.xml.flat +0 -0
  230. package/android/build/intermediates/compiled_local_resources/release/out/drawable-el-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  231. package/android/build/intermediates/compiled_local_resources/release/out/drawable-el_pay_with_googlepay_button_content.xml.flat +0 -0
  232. package/android/build/intermediates/compiled_local_resources/release/out/drawable-es-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  233. package/android/build/intermediates/compiled_local_resources/release/out/drawable-es_pay_with_googlepay_button_content.xml.flat +0 -0
  234. package/android/build/intermediates/compiled_local_resources/release/out/drawable-et-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  235. package/android/build/intermediates/compiled_local_resources/release/out/drawable-et_pay_with_googlepay_button_content.xml.flat +0 -0
  236. package/android/build/intermediates/compiled_local_resources/release/out/drawable-fi-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  237. package/android/build/intermediates/compiled_local_resources/release/out/drawable-fi_pay_with_googlepay_button_content.xml.flat +0 -0
  238. package/android/build/intermediates/compiled_local_resources/release/out/drawable-fr-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  239. package/android/build/intermediates/compiled_local_resources/release/out/drawable-fr_pay_with_googlepay_button_content.xml.flat +0 -0
  240. package/android/build/intermediates/compiled_local_resources/release/out/drawable-hdpi-v4_googlepay_button_background_image.9.png.flat +0 -0
  241. package/android/build/intermediates/compiled_local_resources/release/out/drawable-hdpi-v4_googlepay_button_background_image_focused.9.png.flat +0 -0
  242. package/android/build/intermediates/compiled_local_resources/release/out/drawable-hdpi-v4_googlepay_button_background_image_pressed.9.png.flat +0 -0
  243. package/android/build/intermediates/compiled_local_resources/release/out/drawable-hdpi-v4_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  244. package/android/build/intermediates/compiled_local_resources/release/out/drawable-hdpi-v4_googlepay_button_no_shadow_background_image_focused.9.png.flat +0 -0
  245. package/android/build/intermediates/compiled_local_resources/release/out/drawable-hdpi-v4_googlepay_button_no_shadow_background_image_pressed.9.png.flat +0 -0
  246. package/android/build/intermediates/compiled_local_resources/release/out/drawable-hr-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  247. package/android/build/intermediates/compiled_local_resources/release/out/drawable-hr_pay_with_googlepay_button_content.xml.flat +0 -0
  248. package/android/build/intermediates/compiled_local_resources/release/out/drawable-id-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  249. package/android/build/intermediates/compiled_local_resources/release/out/drawable-id_pay_with_googlepay_button_content.xml.flat +0 -0
  250. package/android/build/intermediates/compiled_local_resources/release/out/drawable-it-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  251. package/android/build/intermediates/compiled_local_resources/release/out/drawable-it_pay_with_googlepay_button_content.xml.flat +0 -0
  252. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ja-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  253. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ja_pay_with_googlepay_button_content.xml.flat +0 -0
  254. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ko-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  255. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ko_pay_with_googlepay_button_content.xml.flat +0 -0
  256. package/android/build/intermediates/compiled_local_resources/release/out/drawable-mdpi-v4_googlepay_button_background_image.9.png.flat +0 -0
  257. package/android/build/intermediates/compiled_local_resources/release/out/drawable-mdpi-v4_googlepay_button_background_image_focused.9.png.flat +0 -0
  258. package/android/build/intermediates/compiled_local_resources/release/out/drawable-mdpi-v4_googlepay_button_background_image_pressed.9.png.flat +0 -0
  259. package/android/build/intermediates/compiled_local_resources/release/out/drawable-mdpi-v4_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  260. package/android/build/intermediates/compiled_local_resources/release/out/drawable-mdpi-v4_googlepay_button_no_shadow_background_image_focused.9.png.flat +0 -0
  261. package/android/build/intermediates/compiled_local_resources/release/out/drawable-mdpi-v4_googlepay_button_no_shadow_background_image_pressed.9.png.flat +0 -0
  262. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ms-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  263. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ms_pay_with_googlepay_button_content.xml.flat +0 -0
  264. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-hdpi-v8_googlepay_button_background_image.9.png.flat +0 -0
  265. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-hdpi-v8_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  266. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-mdpi-v8_googlepay_button_background_image.9.png.flat +0 -0
  267. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-mdpi-v8_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  268. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-v21_googlepay_button_background.xml.flat +0 -0
  269. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-v21_googlepay_button_no_shadow_background.xml.flat +0 -0
  270. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-v8_googlepay_button_content.xml.flat +0 -0
  271. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-v8_googlepay_button_overlay.xml.flat +0 -0
  272. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  273. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-xhdpi-v8_googlepay_button_background_image.9.png.flat +0 -0
  274. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-xhdpi-v8_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  275. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-xxhdpi-v8_googlepay_button_background_image.9.png.flat +0 -0
  276. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-xxhdpi-v8_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  277. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-xxxhdpi-v8_googlepay_button_background_image.9.png.flat +0 -0
  278. package/android/build/intermediates/compiled_local_resources/release/out/drawable-night-xxxhdpi-v8_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  279. package/android/build/intermediates/compiled_local_resources/release/out/drawable-nl-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  280. package/android/build/intermediates/compiled_local_resources/release/out/drawable-nl_pay_with_googlepay_button_content.xml.flat +0 -0
  281. package/android/build/intermediates/compiled_local_resources/release/out/drawable-no-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  282. package/android/build/intermediates/compiled_local_resources/release/out/drawable-no_pay_with_googlepay_button_content.xml.flat +0 -0
  283. package/android/build/intermediates/compiled_local_resources/release/out/drawable-pl-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  284. package/android/build/intermediates/compiled_local_resources/release/out/drawable-pl_pay_with_googlepay_button_content.xml.flat +0 -0
  285. package/android/build/intermediates/compiled_local_resources/release/out/drawable-pt-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  286. package/android/build/intermediates/compiled_local_resources/release/out/drawable-pt_pay_with_googlepay_button_content.xml.flat +0 -0
  287. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ru-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  288. package/android/build/intermediates/compiled_local_resources/release/out/drawable-ru_pay_with_googlepay_button_content.xml.flat +0 -0
  289. package/android/build/intermediates/compiled_local_resources/release/out/drawable-sk-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  290. package/android/build/intermediates/compiled_local_resources/release/out/drawable-sk_pay_with_googlepay_button_content.xml.flat +0 -0
  291. package/android/build/intermediates/compiled_local_resources/release/out/drawable-sl-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  292. package/android/build/intermediates/compiled_local_resources/release/out/drawable-sl_pay_with_googlepay_button_content.xml.flat +0 -0
  293. package/android/build/intermediates/compiled_local_resources/release/out/drawable-sr-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  294. package/android/build/intermediates/compiled_local_resources/release/out/drawable-sr_pay_with_googlepay_button_content.xml.flat +0 -0
  295. package/android/build/intermediates/compiled_local_resources/release/out/drawable-sv-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  296. package/android/build/intermediates/compiled_local_resources/release/out/drawable-sv_pay_with_googlepay_button_content.xml.flat +0 -0
  297. package/android/build/intermediates/compiled_local_resources/release/out/drawable-th-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  298. package/android/build/intermediates/compiled_local_resources/release/out/drawable-th_pay_with_googlepay_button_content.xml.flat +0 -0
  299. package/android/build/intermediates/compiled_local_resources/release/out/drawable-tr-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  300. package/android/build/intermediates/compiled_local_resources/release/out/drawable-tr_pay_with_googlepay_button_content.xml.flat +0 -0
  301. package/android/build/intermediates/compiled_local_resources/release/out/drawable-uk-night-v8_pay_with_googlepay_button_content.xml.flat +0 -0
  302. package/android/build/intermediates/compiled_local_resources/release/out/drawable-uk_pay_with_googlepay_button_content.xml.flat +0 -0
  303. package/android/build/intermediates/compiled_local_resources/release/out/drawable-v21_googlepay_button_background.xml.flat +0 -0
  304. package/android/build/intermediates/compiled_local_resources/release/out/drawable-v21_googlepay_button_no_shadow_background.xml.flat +0 -0
  305. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xhdpi-v4_googlepay_button_background_image.9.png.flat +0 -0
  306. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xhdpi-v4_googlepay_button_background_image_focused.9.png.flat +0 -0
  307. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xhdpi-v4_googlepay_button_background_image_pressed.9.png.flat +0 -0
  308. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xhdpi-v4_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  309. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xhdpi-v4_googlepay_button_no_shadow_background_image_focused.9.png.flat +0 -0
  310. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xhdpi-v4_googlepay_button_no_shadow_background_image_pressed.9.png.flat +0 -0
  311. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxhdpi-v4_googlepay_button_background_image.9.png.flat +0 -0
  312. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxhdpi-v4_googlepay_button_background_image_focused.9.png.flat +0 -0
  313. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxhdpi-v4_googlepay_button_background_image_pressed.9.png.flat +0 -0
  314. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxhdpi-v4_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  315. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxhdpi-v4_googlepay_button_no_shadow_background_image_focused.9.png.flat +0 -0
  316. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxhdpi-v4_googlepay_button_no_shadow_background_image_pressed.9.png.flat +0 -0
  317. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxxhdpi-v4_googlepay_button_background_image.9.png.flat +0 -0
  318. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxxhdpi-v4_googlepay_button_background_image_focused.9.png.flat +0 -0
  319. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxxhdpi-v4_googlepay_button_background_image_pressed.9.png.flat +0 -0
  320. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxxhdpi-v4_googlepay_button_no_shadow_background_image.9.png.flat +0 -0
  321. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxxhdpi-v4_googlepay_button_no_shadow_background_image_focused.9.png.flat +0 -0
  322. package/android/build/intermediates/compiled_local_resources/release/out/drawable-xxxhdpi-v4_googlepay_button_no_shadow_background_image_pressed.9.png.flat +0 -0
  323. package/android/build/intermediates/compiled_local_resources/release/out/drawable-zh_pay_with_googlepay_button_content.xml.flat +0 -0
  324. package/android/build/intermediates/compiled_local_resources/release/out/drawable_googlepay_button_content.xml.flat +0 -0
  325. package/android/build/intermediates/compiled_local_resources/release/out/drawable_googlepay_button_overlay.xml.flat +0 -0
  326. package/android/build/intermediates/compiled_local_resources/release/out/drawable_pay_with_googlepay_button_content.xml.flat +0 -0
  327. package/android/build/intermediates/compiled_local_resources/release/out/layout-night-v8_googlepay_button.xml.flat +0 -0
  328. package/android/build/intermediates/compiled_local_resources/release/out/layout-night-v8_pay_with_googlepay_button.xml.flat +0 -0
  329. package/android/build/intermediates/compiled_local_resources/release/out/layout_googlepay_button.xml.flat +0 -0
  330. package/android/build/intermediates/compiled_local_resources/release/out/layout_googlepay_button_no_shadow.xml.flat +0 -0
  331. package/android/build/intermediates/compiled_local_resources/release/out/layout_pay_with_googlepay_button.xml.flat +0 -0
  332. package/android/build/intermediates/compiled_local_resources/release/out/layout_pay_with_googlepay_button_no_shadow.xml.flat +0 -0
  333. package/android/build/intermediates/data_binding_base_class_log_artifact/debug/out/com.reactnativestripesdk-binding_classes.json +0 -0
  334. package/android/build/intermediates/data_binding_base_class_log_artifact/release/out/com.reactnativestripesdk-binding_classes.json +0 -0
  335. package/android/build/intermediates/data_binding_layout_info_type_package/debug/out/googlepay_button-layout-night.xml +1 -0
  336. package/android/build/intermediates/data_binding_layout_info_type_package/debug/out/googlepay_button-layout.xml +1 -0
  337. package/android/build/intermediates/data_binding_layout_info_type_package/debug/out/googlepay_button_no_shadow-layout.xml +1 -0
  338. package/android/build/intermediates/data_binding_layout_info_type_package/debug/out/pay_with_googlepay_button-layout-night.xml +1 -0
  339. package/android/build/intermediates/data_binding_layout_info_type_package/debug/out/pay_with_googlepay_button-layout.xml +1 -0
  340. package/android/build/intermediates/data_binding_layout_info_type_package/debug/out/pay_with_googlepay_button_no_shadow-layout.xml +1 -0
  341. package/android/build/intermediates/data_binding_layout_info_type_package/release/out/googlepay_button-layout-night.xml +1 -0
  342. package/android/build/intermediates/data_binding_layout_info_type_package/release/out/googlepay_button-layout.xml +1 -0
  343. package/android/build/intermediates/data_binding_layout_info_type_package/release/out/googlepay_button_no_shadow-layout.xml +1 -0
  344. package/android/build/intermediates/data_binding_layout_info_type_package/release/out/pay_with_googlepay_button-layout-night.xml +1 -0
  345. package/android/build/intermediates/data_binding_layout_info_type_package/release/out/pay_with_googlepay_button-layout.xml +1 -0
  346. package/android/build/intermediates/data_binding_layout_info_type_package/release/out/pay_with_googlepay_button_no_shadow-layout.xml +1 -0
  347. package/android/build/intermediates/incremental/dataBindingGenBaseClassesDebug/base_builder_log.json +0 -0
  348. package/android/build/intermediates/incremental/dataBindingGenBaseClassesRelease/base_builder_log.json +0 -0
  349. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
  350. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
  351. package/android/build/intermediates/incremental/mergeReleaseJniLibFolders/merger.xml +2 -0
  352. package/android/build/intermediates/incremental/mergeReleaseShaders/merger.xml +2 -0
  353. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
  354. package/android/build/intermediates/incremental/packageDebugResources/compile-file-map.properties +116 -0
  355. package/android/build/intermediates/incremental/packageDebugResources/merged.dir/values/values.xml +12 -0
  356. package/android/build/intermediates/incremental/packageDebugResources/merged.dir/values-night-v8/values-night-v8.xml +12 -0
  357. package/android/build/intermediates/incremental/packageDebugResources/merger.xml +2 -0
  358. package/android/build/intermediates/incremental/packageDebugResources/stripped.dir/layout/googlepay_button.xml +31 -0
  359. package/android/build/intermediates/incremental/packageDebugResources/stripped.dir/layout/googlepay_button_no_shadow.xml +31 -0
  360. package/android/build/intermediates/incremental/packageDebugResources/stripped.dir/layout/pay_with_googlepay_button.xml +31 -0
  361. package/android/build/intermediates/incremental/packageDebugResources/stripped.dir/layout/pay_with_googlepay_button_no_shadow.xml +31 -0
  362. package/android/build/intermediates/incremental/packageDebugResources/stripped.dir/layout-night-v8/googlepay_button.xml +31 -0
  363. package/android/build/intermediates/incremental/packageDebugResources/stripped.dir/layout-night-v8/pay_with_googlepay_button.xml +31 -0
  364. package/android/build/intermediates/incremental/packageReleaseAssets/merger.xml +2 -0
  365. package/android/build/intermediates/incremental/packageReleaseResources/compile-file-map.properties +116 -0
  366. package/android/build/intermediates/incremental/packageReleaseResources/merged.dir/values/values.xml +12 -0
  367. package/android/build/intermediates/incremental/packageReleaseResources/merged.dir/values-night-v8/values-night-v8.xml +12 -0
  368. package/android/build/intermediates/incremental/packageReleaseResources/merger.xml +2 -0
  369. package/android/build/intermediates/incremental/packageReleaseResources/stripped.dir/layout/googlepay_button.xml +31 -0
  370. package/android/build/intermediates/incremental/packageReleaseResources/stripped.dir/layout/googlepay_button_no_shadow.xml +31 -0
  371. package/android/build/intermediates/incremental/packageReleaseResources/stripped.dir/layout/pay_with_googlepay_button.xml +31 -0
  372. package/android/build/intermediates/incremental/packageReleaseResources/stripped.dir/layout/pay_with_googlepay_button_no_shadow.xml +31 -0
  373. package/android/build/intermediates/incremental/packageReleaseResources/stripped.dir/layout-night-v8/googlepay_button.xml +31 -0
  374. package/android/build/intermediates/incremental/packageReleaseResources/stripped.dir/layout-night-v8/pay_with_googlepay_button.xml +31 -0
  375. package/android/build/intermediates/javac/debug/classes/com/reactnativestripesdk/BuildConfig.class +0 -0
  376. package/android/build/intermediates/javac/debug/classes/com/reactnativestripesdk/databinding/GooglepayButtonBinding.class +0 -0
  377. package/android/build/intermediates/javac/debug/classes/com/reactnativestripesdk/databinding/GooglepayButtonNoShadowBinding.class +0 -0
  378. package/android/build/intermediates/javac/debug/classes/com/reactnativestripesdk/databinding/PayWithGooglepayButtonBinding.class +0 -0
  379. package/android/build/intermediates/javac/debug/classes/com/reactnativestripesdk/databinding/PayWithGooglepayButtonNoShadowBinding.class +0 -0
  380. package/android/build/intermediates/javac/release/classes/com/reactnativestripesdk/BuildConfig.class +0 -0
  381. package/android/build/intermediates/javac/release/classes/com/reactnativestripesdk/databinding/GooglepayButtonBinding.class +0 -0
  382. package/android/build/intermediates/javac/release/classes/com/reactnativestripesdk/databinding/GooglepayButtonNoShadowBinding.class +0 -0
  383. package/android/build/intermediates/javac/release/classes/com/reactnativestripesdk/databinding/PayWithGooglepayButtonBinding.class +0 -0
  384. package/android/build/intermediates/javac/release/classes/com/reactnativestripesdk/databinding/PayWithGooglepayButtonNoShadowBinding.class +0 -0
  385. package/android/build/intermediates/library_java_res/debug/res.jar +0 -0
  386. package/android/build/intermediates/library_java_res/release/res.jar +0 -0
  387. package/android/build/intermediates/local_only_symbol_list/debug/R-def.txt +26 -0
  388. package/android/build/intermediates/local_only_symbol_list/release/R-def.txt +26 -0
  389. package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +11 -0
  390. package/android/build/intermediates/manifest_merge_blame_file/release/manifest-merger-blame-release-report.txt +11 -0
  391. package/android/build/intermediates/merged_manifest/debug/AndroidManifest.xml +9 -0
  392. package/android/build/intermediates/merged_manifest/release/AndroidManifest.xml +9 -0
  393. package/android/build/intermediates/navigation_json/debug/navigation.json +1 -0
  394. package/android/build/intermediates/navigation_json/release/navigation.json +1 -0
  395. package/android/build/intermediates/packaged_manifests/debug/output-metadata.json +16 -0
  396. package/android/build/intermediates/packaged_manifests/release/output-metadata.json +16 -0
  397. package/android/build/intermediates/packaged_res/debug/drawable/googlepay_button_content.xml +48 -0
  398. package/android/build/intermediates/packaged_res/debug/drawable/googlepay_button_overlay.xml +11 -0
  399. package/android/build/intermediates/packaged_res/debug/drawable/pay_with_googlepay_button_content.xml +14 -0
  400. package/android/build/intermediates/packaged_res/debug/drawable-ar/pay_with_googlepay_button_content.xml +14 -0
  401. package/android/build/intermediates/packaged_res/debug/drawable-ar-night-v8/pay_with_googlepay_button_content.xml +14 -0
  402. package/android/build/intermediates/packaged_res/debug/drawable-bg/pay_with_googlepay_button_content.xml +14 -0
  403. package/android/build/intermediates/packaged_res/debug/drawable-bg-night-v8/pay_with_googlepay_button_content.xml +14 -0
  404. package/android/build/intermediates/packaged_res/debug/drawable-ca/pay_with_googlepay_button_content.xml +14 -0
  405. package/android/build/intermediates/packaged_res/debug/drawable-ca-night-v8/pay_with_googlepay_button_content.xml +14 -0
  406. package/android/build/intermediates/packaged_res/debug/drawable-cs/pay_with_googlepay_button_content.xml +14 -0
  407. package/android/build/intermediates/packaged_res/debug/drawable-cs-night-v8/pay_with_googlepay_button_content.xml +14 -0
  408. package/android/build/intermediates/packaged_res/debug/drawable-da/pay_with_googlepay_button_content.xml +14 -0
  409. package/android/build/intermediates/packaged_res/debug/drawable-da-night-v8/pay_with_googlepay_button_content.xml +14 -0
  410. package/android/build/intermediates/packaged_res/debug/drawable-de/pay_with_googlepay_button_content.xml +15 -0
  411. package/android/build/intermediates/packaged_res/debug/drawable-de-night-v8/pay_with_googlepay_button_content.xml +15 -0
  412. package/android/build/intermediates/packaged_res/debug/drawable-el/pay_with_googlepay_button_content.xml +14 -0
  413. package/android/build/intermediates/packaged_res/debug/drawable-el-night-v8/pay_with_googlepay_button_content.xml +14 -0
  414. package/android/build/intermediates/packaged_res/debug/drawable-es/pay_with_googlepay_button_content.xml +14 -0
  415. package/android/build/intermediates/packaged_res/debug/drawable-es-night-v8/pay_with_googlepay_button_content.xml +14 -0
  416. package/android/build/intermediates/packaged_res/debug/drawable-et/pay_with_googlepay_button_content.xml +14 -0
  417. package/android/build/intermediates/packaged_res/debug/drawable-et-night-v8/pay_with_googlepay_button_content.xml +14 -0
  418. package/android/build/intermediates/packaged_res/debug/drawable-fi/pay_with_googlepay_button_content.xml +15 -0
  419. package/android/build/intermediates/packaged_res/debug/drawable-fi-night-v8/pay_with_googlepay_button_content.xml +15 -0
  420. package/android/build/intermediates/packaged_res/debug/drawable-fr/pay_with_googlepay_button_content.xml +14 -0
  421. package/android/build/intermediates/packaged_res/debug/drawable-fr-night-v8/pay_with_googlepay_button_content.xml +14 -0
  422. package/android/build/intermediates/packaged_res/debug/drawable-hdpi-v4/googlepay_button_background_image.9.png +0 -0
  423. package/android/build/intermediates/packaged_res/debug/drawable-hdpi-v4/googlepay_button_background_image_focused.9.png +0 -0
  424. package/android/build/intermediates/packaged_res/debug/drawable-hdpi-v4/googlepay_button_background_image_pressed.9.png +0 -0
  425. package/android/build/intermediates/packaged_res/debug/drawable-hdpi-v4/googlepay_button_no_shadow_background_image.9.png +0 -0
  426. package/android/build/intermediates/packaged_res/debug/drawable-hdpi-v4/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  427. package/android/build/intermediates/packaged_res/debug/drawable-hdpi-v4/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  428. package/android/build/intermediates/packaged_res/debug/drawable-hr/pay_with_googlepay_button_content.xml +14 -0
  429. package/android/build/intermediates/packaged_res/debug/drawable-hr-night-v8/pay_with_googlepay_button_content.xml +14 -0
  430. package/android/build/intermediates/packaged_res/debug/drawable-id/pay_with_googlepay_button_content.xml +14 -0
  431. package/android/build/intermediates/packaged_res/debug/drawable-id-night-v8/pay_with_googlepay_button_content.xml +14 -0
  432. package/android/build/intermediates/packaged_res/debug/drawable-it/pay_with_googlepay_button_content.xml +14 -0
  433. package/android/build/intermediates/packaged_res/debug/drawable-it-night-v8/pay_with_googlepay_button_content.xml +14 -0
  434. package/android/build/intermediates/packaged_res/debug/drawable-ja/pay_with_googlepay_button_content.xml +14 -0
  435. package/android/build/intermediates/packaged_res/debug/drawable-ja-night-v8/pay_with_googlepay_button_content.xml +14 -0
  436. package/android/build/intermediates/packaged_res/debug/drawable-ko/pay_with_googlepay_button_content.xml +14 -0
  437. package/android/build/intermediates/packaged_res/debug/drawable-ko-night-v8/pay_with_googlepay_button_content.xml +14 -0
  438. package/android/build/intermediates/packaged_res/debug/drawable-mdpi-v4/googlepay_button_background_image.9.png +0 -0
  439. package/android/build/intermediates/packaged_res/debug/drawable-mdpi-v4/googlepay_button_background_image_focused.9.png +0 -0
  440. package/android/build/intermediates/packaged_res/debug/drawable-mdpi-v4/googlepay_button_background_image_pressed.9.png +0 -0
  441. package/android/build/intermediates/packaged_res/debug/drawable-mdpi-v4/googlepay_button_no_shadow_background_image.9.png +0 -0
  442. package/android/build/intermediates/packaged_res/debug/drawable-mdpi-v4/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  443. package/android/build/intermediates/packaged_res/debug/drawable-mdpi-v4/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  444. package/android/build/intermediates/packaged_res/debug/drawable-ms/pay_with_googlepay_button_content.xml +14 -0
  445. package/android/build/intermediates/packaged_res/debug/drawable-ms-night-v8/pay_with_googlepay_button_content.xml +14 -0
  446. package/android/build/intermediates/packaged_res/debug/drawable-night-hdpi-v8/googlepay_button_background_image.9.png +0 -0
  447. package/android/build/intermediates/packaged_res/debug/drawable-night-hdpi-v8/googlepay_button_no_shadow_background_image.9.png +0 -0
  448. package/android/build/intermediates/packaged_res/debug/drawable-night-mdpi-v8/googlepay_button_background_image.9.png +0 -0
  449. package/android/build/intermediates/packaged_res/debug/drawable-night-mdpi-v8/googlepay_button_no_shadow_background_image.9.png +0 -0
  450. package/android/build/intermediates/packaged_res/debug/drawable-night-v21/googlepay_button_background.xml +7 -0
  451. package/android/build/intermediates/packaged_res/debug/drawable-night-v21/googlepay_button_no_shadow_background.xml +7 -0
  452. package/android/build/intermediates/packaged_res/debug/drawable-night-v8/googlepay_button_content.xml +48 -0
  453. package/android/build/intermediates/packaged_res/debug/drawable-night-v8/googlepay_button_overlay.xml +12 -0
  454. package/android/build/intermediates/packaged_res/debug/drawable-night-v8/pay_with_googlepay_button_content.xml +14 -0
  455. package/android/build/intermediates/packaged_res/debug/drawable-night-xhdpi-v8/googlepay_button_background_image.9.png +0 -0
  456. package/android/build/intermediates/packaged_res/debug/drawable-night-xhdpi-v8/googlepay_button_no_shadow_background_image.9.png +0 -0
  457. package/android/build/intermediates/packaged_res/debug/drawable-night-xxhdpi-v8/googlepay_button_background_image.9.png +0 -0
  458. package/android/build/intermediates/packaged_res/debug/drawable-night-xxhdpi-v8/googlepay_button_no_shadow_background_image.9.png +0 -0
  459. package/android/build/intermediates/packaged_res/debug/drawable-night-xxxhdpi-v8/googlepay_button_background_image.9.png +0 -0
  460. package/android/build/intermediates/packaged_res/debug/drawable-night-xxxhdpi-v8/googlepay_button_no_shadow_background_image.9.png +0 -0
  461. package/android/build/intermediates/packaged_res/debug/drawable-nl/pay_with_googlepay_button_content.xml +14 -0
  462. package/android/build/intermediates/packaged_res/debug/drawable-nl-night-v8/pay_with_googlepay_button_content.xml +14 -0
  463. package/android/build/intermediates/packaged_res/debug/drawable-no/pay_with_googlepay_button_content.xml +14 -0
  464. package/android/build/intermediates/packaged_res/debug/drawable-no-night-v8/pay_with_googlepay_button_content.xml +14 -0
  465. package/android/build/intermediates/packaged_res/debug/drawable-pl/pay_with_googlepay_button_content.xml +14 -0
  466. package/android/build/intermediates/packaged_res/debug/drawable-pl-night-v8/pay_with_googlepay_button_content.xml +14 -0
  467. package/android/build/intermediates/packaged_res/debug/drawable-pt/pay_with_googlepay_button_content.xml +14 -0
  468. package/android/build/intermediates/packaged_res/debug/drawable-pt-night-v8/pay_with_googlepay_button_content.xml +14 -0
  469. package/android/build/intermediates/packaged_res/debug/drawable-ru/pay_with_googlepay_button_content.xml +14 -0
  470. package/android/build/intermediates/packaged_res/debug/drawable-ru-night-v8/pay_with_googlepay_button_content.xml +14 -0
  471. package/android/build/intermediates/packaged_res/debug/drawable-sk/pay_with_googlepay_button_content.xml +14 -0
  472. package/android/build/intermediates/packaged_res/debug/drawable-sk-night-v8/pay_with_googlepay_button_content.xml +14 -0
  473. package/android/build/intermediates/packaged_res/debug/drawable-sl/pay_with_googlepay_button_content.xml +14 -0
  474. package/android/build/intermediates/packaged_res/debug/drawable-sl-night-v8/pay_with_googlepay_button_content.xml +14 -0
  475. package/android/build/intermediates/packaged_res/debug/drawable-sr/pay_with_googlepay_button_content.xml +14 -0
  476. package/android/build/intermediates/packaged_res/debug/drawable-sr-night-v8/pay_with_googlepay_button_content.xml +14 -0
  477. package/android/build/intermediates/packaged_res/debug/drawable-sv/pay_with_googlepay_button_content.xml +14 -0
  478. package/android/build/intermediates/packaged_res/debug/drawable-sv-night-v8/pay_with_googlepay_button_content.xml +14 -0
  479. package/android/build/intermediates/packaged_res/debug/drawable-th/pay_with_googlepay_button_content.xml +14 -0
  480. package/android/build/intermediates/packaged_res/debug/drawable-th-night-v8/pay_with_googlepay_button_content.xml +14 -0
  481. package/android/build/intermediates/packaged_res/debug/drawable-tr/pay_with_googlepay_button_content.xml +14 -0
  482. package/android/build/intermediates/packaged_res/debug/drawable-tr-night-v8/pay_with_googlepay_button_content.xml +14 -0
  483. package/android/build/intermediates/packaged_res/debug/drawable-uk/pay_with_googlepay_button_content.xml +14 -0
  484. package/android/build/intermediates/packaged_res/debug/drawable-uk-night-v8/pay_with_googlepay_button_content.xml +14 -0
  485. package/android/build/intermediates/packaged_res/debug/drawable-v21/googlepay_button_background.xml +21 -0
  486. package/android/build/intermediates/packaged_res/debug/drawable-v21/googlepay_button_no_shadow_background.xml +21 -0
  487. package/android/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/googlepay_button_background_image.9.png +0 -0
  488. package/android/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/googlepay_button_background_image_focused.9.png +0 -0
  489. package/android/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/googlepay_button_background_image_pressed.9.png +0 -0
  490. package/android/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/googlepay_button_no_shadow_background_image.9.png +0 -0
  491. package/android/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  492. package/android/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  493. package/android/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/googlepay_button_background_image.9.png +0 -0
  494. package/android/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/googlepay_button_background_image_focused.9.png +0 -0
  495. package/android/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/googlepay_button_background_image_pressed.9.png +0 -0
  496. package/android/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/googlepay_button_no_shadow_background_image.9.png +0 -0
  497. package/android/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  498. package/android/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  499. package/android/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/googlepay_button_background_image.9.png +0 -0
  500. package/android/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/googlepay_button_background_image_focused.9.png +0 -0
  501. package/android/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/googlepay_button_background_image_pressed.9.png +0 -0
  502. package/android/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/googlepay_button_no_shadow_background_image.9.png +0 -0
  503. package/android/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  504. package/android/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  505. package/android/build/intermediates/packaged_res/debug/drawable-zh/pay_with_googlepay_button_content.xml +15 -0
  506. package/android/build/intermediates/packaged_res/debug/layout/googlepay_button.xml +31 -0
  507. package/android/build/intermediates/packaged_res/debug/layout/googlepay_button_no_shadow.xml +31 -0
  508. package/android/build/intermediates/packaged_res/debug/layout/pay_with_googlepay_button.xml +31 -0
  509. package/android/build/intermediates/packaged_res/debug/layout/pay_with_googlepay_button_no_shadow.xml +31 -0
  510. package/android/build/intermediates/packaged_res/debug/layout-night-v8/googlepay_button.xml +31 -0
  511. package/android/build/intermediates/packaged_res/debug/layout-night-v8/pay_with_googlepay_button.xml +31 -0
  512. package/android/build/intermediates/packaged_res/debug/values/values.xml +12 -0
  513. package/android/build/intermediates/packaged_res/debug/values-night-v8/values-night-v8.xml +12 -0
  514. package/android/build/intermediates/packaged_res/release/drawable/googlepay_button_content.xml +48 -0
  515. package/android/build/intermediates/packaged_res/release/drawable/googlepay_button_overlay.xml +11 -0
  516. package/android/build/intermediates/packaged_res/release/drawable/pay_with_googlepay_button_content.xml +14 -0
  517. package/android/build/intermediates/packaged_res/release/drawable-ar/pay_with_googlepay_button_content.xml +14 -0
  518. package/android/build/intermediates/packaged_res/release/drawable-ar-night-v8/pay_with_googlepay_button_content.xml +14 -0
  519. package/android/build/intermediates/packaged_res/release/drawable-bg/pay_with_googlepay_button_content.xml +14 -0
  520. package/android/build/intermediates/packaged_res/release/drawable-bg-night-v8/pay_with_googlepay_button_content.xml +14 -0
  521. package/android/build/intermediates/packaged_res/release/drawable-ca/pay_with_googlepay_button_content.xml +14 -0
  522. package/android/build/intermediates/packaged_res/release/drawable-ca-night-v8/pay_with_googlepay_button_content.xml +14 -0
  523. package/android/build/intermediates/packaged_res/release/drawable-cs/pay_with_googlepay_button_content.xml +14 -0
  524. package/android/build/intermediates/packaged_res/release/drawable-cs-night-v8/pay_with_googlepay_button_content.xml +14 -0
  525. package/android/build/intermediates/packaged_res/release/drawable-da/pay_with_googlepay_button_content.xml +14 -0
  526. package/android/build/intermediates/packaged_res/release/drawable-da-night-v8/pay_with_googlepay_button_content.xml +14 -0
  527. package/android/build/intermediates/packaged_res/release/drawable-de/pay_with_googlepay_button_content.xml +15 -0
  528. package/android/build/intermediates/packaged_res/release/drawable-de-night-v8/pay_with_googlepay_button_content.xml +15 -0
  529. package/android/build/intermediates/packaged_res/release/drawable-el/pay_with_googlepay_button_content.xml +14 -0
  530. package/android/build/intermediates/packaged_res/release/drawable-el-night-v8/pay_with_googlepay_button_content.xml +14 -0
  531. package/android/build/intermediates/packaged_res/release/drawable-es/pay_with_googlepay_button_content.xml +14 -0
  532. package/android/build/intermediates/packaged_res/release/drawable-es-night-v8/pay_with_googlepay_button_content.xml +14 -0
  533. package/android/build/intermediates/packaged_res/release/drawable-et/pay_with_googlepay_button_content.xml +14 -0
  534. package/android/build/intermediates/packaged_res/release/drawable-et-night-v8/pay_with_googlepay_button_content.xml +14 -0
  535. package/android/build/intermediates/packaged_res/release/drawable-fi/pay_with_googlepay_button_content.xml +15 -0
  536. package/android/build/intermediates/packaged_res/release/drawable-fi-night-v8/pay_with_googlepay_button_content.xml +15 -0
  537. package/android/build/intermediates/packaged_res/release/drawable-fr/pay_with_googlepay_button_content.xml +14 -0
  538. package/android/build/intermediates/packaged_res/release/drawable-fr-night-v8/pay_with_googlepay_button_content.xml +14 -0
  539. package/android/build/intermediates/packaged_res/release/drawable-hdpi-v4/googlepay_button_background_image.9.png +0 -0
  540. package/android/build/intermediates/packaged_res/release/drawable-hdpi-v4/googlepay_button_background_image_focused.9.png +0 -0
  541. package/android/build/intermediates/packaged_res/release/drawable-hdpi-v4/googlepay_button_background_image_pressed.9.png +0 -0
  542. package/android/build/intermediates/packaged_res/release/drawable-hdpi-v4/googlepay_button_no_shadow_background_image.9.png +0 -0
  543. package/android/build/intermediates/packaged_res/release/drawable-hdpi-v4/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  544. package/android/build/intermediates/packaged_res/release/drawable-hdpi-v4/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  545. package/android/build/intermediates/packaged_res/release/drawable-hr/pay_with_googlepay_button_content.xml +14 -0
  546. package/android/build/intermediates/packaged_res/release/drawable-hr-night-v8/pay_with_googlepay_button_content.xml +14 -0
  547. package/android/build/intermediates/packaged_res/release/drawable-id/pay_with_googlepay_button_content.xml +14 -0
  548. package/android/build/intermediates/packaged_res/release/drawable-id-night-v8/pay_with_googlepay_button_content.xml +14 -0
  549. package/android/build/intermediates/packaged_res/release/drawable-it/pay_with_googlepay_button_content.xml +14 -0
  550. package/android/build/intermediates/packaged_res/release/drawable-it-night-v8/pay_with_googlepay_button_content.xml +14 -0
  551. package/android/build/intermediates/packaged_res/release/drawable-ja/pay_with_googlepay_button_content.xml +14 -0
  552. package/android/build/intermediates/packaged_res/release/drawable-ja-night-v8/pay_with_googlepay_button_content.xml +14 -0
  553. package/android/build/intermediates/packaged_res/release/drawable-ko/pay_with_googlepay_button_content.xml +14 -0
  554. package/android/build/intermediates/packaged_res/release/drawable-ko-night-v8/pay_with_googlepay_button_content.xml +14 -0
  555. package/android/build/intermediates/packaged_res/release/drawable-mdpi-v4/googlepay_button_background_image.9.png +0 -0
  556. package/android/build/intermediates/packaged_res/release/drawable-mdpi-v4/googlepay_button_background_image_focused.9.png +0 -0
  557. package/android/build/intermediates/packaged_res/release/drawable-mdpi-v4/googlepay_button_background_image_pressed.9.png +0 -0
  558. package/android/build/intermediates/packaged_res/release/drawable-mdpi-v4/googlepay_button_no_shadow_background_image.9.png +0 -0
  559. package/android/build/intermediates/packaged_res/release/drawable-mdpi-v4/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  560. package/android/build/intermediates/packaged_res/release/drawable-mdpi-v4/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  561. package/android/build/intermediates/packaged_res/release/drawable-ms/pay_with_googlepay_button_content.xml +14 -0
  562. package/android/build/intermediates/packaged_res/release/drawable-ms-night-v8/pay_with_googlepay_button_content.xml +14 -0
  563. package/android/build/intermediates/packaged_res/release/drawable-night-hdpi-v8/googlepay_button_background_image.9.png +0 -0
  564. package/android/build/intermediates/packaged_res/release/drawable-night-hdpi-v8/googlepay_button_no_shadow_background_image.9.png +0 -0
  565. package/android/build/intermediates/packaged_res/release/drawable-night-mdpi-v8/googlepay_button_background_image.9.png +0 -0
  566. package/android/build/intermediates/packaged_res/release/drawable-night-mdpi-v8/googlepay_button_no_shadow_background_image.9.png +0 -0
  567. package/android/build/intermediates/packaged_res/release/drawable-night-v21/googlepay_button_background.xml +7 -0
  568. package/android/build/intermediates/packaged_res/release/drawable-night-v21/googlepay_button_no_shadow_background.xml +7 -0
  569. package/android/build/intermediates/packaged_res/release/drawable-night-v8/googlepay_button_content.xml +48 -0
  570. package/android/build/intermediates/packaged_res/release/drawable-night-v8/googlepay_button_overlay.xml +12 -0
  571. package/android/build/intermediates/packaged_res/release/drawable-night-v8/pay_with_googlepay_button_content.xml +14 -0
  572. package/android/build/intermediates/packaged_res/release/drawable-night-xhdpi-v8/googlepay_button_background_image.9.png +0 -0
  573. package/android/build/intermediates/packaged_res/release/drawable-night-xhdpi-v8/googlepay_button_no_shadow_background_image.9.png +0 -0
  574. package/android/build/intermediates/packaged_res/release/drawable-night-xxhdpi-v8/googlepay_button_background_image.9.png +0 -0
  575. package/android/build/intermediates/packaged_res/release/drawable-night-xxhdpi-v8/googlepay_button_no_shadow_background_image.9.png +0 -0
  576. package/android/build/intermediates/packaged_res/release/drawable-night-xxxhdpi-v8/googlepay_button_background_image.9.png +0 -0
  577. package/android/build/intermediates/packaged_res/release/drawable-night-xxxhdpi-v8/googlepay_button_no_shadow_background_image.9.png +0 -0
  578. package/android/build/intermediates/packaged_res/release/drawable-nl/pay_with_googlepay_button_content.xml +14 -0
  579. package/android/build/intermediates/packaged_res/release/drawable-nl-night-v8/pay_with_googlepay_button_content.xml +14 -0
  580. package/android/build/intermediates/packaged_res/release/drawable-no/pay_with_googlepay_button_content.xml +14 -0
  581. package/android/build/intermediates/packaged_res/release/drawable-no-night-v8/pay_with_googlepay_button_content.xml +14 -0
  582. package/android/build/intermediates/packaged_res/release/drawable-pl/pay_with_googlepay_button_content.xml +14 -0
  583. package/android/build/intermediates/packaged_res/release/drawable-pl-night-v8/pay_with_googlepay_button_content.xml +14 -0
  584. package/android/build/intermediates/packaged_res/release/drawable-pt/pay_with_googlepay_button_content.xml +14 -0
  585. package/android/build/intermediates/packaged_res/release/drawable-pt-night-v8/pay_with_googlepay_button_content.xml +14 -0
  586. package/android/build/intermediates/packaged_res/release/drawable-ru/pay_with_googlepay_button_content.xml +14 -0
  587. package/android/build/intermediates/packaged_res/release/drawable-ru-night-v8/pay_with_googlepay_button_content.xml +14 -0
  588. package/android/build/intermediates/packaged_res/release/drawable-sk/pay_with_googlepay_button_content.xml +14 -0
  589. package/android/build/intermediates/packaged_res/release/drawable-sk-night-v8/pay_with_googlepay_button_content.xml +14 -0
  590. package/android/build/intermediates/packaged_res/release/drawable-sl/pay_with_googlepay_button_content.xml +14 -0
  591. package/android/build/intermediates/packaged_res/release/drawable-sl-night-v8/pay_with_googlepay_button_content.xml +14 -0
  592. package/android/build/intermediates/packaged_res/release/drawable-sr/pay_with_googlepay_button_content.xml +14 -0
  593. package/android/build/intermediates/packaged_res/release/drawable-sr-night-v8/pay_with_googlepay_button_content.xml +14 -0
  594. package/android/build/intermediates/packaged_res/release/drawable-sv/pay_with_googlepay_button_content.xml +14 -0
  595. package/android/build/intermediates/packaged_res/release/drawable-sv-night-v8/pay_with_googlepay_button_content.xml +14 -0
  596. package/android/build/intermediates/packaged_res/release/drawable-th/pay_with_googlepay_button_content.xml +14 -0
  597. package/android/build/intermediates/packaged_res/release/drawable-th-night-v8/pay_with_googlepay_button_content.xml +14 -0
  598. package/android/build/intermediates/packaged_res/release/drawable-tr/pay_with_googlepay_button_content.xml +14 -0
  599. package/android/build/intermediates/packaged_res/release/drawable-tr-night-v8/pay_with_googlepay_button_content.xml +14 -0
  600. package/android/build/intermediates/packaged_res/release/drawable-uk/pay_with_googlepay_button_content.xml +14 -0
  601. package/android/build/intermediates/packaged_res/release/drawable-uk-night-v8/pay_with_googlepay_button_content.xml +14 -0
  602. package/android/build/intermediates/packaged_res/release/drawable-v21/googlepay_button_background.xml +21 -0
  603. package/android/build/intermediates/packaged_res/release/drawable-v21/googlepay_button_no_shadow_background.xml +21 -0
  604. package/android/build/intermediates/packaged_res/release/drawable-xhdpi-v4/googlepay_button_background_image.9.png +0 -0
  605. package/android/build/intermediates/packaged_res/release/drawable-xhdpi-v4/googlepay_button_background_image_focused.9.png +0 -0
  606. package/android/build/intermediates/packaged_res/release/drawable-xhdpi-v4/googlepay_button_background_image_pressed.9.png +0 -0
  607. package/android/build/intermediates/packaged_res/release/drawable-xhdpi-v4/googlepay_button_no_shadow_background_image.9.png +0 -0
  608. package/android/build/intermediates/packaged_res/release/drawable-xhdpi-v4/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  609. package/android/build/intermediates/packaged_res/release/drawable-xhdpi-v4/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  610. package/android/build/intermediates/packaged_res/release/drawable-xxhdpi-v4/googlepay_button_background_image.9.png +0 -0
  611. package/android/build/intermediates/packaged_res/release/drawable-xxhdpi-v4/googlepay_button_background_image_focused.9.png +0 -0
  612. package/android/build/intermediates/packaged_res/release/drawable-xxhdpi-v4/googlepay_button_background_image_pressed.9.png +0 -0
  613. package/android/build/intermediates/packaged_res/release/drawable-xxhdpi-v4/googlepay_button_no_shadow_background_image.9.png +0 -0
  614. package/android/build/intermediates/packaged_res/release/drawable-xxhdpi-v4/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  615. package/android/build/intermediates/packaged_res/release/drawable-xxhdpi-v4/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  616. package/android/build/intermediates/packaged_res/release/drawable-xxxhdpi-v4/googlepay_button_background_image.9.png +0 -0
  617. package/android/build/intermediates/packaged_res/release/drawable-xxxhdpi-v4/googlepay_button_background_image_focused.9.png +0 -0
  618. package/android/build/intermediates/packaged_res/release/drawable-xxxhdpi-v4/googlepay_button_background_image_pressed.9.png +0 -0
  619. package/android/build/intermediates/packaged_res/release/drawable-xxxhdpi-v4/googlepay_button_no_shadow_background_image.9.png +0 -0
  620. package/android/build/intermediates/packaged_res/release/drawable-xxxhdpi-v4/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  621. package/android/build/intermediates/packaged_res/release/drawable-xxxhdpi-v4/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  622. package/android/build/intermediates/packaged_res/release/drawable-zh/pay_with_googlepay_button_content.xml +15 -0
  623. package/android/build/intermediates/packaged_res/release/layout/googlepay_button.xml +31 -0
  624. package/android/build/intermediates/packaged_res/release/layout/googlepay_button_no_shadow.xml +31 -0
  625. package/android/build/intermediates/packaged_res/release/layout/pay_with_googlepay_button.xml +31 -0
  626. package/android/build/intermediates/packaged_res/release/layout/pay_with_googlepay_button_no_shadow.xml +31 -0
  627. package/android/build/intermediates/packaged_res/release/layout-night-v8/googlepay_button.xml +31 -0
  628. package/android/build/intermediates/packaged_res/release/layout-night-v8/pay_with_googlepay_button.xml +31 -0
  629. package/android/build/intermediates/packaged_res/release/values/values.xml +12 -0
  630. package/android/build/intermediates/packaged_res/release/values-night-v8/values-night-v8.xml +12 -0
  631. package/android/build/intermediates/runtime_library_classes_dir/debug/META-INF/reactnativestripesdk_debug.kotlin_module +0 -0
  632. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/AuBECSDebitFormView$setListeners$1.class +0 -0
  633. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/AuBECSDebitFormView.class +0 -0
  634. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/AuBECSDebitFormViewManager.class +0 -0
  635. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/BuildConfig.class +0 -0
  636. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/CardChangedEvent$Companion.class +0 -0
  637. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/CardChangedEvent.class +0 -0
  638. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/CardFocusEvent$Companion.class +0 -0
  639. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/CardFocusEvent.class +0 -0
  640. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/CardFormCompleteEvent$Companion.class +0 -0
  641. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/CardFormCompleteEvent.class +0 -0
  642. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/CardFormView.class +0 -0
  643. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/CardFormViewManager.class +0 -0
  644. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/ConfirmPaymentErrorType.class +0 -0
  645. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/ConfirmSetupIntentErrorType.class +0 -0
  646. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/ConstantsKt.class +0 -0
  647. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/CreateTokenErrorType.class +0 -0
  648. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/ErrorsKt.class +0 -0
  649. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/ExtensionsKt.class +0 -0
  650. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/FormCompleteEvent$Companion.class +0 -0
  651. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/FormCompleteEvent.class +0 -0
  652. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/GooglePayButtonManager$Companion.class +0 -0
  653. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/GooglePayButtonManager.class +0 -0
  654. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/GooglePayButtonView.class +0 -0
  655. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/GooglePayErrorType.class +0 -0
  656. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/GooglePayFragment$onViewCreated$1.class +0 -0
  657. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/GooglePayFragment$onViewCreated$2.class +0 -0
  658. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/GooglePayFragment$onViewCreated$3.class +0 -0
  659. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/GooglePayFragment$onViewCreated$4.class +0 -0
  660. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/GooglePayFragment.class +0 -0
  661. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/MappersKt$WhenMappings.class +0 -0
  662. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/MappersKt.class +0 -0
  663. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/NextPaymentActionErrorType.class +0 -0
  664. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/PaymentMethodCreateParamsException.class +0 -0
  665. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/PaymentMethodCreateParamsFactory$WhenMappings.class +0 -0
  666. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/PaymentMethodCreateParamsFactory.class +0 -0
  667. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/PaymentSheetErrorType.class +0 -0
  668. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/PaymentSheetFragment$configureFlowController$onFlowControllerConfigure$1.class +0 -0
  669. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/PaymentSheetFragment$onViewCreated$paymentOptionCallback$1.class +0 -0
  670. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/PaymentSheetFragment$onViewCreated$paymentResultCallback$1.class +0 -0
  671. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/PaymentSheetFragment.class +0 -0
  672. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/PaymentSheetFragmentKt.class +0 -0
  673. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/RetrievePaymentIntentErrorType.class +0 -0
  674. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/RetrieveSetupIntentErrorType.class +0 -0
  675. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeContainerManager.class +0 -0
  676. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeContainerView.class +0 -0
  677. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkCardView$setListeners$2.class +0 -0
  678. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkCardView$setListeners$3.class +0 -0
  679. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkCardView$setListeners$4.class +0 -0
  680. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkCardView$setListeners$5.class +0 -0
  681. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkCardView$setListeners$6.class +0 -0
  682. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkCardView.class +0 -0
  683. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkCardViewManager.class +0 -0
  684. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkModule$Companion.class +0 -0
  685. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkModule$createPaymentMethod$1.class +0 -0
  686. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkModule$createToken$1.class +0 -0
  687. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkModule$createTokenForCVCUpdate$1.class +0 -0
  688. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkModule$googlePayReceiver$1.class +0 -0
  689. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2$WhenMappings.class +0 -0
  690. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2.class +0 -0
  691. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$3$WhenMappings.class +0 -0
  692. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$3.class +0 -0
  693. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1.class +0 -0
  694. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkModule$mPaymentSheetReceiver$1.class +0 -0
  695. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkModule$payWithWeChatPay$1.class +0 -0
  696. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkModule.class +0 -0
  697. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/StripeSdkPackage.class +0 -0
  698. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/databinding/GooglepayButtonBinding.class +0 -0
  699. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/databinding/GooglepayButtonNoShadowBinding.class +0 -0
  700. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/databinding/PayWithGooglepayButtonBinding.class +0 -0
  701. package/android/build/intermediates/runtime_library_classes_dir/debug/com/reactnativestripesdk/databinding/PayWithGooglepayButtonNoShadowBinding.class +0 -0
  702. package/android/build/intermediates/runtime_library_classes_jar/release/classes.jar +0 -0
  703. package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +4399 -0
  704. package/android/build/intermediates/symbol_list_with_package_name/release/package-aware-r.txt +4399 -0
  705. package/android/build/kotlin/compileDebugKotlin/build-history.bin +0 -0
  706. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab +0 -0
  707. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  708. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  709. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.len +0 -0
  710. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  711. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab_i +0 -0
  712. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  713. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  714. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  715. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  716. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  717. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  718. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  719. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  720. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  721. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  722. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  723. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  724. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  725. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  726. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  727. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab +0 -0
  728. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  729. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  730. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  731. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  732. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  733. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
  734. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  735. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  736. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  737. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  738. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  739. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  740. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  741. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
  742. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab.keystream +0 -0
  743. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len +0 -0
  744. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab.len +0 -0
  745. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
  746. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab_i +0 -0
  747. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab_i.len +0 -0
  748. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab +0 -0
  749. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  750. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  751. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  752. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  753. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  754. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  755. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  756. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  757. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  758. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  759. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  760. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  761. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  762. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  763. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  764. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  765. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  766. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  767. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  768. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  769. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  770. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  771. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  772. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  773. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  774. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  775. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  776. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/counters.tab +2 -0
  777. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab +0 -0
  778. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  779. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  780. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.len +0 -0
  781. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  782. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab_i +0 -0
  783. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  784. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab +0 -0
  785. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  786. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  787. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.len +0 -0
  788. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  789. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab_i +0 -0
  790. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  791. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab +0 -0
  792. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.keystream +0 -0
  793. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  794. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.len +0 -0
  795. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values +0 -0
  796. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values.at +0 -0
  797. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values.s +1 -0
  798. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab_i +0 -0
  799. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab_i.len +0 -0
  800. package/android/build/kotlin/compileDebugKotlin/last-build.bin +0 -0
  801. package/android/build/kotlin/compileReleaseKotlin/build-history.bin +0 -0
  802. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab +0 -0
  803. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  804. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  805. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab.len +0 -0
  806. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  807. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab_i +0 -0
  808. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  809. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  810. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  811. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  812. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  813. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  814. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  815. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  816. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  817. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  818. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  819. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  820. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  821. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  822. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  823. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/constants.tab +0 -0
  824. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  825. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  826. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  827. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  828. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  829. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
  830. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  831. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  832. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  833. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  834. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  835. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  836. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  837. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
  838. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/package-parts.tab.keystream +0 -0
  839. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len +0 -0
  840. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/package-parts.tab.len +0 -0
  841. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
  842. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/package-parts.tab_i +0 -0
  843. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/package-parts.tab_i.len +0 -0
  844. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab +0 -0
  845. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  846. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  847. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  848. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  849. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  850. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  851. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  852. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  853. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  854. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  855. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  856. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  857. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  858. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  859. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  860. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  861. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  862. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  863. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  864. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  865. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  866. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  867. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  868. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  869. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  870. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  871. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  872. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/counters.tab +2 -0
  873. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab +0 -0
  874. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  875. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  876. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab.len +0 -0
  877. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  878. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab_i +0 -0
  879. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  880. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab +0 -0
  881. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  882. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  883. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab.len +0 -0
  884. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  885. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab_i +0 -0
  886. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  887. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab +0 -0
  888. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.keystream +0 -0
  889. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  890. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.len +0 -0
  891. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.values +0 -0
  892. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.values.at +0 -0
  893. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.values.s +1 -0
  894. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab_i +0 -0
  895. package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab_i.len +0 -0
  896. package/android/build/kotlin/compileReleaseKotlin/last-build.bin +0 -0
  897. package/android/build/outputs/logs/manifest-merger-debug-report.txt +25 -0
  898. package/android/build/outputs/logs/manifest-merger-release-report.txt +25 -0
  899. package/android/build/tmp/compileDebugJavaWithJavac/source-classes-mapping.txt +10 -0
  900. package/android/build/tmp/compileReleaseJavaWithJavac/source-classes-mapping.txt +10 -0
  901. package/android/build/tmp/kotlin-classes/debug/META-INF/reactnativestripesdk_debug.kotlin_module +0 -0
  902. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/AuBECSDebitFormView$setListeners$1.class +0 -0
  903. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/AuBECSDebitFormView.class +0 -0
  904. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/AuBECSDebitFormViewManager.class +0 -0
  905. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardChangedEvent$Companion.class +0 -0
  906. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardChangedEvent.class +0 -0
  907. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFocusEvent$Companion.class +0 -0
  908. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFocusEvent.class +0 -0
  909. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFormCompleteEvent$Companion.class +0 -0
  910. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFormCompleteEvent.class +0 -0
  911. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFormView.class +0 -0
  912. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFormViewManager.class +0 -0
  913. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ConfirmPaymentErrorType.class +0 -0
  914. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ConfirmSetupIntentErrorType.class +0 -0
  915. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ConstantsKt.class +0 -0
  916. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CreateTokenErrorType.class +0 -0
  917. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ErrorsKt.class +0 -0
  918. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ExtensionsKt.class +0 -0
  919. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/FormCompleteEvent$Companion.class +0 -0
  920. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/FormCompleteEvent.class +0 -0
  921. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayButtonManager$Companion.class +0 -0
  922. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayButtonManager.class +0 -0
  923. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayButtonView.class +0 -0
  924. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayErrorType.class +0 -0
  925. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayFragment$onViewCreated$1.class +0 -0
  926. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayFragment$onViewCreated$2.class +0 -0
  927. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayFragment$onViewCreated$3.class +0 -0
  928. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayFragment$onViewCreated$4.class +0 -0
  929. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayFragment.class +0 -0
  930. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/MappersKt$WhenMappings.class +0 -0
  931. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/MappersKt.class +0 -0
  932. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/NextPaymentActionErrorType.class +0 -0
  933. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentMethodCreateParamsException.class +0 -0
  934. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentMethodCreateParamsFactory$WhenMappings.class +0 -0
  935. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentMethodCreateParamsFactory.class +0 -0
  936. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentSheetErrorType.class +0 -0
  937. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentSheetFragment$configureFlowController$onFlowControllerConfigure$1.class +0 -0
  938. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentSheetFragment$onViewCreated$paymentOptionCallback$1.class +0 -0
  939. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentSheetFragment$onViewCreated$paymentResultCallback$1.class +0 -0
  940. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentSheetFragment.class +0 -0
  941. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentSheetFragmentKt.class +0 -0
  942. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/RetrievePaymentIntentErrorType.class +0 -0
  943. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/RetrieveSetupIntentErrorType.class +0 -0
  944. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeContainerManager.class +0 -0
  945. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeContainerView.class +0 -0
  946. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkCardView$setListeners$2.class +0 -0
  947. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkCardView$setListeners$3.class +0 -0
  948. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkCardView$setListeners$4.class +0 -0
  949. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkCardView$setListeners$5.class +0 -0
  950. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkCardView$setListeners$6.class +0 -0
  951. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkCardView.class +0 -0
  952. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkCardViewManager.class +0 -0
  953. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$Companion.class +0 -0
  954. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createPaymentMethod$1.class +0 -0
  955. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createToken$1.class +0 -0
  956. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createTokenForCVCUpdate$1.class +0 -0
  957. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$googlePayReceiver$1.class +0 -0
  958. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2$WhenMappings.class +0 -0
  959. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2.class +0 -0
  960. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$3$WhenMappings.class +0 -0
  961. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$3.class +0 -0
  962. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1.class +0 -0
  963. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mPaymentSheetReceiver$1.class +0 -0
  964. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$payWithWeChatPay$1.class +0 -0
  965. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule.class +0 -0
  966. package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkPackage.class +0 -0
  967. package/android/build/tmp/kotlin-classes/release/META-INF/reactnativestripesdk_release.kotlin_module +0 -0
  968. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/AuBECSDebitFormView$setListeners$1.class +0 -0
  969. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/AuBECSDebitFormView.class +0 -0
  970. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/AuBECSDebitFormViewManager.class +0 -0
  971. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardChangedEvent$Companion.class +0 -0
  972. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardChangedEvent.class +0 -0
  973. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFocusEvent$Companion.class +0 -0
  974. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFocusEvent.class +0 -0
  975. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFormCompleteEvent$Companion.class +0 -0
  976. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFormCompleteEvent.class +0 -0
  977. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFormView.class +0 -0
  978. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFormViewManager.class +0 -0
  979. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ConfirmPaymentErrorType.class +0 -0
  980. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ConfirmSetupIntentErrorType.class +0 -0
  981. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ConstantsKt.class +0 -0
  982. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CreateTokenErrorType.class +0 -0
  983. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ErrorsKt.class +0 -0
  984. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ExtensionsKt.class +0 -0
  985. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/FormCompleteEvent$Companion.class +0 -0
  986. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/FormCompleteEvent.class +0 -0
  987. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayButtonManager$Companion.class +0 -0
  988. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayButtonManager.class +0 -0
  989. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayButtonView.class +0 -0
  990. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayErrorType.class +0 -0
  991. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayFragment$onViewCreated$1.class +0 -0
  992. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayFragment$onViewCreated$2.class +0 -0
  993. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayFragment$onViewCreated$3.class +0 -0
  994. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayFragment$onViewCreated$4.class +0 -0
  995. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayFragment.class +0 -0
  996. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/MappersKt$WhenMappings.class +0 -0
  997. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/MappersKt.class +0 -0
  998. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/NextPaymentActionErrorType.class +0 -0
  999. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentMethodCreateParamsException.class +0 -0
  1000. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentMethodCreateParamsFactory$WhenMappings.class +0 -0
  1001. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentMethodCreateParamsFactory.class +0 -0
  1002. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentSheetErrorType.class +0 -0
  1003. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentSheetFragment$configureFlowController$onFlowControllerConfigure$1.class +0 -0
  1004. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentSheetFragment$onViewCreated$paymentOptionCallback$1.class +0 -0
  1005. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentSheetFragment$onViewCreated$paymentResultCallback$1.class +0 -0
  1006. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentSheetFragment.class +0 -0
  1007. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentSheetFragmentKt.class +0 -0
  1008. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/RetrievePaymentIntentErrorType.class +0 -0
  1009. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/RetrieveSetupIntentErrorType.class +0 -0
  1010. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeContainerManager.class +0 -0
  1011. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeContainerView.class +0 -0
  1012. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkCardView$setListeners$2.class +0 -0
  1013. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkCardView$setListeners$3.class +0 -0
  1014. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkCardView$setListeners$4.class +0 -0
  1015. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkCardView$setListeners$5.class +0 -0
  1016. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkCardView$setListeners$6.class +0 -0
  1017. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkCardView.class +0 -0
  1018. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkCardViewManager.class +0 -0
  1019. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$Companion.class +0 -0
  1020. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$createPaymentMethod$1.class +0 -0
  1021. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$createToken$1.class +0 -0
  1022. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$createTokenForCVCUpdate$1.class +0 -0
  1023. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$googlePayReceiver$1.class +0 -0
  1024. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2$WhenMappings.class +0 -0
  1025. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2.class +0 -0
  1026. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$3$WhenMappings.class +0 -0
  1027. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$3.class +0 -0
  1028. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1.class +0 -0
  1029. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$mPaymentSheetReceiver$1.class +0 -0
  1030. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$payWithWeChatPay$1.class +0 -0
  1031. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule.class +0 -0
  1032. package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkPackage.class +0 -0
  1033. package/android/build.gradle +3 -3
  1034. package/android/gradle.properties +0 -3
  1035. package/android/src/.DS_Store +0 -0
  1036. package/android/src/main/java/com/reactnativestripesdk/CardChangedEvent.kt +3 -0
  1037. package/android/src/main/java/com/reactnativestripesdk/Constants.kt +0 -1
  1038. package/android/src/main/java/com/reactnativestripesdk/Errors.kt +2 -2
  1039. package/android/src/main/java/com/reactnativestripesdk/GooglePayFragment.kt +31 -14
  1040. package/android/src/main/java/com/reactnativestripesdk/Mappers.kt +33 -22
  1041. package/android/src/main/java/com/reactnativestripesdk/PaymentSheetFragment.kt +45 -16
  1042. package/android/src/main/java/com/reactnativestripesdk/StripeSdkCardView.kt +12 -1
  1043. package/android/src/main/java/com/reactnativestripesdk/StripeSdkModule.kt +85 -43
  1044. package/ios/CardFieldView.swift +7 -1
  1045. package/ios/Errors.swift +29 -0
  1046. package/ios/Mappers.swift +103 -83
  1047. package/ios/PaymentMethodFactory.swift +7 -7
  1048. package/ios/StripeSdk.m +5 -2
  1049. package/ios/StripeSdk.swift +140 -25
  1050. package/jest/mock.js +128 -0
  1051. package/lib/commonjs/NativeStripeSdk.js.map +1 -1
  1052. package/lib/commonjs/components/ApplePayButton.js +1 -1
  1053. package/lib/commonjs/components/ApplePayButton.js.map +1 -1
  1054. package/lib/commonjs/components/AuBECSDebitForm.js +1 -1
  1055. package/lib/commonjs/components/AuBECSDebitForm.js.map +1 -1
  1056. package/lib/commonjs/components/CardField.js +1 -1
  1057. package/lib/commonjs/components/CardField.js.map +1 -1
  1058. package/lib/commonjs/components/CardForm.js +1 -1
  1059. package/lib/commonjs/components/CardForm.js.map +1 -1
  1060. package/lib/commonjs/components/GooglePayButton.js +1 -1
  1061. package/lib/commonjs/components/GooglePayButton.js.map +1 -1
  1062. package/lib/commonjs/components/StripeContainer.js +1 -1
  1063. package/lib/commonjs/components/StripeContainer.js.map +1 -1
  1064. package/lib/commonjs/components/StripeProvider.js +1 -1
  1065. package/lib/commonjs/components/StripeProvider.js.map +1 -1
  1066. package/lib/commonjs/functions.js +1 -1
  1067. package/lib/commonjs/functions.js.map +1 -1
  1068. package/lib/commonjs/helpers.js +1 -1
  1069. package/lib/commonjs/helpers.js.map +1 -1
  1070. package/lib/commonjs/hooks/useApplePay.js +1 -1
  1071. package/lib/commonjs/hooks/useApplePay.js.map +1 -1
  1072. package/lib/commonjs/hooks/useConfirmSetupIntent.js +1 -1
  1073. package/lib/commonjs/hooks/useConfirmSetupIntent.js.map +1 -1
  1074. package/lib/commonjs/hooks/useGooglePay.js.map +1 -1
  1075. package/lib/commonjs/hooks/usePaymentSheet.js +1 -1
  1076. package/lib/commonjs/hooks/usePaymentSheet.js.map +1 -1
  1077. package/lib/commonjs/hooks/useStripe.js +1 -1
  1078. package/lib/commonjs/hooks/useStripe.js.map +1 -1
  1079. package/lib/commonjs/types/Card.js.map +1 -1
  1080. package/lib/commonjs/types/GooglePay.js.map +1 -1
  1081. package/lib/commonjs/types/PaymentMethods.js.map +1 -1
  1082. package/lib/commonjs/types/components/AuBECSDebitForm.js.map +1 -1
  1083. package/lib/commonjs/types/components/CardFieldInput.js +1 -1
  1084. package/lib/commonjs/types/components/CardFieldInput.js.map +1 -1
  1085. package/lib/commonjs/types/components/CardFormView.js.map +1 -1
  1086. package/lib/commonjs/types/index.js.map +1 -1
  1087. package/lib/module/NativeStripeSdk.js.map +1 -1
  1088. package/lib/module/components/ApplePayButton.js +1 -1
  1089. package/lib/module/components/ApplePayButton.js.map +1 -1
  1090. package/lib/module/components/AuBECSDebitForm.js +1 -1
  1091. package/lib/module/components/AuBECSDebitForm.js.map +1 -1
  1092. package/lib/module/components/CardField.js +1 -1
  1093. package/lib/module/components/CardField.js.map +1 -1
  1094. package/lib/module/components/CardForm.js +1 -1
  1095. package/lib/module/components/CardForm.js.map +1 -1
  1096. package/lib/module/components/GooglePayButton.js +1 -1
  1097. package/lib/module/components/GooglePayButton.js.map +1 -1
  1098. package/lib/module/components/StripeContainer.js +1 -1
  1099. package/lib/module/components/StripeContainer.js.map +1 -1
  1100. package/lib/module/components/StripeProvider.js +1 -1
  1101. package/lib/module/components/StripeProvider.js.map +1 -1
  1102. package/lib/module/functions.js +1 -1
  1103. package/lib/module/functions.js.map +1 -1
  1104. package/lib/module/helpers.js +1 -1
  1105. package/lib/module/helpers.js.map +1 -1
  1106. package/lib/module/hooks/useApplePay.js +1 -1
  1107. package/lib/module/hooks/useApplePay.js.map +1 -1
  1108. package/lib/module/hooks/useConfirmSetupIntent.js +1 -1
  1109. package/lib/module/hooks/useConfirmSetupIntent.js.map +1 -1
  1110. package/lib/module/hooks/useGooglePay.js.map +1 -1
  1111. package/lib/module/hooks/usePaymentSheet.js +1 -1
  1112. package/lib/module/hooks/usePaymentSheet.js.map +1 -1
  1113. package/lib/module/hooks/useStripe.js +1 -1
  1114. package/lib/module/hooks/useStripe.js.map +1 -1
  1115. package/lib/module/types/Card.js.map +1 -1
  1116. package/lib/module/types/GooglePay.js.map +1 -1
  1117. package/lib/module/types/PaymentMethods.js.map +1 -1
  1118. package/lib/module/types/components/AuBECSDebitForm.js.map +1 -1
  1119. package/lib/module/types/components/CardFieldInput.js +1 -1
  1120. package/lib/module/types/components/CardFieldInput.js.map +1 -1
  1121. package/lib/module/types/components/CardFormView.js.map +1 -1
  1122. package/lib/module/types/index.js.map +1 -1
  1123. package/lib/typescript/e2e/helpers.d.ts +1 -0
  1124. package/lib/typescript/e2e/{payments.test.android.d.ts → paymentsWithRedirects.test.d.ts} +0 -0
  1125. package/lib/typescript/example/src/App.d.ts +39 -1
  1126. package/lib/typescript/example/src/screens/HomeScreen.d.ts +0 -5
  1127. package/lib/typescript/example/src/screens/PaymentResultScreen.d.ts +1 -1
  1128. package/lib/typescript/src/NativeStripeSdk.d.ts +4 -3
  1129. package/lib/typescript/src/functions.d.ts +4 -4
  1130. package/lib/typescript/src/helpers.d.ts +5 -0
  1131. package/lib/typescript/src/hooks/useApplePay.d.ts +2 -1
  1132. package/lib/typescript/src/hooks/useGooglePay.d.ts +4 -4
  1133. package/lib/typescript/src/hooks/usePaymentSheet.d.ts +1 -1
  1134. package/lib/typescript/src/hooks/useStripe.d.ts +5 -4
  1135. package/lib/typescript/src/types/Card.d.ts +0 -5
  1136. package/lib/typescript/src/types/GooglePay.d.ts +1 -1
  1137. package/lib/typescript/src/types/PaymentMethods.d.ts +1 -1
  1138. package/lib/typescript/src/types/PaymentSheet.d.ts +20 -4
  1139. package/lib/typescript/src/types/components/AuBECSDebitForm.d.ts +3 -0
  1140. package/lib/typescript/src/types/components/CardFieldInput.d.ts +12 -0
  1141. package/lib/typescript/src/types/components/CardFormView.d.ts +3 -0
  1142. package/lib/typescript/src/types/index.d.ts +21 -0
  1143. package/package.json +10 -8
  1144. package/src/.DS_Store +0 -0
  1145. package/src/NativeStripeSdk.tsx +5 -5
  1146. package/src/components/CardField.tsx +9 -44
  1147. package/src/components/CardForm.tsx +10 -5
  1148. package/src/components/StripeProvider.tsx +1 -1
  1149. package/src/functions.ts +35 -20
  1150. package/src/helpers.ts +45 -0
  1151. package/src/hooks/useApplePay.tsx +19 -16
  1152. package/src/hooks/useConfirmSetupIntent.tsx +5 -5
  1153. package/src/hooks/useGooglePay.tsx +1 -1
  1154. package/src/hooks/usePaymentSheet.tsx +2 -2
  1155. package/src/hooks/useStripe.tsx +19 -13
  1156. package/src/types/Card.ts +0 -6
  1157. package/src/types/GooglePay.ts +1 -1
  1158. package/src/types/PaymentMethods.ts +1 -1
  1159. package/src/types/PaymentSheet.ts +20 -6
  1160. package/src/types/components/AuBECSDebitForm.ts +3 -0
  1161. package/src/types/components/CardFieldInput.ts +12 -0
  1162. package/src/types/components/CardFormView.ts +3 -0
  1163. package/src/types/index.ts +30 -0
  1164. package/stripe-react-native.podspec +13 -15
  1165. package/lib/typescript/example/src/screens/WeChatPaymentScreen.d.ts +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["useStripe.tsx"],"names":["useStripe","isApplePaySupported","setApplePaySupported","checkApplePaySupport","isiOS","NativeStripeSdk","isSupported","_createPaymentMethod","data","options","_createToken","params","_retrievePaymentIntent","clientSecret","_retrieveSetupIntent","_confirmPayment","paymentIntentClientSecret","_presentApplePay","_updateApplePaySummaryItems","summaryItems","errorAddressFields","_confirmApplePayPayment","_handleCardAction","_confirmSetupIntent","_createTokenForCVCUpdate","cvc","_initPaymentSheet","_presentPaymentSheet","_confirmPaymentSheetPayment","_handleURLCallback","url","_initGooglePay","_presentGooglePay","_createGooglePayPaymentMethod","retrievePaymentIntent","retrieveSetupIntent","confirmPayment","createPaymentMethod","handleCardAction","presentApplePay","confirmApplePayPayment","confirmSetupIntent","createTokenForCVCUpdate","updateApplePaySummaryItems","handleURLCallback","confirmPaymentSheetPayment","presentPaymentSheet","initPaymentSheet","createToken","initGooglePay","presentGooglePay","createGooglePayPaymentMethod"],"mappings":"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","sourcesContent":["import type {\n PaymentMethodCreateParams,\n ApplePay,\n PaymentSheet,\n CreatePaymentMethodResult,\n RetrievePaymentIntentResult,\n RetrieveSetupIntentResult,\n ConfirmPaymentResult,\n HandleCardActionResult,\n ConfirmSetupIntentResult,\n CreateTokenForCVCUpdateResult,\n ApplePayResult,\n ApplePayError,\n StripeError,\n InitPaymentSheetResult,\n PresentPaymentSheetResult,\n ConfirmPaymentSheetPaymentResult,\n ConfirmSetupIntent,\n CreateTokenResult,\n Card,\n PayWithGooglePayResult,\n GooglePayInitResult,\n GooglePay,\n CreateGooglePayPaymentMethodResult,\n} from '../types';\nimport { useCallback, useEffect, useState } from 'react';\nimport { isiOS } from '../helpers';\nimport NativeStripeSdk from '../NativeStripeSdk';\nimport {\n confirmPayment,\n createPaymentMethod,\n retrievePaymentIntent,\n retrieveSetupIntent,\n confirmApplePayPayment,\n confirmSetupIntent,\n createTokenForCVCUpdate,\n handleCardAction,\n handleURLCallback,\n presentApplePay,\n updateApplePaySummaryItems,\n initPaymentSheet,\n presentPaymentSheet,\n confirmPaymentSheetPayment,\n createToken,\n initGooglePay,\n createGooglePayPaymentMethod,\n presentGooglePay,\n} from '../functions';\n\n/**\n * useStripe hook\n */\nexport function useStripe() {\n const [isApplePaySupported, setApplePaySupported] = useState(false);\n\n useEffect(() => {\n async function checkApplePaySupport() {\n const isSupported =\n isiOS && (await NativeStripeSdk.isApplePaySupported());\n setApplePaySupported(isSupported);\n }\n\n checkApplePaySupport();\n }, []);\n\n const _createPaymentMethod = useCallback(\n async (\n data: PaymentMethodCreateParams.Params,\n options: PaymentMethodCreateParams.Options = {}\n ): Promise<CreatePaymentMethodResult> => {\n return createPaymentMethod(data, options);\n },\n []\n );\n\n const _createToken = useCallback(\n async (params: Card.CreateTokenParams): Promise<CreateTokenResult> => {\n return createToken(params);\n },\n []\n );\n\n const _retrievePaymentIntent = useCallback(\n async (clientSecret: string): Promise<RetrievePaymentIntentResult> => {\n return retrievePaymentIntent(clientSecret);\n },\n []\n );\n\n const _retrieveSetupIntent = useCallback(\n async (clientSecret: string): Promise<RetrieveSetupIntentResult> => {\n return retrieveSetupIntent(clientSecret);\n },\n []\n );\n\n const _confirmPayment = useCallback(\n async (\n paymentIntentClientSecret: string,\n data: PaymentMethodCreateParams.Params,\n options: PaymentMethodCreateParams.Options = {}\n ): Promise<ConfirmPaymentResult> => {\n return confirmPayment(paymentIntentClientSecret, data, options);\n },\n []\n );\n\n const _presentApplePay = useCallback(\n async (params: ApplePay.PresentParams): Promise<ApplePayResult> => {\n return presentApplePay(params);\n },\n []\n );\n\n const _updateApplePaySummaryItems = useCallback(\n async (\n summaryItems: ApplePay.CartSummaryItem[],\n errorAddressFields: Array<{\n field: ApplePay.AddressFields;\n message?: string;\n }> = []\n ): Promise<{ error?: StripeError<ApplePayError> }> => {\n return updateApplePaySummaryItems(summaryItems, errorAddressFields);\n },\n []\n );\n\n const _confirmApplePayPayment = useCallback(\n async (\n clientSecret: string\n ): Promise<{ error?: StripeError<ApplePayError> }> => {\n return confirmApplePayPayment(clientSecret);\n },\n []\n );\n\n const _handleCardAction = useCallback(\n async (\n paymentIntentClientSecret: string\n ): Promise<HandleCardActionResult> => {\n return handleCardAction(paymentIntentClientSecret);\n },\n []\n );\n\n const _confirmSetupIntent = useCallback(\n async (\n paymentIntentClientSecret: string,\n data: ConfirmSetupIntent.Params,\n options: ConfirmSetupIntent.Options = {}\n ): Promise<ConfirmSetupIntentResult> => {\n return confirmSetupIntent(paymentIntentClientSecret, data, options);\n },\n []\n );\n\n const _createTokenForCVCUpdate = useCallback(\n async (cvc: string): Promise<CreateTokenForCVCUpdateResult> => {\n return createTokenForCVCUpdate(cvc);\n },\n []\n );\n\n const _initPaymentSheet = useCallback(\n async (\n params: PaymentSheet.SetupParams\n ): Promise<InitPaymentSheetResult> => {\n return initPaymentSheet(params);\n },\n []\n );\n\n const _presentPaymentSheet = useCallback(\n async (\n params?: PaymentSheet.PresentParams\n ): Promise<PresentPaymentSheetResult> => {\n return presentPaymentSheet(params);\n },\n []\n );\n\n const _confirmPaymentSheetPayment =\n useCallback(async (): Promise<ConfirmPaymentSheetPaymentResult> => {\n return confirmPaymentSheetPayment();\n }, []);\n\n const _handleURLCallback = useCallback(\n async (url: string): Promise<boolean> => {\n return handleURLCallback(url);\n },\n []\n );\n\n const _initGooglePay = useCallback(\n async (params: GooglePay.InitParams): Promise<GooglePayInitResult> => {\n return initGooglePay(params);\n },\n []\n );\n\n const _presentGooglePay = useCallback(\n async (\n params: GooglePay.PresentGooglePayParams\n ): Promise<PayWithGooglePayResult> => {\n return presentGooglePay(params);\n },\n []\n );\n\n const _createGooglePayPaymentMethod = useCallback(\n async (\n params: GooglePay.CreatePaymentMethodParams\n ): Promise<CreateGooglePayPaymentMethodResult> => {\n return _createGooglePayPaymentMethod(params);\n },\n []\n );\n\n return {\n retrievePaymentIntent: _retrievePaymentIntent,\n retrieveSetupIntent: _retrieveSetupIntent,\n confirmPayment: _confirmPayment,\n createPaymentMethod: _createPaymentMethod,\n handleCardAction: _handleCardAction,\n isApplePaySupported: isApplePaySupported,\n presentApplePay: _presentApplePay,\n confirmApplePayPayment: _confirmApplePayPayment,\n confirmSetupIntent: _confirmSetupIntent,\n createTokenForCVCUpdate: _createTokenForCVCUpdate,\n updateApplePaySummaryItems: _updateApplePaySummaryItems,\n handleURLCallback: _handleURLCallback,\n confirmPaymentSheetPayment: _confirmPaymentSheetPayment,\n presentPaymentSheet: _presentPaymentSheet,\n initPaymentSheet: _initPaymentSheet,\n createToken: _createToken,\n initGooglePay: _initGooglePay,\n presentGooglePay: _presentGooglePay,\n createGooglePayPaymentMethod: createGooglePayPaymentMethod,\n };\n}\n"]}
1
+ {"version":3,"sources":["useStripe.tsx"],"names":["useStripe","isApplePaySupported","setApplePaySupported","checkApplePaySupport","isiOS","NativeStripeSdk","isSupported","_createPaymentMethod","data","options","_createToken","params","_retrievePaymentIntent","clientSecret","_retrieveSetupIntent","_confirmPayment","paymentIntentClientSecret","_presentApplePay","_updateApplePaySummaryItems","summaryItems","errorAddressFields","_confirmApplePayPayment","_handleCardAction","_confirmSetupIntent","_createTokenForCVCUpdate","cvc","_initPaymentSheet","_presentPaymentSheet","_confirmPaymentSheetPayment","_handleURLCallback","url","_initGooglePay","_presentGooglePay","_createGooglePayPaymentMethod","_openApplePaySetup","retrievePaymentIntent","retrieveSetupIntent","confirmPayment","createPaymentMethod","handleCardAction","presentApplePay","confirmApplePayPayment","confirmSetupIntent","createTokenForCVCUpdate","updateApplePaySummaryItems","handleURLCallback","confirmPaymentSheetPayment","presentPaymentSheet","initPaymentSheet","createToken","initGooglePay","presentGooglePay","createGooglePayPaymentMethod","openApplePaySetup"],"mappings":"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","sourcesContent":["import type {\n PaymentMethodCreateParams,\n ApplePay,\n PaymentSheet,\n CreatePaymentMethodResult,\n RetrievePaymentIntentResult,\n RetrieveSetupIntentResult,\n ConfirmPaymentResult,\n HandleCardActionResult,\n ConfirmSetupIntentResult,\n CreateTokenForCVCUpdateResult,\n ApplePayResult,\n ApplePayError,\n StripeError,\n InitPaymentSheetResult,\n PresentPaymentSheetResult,\n ConfirmPaymentSheetPaymentResult,\n ConfirmSetupIntent,\n CreateTokenResult,\n PayWithGooglePayResult,\n GooglePayInitResult,\n GooglePay,\n CreateGooglePayPaymentMethodResult,\n OpenApplePaySetupResult,\n CreateTokenParams,\n} from '../types';\nimport { useCallback, useEffect, useState } from 'react';\nimport { isiOS } from '../helpers';\nimport NativeStripeSdk from '../NativeStripeSdk';\nimport {\n confirmPayment,\n createPaymentMethod,\n retrievePaymentIntent,\n retrieveSetupIntent,\n confirmApplePayPayment,\n confirmSetupIntent,\n createTokenForCVCUpdate,\n handleCardAction,\n handleURLCallback,\n presentApplePay,\n updateApplePaySummaryItems,\n initPaymentSheet,\n presentPaymentSheet,\n confirmPaymentSheetPayment,\n createToken,\n initGooglePay,\n createGooglePayPaymentMethod,\n presentGooglePay,\n openApplePaySetup,\n} from '../functions';\n\n/**\n * useStripe hook\n */\nexport function useStripe() {\n const [isApplePaySupported, setApplePaySupported] = useState<boolean | null>(\n null\n );\n\n useEffect(() => {\n async function checkApplePaySupport() {\n const isSupported =\n isiOS && (await NativeStripeSdk.isApplePaySupported());\n setApplePaySupported(isSupported);\n }\n\n checkApplePaySupport();\n }, []);\n\n const _createPaymentMethod = useCallback(\n async (\n data: PaymentMethodCreateParams.Params,\n options: PaymentMethodCreateParams.Options = {}\n ): Promise<CreatePaymentMethodResult> => {\n return createPaymentMethod(data, options);\n },\n []\n );\n\n const _createToken = useCallback(\n async (params: CreateTokenParams): Promise<CreateTokenResult> => {\n return createToken(params);\n },\n []\n );\n\n const _retrievePaymentIntent = useCallback(\n async (clientSecret: string): Promise<RetrievePaymentIntentResult> => {\n return retrievePaymentIntent(clientSecret);\n },\n []\n );\n\n const _retrieveSetupIntent = useCallback(\n async (clientSecret: string): Promise<RetrieveSetupIntentResult> => {\n return retrieveSetupIntent(clientSecret);\n },\n []\n );\n\n const _confirmPayment = useCallback(\n async (\n paymentIntentClientSecret: string,\n data: PaymentMethodCreateParams.Params,\n options: PaymentMethodCreateParams.Options = {}\n ): Promise<ConfirmPaymentResult> => {\n return confirmPayment(paymentIntentClientSecret, data, options);\n },\n []\n );\n\n const _presentApplePay = useCallback(\n async (params: ApplePay.PresentParams): Promise<ApplePayResult> => {\n return presentApplePay(params);\n },\n []\n );\n\n const _updateApplePaySummaryItems = useCallback(\n async (\n summaryItems: ApplePay.CartSummaryItem[],\n errorAddressFields: Array<{\n field: ApplePay.AddressFields;\n message?: string;\n }> = []\n ): Promise<{ error?: StripeError<ApplePayError> }> => {\n return updateApplePaySummaryItems(summaryItems, errorAddressFields);\n },\n []\n );\n\n const _confirmApplePayPayment = useCallback(\n async (\n clientSecret: string\n ): Promise<{ error?: StripeError<ApplePayError> }> => {\n return confirmApplePayPayment(clientSecret);\n },\n []\n );\n\n const _handleCardAction = useCallback(\n async (\n paymentIntentClientSecret: string\n ): Promise<HandleCardActionResult> => {\n return handleCardAction(paymentIntentClientSecret);\n },\n []\n );\n\n const _confirmSetupIntent = useCallback(\n async (\n paymentIntentClientSecret: string,\n data: ConfirmSetupIntent.Params,\n options: ConfirmSetupIntent.Options = {}\n ): Promise<ConfirmSetupIntentResult> => {\n return confirmSetupIntent(paymentIntentClientSecret, data, options);\n },\n []\n );\n\n const _createTokenForCVCUpdate = useCallback(\n async (cvc: string): Promise<CreateTokenForCVCUpdateResult> => {\n return createTokenForCVCUpdate(cvc);\n },\n []\n );\n\n const _initPaymentSheet = useCallback(\n async (\n params: PaymentSheet.SetupParams\n ): Promise<InitPaymentSheetResult> => {\n return initPaymentSheet(params);\n },\n []\n );\n\n const _presentPaymentSheet =\n useCallback(async (): Promise<PresentPaymentSheetResult> => {\n return presentPaymentSheet();\n }, []);\n\n const _confirmPaymentSheetPayment =\n useCallback(async (): Promise<ConfirmPaymentSheetPaymentResult> => {\n return confirmPaymentSheetPayment();\n }, []);\n\n const _handleURLCallback = useCallback(\n async (url: string): Promise<boolean> => {\n return handleURLCallback(url);\n },\n []\n );\n\n const _initGooglePay = useCallback(\n async (params: GooglePay.InitParams): Promise<GooglePayInitResult> => {\n return initGooglePay(params);\n },\n []\n );\n\n const _presentGooglePay = useCallback(\n async (\n params: GooglePay.PresentGooglePayParams\n ): Promise<PayWithGooglePayResult> => {\n return presentGooglePay(params);\n },\n []\n );\n\n const _createGooglePayPaymentMethod = useCallback(\n async (\n params: GooglePay.CreatePaymentMethodParams\n ): Promise<CreateGooglePayPaymentMethodResult> => {\n return createGooglePayPaymentMethod(params);\n },\n []\n );\n\n const _openApplePaySetup =\n useCallback(async (): Promise<OpenApplePaySetupResult> => {\n return openApplePaySetup();\n }, []);\n\n return {\n retrievePaymentIntent: _retrievePaymentIntent,\n retrieveSetupIntent: _retrieveSetupIntent,\n confirmPayment: _confirmPayment,\n createPaymentMethod: _createPaymentMethod,\n handleCardAction: _handleCardAction,\n isApplePaySupported: isApplePaySupported,\n presentApplePay: _presentApplePay,\n confirmApplePayPayment: _confirmApplePayPayment,\n confirmSetupIntent: _confirmSetupIntent,\n createTokenForCVCUpdate: _createTokenForCVCUpdate,\n updateApplePaySummaryItems: _updateApplePaySummaryItems,\n handleURLCallback: _handleURLCallback,\n confirmPaymentSheetPayment: _confirmPaymentSheetPayment,\n presentPaymentSheet: _presentPaymentSheet,\n initPaymentSheet: _initPaymentSheet,\n createToken: _createToken,\n initGooglePay: _initGooglePay,\n presentGooglePay: _presentGooglePay,\n createGooglePayPaymentMethod: _createGooglePayPaymentMethod,\n openApplePaySetup: _openApplePaySetup,\n };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["Card.ts"],"names":["Card"],"mappings":"4HAAiBA,I,gBAAAA,I","sourcesContent":["export namespace Card {\n export type Brand =\n | 'AmericanExpress'\n | 'DinersClub'\n | 'Discover'\n | 'JCB'\n | 'MasterCard'\n | 'UnionPay'\n | 'Visa'\n | 'Unknown';\n\n export type TokenType =\n | 'Account'\n | 'BankAccount'\n | 'Card'\n | 'CvcUpdate'\n | 'Person'\n | 'Pii';\n\n export interface Token {\n id: string;\n created: string;\n type: TokenType;\n used: boolean;\n livemode: boolean;\n card?: Params;\n bankAccount?: BankAccount;\n }\n\n export interface BankAccount {\n bankName: string;\n accountHolderName: string;\n accountHolderType: 'Individual' | 'Company';\n currency: string;\n country: string;\n routingNumber: string;\n status: 'Errored' | 'New' | 'Validated' | 'VerificationFailed' | 'Verified';\n }\n\n export interface Params {\n country: string;\n brand: Card.Brand;\n currency?: string;\n expMonth: number;\n expYear: number;\n last4: string;\n funding: 'Credit' | 'Debit' | 'Prepaid' | 'Unknown';\n address: Address;\n name?: string;\n }\n\n export interface Address {\n city?: string;\n country?: string;\n line1?: string;\n line2?: string;\n postalCode?: string;\n state?: string;\n }\n\n export interface CreateTokenParams {\n type: 'Account' | 'BankAccount' | 'Card' | 'CvcUpdate' | 'Person' | 'Pii';\n address?: Address;\n name?: string;\n }\n}\n"]}
1
+ {"version":3,"sources":["Card.ts"],"names":["Card"],"mappings":"4HAAiBA,I,gBAAAA,I","sourcesContent":["export namespace Card {\n export type Brand =\n | 'AmericanExpress'\n | 'DinersClub'\n | 'Discover'\n | 'JCB'\n | 'MasterCard'\n | 'UnionPay'\n | 'Visa'\n | 'Unknown';\n\n export type TokenType =\n | 'Account'\n | 'BankAccount'\n | 'Card'\n | 'CvcUpdate'\n | 'Person'\n | 'Pii';\n\n export interface Token {\n id: string;\n created: string;\n type: TokenType;\n used: boolean;\n livemode: boolean;\n card?: Params;\n bankAccount?: BankAccount;\n }\n\n export interface BankAccount {\n bankName: string;\n accountHolderName: string;\n accountHolderType: 'Individual' | 'Company';\n currency: string;\n country: string;\n routingNumber: string;\n status: 'Errored' | 'New' | 'Validated' | 'VerificationFailed' | 'Verified';\n }\n\n export interface Params {\n country: string;\n brand: Card.Brand;\n currency?: string;\n expMonth: number;\n expYear: number;\n last4: string;\n funding: 'Credit' | 'Debit' | 'Prepaid' | 'Unknown';\n address: Address;\n name?: string;\n }\n\n export interface Address {\n city?: string;\n country?: string;\n line1?: string;\n line2?: string;\n postalCode?: string;\n state?: string;\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["GooglePay.ts"],"names":["GooglePay"],"mappings":"qJAAiBA,S,qBAAAA,S","sourcesContent":["export namespace GooglePay {\n export type PresentGooglePayParams = PresentGooglePayType & {\n clientSecret: string;\n };\n\n export type PresentGooglePayType =\n | {\n /*\n * Present Google Pay to collect customer payment details and use it to confirm the\n * [SetupIntent] represented by [clientSecret].\n */\n forSetupIntent?: true;\n /*\n * The Google Pay API requires a [currencyCode](https://developers.google.com/pay/api/android/reference/request-objects#TransactionInfo).\n * [currencyCode] is required even though the SetupIntent API does not require it.\n */\n currencyCode: string;\n }\n | {\n /*\n * Present Google Pay to collect customer payment details and use it to confirm the\n * [PaymentIntent] represented by [clientSecret].\n */\n forSetupIntent?: false;\n };\n\n export interface SetupIntentParams {\n clientSecret: string;\n }\n\n export interface InitParams {\n testEnv: boolean;\n merchantName: string;\n countryCode: string;\n /**\n * Billing address collection configuration.\n */\n billingAddressConfig?: BillingAddressConfig;\n /**\n * Flag to indicate whether Google Pay collect the customer's email address.\n *\n * Default to `false`.\n */\n isEmailRequired?: boolean;\n /**\n * If `true`, Google Pay is considered ready if the customer's Google Pay wallet\n * has existing payment methods.\n *\n * Default to `true`.\n */\n existingPaymentMethodRequired?: boolean;\n }\n\n export interface BillingAddressConfig {\n isRequired?: boolean;\n /**\n * Billing address format required to complete the transaction.\n */\n format?: 'FULL' | 'MIN';\n /**\n * Set to true if a phone number is required to process the transaction.\n */\n isPhoneNumberRequired?: boolean;\n }\n\n export interface CreatePaymentMethodParams {\n /*\n * ISO 4217 alphabetic currency code. (e.g. \"USD\", \"EUR\")\n */\n currencyCode: string;\n /*\n * Amount intended to be collected. A positive integer representing how much to\n * charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100,\n * a zero-decimal currency).\n */\n amount: number;\n }\n}\n"]}
1
+ {"version":3,"sources":["GooglePay.ts"],"names":["GooglePay"],"mappings":"qJAAiBA,S,qBAAAA,S","sourcesContent":["export namespace GooglePay {\n export type PresentGooglePayParams = PresentGooglePayType & {\n clientSecret: string;\n };\n\n export type PresentGooglePayType =\n | {\n /*\n * Present Google Pay to collect customer payment details and use it to confirm the\n * [SetupIntent] represented by [clientSecret].\n */\n forSetupIntent?: true;\n /*\n * The Google Pay API requires a [currencyCode](https://developers.google.com/pay/api/android/reference/request-objects#TransactionInfo).\n * [currencyCode] is required even though the SetupIntent API does not require it.\n */\n currencyCode: string;\n }\n | {\n /*\n * Present Google Pay to collect customer payment details and use it to confirm the\n * [PaymentIntent] represented by [clientSecret].\n */\n forSetupIntent?: false;\n };\n\n export interface SetupIntentParams {\n clientSecret: string;\n }\n\n export interface InitParams {\n testEnv: boolean;\n merchantName: string;\n countryCode: string;\n /**\n * Billing address collection configuration.\n */\n billingAddressConfig?: BillingAddressConfig;\n /**\n * Flag to indicate whether Google Pay collect the customer's email address.\n *\n * Default to `false`.\n */\n isEmailRequired?: boolean;\n /**\n * If `true`, Google Pay is considered ready if the customer's Google Pay wallet\n * has existing payment methods.\n *\n * Default to `false`.\n */\n existingPaymentMethodRequired?: boolean;\n }\n\n export interface BillingAddressConfig {\n isRequired?: boolean;\n /**\n * Billing address format required to complete the transaction.\n */\n format?: 'FULL' | 'MIN';\n /**\n * Set to true if a phone number is required to process the transaction.\n */\n isPhoneNumberRequired?: boolean;\n }\n\n export interface CreatePaymentMethodParams {\n /*\n * ISO 4217 alphabetic currency code. (e.g. \"USD\", \"EUR\")\n */\n currencyCode: string;\n /*\n * Amount intended to be collected. A positive integer representing how much to\n * charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100,\n * a zero-decimal currency).\n */\n amount: number;\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["PaymentMethods.ts"],"names":["PaymentMethodCreateParams"],"mappings":"qOAoBiBA,yB,qCAAAA,yB","sourcesContent":["import type { AuBECSDebitFormComponent } from './components/AuBECSDebitForm';\nimport type { Card } from './Card';\nimport type { PaymentIntents } from './PaymentIntents';\n\nexport interface PaymentMethod {\n id: string;\n liveMode: boolean;\n customerId: string;\n billingDetails: PaymentMethods.BillingDetails;\n type: PaymentMethods.Types;\n AuBecsDebit: PaymentMethods.AuBecsDebit;\n BacsDebit: PaymentMethods.BacsDebit;\n Card: PaymentMethods.Card;\n Fpx: PaymentMethods.Fpx;\n Ideal: PaymentMethods.Ideal;\n SepaDebit: PaymentMethods.SepaDebit;\n Sofort: PaymentMethods.Sofort;\n Upi: PaymentMethods.Upi;\n}\n\nexport namespace PaymentMethodCreateParams {\n export type Params =\n | CardParams\n | IdealParams\n | OxxoParams\n | P24Params\n | AlipayParams\n | GiropayParams\n | SepaParams\n | EpsParams\n | AuBecsDebitParams\n | SofortParams\n | GrabPayParams\n | FPXParams\n | AfterpayClearpayParams\n | WeChatPayParams\n | BancontactParams;\n\n export type BillingDetails = {\n email?: string;\n name?: string;\n phone?: string;\n addressPostalCode?: string;\n addressCity?: string;\n addressCountry?: string;\n addressLine1?: string;\n addressLine2?: string;\n addressState?: string;\n };\n\n export type ShippingDetails = {\n addressPostalCode?: string;\n addressCity?: string;\n addressCountry?: string;\n addressLine1?: string;\n addressLine2?: string;\n addressState?: string;\n name?: string;\n };\n\n export interface Options {}\n\n export interface BaseParams {\n billingDetails?: BillingDetails;\n }\n\n export type CardParams =\n | (BaseParams & {\n type: 'Card';\n token?: string;\n setupFutureUsage?: PaymentIntents.FutureUsage;\n })\n | (BaseParams & {\n type: 'Card';\n paymentMethodId: string;\n cvc?: string;\n });\n\n export interface IdealParams extends BaseParams {\n type: 'Ideal';\n bankName?: string;\n setupFutureUsage?: PaymentIntents.FutureUsage;\n }\n\n export interface FPXParams {\n type: 'Fpx';\n testOfflineBank?: boolean;\n }\n\n export interface AlipayParams {\n type: 'Alipay';\n }\n\n export interface OxxoParams extends Required<BaseParams> {\n type: 'Oxxo';\n }\n\n export interface SofortParams extends BaseParams {\n type: 'Sofort';\n country: string;\n setupFutureUsage?: PaymentIntents.FutureUsage;\n }\n export interface GrabPayParams extends BaseParams {\n type: 'GrabPay';\n }\n\n export interface BancontactParams extends Required<BaseParams> {\n type: 'Bancontact';\n setupFutureUsage?: PaymentIntents.FutureUsage;\n }\n\n export interface SepaParams extends Required<BaseParams> {\n type: 'SepaDebit';\n iban: string;\n setupFutureUsage?: PaymentIntents.FutureUsage;\n }\n\n export interface GiropayParams extends Required<BaseParams> {\n type: 'Giropay';\n }\n\n export interface AfterpayClearpayParams extends Required<BaseParams> {\n type: 'AfterpayClearpay';\n shippingDetails: ShippingDetails;\n }\n\n export interface EpsParams extends Required<BaseParams> {\n type: 'Eps';\n }\n\n export interface P24Params extends Required<BaseParams> {\n type: 'P24';\n }\n\n export interface WeChatPayParams extends BaseParams {\n type: 'WeChatPay';\n appId: string;\n }\n\n export interface AuBecsDebitParams {\n type: 'AuBecsDebit';\n formDetails: AuBECSDebitFormComponent.FormDetails;\n }\n}\n\nexport declare namespace PaymentMethods {\n export interface BillingDetails {\n email?: string;\n phone?: string;\n name?: string;\n address?: Address;\n }\n\n export interface Address {\n city: string;\n county: string;\n line1: string;\n line2: string;\n postalCode: string;\n state: string;\n }\n\n export interface AuBecsDebit {\n fingerprint?: string;\n last4?: string;\n bsbNumber?: string;\n }\n\n export interface BacsDebit {\n sortCode?: string;\n last4?: string;\n fingerprint?: string;\n }\n\n export interface Card {\n brand?: Card.Brand;\n country?: string;\n expYear?: number;\n expMonth?: number;\n fingerprint?: string;\n funding?: string;\n last4?: string;\n }\n\n export interface Fpx {\n bank?: string;\n }\n\n export interface Ideal {\n bankIdentifierCode?: string;\n bank?: string;\n }\n\n export interface SepaDebit {\n bankCode?: string;\n country?: string;\n fingerprint?: string;\n last4?: string;\n }\n\n export interface Sofort {\n country?: string;\n }\n\n export interface Upi {\n vpa?: string;\n }\n\n export type Types =\n | 'AfterpayClearpay'\n | 'Card'\n | 'Alipay'\n | 'GrabPay'\n | 'Ideal'\n | 'Fpx'\n | 'CardPresent'\n | 'SepaDebit'\n | 'AuBecsDebit'\n | 'BacsDebit'\n | 'Giropay'\n | 'P24'\n | 'Eps'\n | 'Bancontact'\n | 'Oxxo'\n | 'Sofort'\n | 'Upi'\n | 'Unknown';\n}\n"]}
1
+ {"version":3,"sources":["PaymentMethods.ts"],"names":["PaymentMethodCreateParams"],"mappings":"qOAoBiBA,yB,qCAAAA,yB","sourcesContent":["import type { AuBECSDebitFormComponent } from './components/AuBECSDebitForm';\nimport type { Card } from './Card';\nimport type { PaymentIntents } from './PaymentIntents';\n\nexport interface PaymentMethod {\n id: string;\n liveMode: boolean;\n customerId: string;\n billingDetails: PaymentMethods.BillingDetails;\n type: PaymentMethods.Types;\n AuBecsDebit: PaymentMethods.AuBecsDebit;\n BacsDebit: PaymentMethods.BacsDebit;\n Card: PaymentMethods.Card;\n Fpx: PaymentMethods.Fpx;\n Ideal: PaymentMethods.Ideal;\n SepaDebit: PaymentMethods.SepaDebit;\n Sofort: PaymentMethods.Sofort;\n Upi: PaymentMethods.Upi;\n}\n\nexport namespace PaymentMethodCreateParams {\n export type Params =\n | CardParams\n | IdealParams\n | OxxoParams\n | P24Params\n | AlipayParams\n | GiropayParams\n | SepaParams\n | EpsParams\n | AuBecsDebitParams\n | SofortParams\n | GrabPayParams\n | FPXParams\n | AfterpayClearpayParams\n // | WeChatPayParams\n | BancontactParams;\n\n export type BillingDetails = {\n email?: string;\n name?: string;\n phone?: string;\n addressPostalCode?: string;\n addressCity?: string;\n addressCountry?: string;\n addressLine1?: string;\n addressLine2?: string;\n addressState?: string;\n };\n\n export type ShippingDetails = {\n addressPostalCode?: string;\n addressCity?: string;\n addressCountry?: string;\n addressLine1?: string;\n addressLine2?: string;\n addressState?: string;\n name?: string;\n };\n\n export interface Options {}\n\n export interface BaseParams {\n billingDetails?: BillingDetails;\n }\n\n export type CardParams =\n | (BaseParams & {\n type: 'Card';\n token?: string;\n setupFutureUsage?: PaymentIntents.FutureUsage;\n })\n | (BaseParams & {\n type: 'Card';\n paymentMethodId: string;\n cvc?: string;\n });\n\n export interface IdealParams extends BaseParams {\n type: 'Ideal';\n bankName?: string;\n setupFutureUsage?: PaymentIntents.FutureUsage;\n }\n\n export interface FPXParams {\n type: 'Fpx';\n testOfflineBank?: boolean;\n }\n\n export interface AlipayParams {\n type: 'Alipay';\n }\n\n export interface OxxoParams extends Required<BaseParams> {\n type: 'Oxxo';\n }\n\n export interface SofortParams extends BaseParams {\n type: 'Sofort';\n country: string;\n setupFutureUsage?: PaymentIntents.FutureUsage;\n }\n export interface GrabPayParams extends BaseParams {\n type: 'GrabPay';\n }\n\n export interface BancontactParams extends Required<BaseParams> {\n type: 'Bancontact';\n setupFutureUsage?: PaymentIntents.FutureUsage;\n }\n\n export interface SepaParams extends Required<BaseParams> {\n type: 'SepaDebit';\n iban: string;\n setupFutureUsage?: PaymentIntents.FutureUsage;\n }\n\n export interface GiropayParams extends Required<BaseParams> {\n type: 'Giropay';\n }\n\n export interface AfterpayClearpayParams extends Required<BaseParams> {\n type: 'AfterpayClearpay';\n shippingDetails: ShippingDetails;\n }\n\n export interface EpsParams extends Required<BaseParams> {\n type: 'Eps';\n }\n\n export interface P24Params extends Required<BaseParams> {\n type: 'P24';\n }\n\n export interface WeChatPayParams extends BaseParams {\n type: 'WeChatPay';\n appId: string;\n }\n\n export interface AuBecsDebitParams {\n type: 'AuBecsDebit';\n formDetails: AuBECSDebitFormComponent.FormDetails;\n }\n}\n\nexport declare namespace PaymentMethods {\n export interface BillingDetails {\n email?: string;\n phone?: string;\n name?: string;\n address?: Address;\n }\n\n export interface Address {\n city: string;\n county: string;\n line1: string;\n line2: string;\n postalCode: string;\n state: string;\n }\n\n export interface AuBecsDebit {\n fingerprint?: string;\n last4?: string;\n bsbNumber?: string;\n }\n\n export interface BacsDebit {\n sortCode?: string;\n last4?: string;\n fingerprint?: string;\n }\n\n export interface Card {\n brand?: Card.Brand;\n country?: string;\n expYear?: number;\n expMonth?: number;\n fingerprint?: string;\n funding?: string;\n last4?: string;\n }\n\n export interface Fpx {\n bank?: string;\n }\n\n export interface Ideal {\n bankIdentifierCode?: string;\n bank?: string;\n }\n\n export interface SepaDebit {\n bankCode?: string;\n country?: string;\n fingerprint?: string;\n last4?: string;\n }\n\n export interface Sofort {\n country?: string;\n }\n\n export interface Upi {\n vpa?: string;\n }\n\n export type Types =\n | 'AfterpayClearpay'\n | 'Card'\n | 'Alipay'\n | 'GrabPay'\n | 'Ideal'\n | 'Fpx'\n | 'CardPresent'\n | 'SepaDebit'\n | 'AuBecsDebit'\n | 'BacsDebit'\n | 'Giropay'\n | 'P24'\n | 'Eps'\n | 'Bancontact'\n | 'Oxxo'\n | 'Sofort'\n | 'Upi'\n | 'Unknown';\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["AuBECSDebitForm.ts"],"names":["AuBECSDebitFormComponent"],"mappings":"gOAEiBA,wB,oCAAAA,wB","sourcesContent":["import type { NativeSyntheticEvent, StyleProp, ViewStyle } from 'react-native';\n\nexport namespace AuBECSDebitFormComponent {\n export interface NativeProps {\n companyName: string;\n style?: StyleProp<ViewStyle>;\n formStyle: Styles;\n onCompleteAction(value: NativeSyntheticEvent<FormDetails>): void;\n }\n\n export interface FormDetails {\n accountNumber: string;\n bsbNumber: string;\n email: string;\n name: string;\n }\n\n export interface Styles {\n borderWidth?: number;\n backgroundColor?: string;\n borderColor?: string;\n borderRadius?: number;\n textColor?: string;\n fontSize?: number;\n placeholderColor?: string;\n textErrorColor?: string;\n }\n}\n"]}
1
+ {"version":3,"sources":["AuBECSDebitForm.ts"],"names":["AuBECSDebitFormComponent"],"mappings":"gOAEiBA,wB,oCAAAA,wB","sourcesContent":["import type { NativeSyntheticEvent, StyleProp, ViewStyle } from 'react-native';\n\nexport namespace AuBECSDebitFormComponent {\n /**\n * @ignore\n */\n export interface NativeProps {\n companyName: string;\n style?: StyleProp<ViewStyle>;\n formStyle: Styles;\n onCompleteAction(value: NativeSyntheticEvent<FormDetails>): void;\n }\n\n export interface FormDetails {\n accountNumber: string;\n bsbNumber: string;\n email: string;\n name: string;\n }\n\n export interface Styles {\n borderWidth?: number;\n backgroundColor?: string;\n borderColor?: string;\n borderRadius?: number;\n textColor?: string;\n fontSize?: number;\n placeholderColor?: string;\n textErrorColor?: string;\n }\n}\n"]}
@@ -1,2 +1,2 @@
1
- Object.defineProperty(exports,"__esModule",{value:true});exports.CardFieldInput=void 0;var CardFieldInput;exports.CardFieldInput=CardFieldInput;(function(_CardFieldInput){})(CardFieldInput||(exports.CardFieldInput=CardFieldInput={}));
1
+ Object.defineProperty(exports,"__esModule",{value:true});exports.CardFieldInput=void 0;var CardFieldInput;exports.CardFieldInput=CardFieldInput;(function(_CardFieldInput){var ValidationState;(function(ValidationState){ValidationState["Valid"]="Valid";ValidationState["Invalid"]="Invalid";ValidationState["Incomplete"]="Incomplete";ValidationState["Unknown"]="Unknown";})(ValidationState||(ValidationState={}));_CardFieldInput.ValidationState=ValidationState;})(CardFieldInput||(exports.CardFieldInput=CardFieldInput={}));
2
2
  //# sourceMappingURL=CardFieldInput.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["CardFieldInput.ts"],"names":["CardFieldInput"],"mappings":"8KAIiBA,c,0BAAAA,c","sourcesContent":["import type { NativeSyntheticEvent, StyleProp, ViewStyle } from 'react-native';\nimport type { Nullable } from '../';\nimport type { Card } from '../Card';\n\nexport namespace CardFieldInput {\n export type Names = 'CardNumber' | 'Cvc' | 'ExpiryDate' | 'PostalCode';\n\n export interface Details {\n last4: string;\n expiryMonth: number;\n expiryYear: number;\n postalCode?: string;\n brand: Card.Brand;\n complete: boolean;\n /**\n * WARNING: Full card details are only returned when the `dangerouslyGetFullCardDetails` prop\n * on the `CardField` component is set to `true`.\n * Only do this if you're certain that you fulfill the necessary PCI compliance requirements.\n * Make sure that you're not mistakenly logging or storing full card details!\n * See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance\n */\n number?: string;\n }\n\n export interface Styles {\n borderWidth?: number;\n backgroundColor?: string;\n borderColor?: string;\n borderRadius?: number;\n textColor?: string;\n fontSize?: number;\n placeholderColor?: string;\n cursorColor?: string;\n textErrorColor?: string;\n fontFamily?: string;\n }\n\n export interface Placeholders {\n number?: string;\n expiration?: string;\n cvc?: string;\n postalCode?: string;\n }\n\n export interface NativeProps {\n style?: StyleProp<ViewStyle>;\n value?: Partial<Details>;\n postalCodeEnabled?: boolean;\n autofocus?: boolean;\n onCardChange(event: NativeSyntheticEvent<Details>): void;\n onFocusChange(\n event: NativeSyntheticEvent<{ focusedField: Nullable<Names> }>\n ): void;\n cardStyle?: Styles;\n placeholder?: Placeholders;\n }\n\n export interface Methods {\n focus(): void;\n blur(): void;\n clear(): void;\n }\n}\n"]}
1
+ {"version":3,"sources":["CardFieldInput.ts"],"names":["ValidationState","CardFieldInput"],"mappings":"8KAMcA,CAAAA,e,WAAAA,e,EAAAA,e,kBAAAA,e,sBAAAA,e,4BAAAA,e,yBAAAA,e,GAAAA,e,yDAFGC,c,0BAAAA,c","sourcesContent":["import type { NativeSyntheticEvent, StyleProp, ViewStyle } from 'react-native';\nimport type { Nullable } from '../';\nimport type { Card } from '../Card';\n\nexport namespace CardFieldInput {\n export type Names = 'CardNumber' | 'Cvc' | 'ExpiryDate' | 'PostalCode';\n export enum ValidationState {\n Valid = 'Valid',\n Invalid = 'Invalid',\n Incomplete = 'Incomplete',\n Unknown = 'Unknown',\n }\n\n export interface Details {\n last4: string;\n expiryMonth: number;\n expiryYear: number;\n postalCode?: string;\n brand: Card.Brand;\n complete: boolean;\n validExpiryDate: ValidationState;\n validCVC: ValidationState;\n validNumber: ValidationState;\n /**\n * WARNING: Full card details are only returned when the `dangerouslyGetFullCardDetails` prop\n * on the `CardField` component is set to `true`.\n * Only do this if you're certain that you fulfill the necessary PCI compliance requirements.\n * Make sure that you're not mistakenly logging or storing full card details!\n * See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance\n */\n number?: string;\n }\n\n export interface Styles {\n borderWidth?: number;\n backgroundColor?: string;\n borderColor?: string;\n borderRadius?: number;\n textColor?: string;\n fontSize?: number;\n placeholderColor?: string;\n cursorColor?: string;\n textErrorColor?: string;\n fontFamily?: string;\n }\n\n export interface Placeholders {\n number?: string;\n expiration?: string;\n cvc?: string;\n postalCode?: string;\n }\n\n /**\n * @ignore\n */\n export interface NativeProps {\n style?: StyleProp<ViewStyle>;\n value?: Partial<Details>;\n postalCodeEnabled?: boolean;\n autofocus?: boolean;\n onCardChange(event: NativeSyntheticEvent<Details>): void;\n onFocusChange(\n event: NativeSyntheticEvent<{ focusedField: Nullable<Names> }>\n ): void;\n cardStyle?: Styles;\n placeholder?: Placeholders;\n }\n\n export interface Methods {\n focus(): void;\n blur(): void;\n clear(): void;\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["CardFormView.ts"],"names":["CardFormView"],"mappings":"oKAIiBA,Y,wBAAAA,Y","sourcesContent":["import type { NativeSyntheticEvent, StyleProp, ViewStyle } from 'react-native';\nimport type { Nullable } from '..';\nimport type { Card } from '../Card';\n\nexport namespace CardFormView {\n export type Names = 'CardNumber' | 'Cvc' | 'ExpiryDate' | 'PostalCode';\n\n export interface Details {\n last4: string;\n expiryMonth: number;\n expiryYear: number;\n postalCode?: string;\n brand: Card.Brand;\n complete: boolean;\n country: string;\n /**\n * WARNING: Full card details are only returned when the `dangerouslyGetFullCardDetails` prop\n * on the `CardField` component is set to `true`.\n * Only do this if you're certain that you fulfill the necessary PCI compliance requirements.\n * Make sure that you're not mistakenly logging or storing full card details!\n * See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance\n */\n number?: string;\n }\n\n export interface Styles {\n backgroundColor?: string;\n // disabledBackgroundColor?: string;\n // type?: 'borderless' | 'standard';\n }\n\n export interface Placeholders {\n number?: string;\n expiration?: string;\n cvc?: string;\n postalCode?: string;\n }\n\n export interface NativeProps {\n style?: StyleProp<ViewStyle>;\n autofocus?: boolean;\n // isUserInteractionEnabledValue?: boolean;\n cardStyle?: Styles;\n // placeholder: Placeholders;\n // postalCodeEnabled: boolean;\n onFocusChange(\n event: NativeSyntheticEvent<{ focusedField: Nullable<Names> }>\n ): void;\n onFormComplete(event: NativeSyntheticEvent<Details>): void;\n }\n\n export interface Methods {\n focus(): void;\n blur(): void;\n }\n}\n"]}
1
+ {"version":3,"sources":["CardFormView.ts"],"names":["CardFormView"],"mappings":"oKAIiBA,Y,wBAAAA,Y","sourcesContent":["import type { NativeSyntheticEvent, StyleProp, ViewStyle } from 'react-native';\nimport type { Nullable } from '..';\nimport type { Card } from '../Card';\n\nexport namespace CardFormView {\n export type Names = 'CardNumber' | 'Cvc' | 'ExpiryDate' | 'PostalCode';\n\n export interface Details {\n last4: string;\n expiryMonth: number;\n expiryYear: number;\n postalCode?: string;\n brand: Card.Brand;\n complete: boolean;\n country: string;\n /**\n * WARNING: Full card details are only returned when the `dangerouslyGetFullCardDetails` prop\n * on the `CardField` component is set to `true`.\n * Only do this if you're certain that you fulfill the necessary PCI compliance requirements.\n * Make sure that you're not mistakenly logging or storing full card details!\n * See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance\n */\n number?: string;\n }\n\n export interface Styles {\n backgroundColor?: string;\n // disabledBackgroundColor?: string;\n // type?: 'borderless' | 'standard';\n }\n\n export interface Placeholders {\n number?: string;\n expiration?: string;\n cvc?: string;\n postalCode?: string;\n }\n\n /**\n * @ignore\n */\n export interface NativeProps {\n style?: StyleProp<ViewStyle>;\n autofocus?: boolean;\n // isUserInteractionEnabledValue?: boolean;\n cardStyle?: Styles;\n // placeholder: Placeholders;\n // postalCodeEnabled: boolean;\n onFocusChange(\n event: NativeSyntheticEvent<{ focusedField: Nullable<Names> }>\n ): void;\n onFormComplete(event: NativeSyntheticEvent<Details>): void;\n }\n\n export interface Methods {\n focus(): void;\n blur(): void;\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"names":[],"mappings":"yDAoBA,0RACA,wTACA,wTACA,ySACA,+RACA,8SACA,gXACA,wUACA,mUACA,yTACA,sQACA,gRACA","sourcesContent":["import type { Card } from './Card';\nimport type {\n ApplePayError,\n CardActionError,\n ConfirmPaymentError,\n ConfirmSetupIntentError,\n CreatePaymentMethodError,\n CreateTokenError,\n GooglePayError,\n PaymentSheetError,\n RetrievePaymentIntentError,\n RetrieveSetupIntentError,\n StripeError,\n} from './Errors';\nimport type { PaymentIntent } from './PaymentIntents';\nimport type { PaymentMethod } from './PaymentMethods';\nimport type { PaymentSheet } from './PaymentSheet';\nimport type { SetupIntent } from './SetupIntent';\nimport type { ThreeDSecureConfigurationParams } from './ThreeDSecure';\n\nexport * from './ApplePay';\nexport * from './PaymentIntents';\nexport * from './PaymentMethods';\nexport * from './SetupIntent';\nexport * from './GooglePay';\nexport * from './ThreeDSecure';\nexport * from './components/ApplePayButtonComponent';\nexport * from './components/AuBECSDebitForm';\nexport * from './components/CardFieldInput';\nexport * from './components/CardFormView';\nexport * from './Card';\nexport * from './Errors';\nexport * from './PaymentSheet';\n\n/**\n * @ignore\n */\nexport type Dictionary<T> = {\n [key: string]: T;\n};\n\n/**\n * @ignore\n */\nexport type Nullable<T> = T | null;\n\nexport interface AppInfo {\n name?: string;\n partnerId?: string;\n url?: string;\n version?: string;\n}\n\nexport type CreatePaymentMethodResult =\n | {\n paymentMethod: PaymentMethod;\n error?: undefined;\n }\n | {\n paymentMethod?: undefined;\n error: StripeError<CreatePaymentMethodError>;\n };\n\nexport type RetrievePaymentIntentResult =\n | {\n paymentIntent: PaymentIntent;\n error?: undefined;\n }\n | {\n paymentIntent?: undefined;\n error: StripeError<RetrievePaymentIntentError>;\n };\n\nexport type RetrieveSetupIntentResult =\n | {\n setupIntent: SetupIntent;\n error?: undefined;\n }\n | {\n setupIntent?: undefined;\n error: StripeError<RetrieveSetupIntentError>;\n };\n\nexport type ConfirmPaymentResult =\n | {\n paymentIntent: PaymentIntent;\n error?: undefined;\n }\n | {\n paymentIntent?: undefined;\n error: StripeError<ConfirmPaymentError>;\n };\n\nexport type HandleCardActionResult =\n | {\n paymentIntent: PaymentIntent;\n error?: undefined;\n }\n | {\n paymentIntent?: undefined;\n error: StripeError<CardActionError>;\n };\n\nexport type ConfirmSetupIntentResult =\n | {\n setupIntent: SetupIntent;\n error?: undefined;\n }\n | {\n setupIntent?: undefined;\n error: StripeError<ConfirmSetupIntentError>;\n };\n\nexport type CreateTokenForCVCUpdateResult =\n | {\n tokenId: string;\n error?: undefined;\n }\n | {\n tokenId?: undefined;\n error: StripeError<ConfirmSetupIntentError>;\n };\n\nexport type InitPaymentSheetResult =\n | {\n paymentOption?: PaymentSheet.PaymentOption;\n error?: undefined;\n }\n | {\n paymentOption?: undefined;\n error: StripeError<PaymentSheetError>;\n };\n\nexport type PresentPaymentSheetResult =\n | {\n paymentOption?: undefined;\n error?: undefined;\n }\n | {\n paymentOption?: PaymentSheet.PaymentOption;\n error?: undefined;\n }\n | {\n paymentOption?: undefined;\n error: StripeError<PaymentSheetError>;\n };\n\nexport type CreateTokenResult =\n | {\n token: Card.Token;\n error?: undefined;\n }\n | {\n token?: undefined;\n error: StripeError<CreateTokenError>;\n };\n\nexport type ConfirmPaymentSheetPaymentResult = {\n error?: StripeError<PaymentSheetError>;\n};\n\nexport type ApplePayResult =\n | {\n paymentMethod: PaymentMethod;\n error?: undefined;\n }\n | {\n paymentMethod?: undefined;\n error: StripeError<ApplePayError>;\n };\n\nexport interface InitStripeParams {\n publishableKey: string;\n stripeAccountId?: string;\n threeDSecureParams?: ThreeDSecureConfigurationParams;\n merchantIdentifier?: string;\n urlScheme?: string;\n setUrlSchemeOnAndroid?: boolean;\n}\n\nexport interface InitialiseParams extends InitStripeParams {\n appInfo: AppInfo;\n}\n\nexport type GooglePayInitResult =\n | {\n error?: undefined;\n }\n | {\n error: StripeError<GooglePayError>;\n };\n\nexport type PayWithGooglePayResult =\n | {\n error?: undefined;\n }\n | {\n error: StripeError<GooglePayError>;\n };\n\nexport type CreateGooglePayPaymentMethodResult =\n | {\n paymentMethod: PaymentMethod;\n error?: undefined;\n }\n | {\n paymentMethod?: undefined;\n error: StripeError<GooglePayError>;\n };\n"]}
1
+ {"version":3,"sources":["index.ts"],"names":[],"mappings":"yDAoBA,0RACA,wTACA,wTACA,ySACA,+RACA,8SACA,gXACA,wUACA,mUACA,yTACA,sQACA,gRACA","sourcesContent":["import type { Card } from './Card';\nimport type {\n ApplePayError,\n CardActionError,\n ConfirmPaymentError,\n ConfirmSetupIntentError,\n CreatePaymentMethodError,\n CreateTokenError,\n GooglePayError,\n PaymentSheetError,\n RetrievePaymentIntentError,\n RetrieveSetupIntentError,\n StripeError,\n} from './Errors';\nimport type { PaymentIntent } from './PaymentIntents';\nimport type { PaymentMethod } from './PaymentMethods';\nimport type { PaymentSheet } from './PaymentSheet';\nimport type { SetupIntent } from './SetupIntent';\nimport type { ThreeDSecureConfigurationParams } from './ThreeDSecure';\n\nexport * from './ApplePay';\nexport * from './PaymentIntents';\nexport * from './PaymentMethods';\nexport * from './SetupIntent';\nexport * from './GooglePay';\nexport * from './ThreeDSecure';\nexport * from './components/ApplePayButtonComponent';\nexport * from './components/AuBECSDebitForm';\nexport * from './components/CardFieldInput';\nexport * from './components/CardFormView';\nexport * from './Card';\nexport * from './Errors';\nexport * from './PaymentSheet';\n\n/**\n * @ignore\n */\nexport type Dictionary<T> = {\n [key: string]: T;\n};\n\n/**\n * @ignore\n */\nexport type Nullable<T> = T | null;\n\nexport interface AppInfo {\n name?: string;\n partnerId?: string;\n url?: string;\n version?: string;\n}\n\nexport type CreatePaymentMethodResult =\n | {\n paymentMethod: PaymentMethod;\n error?: undefined;\n }\n | {\n paymentMethod?: undefined;\n error: StripeError<CreatePaymentMethodError>;\n };\n\nexport type RetrievePaymentIntentResult =\n | {\n paymentIntent: PaymentIntent;\n error?: undefined;\n }\n | {\n paymentIntent?: undefined;\n error: StripeError<RetrievePaymentIntentError>;\n };\n\nexport type RetrieveSetupIntentResult =\n | {\n setupIntent: SetupIntent;\n error?: undefined;\n }\n | {\n setupIntent?: undefined;\n error: StripeError<RetrieveSetupIntentError>;\n };\n\nexport type ConfirmPaymentResult =\n | {\n paymentIntent: PaymentIntent;\n error?: undefined;\n }\n | {\n paymentIntent?: undefined;\n error: StripeError<ConfirmPaymentError>;\n };\n\nexport type HandleCardActionResult =\n | {\n paymentIntent: PaymentIntent;\n error?: undefined;\n }\n | {\n paymentIntent?: undefined;\n error: StripeError<CardActionError>;\n };\n\nexport type ConfirmSetupIntentResult =\n | {\n setupIntent: SetupIntent;\n error?: undefined;\n }\n | {\n setupIntent?: undefined;\n error: StripeError<ConfirmSetupIntentError>;\n };\n\nexport type CreateTokenForCVCUpdateResult =\n | {\n tokenId: string;\n error?: undefined;\n }\n | {\n tokenId?: undefined;\n error: StripeError<ConfirmSetupIntentError>;\n };\n\nexport type InitPaymentSheetResult =\n | {\n paymentOption?: PaymentSheet.PaymentOption;\n error?: undefined;\n }\n | {\n paymentOption?: undefined;\n error: StripeError<PaymentSheetError>;\n };\n\nexport type PresentPaymentSheetResult =\n | {\n paymentOption?: undefined;\n error?: undefined;\n }\n | {\n paymentOption?: PaymentSheet.PaymentOption;\n error?: undefined;\n }\n | {\n paymentOption?: undefined;\n error: StripeError<PaymentSheetError>;\n };\n\nexport type CreateTokenResult =\n | {\n token: Card.Token;\n error?: undefined;\n }\n | {\n token?: undefined;\n error: StripeError<CreateTokenError>;\n };\n\nexport type ConfirmPaymentSheetPaymentResult = {\n error?: StripeError<PaymentSheetError>;\n};\n\nexport type ApplePayResult =\n | {\n paymentMethod: PaymentMethod;\n error?: undefined;\n }\n | {\n paymentMethod?: undefined;\n error: StripeError<ApplePayError>;\n };\n\nexport interface InitStripeParams {\n publishableKey: string;\n stripeAccountId?: string;\n threeDSecureParams?: ThreeDSecureConfigurationParams;\n merchantIdentifier?: string;\n urlScheme?: string;\n setUrlSchemeOnAndroid?: boolean;\n}\n\nexport interface InitialiseParams extends InitStripeParams {\n appInfo: AppInfo;\n}\n\nexport type GooglePayInitResult =\n | {\n error?: undefined;\n }\n | {\n error: StripeError<GooglePayError>;\n };\n\nexport type PayWithGooglePayResult =\n | {\n error?: undefined;\n }\n | {\n error: StripeError<GooglePayError>;\n };\n\nexport type CreateGooglePayPaymentMethodResult =\n | {\n paymentMethod: PaymentMethod;\n error?: undefined;\n }\n | {\n paymentMethod?: undefined;\n error: StripeError<GooglePayError>;\n };\n\nexport type OpenApplePaySetupResult =\n | {\n error?: undefined;\n }\n | {\n error: StripeError<ApplePayError>;\n };\n\nexport type CreateTokenParams =\n | CreateTokenCardParams\n | CreateTokenBankAccountParams;\n\nexport type CreateTokenCardParams = {\n type: 'Card';\n address?: Card.Address;\n name?: string;\n};\n\nexport type BankAcccountHolderType = 'Company' | 'Individual';\n\nexport type CreateTokenBankAccountParams = {\n type: 'BankAccount';\n accountHolderName?: string;\n accountHolderType?: BankAcccountHolderType;\n accountNumber: string;\n country: string;\n currency: string;\n routingNumber?: string;\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["NativeStripeSdk.tsx"],"names":["StripeSdk","NativeModules"],"mappings":"gFAAA,yCA8EA,GAAQA,CAAAA,SAAR,CAAsBC,0BAAtB,CAAQD,SAAR,C,aAEeA,S","sourcesContent":["import { NativeModules } from 'react-native';\nimport type {\n PaymentMethodCreateParams,\n ApplePay,\n PaymentSheet,\n ConfirmSetupIntent,\n InitialiseParams,\n CreatePaymentMethodResult,\n RetrievePaymentIntentResult,\n RetrieveSetupIntentResult,\n ConfirmPaymentResult,\n HandleCardActionResult,\n ConfirmSetupIntentResult,\n CreateTokenForCVCUpdateResult,\n InitPaymentSheetResult,\n PresentPaymentSheetResult,\n ConfirmPaymentSheetPaymentResult,\n Card,\n ApplePayResult,\n CreateTokenResult,\n GooglePayInitResult,\n PayWithGooglePayResult,\n CreateGooglePayPaymentMethodResult,\n GooglePay,\n} from './types';\n\ntype NativeStripeSdkType = {\n initialise(params: InitialiseParams): Promise<void>;\n createPaymentMethod(\n data: PaymentMethodCreateParams.Params,\n options: PaymentMethodCreateParams.Options\n ): Promise<CreatePaymentMethodResult>;\n handleCardAction(\n paymentIntentClientSecret: string\n ): Promise<HandleCardActionResult>;\n confirmPayment(\n paymentIntentClientSecret: string,\n data: PaymentMethodCreateParams.Params,\n options: PaymentMethodCreateParams.Options\n ): Promise<ConfirmPaymentResult>;\n isApplePaySupported(): Promise<boolean>;\n presentApplePay(params: ApplePay.PresentParams): Promise<ApplePayResult>;\n confirmApplePayPayment(clientSecret: string): Promise<void>;\n updateApplePaySummaryItems(\n summaryItems: ApplePay.CartSummaryItem[],\n errorAddressFields: Array<{\n field: ApplePay.AddressFields;\n message?: string;\n }>\n ): Promise<void>;\n confirmSetupIntent(\n paymentIntentClientSecret: string,\n data: ConfirmSetupIntent.Params,\n options: ConfirmSetupIntent.Options\n ): Promise<ConfirmSetupIntentResult>;\n retrievePaymentIntent(\n clientSecret: string\n ): Promise<RetrievePaymentIntentResult>;\n retrieveSetupIntent(clientSecret: string): Promise<RetrieveSetupIntentResult>;\n initPaymentSheet(\n params: PaymentSheet.SetupParams\n ): Promise<InitPaymentSheetResult>;\n presentPaymentSheet(\n params?: PaymentSheet.PresentParams\n ): Promise<PresentPaymentSheetResult>;\n confirmPaymentSheetPayment(): Promise<ConfirmPaymentSheetPaymentResult>;\n createTokenForCVCUpdate(cvc: string): Promise<CreateTokenForCVCUpdateResult>;\n handleURLCallback(url: string): Promise<boolean>;\n createToken(params: Card.CreateTokenParams): Promise<CreateTokenResult>;\n initGooglePay(params: GooglePay.InitParams): Promise<GooglePayInitResult>;\n presentGooglePay(\n params: GooglePay.PresentGooglePayParams\n ): Promise<PayWithGooglePayResult>;\n createGooglePayPaymentMethod(\n params: GooglePay.CreatePaymentMethodParams\n ): Promise<CreateGooglePayPaymentMethodResult>;\n};\n\nconst { StripeSdk } = NativeModules;\n\nexport default StripeSdk as NativeStripeSdkType;\n"]}
1
+ {"version":3,"sources":["NativeStripeSdk.tsx"],"names":["StripeSdk","NativeModules"],"mappings":"gFAAA,yCA8EA,GAAQA,CAAAA,SAAR,CAAsBC,0BAAtB,CAAQD,SAAR,C,aAEeA,S","sourcesContent":["import { NativeModules } from 'react-native';\nimport type {\n PaymentMethodCreateParams,\n ApplePay,\n PaymentSheet,\n ConfirmSetupIntent,\n InitialiseParams,\n CreatePaymentMethodResult,\n RetrievePaymentIntentResult,\n RetrieveSetupIntentResult,\n ConfirmPaymentResult,\n HandleCardActionResult,\n ConfirmSetupIntentResult,\n CreateTokenForCVCUpdateResult,\n InitPaymentSheetResult,\n PresentPaymentSheetResult,\n ConfirmPaymentSheetPaymentResult,\n ApplePayResult,\n CreateTokenResult,\n GooglePayInitResult,\n PayWithGooglePayResult,\n CreateGooglePayPaymentMethodResult,\n GooglePay,\n OpenApplePaySetupResult,\n CreateTokenParams,\n} from './types';\n\ntype NativeStripeSdkType = {\n initialise(params: InitialiseParams): Promise<void>;\n createPaymentMethod(\n data: PaymentMethodCreateParams.Params,\n options: PaymentMethodCreateParams.Options\n ): Promise<CreatePaymentMethodResult>;\n handleCardAction(\n paymentIntentClientSecret: string\n ): Promise<HandleCardActionResult>;\n confirmPayment(\n paymentIntentClientSecret: string,\n data: PaymentMethodCreateParams.Params,\n options: PaymentMethodCreateParams.Options\n ): Promise<ConfirmPaymentResult>;\n isApplePaySupported(): Promise<boolean>;\n presentApplePay(params: ApplePay.PresentParams): Promise<ApplePayResult>;\n confirmApplePayPayment(clientSecret: string): Promise<void>;\n updateApplePaySummaryItems(\n summaryItems: ApplePay.CartSummaryItem[],\n errorAddressFields: Array<{\n field: ApplePay.AddressFields;\n message?: string;\n }>\n ): Promise<void>;\n confirmSetupIntent(\n paymentIntentClientSecret: string,\n data: ConfirmSetupIntent.Params,\n options: ConfirmSetupIntent.Options\n ): Promise<ConfirmSetupIntentResult>;\n retrievePaymentIntent(\n clientSecret: string\n ): Promise<RetrievePaymentIntentResult>;\n retrieveSetupIntent(clientSecret: string): Promise<RetrieveSetupIntentResult>;\n initPaymentSheet(\n params: PaymentSheet.SetupParams\n ): Promise<InitPaymentSheetResult>;\n presentPaymentSheet(): Promise<PresentPaymentSheetResult>;\n confirmPaymentSheetPayment(): Promise<ConfirmPaymentSheetPaymentResult>;\n createTokenForCVCUpdate(cvc: string): Promise<CreateTokenForCVCUpdateResult>;\n handleURLCallback(url: string): Promise<boolean>;\n createToken(params: CreateTokenParams): Promise<CreateTokenResult>;\n initGooglePay(params: GooglePay.InitParams): Promise<GooglePayInitResult>;\n presentGooglePay(\n params: GooglePay.PresentGooglePayParams\n ): Promise<PayWithGooglePayResult>;\n createGooglePayPaymentMethod(\n params: GooglePay.CreatePaymentMethodParams\n ): Promise<CreateGooglePayPaymentMethodResult>;\n openApplePaySetup(): Promise<OpenApplePaySetupResult>;\n};\n\nconst { StripeSdk } = NativeModules;\n\nexport default StripeSdk as NativeStripeSdkType;\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/davidestes/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/michelleb/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,mpCAOA,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,CAA4D,CAC1D,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,CAA8D,CAC5D,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.Types;\n buttonStyle?: ApplePayButtonComponent.Styles;\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.Types) {\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.Styles) {\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,ypCAOA,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,CAA4D,CAC1D,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,CAA8D,CAC5D,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.Types;\n buttonStyle?: ApplePayButtonComponent.Styles;\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.Types) {\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.Styles) {\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 _defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _jsxFileName="/Users/davidestes/stripe-react-native/src/components/AuBECSDebitForm.tsx";var _excluded=["onComplete","companyName","formStyle"];function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly){symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});}keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(Object(source),true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}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:_objectSpread({},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/michelleb/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":"kdAAA,oDACA,yC,87BAQA,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,kBAAOC,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,yJAQA,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 _excluded=["onCardChange","onFocus","onBlur","cardStyle","placeholder","postalCodeEnabled"];var _this=this,_jsxFileName="/Users/davidestes/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 TextInputState=require('react-native/Libraries/Components/TextInput/TextInputState');var CardFieldNative=(0,_reactNative.requireNativeComponent)('CardField');var unsupportedMethodMessage=function unsupportedMethodMessage(field){return field+" method is not supported. Consider to upgrade react-native version to 0.63.x or higher";};var focusInput=function focusInput(ref){if('focusInput'in TextInputState){TextInputState.focusInput(ref);}else{if(__DEV__){console.log(unsupportedMethodMessage('focusInput'));}}};var registerInput=function registerInput(ref){if('registerInput'in TextInputState){TextInputState.registerInput(ref);}else{if(__DEV__){console.log(unsupportedMethodMessage('registerInput'));}}};var unregisterInput=function unregisterInput(ref){if('unregisterInput'in TextInputState){TextInputState.unregisterInput(ref);}else{if(__DEV__){console.log(unsupportedMethodMessage('unregisterInput'));}}};var currentlyFocusedInput=function currentlyFocusedInput(){if('currentlyFocusedInput'in TextInputState){return TextInputState.currentlyFocusedInput();}else{if(__DEV__){console.log(unsupportedMethodMessage('currentlyFocusedInput'));}}};var CardField=(0,_react.forwardRef)(function(_ref,ref){var onCardChange=_ref.onCardChange,onFocus=_ref.onFocus,onBlur=_ref.onBlur,cardStyle=_ref.cardStyle,placeholder=_ref.placeholder,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};if(card.hasOwnProperty('postalCode')){data.postalCode=card.postalCode||'';}if(card.hasOwnProperty('number')){data.number=card.number||'';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){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){registerInput(inputRefValue);return function(){unregisterInput(inputRefValue);if(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},placeholder:{number:placeholder==null?void 0:placeholder.number,expiration:placeholder==null?void 0:placeholder.expiration,cvc:placeholder==null?void 0:placeholder.cvc,postalCode:placeholder==null?void 0:placeholder.postalCode}},props,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:207,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","placeholder","postalCodeEnabled"];var _this=this,_jsxFileName="/Users/michelleb/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,placeholder=_ref.placeholder,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')){data.number=card.number||'';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},placeholder:{number:placeholder==null?void 0:placeholder.number,expiration:placeholder==null?void 0:placeholder.expiration,cvc:placeholder==null?void 0:placeholder.cvc,postalCode:placeholder==null?void 0:placeholder.postalCode}},props,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:172,columnNumber:7}}));});exports.CardField=CardField;
2
2
  //# sourceMappingURL=CardField.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["CardField.tsx"],"names":["TextInputState","require","CardFieldNative","unsupportedMethodMessage","field","focusInput","ref","__DEV__","console","log","registerInput","unregisterInput","currentlyFocusedInput","CardField","onCardChange","onFocus","onBlur","cardStyle","placeholder","postalCodeEnabled","props","inputRef","onCardChangeHandler","event","card","nativeEvent","data","last4","expiryMonth","expiryYear","complete","brand","hasOwnProperty","postalCode","number","warn","onFocusHandler","focusedField","current","focus","UIManager","dispatchViewManagerCommand","blur","clear","inputRefValue","backgroundColor","borderColor","borderWidth","borderRadius","cursorColor","fontSize","placeholderColor","textColor","textErrorColor","fontFamily","expiration","cvc"],"mappings":"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","sourcesContent":["import type { CardFieldInput, Nullable } 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';\nconst TextInputState = require('react-native/Libraries/Components/TextInput/TextInputState');\n\nconst CardFieldNative =\n requireNativeComponent<CardFieldInput.NativeProps>('CardField');\n\nconst unsupportedMethodMessage = (field: string) =>\n `${field} method is not supported. Consider to upgrade react-native version to 0.63.x or higher`;\n\nconst focusInput = (ref: React.MutableRefObject<any>) => {\n if ('focusInput' in TextInputState) {\n TextInputState.focusInput(ref);\n } else {\n if (__DEV__) {\n console.log(unsupportedMethodMessage('focusInput'));\n }\n }\n};\n\nconst registerInput = (ref: React.MutableRefObject<any>) => {\n if ('registerInput' in TextInputState) {\n TextInputState.registerInput(ref);\n } else {\n if (__DEV__) {\n console.log(unsupportedMethodMessage('registerInput'));\n }\n }\n};\n\nconst unregisterInput = (ref: React.MutableRefObject<any>) => {\n if ('unregisterInput' in TextInputState) {\n TextInputState.unregisterInput(ref);\n } else {\n if (__DEV__) {\n console.log(unsupportedMethodMessage('unregisterInput'));\n }\n }\n};\n\nconst currentlyFocusedInput = () => {\n if ('currentlyFocusedInput' in TextInputState) {\n return TextInputState.currentlyFocusedInput();\n } else {\n if (__DEV__) {\n console.log(unsupportedMethodMessage('currentlyFocusedInput'));\n }\n }\n};\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 placeholder?: CardFieldInput.Placeholders;\n autofocus?: boolean;\n onCardChange?(card: CardFieldInput.Details): void;\n onBlur?(): void;\n onFocus?(focusedField: Nullable<CardFieldInput.Names>): 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 placeholder,\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 };\n\n if (card.hasOwnProperty('postalCode')) {\n data.postalCode = card.postalCode || '';\n }\n if (card.hasOwnProperty('number')) {\n data.number = card.number || '';\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 placeholder={{\n number: placeholder?.number,\n expiration: placeholder?.expiration,\n cvc: placeholder?.cvc,\n postalCode: placeholder?.postalCode,\n }}\n {...props}\n />\n );\n }\n);\n"]}
1
+ {"version":3,"sources":["CardField.tsx"],"names":["CardFieldNative","CardField","ref","onCardChange","onFocus","onBlur","cardStyle","placeholder","postalCodeEnabled","props","inputRef","onCardChangeHandler","event","card","nativeEvent","data","last4","expiryMonth","expiryYear","complete","brand","validExpiryDate","validNumber","validCVC","hasOwnProperty","postalCode","number","__DEV__","console","warn","onFocusHandler","focusedField","current","focus","UIManager","dispatchViewManagerCommand","blur","clear","inputRefValue","backgroundColor","borderColor","borderWidth","borderRadius","cursorColor","fontSize","placeholderColor","textColor","textErrorColor","fontFamily","expiration","cvc"],"mappings":"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","sourcesContent":["import type { CardFieldInput, Nullable } 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 placeholder?: CardFieldInput.Placeholders;\n autofocus?: boolean;\n onCardChange?(card: CardFieldInput.Details): void;\n onBlur?(): void;\n onFocus?(focusedField: Nullable<CardFieldInput.Names>): 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 placeholder,\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')) {\n data.number = card.number || '';\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 placeholder={{\n number: placeholder?.number,\n expiration: placeholder?.expiration,\n cvc: placeholder?.cvc,\n postalCode: placeholder?.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 _excluded=["onFormComplete","cardStyle"];var _this=this,_jsxFileName="/Users/davidestes/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 TextInputState=require('react-native/Libraries/Components/TextInput/TextInputState');var CardFormNative=(0,_reactNative.requireNativeComponent)('CardForm');var CardForm=(0,_react.forwardRef)(function(_ref,ref){var onFormComplete=_ref.onFormComplete,cardStyle=_ref.cardStyle,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')){data.number=card.number||'';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){TextInputState.focusInput(inputRef.current);}else{}},[]);(0,_react.useLayoutEffect)(function(){var inputRefValue=inputRef.current;if(inputRefValue!==null){TextInputState.registerInput(inputRefValue);return function(){TextInputState.unregisterInput(inputRefValue);if(TextInputState.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},onFocusChange:onFocusHandler},props,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:158,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"];var _this=this,_jsxFileName="/Users/michelleb/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,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')){data.number=card.number||'';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},onFocusChange:onFocusHandler},props,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:163,columnNumber:7}}));});exports.CardForm=CardForm;
2
2
  //# sourceMappingURL=CardForm.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["CardForm.tsx"],"names":["TextInputState","require","CardFormNative","CardForm","ref","onFormComplete","cardStyle","props","inputRef","onFormCompleteHandler","event","card","nativeEvent","data","last4","expiryMonth","expiryYear","complete","brand","country","postalCode","hasOwnProperty","number","__DEV__","console","warn","focus","UIManager","dispatchViewManagerCommand","current","blur","onFocusHandler","focusedField","focusInput","inputRefValue","registerInput","unregisterInput","currentlyFocusedInput","backgroundColor"],"mappings":"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","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';\nconst TextInputState = require('react-native/Libraries/Components/TextInput/TextInputState');\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 // props iOS 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 // TODO: will make it public when ios-sdk allows for this\n // placeholder: CardFormView.Placeholders;\n // onBlur?(): void;\n // onFocus?(focusedField: Nullable<CardFormView.Names>): 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 // placeholder,\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')) {\n data.number = card.number || '';\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 TextInputState.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 TextInputState.registerInput(inputRefValue);\n return () => {\n TextInputState.unregisterInput(inputRefValue);\n if (TextInputState.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 // disabledBackgroundColor: cardStyle?.disabledBackgroundColor,\n // type: cardStyle?.type,\n }}\n // isUserInteractionEnabledValue={isUserInteractionEnabled}\n // placeholder={{\n // number: placeholder?.number,\n // expiration: placeholder?.expiration,\n // cvc: placeholder?.cvc,\n // postalCode: placeholder?.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","props","inputRef","onFormCompleteHandler","event","card","nativeEvent","data","last4","expiryMonth","expiryYear","complete","brand","country","postalCode","hasOwnProperty","number","__DEV__","console","warn","focus","UIManager","dispatchViewManagerCommand","current","blur","onFocusHandler","focusedField","inputRefValue","backgroundColor"],"mappings":"oWACA,qDAOA,yCASA,mC,6oCAOA,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,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,CAAJ,CAAmC,CACjCR,IAAI,CAACS,MAAL,CAAcX,IAAI,CAACW,MAAL,EAAe,EAA7B,CACA,GAAIC,OAAO,EAAIlB,cAAX,EAA6BM,IAAI,CAACM,QAAtC,CAAgD,CAC9CO,OAAO,CAACC,IAAR,+YAGD,CACF,CACDpB,cAAc,MAAd,QAAAA,cAAc,CAAGQ,IAAH,CAAd,CACD,CAvB2B,CAwB5B,CAACR,cAAD,CAxB4B,CAA9B,CA2BA,GAAMqB,CAAAA,KAAK,CAAG,QAARA,CAAAA,KAAQ,EAAM,CAClBC,uBAAUC,0BAAV,CACE,gCAAepB,QAAQ,CAACqB,OAAxB,CADF,CAEE,OAFF,CAGE,EAHF,EAKD,CAND,CAQA,GAAMC,CAAAA,IAAI,CAAG,QAAPA,CAAAA,IAAO,EAAM,CACjBH,uBAAUC,0BAAV,CACE,gCAAepB,QAAQ,CAACqB,OAAxB,CADF,CAEE,MAFF,CAGE,EAHF,EAKD,CAND,CAQA,+BAAoBzB,GAApB,CAAyB,iBAAO,CAC9BsB,KAAK,CAALA,KAD8B,CAE9BI,IAAI,CAAJA,IAF8B,CAAP,EAAzB,EAKA,GAAMC,CAAAA,cAAc,CAAG,uBAAY,SAACrB,KAAD,CAAW,CAC5C,GAAQsB,CAAAA,YAAR,CAAyBtB,KAAK,CAACE,WAA/B,CAAQoB,YAAR,CACA,GAAIA,YAAJ,CAAkB,CAChB,wBAAWxB,QAAQ,CAACqB,OAApB,EAED,CAHD,IAGO,CAEN,CACF,CARsB,CAQpB,EARoB,CAAvB,CAUA,2BAAgB,UAAM,CACpB,GAAMI,CAAAA,aAAa,CAAGzB,QAAQ,CAACqB,OAA/B,CACA,GAAII,aAAa,GAAK,IAAtB,CAA4B,CAC1B,2BAAcA,aAAd,EACA,MAAO,WAAM,CACX,6BAAgBA,aAAhB,EACA,GAAI,uCAA4BA,aAAhC,CAA+C,CAC7CA,aAAa,CAACH,IAAd,GACD,CACF,CALD,CAMD,CACD,MAAO,WAAM,CAAE,CAAf,CACD,CAZD,CAYG,CAACtB,QAAD,CAZH,EAcA,MACE,8BAAC,cAAD,wBACE,GAAG,CAAEA,QADP,CAEE,cAAc,CAAEC,qBAFlB,CAGE,SAAS,CAAE,CACTyB,eAAe,CAAE5B,SAAF,cAAEA,SAAS,CAAE4B,eADnB,CAHb,CAeE,aAAa,CAAEH,cAfjB,EAiBMxB,KAjBN,gFADF,CAqBD,CA7GqB,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 // props iOS 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 // TODO: will make it public when ios-sdk allows for this\n // placeholder: CardFormView.Placeholders;\n // onBlur?(): void;\n // onFocus?(focusedField: Nullable<CardFormView.Names>): 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 // placeholder,\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')) {\n data.number = card.number || '';\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 // disabledBackgroundColor: cardStyle?.disabledBackgroundColor,\n // type: cardStyle?.type,\n }}\n // isUserInteractionEnabledValue={isUserInteractionEnabled}\n // placeholder={{\n // number: placeholder?.number,\n // expiration: placeholder?.expiration,\n // cvc: placeholder?.cvc,\n // postalCode: placeholder?.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/davidestes/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/michelleb/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,wIASA,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,8IASA,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/davidestes/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/michelleb/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,4FAQA,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,kGAQA,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.StripeProvider=StripeProvider;exports.initStripe=void 0;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));var _react=_interopRequireWildcard(require("react"));var _NativeStripeSdk=_interopRequireDefault(require("../NativeStripeSdk"));var _helpers=require("../helpers");var _package=_interopRequireDefault(require("../../package.json"));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;}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly){symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});}keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(Object(source),true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var EXPO_PARTNER_ID='pp_partner_JBN7LkABco2yUu';var repository=_package.default.repository;var appInfo={name:(0,_helpers.shouldAttributeExpo)()?_package.default.name+"/expo":_package.default.name,url:repository.url||repository,version:_package.default.version,partnerId:(0,_helpers.shouldAttributeExpo)()?EXPO_PARTNER_ID:undefined};var initStripe=function initStripe(params){var extendedParams;return _regenerator.default.async(function initStripe$(_context){while(1){switch(_context.prev=_context.next){case 0:extendedParams=_objectSpread(_objectSpread({},params),{},{appInfo:appInfo});_NativeStripeSdk.default.initialise(extendedParams);case 2:case"end":return _context.stop();}}},null,null,null,Promise);};exports.initStripe=initStripe;function StripeProvider(_ref){var children=_ref.children,publishableKey=_ref.publishableKey,merchantIdentifier=_ref.merchantIdentifier,threeDSecureParams=_ref.threeDSecureParams,stripeAccountId=_ref.stripeAccountId,urlScheme=_ref.urlScheme,setUrlSchemeOnAndroid=_ref.setUrlSchemeOnAndroid;(0,_react.useEffect)(function(){if(!publishableKey){return;}if(_helpers.isAndroid){_NativeStripeSdk.default.initialise({publishableKey:publishableKey,appInfo:appInfo,stripeAccountId:stripeAccountId,threeDSecureParams:threeDSecureParams,urlScheme:urlScheme,setUrlSchemeOnAndroid:setUrlSchemeOnAndroid});}else{_NativeStripeSdk.default.initialise({publishableKey:publishableKey,appInfo:appInfo,stripeAccountId:stripeAccountId,threeDSecureParams:threeDSecureParams,merchantIdentifier:merchantIdentifier,urlScheme:urlScheme});}},[publishableKey,merchantIdentifier,stripeAccountId,threeDSecureParams,urlScheme,setUrlSchemeOnAndroid]);return _react.default.createElement(_react.default.Fragment,null,publishableKey?children:null);}
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.StripeProvider=StripeProvider;exports.initStripe=void 0;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _react=_interopRequireWildcard(require("react"));var _NativeStripeSdk=_interopRequireDefault(require("../NativeStripeSdk"));var _helpers=require("../helpers");var _package=_interopRequireDefault(require("../../package.json"));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 EXPO_PARTNER_ID='pp_partner_JBN7LkABco2yUu';var repository=_package.default.repository;var appInfo={name:(0,_helpers.shouldAttributeExpo)()?_package.default.name+"/expo":_package.default.name,url:repository.url||repository,version:_package.default.version,partnerId:(0,_helpers.shouldAttributeExpo)()?EXPO_PARTNER_ID:undefined};var initStripe=function _callee(params){var extendedParams;return _regenerator.default.async(function _callee$(_context){while(1){switch(_context.prev=_context.next){case 0:extendedParams=(0,_extends2.default)({},params,{appInfo:appInfo});_NativeStripeSdk.default.initialise(extendedParams);case 2:case"end":return _context.stop();}}},null,null,null,Promise);};exports.initStripe=initStripe;function StripeProvider(_ref){var children=_ref.children,publishableKey=_ref.publishableKey,merchantIdentifier=_ref.merchantIdentifier,threeDSecureParams=_ref.threeDSecureParams,stripeAccountId=_ref.stripeAccountId,urlScheme=_ref.urlScheme,setUrlSchemeOnAndroid=_ref.setUrlSchemeOnAndroid;(0,_react.useEffect)(function(){if(!publishableKey){return;}if(_helpers.isAndroid){_NativeStripeSdk.default.initialise({publishableKey:publishableKey,appInfo:appInfo,stripeAccountId:stripeAccountId,threeDSecureParams:threeDSecureParams,urlScheme:urlScheme,setUrlSchemeOnAndroid:setUrlSchemeOnAndroid});}else{_NativeStripeSdk.default.initialise({publishableKey:publishableKey,appInfo:appInfo,stripeAccountId:stripeAccountId,threeDSecureParams:threeDSecureParams,merchantIdentifier:merchantIdentifier,urlScheme:urlScheme});}},[publishableKey,merchantIdentifier,stripeAccountId,threeDSecureParams,urlScheme,setUrlSchemeOnAndroid]);return _react.default.createElement(_react.default.Fragment,null,children);}
2
2
  //# sourceMappingURL=StripeProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["StripeProvider.tsx"],"names":["EXPO_PARTNER_ID","repository","pjson","appInfo","name","url","version","partnerId","undefined","initStripe","params","extendedParams","NativeStripeSdk","initialise","StripeProvider","children","publishableKey","merchantIdentifier","threeDSecureParams","stripeAccountId","urlScheme","setUrlSchemeOnAndroid","isAndroid"],"mappings":"yXAAA,qDAEA,2EACA,mCAOA,mE,qyDAEA,GAAMA,CAAAA,eAAe,CAAG,2BAAxB,CAeA,GAAMC,CAAAA,UAAe,CAAGC,iBAAMD,UAA9B,CAEA,GAAME,CAAAA,OAAgB,CAAG,CACvBC,IAAI,CAAE,mCAA2BF,iBAAME,IAAjC,SAA+CF,iBAAME,IADpC,CAKvBC,GAAG,CAAEJ,UAAU,CAACI,GAAX,EAAkBJ,UALA,CAMvBK,OAAO,CAAEJ,iBAAMI,OANQ,CAOvBC,SAAS,CAAE,mCAAwBP,eAAxB,CAA0CQ,SAP9B,CAAzB,CAUO,GAAMC,CAAAA,UAAU,CAAG,QAAbA,CAAAA,UAAa,CAAOC,MAAP,0IAClBC,cADkB,gCACsBD,MADtB,MAC8BP,OAAO,CAAPA,OAD9B,GAExBS,yBAAgBC,UAAhB,CAA2BF,cAA3B,EAFwB,qEAAnB,C,8BAyBA,QAASG,CAAAA,cAAT,MAQG,IAPRC,CAAAA,QAOQ,MAPRA,QAOQ,CANRC,cAMQ,MANRA,cAMQ,CALRC,kBAKQ,MALRA,kBAKQ,CAJRC,kBAIQ,MAJRA,kBAIQ,CAHRC,eAGQ,MAHRA,eAGQ,CAFRC,SAEQ,MAFRA,SAEQ,CADRC,qBACQ,MADRA,qBACQ,CACR,qBAAU,UAAM,CACd,GAAI,CAACL,cAAL,CAAqB,CACnB,OACD,CACD,GAAIM,kBAAJ,CAAe,CACbV,yBAAgBC,UAAhB,CAA2B,CACzBG,cAAc,CAAdA,cADyB,CAEzBb,OAAO,CAAPA,OAFyB,CAGzBgB,eAAe,CAAfA,eAHyB,CAIzBD,kBAAkB,CAAlBA,kBAJyB,CAKzBE,SAAS,CAATA,SALyB,CAMzBC,qBAAqB,CAArBA,qBANyB,CAA3B,EAQD,CATD,IASO,CACLT,yBAAgBC,UAAhB,CAA2B,CACzBG,cAAc,CAAdA,cADyB,CAEzBb,OAAO,CAAPA,OAFyB,CAGzBgB,eAAe,CAAfA,eAHyB,CAIzBD,kBAAkB,CAAlBA,kBAJyB,CAKzBD,kBAAkB,CAAlBA,kBALyB,CAMzBG,SAAS,CAATA,SANyB,CAA3B,EAQD,CACF,CAvBD,CAuBG,CACDJ,cADC,CAEDC,kBAFC,CAGDE,eAHC,CAIDD,kBAJC,CAKDE,SALC,CAMDC,qBANC,CAvBH,EAgCA,MAAO,2DAAGL,cAAc,CAAGD,QAAH,CAAc,IAA/B,CAAP,CACD","sourcesContent":["import React, { useEffect } from 'react';\n\nimport NativeStripeSdk from '../NativeStripeSdk';\nimport { isAndroid, shouldAttributeExpo } from '../helpers';\nimport type {\n AppInfo,\n ThreeDSecureConfigurationParams,\n InitStripeParams,\n InitialiseParams,\n} from '../types';\nimport pjson from '../../package.json';\n\nconst EXPO_PARTNER_ID = 'pp_partner_JBN7LkABco2yUu';\n\n/**\n * Stripe Provider Component Props\n */\nexport interface Props {\n publishableKey: string;\n merchantIdentifier?: string;\n threeDSecureParams?: ThreeDSecureConfigurationParams;\n stripeAccountId?: string;\n children: React.ReactElement | React.ReactElement[];\n urlScheme?: string;\n setUrlSchemeOnAndroid?: boolean;\n}\n\nconst repository: any = pjson.repository;\n\nconst appInfo: AppInfo = {\n name: shouldAttributeExpo() ? `${pjson.name}/expo` : pjson.name,\n // package.json output installed via npm is a bit different than from yarn\n // the repository field can be an object or string\n // for more context: https://github.com/stripe/stripe-react-native/issues/200\n url: repository.url || repository,\n version: pjson.version,\n partnerId: shouldAttributeExpo() ? EXPO_PARTNER_ID : undefined,\n};\n\nexport const initStripe = async (params: InitStripeParams): Promise<void> => {\n const extendedParams: InitialiseParams = { ...params, appInfo };\n NativeStripeSdk.initialise(extendedParams);\n};\n\n/**\n * StripeProvider Component\n *\n * @example\n * ```ts\n * <StripeProvider\n * publishableKey=\"_publishableKey\"\n * merchantIdentifier=\"merchant.com.stripe.react.native\"\n * threeDSecureParams={{\n * backgroundColor: \"#FFF\",\n * timeout: 5,\n * }}\n * >\n * <App />\n * </StripeProvider>\n * ```\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport function StripeProvider({\n children,\n publishableKey,\n merchantIdentifier,\n threeDSecureParams,\n stripeAccountId,\n urlScheme,\n setUrlSchemeOnAndroid,\n}: Props) {\n useEffect(() => {\n if (!publishableKey) {\n return;\n }\n if (isAndroid) {\n NativeStripeSdk.initialise({\n publishableKey,\n appInfo,\n stripeAccountId,\n threeDSecureParams,\n urlScheme,\n setUrlSchemeOnAndroid,\n });\n } else {\n NativeStripeSdk.initialise({\n publishableKey,\n appInfo,\n stripeAccountId,\n threeDSecureParams,\n merchantIdentifier,\n urlScheme,\n });\n }\n }, [\n publishableKey,\n merchantIdentifier,\n stripeAccountId,\n threeDSecureParams,\n urlScheme,\n setUrlSchemeOnAndroid,\n ]);\n\n return <>{publishableKey ? children : null}</>;\n}\n"]}
1
+ {"version":3,"sources":["StripeProvider.tsx"],"names":["EXPO_PARTNER_ID","repository","pjson","appInfo","name","url","version","partnerId","undefined","initStripe","params","extendedParams","NativeStripeSdk","initialise","StripeProvider","children","publishableKey","merchantIdentifier","threeDSecureParams","stripeAccountId","urlScheme","setUrlSchemeOnAndroid","isAndroid"],"mappings":"2WAAA,qDAEA,2EACA,mCAOA,mE,0/BAEA,GAAMA,CAAAA,eAAe,CAAG,2BAAxB,CAeA,GAAMC,CAAAA,UAAe,CAAGC,iBAAMD,UAA9B,CAEA,GAAME,CAAAA,OAAgB,CAAG,CACvBC,IAAI,CAAE,mCAA2BF,iBAAME,IAAjC,SAA+CF,iBAAME,IADpC,CAKvBC,GAAG,CAAEJ,UAAU,CAACI,GAAX,EAAkBJ,UALA,CAMvBK,OAAO,CAAEJ,iBAAMI,OANQ,CAOvBC,SAAS,CAAE,mCAAwBP,eAAxB,CAA0CQ,SAP9B,CAAzB,CAUO,GAAMC,CAAAA,UAAU,CAAG,iBAAOC,MAAP,uIAClBC,cADkB,0BACsBD,MADtB,EAC8BP,OAAO,CAAPA,OAD9B,GAExBS,yBAAgBC,UAAhB,CAA2BF,cAA3B,EAFwB,qEAAnB,C,8BAyBA,QAASG,CAAAA,cAAT,MAQG,IAPRC,CAAAA,QAOQ,MAPRA,QAOQ,CANRC,cAMQ,MANRA,cAMQ,CALRC,kBAKQ,MALRA,kBAKQ,CAJRC,kBAIQ,MAJRA,kBAIQ,CAHRC,eAGQ,MAHRA,eAGQ,CAFRC,SAEQ,MAFRA,SAEQ,CADRC,qBACQ,MADRA,qBACQ,CACR,qBAAU,UAAM,CACd,GAAI,CAACL,cAAL,CAAqB,CACnB,OACD,CACD,GAAIM,kBAAJ,CAAe,CACbV,yBAAgBC,UAAhB,CAA2B,CACzBG,cAAc,CAAdA,cADyB,CAEzBb,OAAO,CAAPA,OAFyB,CAGzBgB,eAAe,CAAfA,eAHyB,CAIzBD,kBAAkB,CAAlBA,kBAJyB,CAKzBE,SAAS,CAATA,SALyB,CAMzBC,qBAAqB,CAArBA,qBANyB,CAA3B,EAQD,CATD,IASO,CACLT,yBAAgBC,UAAhB,CAA2B,CACzBG,cAAc,CAAdA,cADyB,CAEzBb,OAAO,CAAPA,OAFyB,CAGzBgB,eAAe,CAAfA,eAHyB,CAIzBD,kBAAkB,CAAlBA,kBAJyB,CAKzBD,kBAAkB,CAAlBA,kBALyB,CAMzBG,SAAS,CAATA,SANyB,CAA3B,EAQD,CACF,CAvBD,CAuBG,CACDJ,cADC,CAEDC,kBAFC,CAGDE,eAHC,CAIDD,kBAJC,CAKDE,SALC,CAMDC,qBANC,CAvBH,EAgCA,MAAO,2DAAGN,QAAH,CAAP,CACD","sourcesContent":["import React, { useEffect } from 'react';\n\nimport NativeStripeSdk from '../NativeStripeSdk';\nimport { isAndroid, shouldAttributeExpo } from '../helpers';\nimport type {\n AppInfo,\n ThreeDSecureConfigurationParams,\n InitStripeParams,\n InitialiseParams,\n} from '../types';\nimport pjson from '../../package.json';\n\nconst EXPO_PARTNER_ID = 'pp_partner_JBN7LkABco2yUu';\n\n/**\n * Stripe Provider Component Props\n */\nexport interface Props {\n publishableKey: string;\n merchantIdentifier?: string;\n threeDSecureParams?: ThreeDSecureConfigurationParams;\n stripeAccountId?: string;\n children: React.ReactElement | React.ReactElement[];\n urlScheme?: string;\n setUrlSchemeOnAndroid?: boolean;\n}\n\nconst repository: any = pjson.repository;\n\nconst appInfo: AppInfo = {\n name: shouldAttributeExpo() ? `${pjson.name}/expo` : pjson.name,\n // package.json output installed via npm is a bit different than from yarn\n // the repository field can be an object or string\n // for more context: https://github.com/stripe/stripe-react-native/issues/200\n url: repository.url || repository,\n version: pjson.version,\n partnerId: shouldAttributeExpo() ? EXPO_PARTNER_ID : undefined,\n};\n\nexport const initStripe = async (params: InitStripeParams): Promise<void> => {\n const extendedParams: InitialiseParams = { ...params, appInfo };\n NativeStripeSdk.initialise(extendedParams);\n};\n\n/**\n * StripeProvider Component\n *\n * @example\n * ```ts\n * <StripeProvider\n * publishableKey=\"_publishableKey\"\n * merchantIdentifier=\"merchant.com.stripe.react.native\"\n * threeDSecureParams={{\n * backgroundColor: \"#FFF\",\n * timeout: 5,\n * }}\n * >\n * <App />\n * </StripeProvider>\n * ```\n * @param __namedParameters Props\n * @returns JSX.Element\n * @category ReactComponents\n */\nexport function StripeProvider({\n children,\n publishableKey,\n merchantIdentifier,\n threeDSecureParams,\n stripeAccountId,\n urlScheme,\n setUrlSchemeOnAndroid,\n}: Props) {\n useEffect(() => {\n if (!publishableKey) {\n return;\n }\n if (isAndroid) {\n NativeStripeSdk.initialise({\n publishableKey,\n appInfo,\n stripeAccountId,\n threeDSecureParams,\n urlScheme,\n setUrlSchemeOnAndroid,\n });\n } else {\n NativeStripeSdk.initialise({\n publishableKey,\n appInfo,\n stripeAccountId,\n threeDSecureParams,\n merchantIdentifier,\n urlScheme,\n });\n }\n }, [\n publishableKey,\n merchantIdentifier,\n stripeAccountId,\n threeDSecureParams,\n urlScheme,\n setUrlSchemeOnAndroid,\n ]);\n\n return <>{children}</>;\n}\n"]}