-
Notifications
You must be signed in to change notification settings - Fork 572
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): replace tipsi with official stripe lib (#10451)
* remove old tipsi stripe dep * add new stripe dep * remove troubleshooting docs * update bid flow test and setup.jest * update credit card form * update payment info test * update payment info * update confirm bid test * update confirm bid * registration updates * more updates * first pass creating token with new input * get rid of now unnecessary useRef * basic styling * start moving field to shared component * minor changes * first pass replacing credit card field in bid registration * working animated border with moti * remove old credit card input dep and related hacks * remove missed import and now unused typings * fix failing test * update compile sdk to 34 for stripe * update stripe to latest patch * remove now unused default vals code * remove now unused default vals code * remove unused import * try bumping android build cache * downgrade to latest stripe compatible with compileVersion 33 * Revert "update compile sdk to 34 for stripe" This reverts commit 5b5965c. * don't store sensitive vals, use palette styling Co-authored-by: Carlos <[email protected]> * remove unnecessary hard coded currency * update token format in test * try removing jetifier from install * try removing jetifier from android command * bump android cache * remove jetifier dep * remove explicit jetifier commands * add a describe block scope * refactor the credit card form tests * less silly valid card logic --------- Co-authored-by: Carlos <[email protected]>
- Loading branch information
1 parent
6c412f5
commit 6f3234d
Showing
26 changed files
with
502 additions
and
995 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
], | ||
"main": "index-common.js", | ||
"scripts": { | ||
"android": "yarn jetifier && react-native run-android", | ||
"android": "react-native run-android", | ||
"bundle:android": "yarn bundle:android:js && yarn bundle:android:hermes && yarn bundle:android:sourcemap", | ||
"bundle:android:js": "./scripts/hermes/hermes-android-bundle.sh", | ||
"bundle:android:sourcemap": "./scripts/hermes/hermes-android-sourcemap.sh", | ||
|
@@ -103,7 +103,7 @@ | |
], | ||
"dependenciesComments": { | ||
"react-native": "Try running `npx @rnx-kit/align-deps --requirements [email protected]` when upgrading to a version, here 0.66.5", | ||
"deprecated-react-native-prop-types": "Needed for patching react-native and react-native-credit-card-input due to rn removing the proptypes from their repo", | ||
"deprecated-react-native-prop-types": "Needed for patching react-native due to rn removing the proptypes from their repo", | ||
"@babel/plugin-transform-named-capturing-groups-regex": "Needed for compiling android with hermes enabled", | ||
"braces": "in the resolutions - needed to resolve a security dependency issue - need to remove this when the issue is resolved and packages are updated" | ||
}, | ||
|
@@ -134,6 +134,7 @@ | |
"@segment/sovran-react-native": "1.1.1", | ||
"@sentry/react-native": "5.20.0", | ||
"@shopify/flash-list": "1.6.4", | ||
"@stripe/stripe-react-native": "0.36.0", | ||
"@styled-system/theme-get": "5.1.2", | ||
"autosuggest-highlight": "3.3.4", | ||
"deprecated-react-native-prop-types": "4.1.0", | ||
|
@@ -161,7 +162,6 @@ | |
"react-native-code-push": "8.1.0", | ||
"react-native-config": "https://github.com/artsy/react-native-config.git#v1.4.12-artsy", | ||
"react-native-context-menu-view": "git+https://github.com/artsy/react-native-context-menu-view.git#v1.10.10-artsy", | ||
"react-native-credit-card-input": "0.4.1", | ||
"react-native-dev-menu-android": "1.0.10", | ||
"react-native-device-info": "10.3.0", | ||
"react-native-fast-image": "8.6.3", | ||
|
@@ -201,7 +201,6 @@ | |
"styled-components": "5.3.6", | ||
"styled-system": "5.1.5", | ||
"supercluster": "7.1.5", | ||
"tipsi-stripe": "https://github.com/artsy/tipsi-stripe.git#fix-infinite-loop", | ||
"unleash-proxy-client": "3.1.1", | ||
"url": "0.11.3", | ||
"victory-native": "36.6.8", | ||
|
@@ -294,7 +293,6 @@ | |
"jest-junit": "15.0.0", | ||
"jest-raw-loader": "1.0.1", | ||
"jest-watch-typeahead": "0.6.1", | ||
"jetifier": "1.6.6", | ||
"json5": "2.2.3", | ||
"lint-staged": "13.2.3", | ||
"metro-react-native-babel-preset": "0.77.0", | ||
|
Oops, something went wrong.