@stripe/stripe-react-native 0.9.0 → 0.10.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 CHANGED
@@ -1,5 +1,25 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## Unreleased
4
+
5
+ ### Breaking changes
6
+
7
+ ### New features
8
+
9
+ ### Fixes
10
+
11
+ ## 0.10.0
12
+
13
+ ### Breaking changes
14
+
15
+ ### New features
16
+
17
+ - Card scanning is available in payment sheet on Android. [#944](https://github.com/stripe/stripe-react-native/pull/944)
18
+ - To enable this, you will need to add `implementation 'com.stripe:stripecardscan:20.3.+'` to your `dependencies {}` block in `android/app/build.gradle`.
19
+ - `us_bank_account` payment method is now available in the payment sheet on Android. [#944](https://github.com/stripe/stripe-react-native/pull/944)
20
+
21
+ ### Fixes
22
+
3
23
  ## 0.9.0
4
24
 
5
25
  - [#913](https://github.com/stripe/stripe-react-native/pull/913) BREAKING CHANGE: Changed props for the `<AddToWalletButton />` component. Instead of passing `cardHolderName`, `cardLastFour`, `cardDescription`, and `cardBrand` directly as props, you will instead pass a `cardDetails` prop, which is an object containing the following fields:
@@ -135,7 +135,7 @@ dependencies {
135
135
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
136
136
  implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.3.1"
137
137
  implementation "com.stripe:stripe-android:$stripe_version"
138
- implementation "com.stripe:connections:$stripe_version"
138
+ implementation "com.stripe:financial-connections:$stripe_version"
139
139
  implementation 'com.google.android.material:material:1.3.0'
140
140
  implementation 'androidx.appcompat:appcompat:1.4.1'
141
141
  implementation 'androidx.legacy:legacy-support-v4:1.0.0'
@@ -1,2 +1,2 @@
1
- StripeSdk_kotlinVersion=1.5.10
2
- StripeSdk_stripeVersion=20.1.+
1
+ StripeSdk_kotlinVersion=1.6.10
2
+ StripeSdk_stripeVersion=20.3.+
@@ -180,7 +180,7 @@
180
180
  isa = XCBuildConfiguration;
181
181
  buildSettings = {
182
182
  ALWAYS_SEARCH_USER_PATHS = NO;
183
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
183
+ CLANG_CXX_LANGUAGE_STANDARD = "c++17";
184
184
  CLANG_CXX_LIBRARY = "libc++";
185
185
  CLANG_ENABLE_MODULES = YES;
186
186
  CLANG_ENABLE_OBJC_ARC = YES;
@@ -230,7 +230,7 @@
230
230
  isa = XCBuildConfiguration;
231
231
  buildSettings = {
232
232
  ALWAYS_SEARCH_USER_PATHS = NO;
233
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
233
+ CLANG_CXX_LANGUAGE_STANDARD = "c++17";
234
234
  CLANG_CXX_LIBRARY = "libc++";
235
235
  CLANG_ENABLE_MODULES = YES;
236
236
  CLANG_ENABLE_OBJC_ARC = YES;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stripe/stripe-react-native",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "author": "Stripe",
5
5
  "description": "Stripe SDK for React Native",
6
6
  "main": "lib/commonjs/index",
@@ -25,7 +25,7 @@
25
25
  "prepare": "bob build",
26
26
  "release": "./scripts/publish",
27
27
  "example": "yarn --cwd example",
28
- "pods": "cd example && pod-install --quiet",
28
+ "pods": "cd example && npx pod-install --quiet",
29
29
  "bootstrap": "yarn example && yarn && yarn pods",
30
30
  "bootstrap-no-pods": "yarn example && yarn",
31
31
  "docs": "yarn typedoc ./src/index.tsx --out ./docs/api-reference --tsconfig ./tsconfig.json --readme none",
@@ -60,7 +60,7 @@
60
60
  "@wdio/sync": "^7.16.15",
61
61
  "appium": "^1.22.2",
62
62
  "appium-chromedriver": "4.26.2",
63
- "eslint": "^7.14.0",
63
+ "eslint": "^7.32.0",
64
64
  "eslint-config-prettier": "^6.11.0",
65
65
  "eslint-plugin-prettier": "^3.1.3",
66
66
  "expect-webdriverio": "^2.0.1",
@@ -68,10 +68,9 @@
68
68
  "jest": "^26.6.3",
69
69
  "metro-react-native-babel-preset": "^0.67.0",
70
70
  "mocha": "^8.3.2",
71
- "pod-install": "^0.1.0",
72
71
  "prettier": "^2.0.5",
73
72
  "react": "17.0.2",
74
- "react-native": "0.66.4",
73
+ "react-native": "0.68.1",
75
74
  "ts-node": "^9.1.1",
76
75
  "typedoc": "^0.22.12",
77
76
  "typescript": "~4.4.4",