diff --git a/example-app/ios/Podfile.lock b/example-app/ios/Podfile.lock index f2350efc..76b103c1 100644 --- a/example-app/ios/Podfile.lock +++ b/example-app/ios/Podfile.lock @@ -5,20 +5,20 @@ PODS: - ExpoModulesCore - EXFont (11.10.3): - ExpoModulesCore - - Expo (50.0.14): + - Expo (50.0.17): - ExpoModulesCore - - ExpoFileSystem (16.0.8): + - ExpoFileSystem (16.0.9): - ExpoModulesCore - ExpoKeepAwake (12.8.2): - ExpoModulesCore - - ExpoModulesCore (1.11.12): + - ExpoModulesCore (1.11.13): - glog - RCT-Folly (= 2022.05.16.00) - React-Core - React-NativeModulesApple - React-RCTAppDelegate - ReactCommon/turbomodule/core - - EXSplashScreen (0.26.4): + - EXSplashScreen (0.26.5): - ExpoModulesCore - glog - RCT-Folly (= 2022.05.16.00) @@ -1101,10 +1101,10 @@ PODS: - RCT-Folly (= 2022.05.16.00) - React-Core - SocketRocket (0.6.1) - - stripe-terminal-react-native (0.0.1-beta.18): + - stripe-terminal-react-native (0.0.1-beta.20): - React-Core - - StripeTerminal (~> 3.5.0) - - StripeTerminal (3.5.0) + - StripeTerminal (~> 3.7.0) + - StripeTerminal (3.7.0) - Yoga (1.14.0) DEPENDENCIES: @@ -1319,11 +1319,11 @@ SPEC CHECKSUMS: DoubleConversion: fea03f2699887d960129cc54bba7e52542b6f953 EXConstants: 988aa430ca0f76b43cd46b66e7fae3287f9cc2fc EXFont: f20669cb266ef48b004f1eb1f2b20db96cd1df9f - Expo: e01a77c6fa4bc80a6d1bb949cda1d12d21044abd - ExpoFileSystem: eecaf6796aed0f4dd20042dc2ca2cac6c4bc1185 + Expo: 2cdb5916749a1509cf88114f1f510bd458630eb4 + ExpoFileSystem: 74cc0fae916f9f044248433971dcfc8c3befd057 ExpoKeepAwake: 0f5cad99603a3268e50af9a6eb8b76d0d9ac956c - ExpoModulesCore: 61dc57c6e2a35f2f84baf488146db624e03af4cd - EXSplashScreen: 5538a51beec451bf1fcf5198e3062790e2534df3 + ExpoModulesCore: 4a8928a228569301ac4fc4a1e846713e05754d05 + EXSplashScreen: fb4d80520d2348d57879e7a272415438bbcdffd3 FBLazyVector: f64d1e2ea739b4d8f7e4740cde18089cd97fe864 FBReactNativeSpec: 9f2b8b243131565335437dba74923a8d3015e780 fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9 @@ -1380,8 +1380,8 @@ SPEC CHECKSUMS: RNReanimated: f6b02d8f5eaa2830296411d4ec3b8ef5442dd13d RNScreens: 17e2f657f1b09a71ec3c821368a04acbb7ebcb46 SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17 - stripe-terminal-react-native: d4d8536646e1d16ae8a906867e79107b02e8fc1f - StripeTerminal: 107cb1815738accbaa54179411cd916ed129b044 + stripe-terminal-react-native: 6e3ce4e85e06c56002d72ab23e5a6486d2b9daf6 + StripeTerminal: 7188b9f8bb3f3c9f0ad5f18217f26ccb07001988 Yoga: d17d2cc8105eed528474683b42e2ea310e1daf61 PODFILE CHECKSUM: 8c9f0bca78551a74dc0df7badf546b4cdf9eb304 diff --git a/example-app/package.json b/example-app/package.json index 5ddb8345..4a5d00a5 100644 --- a/example-app/package.json +++ b/example-app/package.json @@ -24,7 +24,7 @@ "@react-native-picker/picker": "2.6.1", "@react-navigation/native": "^5.x", "@react-navigation/stack": "^5.x", - "@stripe/stripe-terminal-react-native": "^0.0.1-beta.18", + "@stripe/stripe-terminal-react-native": "^0.0.1-beta.20", "@types/jest": "^29.2.1", "expo": "~50.0.17", "expo-splash-screen": "~0.26.5", diff --git a/example-app/src/screens/CollectCardPaymentScreen.tsx b/example-app/src/screens/CollectCardPaymentScreen.tsx index 2ecacb38..8dcb0c93 100644 --- a/example-app/src/screens/CollectCardPaymentScreen.tsx +++ b/example-app/src/screens/CollectCardPaymentScreen.tsx @@ -338,9 +338,9 @@ export default function CollectCardPaymentScreen() { ], }); - const { paymentIntent, error } = await confirmPaymentIntent( - collectedPaymentIntent - ); + const { paymentIntent, error } = await confirmPaymentIntent({ + paymentIntent: collectedPaymentIntent, + }); if (error) { addLogs({ diff --git a/example-app/src/screens/SetupIntentScreen.tsx b/example-app/src/screens/SetupIntentScreen.tsx index 55920c22..c5822867 100644 --- a/example-app/src/screens/SetupIntentScreen.tsx +++ b/example-app/src/screens/SetupIntentScreen.tsx @@ -69,7 +69,9 @@ export default function SetupIntentScreen() { }, ], }); - const { setupIntent, error } = await confirmSetupIntent(si); + const { setupIntent, error } = await confirmSetupIntent({ + setupIntent: si, + }); if (error) { addLogs({ name: 'Process Payment', diff --git a/example-app/yarn.lock b/example-app/yarn.lock index f4b7ae67..13404114 100644 --- a/example-app/yarn.lock +++ b/example-app/yarn.lock @@ -2477,10 +2477,10 @@ dependencies: "@sinonjs/commons" "^3.0.0" -"@stripe/stripe-terminal-react-native@^0.0.1-beta.18": - version "0.0.1-beta.18" - resolved "https://registry.npmjs.org/@stripe/stripe-terminal-react-native/-/stripe-terminal-react-native-0.0.1-beta.18.tgz#894db100b6d16de90fb852382fe48c145114adfa" - integrity sha512-qSbpqHPYyA0WfDFE4+NIhqmET7to3P/A2R3yD2MCo4hmh+LBhE3m1WtXbSBicoSToQG3g+VFQMV5NKlTGahwdg== +"@stripe/stripe-terminal-react-native@^0.0.1-beta.20": + version "0.0.1-beta.20" + resolved "https://registry.npmjs.org/@stripe/stripe-terminal-react-native/-/stripe-terminal-react-native-0.0.1-beta.20.tgz#022b731ab6f88eeb155f6ebdc030525bae6d625c" + integrity sha512-Bda5wIQPrpuawK0qEMlsdOGcgZ042mUjDTPdhi449YNtLjpiUrL2J2XP5PiDOJE3mZ/dmXD82JZy20p6mw1H4w== dependencies: "@testing-library/react-native" "^12.4.0" base-64 "^1.0.0"