@stripe/stripe-react-native 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +43 -0
- package/README.md +1 -1
- package/android/build/.transforms/{31ceac6fb5d33b3621129bf6bacef38e → 391dacf2d8747d5d964db20fd2dd8815}/results.bin +0 -0
- package/android/build/.transforms/391dacf2d8747d5d964db20fd2dd8815/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/{48791259e8e16eb93ec0e1ee5c2320d3 → 465a3f28c318295b6d1e745a1358f0e6}/results.bin +0 -0
- package/android/build/.transforms/465a3f28c318295b6d1e745a1358f0e6/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/{74570cf3214a596c51ea9185f02b2c7f → 538f1369a832b015f982db8e9f3e63d4}/results.bin +0 -0
- package/android/build/.transforms/538f1369a832b015f982db8e9f3e63d4/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/{82928fc3901d2ce5cedef114e23b9dd5 → 5821b0d6d2e0908c8ed0cd6c2f4e6587}/results.bin +0 -0
- package/android/build/.transforms/5821b0d6d2e0908c8ed0cd6c2f4e6587/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/{9338bfb74c726e5746db5e10b980917a → 60446a8b59a82b3ae8bcd81aa8d01afc}/results.bin +0 -0
- package/android/build/.transforms/60446a8b59a82b3ae8bcd81aa8d01afc/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/{c731e6bf5b480f659bf1c341f3f0657c → 87295b99343bf0db705fbc154493ffa4}/results.bin +0 -0
- package/android/build/.transforms/87295b99343bf0db705fbc154493ffa4/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/{d436978a4beecbc35d07543a01fe4a5c → ae18a466edb55818daf7c30291ff4843}/results.bin +0 -0
- package/android/build/.transforms/ae18a466edb55818daf7c30291ff4843/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/d42db6dbe74ca8dbcb5922d32e8646c4/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/e9a96dae20bdea4f5ebd602fc83f5f77/results.bin +1 -0
- package/android/build/.transforms/e9a96dae20bdea4f5ebd602fc83f5f77/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/f183966fd9230baa4d89c2c4e2fcb664/results.bin +1 -0
- package/android/build/.transforms/f183966fd9230baa4d89c2c4e2fcb664/transformed/classes/classes.dex +0 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/compile_library_classes_jar/release/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/release/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/R.txt +108 -20
- package/android/build/intermediates/compile_symbol_list/release/R.txt +108 -20
- package/android/build/intermediates/incremental/packageDebugResources/compile-file-map.properties +1 -1
- package/android/build/intermediates/incremental/packageReleaseResources/compile-file-map.properties +1 -1
- package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/release/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +78 -20
- package/android/build/intermediates/symbol_list_with_package_name/release/package-aware-r.txt +78 -20
- package/android/build/kotlin/compileDebugKotlin/build-history.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/counters.tab +2 -2
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values.s +1 -1
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/last-build.bin +0 -0
- package/android/build/kotlin/compileReleaseKotlin/build-history.bin +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/counters.tab +1 -1
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.values +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.values.s +1 -1
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/last-build.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/AuBECSDebitFormViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView$setListeners$10.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView$setListeners$6.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/{CardFieldView$setListeners$3.class → CardFieldView$setListeners$7.class} +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/{CardFieldView$setListeners$4.class → CardFieldView$setListeners$8.class} +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/{CardFieldView$setListeners$5.class → CardFieldView$setListeners$9.class} +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFormViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CollectBankAccountLauncherFragment$createBankAccountLauncher$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CollectBankAccountLauncherFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ConfirmPaymentErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ConfirmSetupIntentErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ConstantsKt.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CreateTokenErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ErrorsKt.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayButtonManager$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayButtonManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayPaymentMethodLauncherFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/MappersKt$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/MappersKt.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$retrievePaymentIntent$1$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$retrievePaymentIntent$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$retrieveSetupIntent$1$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$retrieveSetupIntent$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentMethodCreateParamsException.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentMethodCreateParamsFactory$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentMethodCreateParamsFactory.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeContainerManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createPaymentMethod$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createTokenForCVCUpdate$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createTokenFromBankAccount$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createTokenFromCard$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$googlePayReceiver$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mPaymentSheetReceiver$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$retrievePaymentIntent$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$retrieveSetupIntent$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$verifyMicrodeposits$paymentCallback$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$verifyMicrodeposits$setupCallback$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/AuBECSDebitFormViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldView$setListeners$10.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldView$setListeners$6.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/{CardFieldView$setListeners$3.class → CardFieldView$setListeners$7.class} +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/{CardFieldView$setListeners$4.class → CardFieldView$setListeners$8.class} +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/{CardFieldView$setListeners$5.class → CardFieldView$setListeners$9.class} +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldView.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFormViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CollectBankAccountLauncherFragment$createBankAccountLauncher$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CollectBankAccountLauncherFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ConfirmPaymentErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ConfirmSetupIntentErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ConstantsKt.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CreateTokenErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ErrorsKt.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayButtonManager$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayButtonManager.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayPaymentMethodLauncherFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/MappersKt$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/MappersKt.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment$retrievePaymentIntent$1$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment$retrievePaymentIntent$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment$retrieveSetupIntent$1$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment$retrieveSetupIntent$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentMethodCreateParamsException.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentMethodCreateParamsFactory$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentMethodCreateParamsFactory.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeContainerManager.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$createPaymentMethod$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$createTokenForCVCUpdate$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$createTokenFromBankAccount$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$createTokenFromCard$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$googlePayReceiver$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$mPaymentSheetReceiver$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$retrievePaymentIntent$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$retrieveSetupIntent$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$verifyMicrodeposits$paymentCallback$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$verifyMicrodeposits$setupCallback$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule.class +0 -0
- package/android/build.gradle +4 -2
- package/android/gradle.properties +1 -0
- package/android/src/main/java/com/reactnativestripesdk/AuBECSDebitFormViewManager.kt +0 -2
- package/android/src/main/java/com/reactnativestripesdk/CardFieldView.kt +48 -34
- package/android/src/main/java/com/reactnativestripesdk/CardFieldViewManager.kt +0 -5
- package/android/src/main/java/com/reactnativestripesdk/CardFormViewManager.kt +0 -4
- package/android/src/main/java/com/reactnativestripesdk/CollectBankAccountLauncherFragment.kt +84 -0
- package/android/src/main/java/com/reactnativestripesdk/Constants.kt +0 -1
- package/android/src/main/java/com/reactnativestripesdk/Errors.kt +16 -6
- package/android/src/main/java/com/reactnativestripesdk/GooglePayButtonManager.kt +0 -1
- package/android/src/main/java/com/reactnativestripesdk/GooglePayFragment.kt +0 -3
- package/android/src/main/java/com/reactnativestripesdk/GooglePayPaymentMethodLauncherFragment.kt +3 -2
- package/android/src/main/java/com/reactnativestripesdk/Mappers.kt +77 -40
- package/android/src/main/java/com/reactnativestripesdk/PaymentLauncherFragment.kt +77 -22
- package/android/src/main/java/com/reactnativestripesdk/PaymentMethodCreateParamsFactory.kt +81 -5
- package/android/src/main/java/com/reactnativestripesdk/StripeContainerManager.kt +0 -1
- package/android/src/main/java/com/reactnativestripesdk/StripeSdkModule.kt +199 -113
- package/ios/.DS_Store +0 -0
- package/ios/Mappers.swift +23 -18
- package/ios/StripeSdk.m +2 -2
- package/ios/StripeSdk.swift +16 -26
- package/lib/commonjs/NativeStripeSdk.js.map +1 -1
- package/lib/commonjs/components/ApplePayButton.js.map +1 -1
- package/lib/commonjs/components/CardField.js.map +1 -1
- package/lib/commonjs/components/CardForm.js.map +1 -1
- package/lib/commonjs/components/StripeProvider.js +1 -1
- package/lib/commonjs/components/StripeProvider.js.map +1 -1
- package/lib/commonjs/functions.js +1 -1
- package/lib/commonjs/functions.js.map +1 -1
- package/lib/commonjs/helpers.js.map +1 -1
- package/lib/commonjs/hooks/useConfirmPayment.js.map +1 -1
- package/lib/commonjs/hooks/useConfirmSetupIntent.js.map +1 -1
- package/lib/commonjs/hooks/useGooglePay.js.map +1 -1
- package/lib/commonjs/hooks/useStripe.js +1 -1
- package/lib/commonjs/hooks/useStripe.js.map +1 -1
- package/lib/commonjs/types/ApplePay.js +1 -1
- package/lib/commonjs/types/ApplePay.js.map +1 -1
- package/lib/commonjs/types/Common.js +2 -0
- package/lib/commonjs/types/Common.js.map +1 -0
- package/lib/commonjs/types/Errors.js +1 -1
- package/lib/commonjs/types/Errors.js.map +1 -1
- package/lib/commonjs/types/GooglePay.js +1 -1
- package/lib/commonjs/types/GooglePay.js.map +1 -1
- package/lib/commonjs/types/PaymentIntent.js +2 -0
- package/lib/commonjs/types/PaymentIntent.js.map +1 -0
- package/lib/commonjs/types/PaymentMethod.js +2 -0
- package/lib/commonjs/types/PaymentMethod.js.map +1 -0
- package/lib/commonjs/types/PaymentSheet.js +1 -1
- package/lib/commonjs/types/SetupIntent.js +1 -1
- package/lib/commonjs/types/SetupIntent.js.map +1 -1
- package/lib/commonjs/types/ThreeDSecure.js +1 -1
- package/lib/commonjs/types/ThreeDSecure.js.map +1 -1
- package/lib/commonjs/types/Token.js +2 -0
- package/lib/commonjs/types/Token.js.map +1 -0
- package/lib/commonjs/types/components/ApplePayButtonComponent.js +1 -1
- package/lib/commonjs/types/components/ApplePayButtonComponent.js.map +1 -1
- package/lib/commonjs/types/components/AuBECSDebitFormComponent.js +2 -0
- package/lib/commonjs/types/components/AuBECSDebitFormComponent.js.map +1 -0
- package/lib/commonjs/types/components/CardFieldInput.js +1 -1
- package/lib/commonjs/types/components/CardFieldInput.js.map +1 -1
- package/lib/commonjs/types/components/CardFormView.js +1 -1
- package/lib/commonjs/types/components/CardFormView.js.map +1 -1
- package/lib/commonjs/types/index.js +1 -1
- package/lib/commonjs/types/index.js.map +1 -1
- package/lib/module/NativeStripeSdk.js.map +1 -1
- package/lib/module/components/ApplePayButton.js.map +1 -1
- package/lib/module/components/CardField.js.map +1 -1
- package/lib/module/components/CardForm.js.map +1 -1
- package/lib/module/components/StripeProvider.js +1 -1
- package/lib/module/components/StripeProvider.js.map +1 -1
- package/lib/module/functions.js +1 -1
- package/lib/module/functions.js.map +1 -1
- package/lib/module/helpers.js.map +1 -1
- package/lib/module/hooks/useConfirmPayment.js.map +1 -1
- package/lib/module/hooks/useConfirmSetupIntent.js.map +1 -1
- package/lib/module/hooks/useGooglePay.js.map +1 -1
- package/lib/module/hooks/useStripe.js +1 -1
- package/lib/module/hooks/useStripe.js.map +1 -1
- package/lib/module/types/ApplePay.js +1 -1
- package/lib/module/types/ApplePay.js.map +1 -1
- package/lib/module/types/Common.js +2 -0
- package/lib/module/types/Common.js.map +1 -0
- package/lib/module/types/Errors.js +1 -1
- package/lib/module/types/Errors.js.map +1 -1
- package/lib/module/types/GooglePay.js +1 -1
- package/lib/module/types/GooglePay.js.map +1 -1
- package/lib/module/types/PaymentIntent.js +2 -0
- package/lib/module/types/PaymentIntent.js.map +1 -0
- package/lib/module/types/PaymentMethod.js +2 -0
- package/lib/module/types/PaymentMethod.js.map +1 -0
- package/lib/module/types/PaymentSheet.js +1 -1
- package/lib/module/types/SetupIntent.js +1 -1
- package/lib/module/types/SetupIntent.js.map +1 -1
- package/lib/module/types/ThreeDSecure.js +1 -1
- package/lib/module/types/ThreeDSecure.js.map +1 -1
- package/lib/module/types/Token.js +2 -0
- package/lib/module/types/Token.js.map +1 -0
- package/lib/module/types/components/ApplePayButtonComponent.js +1 -1
- package/lib/module/types/components/ApplePayButtonComponent.js.map +1 -1
- package/lib/module/types/components/AuBECSDebitFormComponent.js +2 -0
- package/lib/module/types/components/AuBECSDebitFormComponent.js.map +1 -0
- package/lib/module/types/components/CardFieldInput.js +1 -1
- package/lib/module/types/components/CardFieldInput.js.map +1 -1
- package/lib/module/types/components/CardFormView.js +1 -1
- package/lib/module/types/components/CardFormView.js.map +1 -1
- package/lib/module/types/index.js +1 -1
- package/lib/module/types/index.js.map +1 -1
- package/lib/typescript/src/NativeStripeSdk.d.ts +9 -9
- package/lib/typescript/src/components/ApplePayButton.d.ts +2 -2
- package/lib/typescript/src/components/CardField.d.ts +2 -2
- package/lib/typescript/src/components/StripeProvider.d.ts +1 -1
- package/lib/typescript/src/functions.d.ts +11 -15
- package/lib/typescript/src/helpers.d.ts +2 -1
- package/lib/typescript/src/hooks/useConfirmPayment.d.ts +2 -2
- package/lib/typescript/src/hooks/useConfirmSetupIntent.d.ts +2 -2
- package/lib/typescript/src/hooks/useGooglePay.d.ts +2 -2
- package/lib/typescript/src/hooks/useStripe.d.ts +11 -12
- package/lib/typescript/src/types/ApplePay.d.ts +48 -50
- package/lib/typescript/src/types/Common.d.ts +14 -0
- package/lib/typescript/src/types/Errors.d.ts +10 -0
- package/lib/typescript/src/types/GooglePay.d.ts +45 -50
- package/lib/typescript/src/types/PaymentIntent.d.ts +46 -0
- package/lib/typescript/src/types/PaymentMethod.d.ts +167 -0
- package/lib/typescript/src/types/PaymentSheet.d.ts +41 -55
- package/lib/typescript/src/types/SetupIntent.d.ts +22 -56
- package/lib/typescript/src/types/ThreeDSecure.d.ts +62 -68
- package/lib/typescript/src/types/Token.d.ts +50 -0
- package/lib/typescript/src/types/components/ApplePayButtonComponent.d.ts +8 -10
- package/{src/types/components/AuBECSDebitForm.ts → lib/typescript/src/types/components/AuBECSDebitFormComponent.d.ts} +8 -13
- package/lib/typescript/src/types/components/CardFieldInput.d.ts +62 -65
- package/lib/typescript/src/types/components/CardFormView.d.ts +41 -44
- package/lib/typescript/src/types/index.d.ts +53 -61
- package/package.json +7 -3
- package/src/NativeStripeSdk.tsx +15 -18
- package/src/components/ApplePayButton.tsx +4 -4
- package/src/components/CardField.tsx +2 -2
- package/src/components/CardForm.tsx +1 -1
- package/src/components/StripeProvider.tsx +1 -4
- package/src/functions.ts +75 -136
- package/src/helpers.ts +3 -2
- package/src/hooks/useConfirmPayment.tsx +3 -3
- package/src/hooks/useConfirmSetupIntent.tsx +3 -3
- package/src/hooks/useGooglePay.tsx +2 -2
- package/src/hooks/useStripe.tsx +22 -20
- package/src/types/ApplePay.ts +60 -62
- package/src/types/Common.ts +15 -0
- package/src/types/Errors.ts +12 -0
- package/src/types/GooglePay.ts +67 -73
- package/src/types/PaymentIntent.ts +53 -0
- package/src/types/PaymentMethod.ts +242 -0
- package/src/types/PaymentSheet.ts +49 -63
- package/src/types/SetupIntent.ts +30 -82
- package/src/types/ThreeDSecure.ts +63 -69
- package/src/types/Token.ts +74 -0
- package/src/types/components/ApplePayButtonComponent.ts +25 -27
- package/src/types/components/AuBECSDebitFormComponent.ts +29 -0
- package/src/types/components/CardFieldInput.ts +65 -67
- package/src/types/components/CardFormView.ts +48 -51
- package/src/types/index.ts +78 -71
- package/android/build/.transforms/06225d218c14d1720edd690e5aad3666/results.bin +0 -0
- package/android/build/.transforms/31ceac6fb5d33b3621129bf6bacef38e/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/48791259e8e16eb93ec0e1ee5c2320d3/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/74570cf3214a596c51ea9185f02b2c7f/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/82928fc3901d2ce5cedef114e23b9dd5/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/9338bfb74c726e5746db5e10b980917a/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/c731e6bf5b480f659bf1c341f3f0657c/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/d436978a4beecbc35d07543a01fe4a5c/transformed/classes/classes.dex +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values.s +0 -1
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.values +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.values.s +0 -1
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView$setListeners$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/NextPaymentActionErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldView$setListeners$2.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/NextPaymentActionErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2.class +0 -0
- package/lib/commonjs/types/Card.js +0 -2
- package/lib/commonjs/types/Card.js.map +0 -1
- package/lib/commonjs/types/PaymentIntents.js +0 -2
- package/lib/commonjs/types/PaymentIntents.js.map +0 -1
- package/lib/commonjs/types/PaymentMethods.js +0 -2
- package/lib/commonjs/types/PaymentMethods.js.map +0 -1
- package/lib/commonjs/types/components/AuBECSDebitForm.js +0 -2
- package/lib/commonjs/types/components/AuBECSDebitForm.js.map +0 -1
- package/lib/module/types/Card.js +0 -2
- package/lib/module/types/Card.js.map +0 -1
- package/lib/module/types/PaymentIntents.js +0 -2
- package/lib/module/types/PaymentIntents.js.map +0 -1
- package/lib/module/types/PaymentMethods.js +0 -2
- package/lib/module/types/PaymentMethods.js.map +0 -1
- package/lib/module/types/components/AuBECSDebitForm.js +0 -2
- package/lib/module/types/components/AuBECSDebitForm.js.map +0 -1
- package/lib/typescript/src/types/Card.d.ts +0 -42
- package/lib/typescript/src/types/PaymentIntents.d.ts +0 -52
- package/lib/typescript/src/types/PaymentMethods.d.ts +0 -193
- package/lib/typescript/src/types/components/AuBECSDebitForm.d.ts +0 -28
- package/src/types/Card.ts +0 -61
- package/src/types/PaymentIntents.ts +0 -58
- package/src/types/PaymentMethods.ts +0 -264
|
@@ -1,33 +1,25 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export
|
|
15
|
-
export * from './components/AuBECSDebitForm';
|
|
16
|
-
export * from './components/CardFieldInput';
|
|
17
|
-
export * from './components/CardFormView';
|
|
18
|
-
export * from './Card';
|
|
1
|
+
import type { ApplePayError, CardActionError, ConfirmPaymentError, ConfirmSetupIntentError, CreatePaymentMethodError, CreateTokenError, GooglePayError, PaymentSheetError, RetrievePaymentIntentError, RetrieveSetupIntentError, StripeError, VerifyMicrodepositsError, CollectBankAccountError } from './Errors';
|
|
2
|
+
import * as ApplePay from './ApplePay';
|
|
3
|
+
import * as PaymentIntent from './PaymentIntent';
|
|
4
|
+
import * as PaymentMethod from './PaymentMethod';
|
|
5
|
+
import * as PaymentSheet from './PaymentSheet';
|
|
6
|
+
import * as SetupIntent from './SetupIntent';
|
|
7
|
+
import * as ThreeDSecure from './ThreeDSecure';
|
|
8
|
+
import * as GooglePay from './GooglePay';
|
|
9
|
+
import * as ApplePayButtonComponent from './components/ApplePayButtonComponent';
|
|
10
|
+
import * as AuBECSDebitFormComponent from './components/AuBECSDebitFormComponent';
|
|
11
|
+
import * as CardFieldInput from './components/CardFieldInput';
|
|
12
|
+
import * as CardFormView from './components/CardFormView';
|
|
13
|
+
import * as Token from './Token';
|
|
14
|
+
export { ApplePay, PaymentIntent, PaymentMethod, PaymentSheet, SetupIntent, ThreeDSecure, GooglePay, ApplePayButtonComponent, AuBECSDebitFormComponent, CardFieldInput, CardFormView, Token, };
|
|
19
15
|
export * from './Errors';
|
|
20
|
-
export
|
|
16
|
+
export { Address, BillingDetails } from './Common';
|
|
21
17
|
/**
|
|
22
18
|
* @ignore
|
|
23
19
|
*/
|
|
24
20
|
export declare type Dictionary<T> = {
|
|
25
21
|
[key: string]: T;
|
|
26
22
|
};
|
|
27
|
-
/**
|
|
28
|
-
* @ignore
|
|
29
|
-
*/
|
|
30
|
-
export declare type Nullable<T> = T | null;
|
|
31
23
|
export interface AppInfo {
|
|
32
24
|
name?: string;
|
|
33
25
|
partnerId?: string;
|
|
@@ -35,42 +27,42 @@ export interface AppInfo {
|
|
|
35
27
|
version?: string;
|
|
36
28
|
}
|
|
37
29
|
export declare type CreatePaymentMethodResult = {
|
|
38
|
-
paymentMethod: PaymentMethod;
|
|
30
|
+
paymentMethod: PaymentMethod.Result;
|
|
39
31
|
error?: undefined;
|
|
40
32
|
} | {
|
|
41
33
|
paymentMethod?: undefined;
|
|
42
34
|
error: StripeError<CreatePaymentMethodError>;
|
|
43
35
|
};
|
|
44
36
|
export declare type RetrievePaymentIntentResult = {
|
|
45
|
-
paymentIntent: PaymentIntent;
|
|
37
|
+
paymentIntent: PaymentIntent.Result;
|
|
46
38
|
error?: undefined;
|
|
47
39
|
} | {
|
|
48
40
|
paymentIntent?: undefined;
|
|
49
41
|
error: StripeError<RetrievePaymentIntentError>;
|
|
50
42
|
};
|
|
51
43
|
export declare type RetrieveSetupIntentResult = {
|
|
52
|
-
setupIntent: SetupIntent;
|
|
44
|
+
setupIntent: SetupIntent.Result;
|
|
53
45
|
error?: undefined;
|
|
54
46
|
} | {
|
|
55
47
|
setupIntent?: undefined;
|
|
56
48
|
error: StripeError<RetrieveSetupIntentError>;
|
|
57
49
|
};
|
|
58
50
|
export declare type ConfirmPaymentResult = {
|
|
59
|
-
paymentIntent: PaymentIntent;
|
|
51
|
+
paymentIntent: PaymentIntent.Result;
|
|
60
52
|
error?: undefined;
|
|
61
53
|
} | {
|
|
62
54
|
paymentIntent?: undefined;
|
|
63
55
|
error: StripeError<ConfirmPaymentError>;
|
|
64
56
|
};
|
|
65
57
|
export declare type HandleNextActionResult = {
|
|
66
|
-
paymentIntent: PaymentIntent;
|
|
58
|
+
paymentIntent: PaymentIntent.Result;
|
|
67
59
|
error?: undefined;
|
|
68
60
|
} | {
|
|
69
61
|
paymentIntent?: undefined;
|
|
70
62
|
error: StripeError<CardActionError>;
|
|
71
63
|
};
|
|
72
64
|
export declare type ConfirmSetupIntentResult = {
|
|
73
|
-
setupIntent: SetupIntent;
|
|
65
|
+
setupIntent: SetupIntent.Result;
|
|
74
66
|
error?: undefined;
|
|
75
67
|
} | {
|
|
76
68
|
setupIntent?: undefined;
|
|
@@ -101,7 +93,7 @@ export declare type PresentPaymentSheetResult = {
|
|
|
101
93
|
error: StripeError<PaymentSheetError>;
|
|
102
94
|
};
|
|
103
95
|
export declare type CreateTokenResult = {
|
|
104
|
-
token:
|
|
96
|
+
token: Token.Result;
|
|
105
97
|
error?: undefined;
|
|
106
98
|
} | {
|
|
107
99
|
token?: undefined;
|
|
@@ -111,7 +103,7 @@ export declare type ConfirmPaymentSheetPaymentResult = {
|
|
|
111
103
|
error?: StripeError<PaymentSheetError>;
|
|
112
104
|
};
|
|
113
105
|
export declare type ApplePayResult = {
|
|
114
|
-
paymentMethod: PaymentMethod;
|
|
106
|
+
paymentMethod: PaymentMethod.Result;
|
|
115
107
|
error?: undefined;
|
|
116
108
|
} | {
|
|
117
109
|
paymentMethod?: undefined;
|
|
@@ -119,15 +111,11 @@ export declare type ApplePayResult = {
|
|
|
119
111
|
};
|
|
120
112
|
export interface InitStripeParams {
|
|
121
113
|
publishableKey: string;
|
|
122
|
-
merchantIdentifier?: string;
|
|
123
|
-
threeDSecureParams?: ThreeDSecureConfigurationParams;
|
|
124
114
|
stripeAccountId?: string;
|
|
115
|
+
threeDSecureParams?: ThreeDSecure.ConfigurationParams;
|
|
116
|
+
merchantIdentifier?: string;
|
|
125
117
|
urlScheme?: string;
|
|
126
118
|
setReturnUrlSchemeOnAndroid?: boolean;
|
|
127
|
-
/**
|
|
128
|
-
* @deprecated Use setReturnUrlSchemeOnAndroid instead
|
|
129
|
-
*/
|
|
130
|
-
setUrlSchemeOnAndroid?: boolean;
|
|
131
119
|
}
|
|
132
120
|
export interface InitialiseParams extends InitStripeParams {
|
|
133
121
|
appInfo: AppInfo;
|
|
@@ -143,7 +131,7 @@ export declare type PayWithGooglePayResult = {
|
|
|
143
131
|
error: StripeError<GooglePayError>;
|
|
144
132
|
};
|
|
145
133
|
export declare type CreateGooglePayPaymentMethodResult = {
|
|
146
|
-
paymentMethod: PaymentMethod;
|
|
134
|
+
paymentMethod: PaymentMethod.Result;
|
|
147
135
|
error?: undefined;
|
|
148
136
|
} | {
|
|
149
137
|
paymentMethod?: undefined;
|
|
@@ -154,24 +142,6 @@ export declare type OpenApplePaySetupResult = {
|
|
|
154
142
|
} | {
|
|
155
143
|
error: StripeError<ApplePayError>;
|
|
156
144
|
};
|
|
157
|
-
export declare type CreateTokenParams = CreateTokenCardParams | CreateTokenBankAccountParams;
|
|
158
|
-
export declare type CreateTokenCardParams = {
|
|
159
|
-
type: 'Card';
|
|
160
|
-
address?: Card.Address;
|
|
161
|
-
name?: string;
|
|
162
|
-
currency?: string;
|
|
163
|
-
};
|
|
164
|
-
export declare type BankAcccountHolderType = 'Company' | 'Individual';
|
|
165
|
-
export declare type BankAcccountType = 'Checking' | 'Savings';
|
|
166
|
-
export declare type CreateTokenBankAccountParams = {
|
|
167
|
-
type: 'BankAccount';
|
|
168
|
-
accountHolderName?: string;
|
|
169
|
-
accountHolderType?: BankAcccountHolderType;
|
|
170
|
-
accountNumber: string;
|
|
171
|
-
country: string;
|
|
172
|
-
currency: string;
|
|
173
|
-
routingNumber?: string;
|
|
174
|
-
};
|
|
175
145
|
export declare type VerifyMicrodepositsParams = {
|
|
176
146
|
amounts: number[];
|
|
177
147
|
descriptorCode?: undefined;
|
|
@@ -179,9 +149,31 @@ export declare type VerifyMicrodepositsParams = {
|
|
|
179
149
|
amounts?: undefined;
|
|
180
150
|
descriptorCode: string;
|
|
181
151
|
};
|
|
182
|
-
export declare type
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
152
|
+
export declare type VerifyMicrodepositsForPaymentResult = {
|
|
153
|
+
paymentIntent: PaymentIntent.Result;
|
|
154
|
+
error?: undefined;
|
|
155
|
+
} | {
|
|
156
|
+
paymentIntent?: undefined;
|
|
157
|
+
error: StripeError<VerifyMicrodepositsError>;
|
|
158
|
+
};
|
|
159
|
+
export declare type VerifyMicrodepositsForSetupResult = {
|
|
160
|
+
setupIntent: SetupIntent.Result;
|
|
161
|
+
error?: undefined;
|
|
162
|
+
} | {
|
|
163
|
+
setupIntent?: undefined;
|
|
164
|
+
error: StripeError<VerifyMicrodepositsError>;
|
|
165
|
+
};
|
|
166
|
+
export declare type CollectBankAccountForPaymentResult = {
|
|
167
|
+
paymentIntent: PaymentIntent.Result;
|
|
168
|
+
error?: undefined;
|
|
169
|
+
} | {
|
|
170
|
+
paymentIntent?: undefined;
|
|
171
|
+
error: StripeError<CollectBankAccountError>;
|
|
172
|
+
};
|
|
173
|
+
export declare type CollectBankAccountForSetupResult = {
|
|
174
|
+
setupIntent: SetupIntent.Result;
|
|
175
|
+
error?: undefined;
|
|
176
|
+
} | {
|
|
177
|
+
setupIntent?: undefined;
|
|
178
|
+
error: StripeError<CollectBankAccountError>;
|
|
187
179
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stripe/stripe-react-native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"author": "Stripe",
|
|
5
5
|
"description": "Stripe SDK for React Native",
|
|
6
6
|
"main": "lib/commonjs/index",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@babel/plugin-transform-typescript": "^7.13.0",
|
|
50
50
|
"@react-native-community/bob": "^0.16.2",
|
|
51
|
-
"@react-native-community/eslint-config": "^
|
|
51
|
+
"@react-native-community/eslint-config": "^3.0.0",
|
|
52
52
|
"@types/jest": "^26.0.23",
|
|
53
53
|
"@types/react": "^16.9.19",
|
|
54
54
|
"@types/react-native": "0.62.13",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"react-native": "0.66.4",
|
|
75
75
|
"ts-node": "^9.1.1",
|
|
76
76
|
"typedoc": "^0.22.12",
|
|
77
|
-
"typescript": "~4.
|
|
77
|
+
"typescript": "~4.4.4",
|
|
78
78
|
"wdio-chromedriver-service": "^7.0.0",
|
|
79
79
|
"webdriverio": "^7.16.15"
|
|
80
80
|
},
|
|
@@ -101,6 +101,10 @@
|
|
|
101
101
|
"prettier"
|
|
102
102
|
],
|
|
103
103
|
"rules": {
|
|
104
|
+
"no-shadow": "off",
|
|
105
|
+
"@typescript-eslint/no-shadow": [
|
|
106
|
+
"error"
|
|
107
|
+
],
|
|
104
108
|
"prettier/prettier": [
|
|
105
109
|
"error",
|
|
106
110
|
{
|
package/src/NativeStripeSdk.tsx
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { NativeModules } from 'react-native';
|
|
2
2
|
import type {
|
|
3
|
-
|
|
3
|
+
PaymentMethod,
|
|
4
4
|
ApplePay,
|
|
5
5
|
PaymentSheet,
|
|
6
|
-
|
|
6
|
+
SetupIntent,
|
|
7
7
|
InitialiseParams,
|
|
8
8
|
CreatePaymentMethodResult,
|
|
9
9
|
RetrievePaymentIntentResult,
|
|
@@ -22,24 +22,23 @@ import type {
|
|
|
22
22
|
CreateGooglePayPaymentMethodResult,
|
|
23
23
|
GooglePay,
|
|
24
24
|
OpenApplePaySetupResult,
|
|
25
|
-
|
|
25
|
+
Token,
|
|
26
26
|
VerifyMicrodepositsParams,
|
|
27
|
-
CollectBankAccountParams,
|
|
28
27
|
} from './types';
|
|
29
28
|
|
|
30
29
|
type NativeStripeSdkType = {
|
|
31
30
|
initialise(params: InitialiseParams): Promise<void>;
|
|
32
31
|
createPaymentMethod(
|
|
33
|
-
|
|
34
|
-
options:
|
|
32
|
+
params: PaymentMethod.CreateParams,
|
|
33
|
+
options: PaymentMethod.CreateOptions
|
|
35
34
|
): Promise<CreatePaymentMethodResult>;
|
|
36
35
|
handleNextAction(
|
|
37
36
|
paymentIntentClientSecret: string
|
|
38
37
|
): Promise<HandleNextActionResult>;
|
|
39
38
|
confirmPayment(
|
|
40
39
|
paymentIntentClientSecret: string,
|
|
41
|
-
|
|
42
|
-
options:
|
|
40
|
+
params: PaymentMethod.ConfirmParams,
|
|
41
|
+
options: PaymentMethod.ConfirmOptions
|
|
43
42
|
): Promise<ConfirmPaymentResult>;
|
|
44
43
|
isApplePaySupported(): Promise<boolean>;
|
|
45
44
|
presentApplePay(params: ApplePay.PresentParams): Promise<ApplePayResult>;
|
|
@@ -53,8 +52,8 @@ type NativeStripeSdkType = {
|
|
|
53
52
|
): Promise<void>;
|
|
54
53
|
confirmSetupIntent(
|
|
55
54
|
paymentIntentClientSecret: string,
|
|
56
|
-
|
|
57
|
-
options:
|
|
55
|
+
params: SetupIntent.ConfirmParams,
|
|
56
|
+
options: SetupIntent.ConfirmOptions
|
|
58
57
|
): Promise<ConfirmSetupIntentResult>;
|
|
59
58
|
retrievePaymentIntent(
|
|
60
59
|
clientSecret: string
|
|
@@ -67,27 +66,25 @@ type NativeStripeSdkType = {
|
|
|
67
66
|
confirmPaymentSheetPayment(): Promise<ConfirmPaymentSheetPaymentResult>;
|
|
68
67
|
createTokenForCVCUpdate(cvc: string): Promise<CreateTokenForCVCUpdateResult>;
|
|
69
68
|
handleURLCallback(url: string): Promise<boolean>;
|
|
70
|
-
createToken(params:
|
|
71
|
-
isGooglePaySupported(
|
|
72
|
-
params: GooglePay.IsGooglePaySupportedParams
|
|
73
|
-
): Promise<boolean>;
|
|
69
|
+
createToken(params: Token.CreateParams): Promise<CreateTokenResult>;
|
|
70
|
+
isGooglePaySupported(params: GooglePay.IsSupportedParams): Promise<boolean>;
|
|
74
71
|
initGooglePay(params: GooglePay.InitParams): Promise<GooglePayInitResult>;
|
|
75
72
|
presentGooglePay(
|
|
76
|
-
params: GooglePay.
|
|
73
|
+
params: GooglePay.PresentParams
|
|
77
74
|
): Promise<PayWithGooglePayResult>;
|
|
78
75
|
createGooglePayPaymentMethod(
|
|
79
76
|
params: GooglePay.CreatePaymentMethodParams
|
|
80
77
|
): Promise<CreateGooglePayPaymentMethodResult>;
|
|
81
78
|
openApplePaySetup(): Promise<OpenApplePaySetupResult>;
|
|
82
79
|
verifyMicrodeposits(
|
|
83
|
-
|
|
80
|
+
isPaymentIntent: boolean,
|
|
84
81
|
clientSecret: string,
|
|
85
82
|
params: VerifyMicrodepositsParams
|
|
86
83
|
): Promise<ConfirmSetupIntentResult | ConfirmPaymentResult>;
|
|
87
84
|
collectBankAccount(
|
|
88
|
-
|
|
85
|
+
isPaymentIntent: boolean,
|
|
89
86
|
clientSecret: string,
|
|
90
|
-
params: CollectBankAccountParams
|
|
87
|
+
params: PaymentMethod.CollectBankAccountParams
|
|
91
88
|
): Promise<ConfirmSetupIntentResult | ConfirmPaymentResult>;
|
|
92
89
|
};
|
|
93
90
|
|
|
@@ -15,8 +15,8 @@ const ApplePayButtonNative =
|
|
|
15
15
|
*/
|
|
16
16
|
export interface Props extends AccessibilityProps {
|
|
17
17
|
style?: StyleProp<ViewStyle>;
|
|
18
|
-
type?: ApplePayButtonComponent.
|
|
19
|
-
buttonStyle?: ApplePayButtonComponent.
|
|
18
|
+
type?: ApplePayButtonComponent.Type;
|
|
19
|
+
buttonStyle?: ApplePayButtonComponent.Style;
|
|
20
20
|
borderRadius?: number;
|
|
21
21
|
onPress(): void;
|
|
22
22
|
testID?: string;
|
|
@@ -60,7 +60,7 @@ export function ApplePayButton({
|
|
|
60
60
|
);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
function mapButtonType(type: ApplePayButtonComponent.
|
|
63
|
+
function mapButtonType(type: ApplePayButtonComponent.Type) {
|
|
64
64
|
switch (type) {
|
|
65
65
|
case 'plain':
|
|
66
66
|
return 0;
|
|
@@ -99,7 +99,7 @@ function mapButtonType(type: ApplePayButtonComponent.Types) {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
function mapButtonStyle(type: ApplePayButtonComponent.
|
|
102
|
+
function mapButtonStyle(type: ApplePayButtonComponent.Style) {
|
|
103
103
|
switch (type) {
|
|
104
104
|
case 'white':
|
|
105
105
|
return 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CardFieldInput
|
|
1
|
+
import type { CardFieldInput } from '../types';
|
|
2
2
|
import React, {
|
|
3
3
|
forwardRef,
|
|
4
4
|
useCallback,
|
|
@@ -36,7 +36,7 @@ export interface Props extends AccessibilityProps {
|
|
|
36
36
|
autofocus?: boolean;
|
|
37
37
|
onCardChange?(card: CardFieldInput.Details): void;
|
|
38
38
|
onBlur?(): void;
|
|
39
|
-
onFocus?(focusedField:
|
|
39
|
+
onFocus?(focusedField: CardFieldInput.FieldName | null): void;
|
|
40
40
|
testID?: string;
|
|
41
41
|
/**
|
|
42
42
|
* WARNING: If set to `true` the full card number will be returned in the `onCardChange` handler.
|
|
@@ -43,7 +43,7 @@ export interface Props extends AccessibilityProps {
|
|
|
43
43
|
// TODO: will make it public when ios-sdk allows for this
|
|
44
44
|
// placeholder: CardFormView.Placeholders;
|
|
45
45
|
// onBlur?(): void;
|
|
46
|
-
// onFocus?(focusedField:
|
|
46
|
+
// onFocus?(focusedField: CardFormView.FieldNames | null): void;
|
|
47
47
|
onFormComplete?(card: CardFormView.Details): void;
|
|
48
48
|
/**
|
|
49
49
|
* WARNING: If set to `true` the full card number will be returned in the `onFormComplete` handler.
|
|
@@ -59,7 +59,6 @@ export function StripeProvider({
|
|
|
59
59
|
stripeAccountId,
|
|
60
60
|
urlScheme,
|
|
61
61
|
setReturnUrlSchemeOnAndroid,
|
|
62
|
-
setUrlSchemeOnAndroid,
|
|
63
62
|
}: Props) {
|
|
64
63
|
useEffect(() => {
|
|
65
64
|
if (!publishableKey) {
|
|
@@ -72,8 +71,7 @@ export function StripeProvider({
|
|
|
72
71
|
stripeAccountId,
|
|
73
72
|
threeDSecureParams,
|
|
74
73
|
urlScheme,
|
|
75
|
-
setReturnUrlSchemeOnAndroid
|
|
76
|
-
setReturnUrlSchemeOnAndroid || setUrlSchemeOnAndroid,
|
|
74
|
+
setReturnUrlSchemeOnAndroid,
|
|
77
75
|
});
|
|
78
76
|
} else {
|
|
79
77
|
NativeStripeSdk.initialise({
|
|
@@ -92,7 +90,6 @@ export function StripeProvider({
|
|
|
92
90
|
threeDSecureParams,
|
|
93
91
|
urlScheme,
|
|
94
92
|
setReturnUrlSchemeOnAndroid,
|
|
95
|
-
setUrlSchemeOnAndroid,
|
|
96
93
|
]);
|
|
97
94
|
|
|
98
95
|
return <>{children}</>;
|