react-native-plaid-link-sdk 12.2.0 → 12.2.1

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/README.md CHANGED
@@ -206,6 +206,7 @@ While these older versions are expected to continue to work without disruption,
206
206
 
207
207
  | Plaid SDK Version | Min React Native Version | Android SDK | Android Min Version | Android Compile Version| iOS SDK | iOS Min Version | Status |
208
208
  |-------------------|--------------------------|-------------|---------------------|------------------------|---------|-----------------|-------------------------------|
209
+ | 12.2.1 | * | [5.1.1+] | 21 | 34 | >=6.2.1 | 14.0 | Active, supports Xcode 16.1.0 |
209
210
  | 12.2.0 | * | [5.1.1+] | 21 | 34 | >=6.2.1 | 14.0 | Active, supports Xcode 16.1.0 |
210
211
  | 12.1.1 | * | [5.0.0+] | 21 | 34 | >=6.1.0 | 14.0 | Active, supports Xcode 16.1.0 |
211
212
  | 12.1.0 | * | [5.0.0+] | 21 | 34 | >=6.1.0 | 14.0 | Active, supports Xcode 16.1.0 |
@@ -4,7 +4,7 @@
4
4
  <application>
5
5
  <meta-data
6
6
  android:name="com.plaid.link.react_native"
7
- android:value="12.2.0" />
7
+ android:value="12.2.1" />
8
8
  </application>
9
9
 
10
10
  </manifest>
package/ios/RNLinksdk.mm CHANGED
@@ -28,7 +28,7 @@ static NSString* const kRNLinkKitVersionConstant = @"version";
28
28
  RCT_EXPORT_MODULE();
29
29
 
30
30
  + (NSString*)sdkVersion {
31
- return @"12.2.0"; // SDK_VERSION
31
+ return @"12.2.1"; // SDK_VERSION
32
32
  }
33
33
 
34
34
  + (NSString*)objCBridgeVersion {
@@ -223,13 +223,9 @@ RCT_EXPORT_METHOD(submit:(NSString * _Nullable)phoneNumber) {
223
223
  return PLKEnvironmentSandbox;
224
224
  }
225
225
 
226
- if ([string isEqualToString:@"development"]) {
227
- return PLKEnvironmentDevelopment;
228
- }
229
-
230
- // Default to Development
231
- NSLog(@"Unexpected environment string value: %@. Expected one of: production, sandbox, or development.", string);
232
- return PLKEnvironmentDevelopment;
226
+ // Default to Sandbox
227
+ NSLog(@"Unexpected environment string value: %@. Expected one of: production, sandbox.", string);
228
+ return PLKEnvironmentSandbox;
233
229
  }
234
230
 
235
231
  + (NSDictionary *)dictionaryFromSuccess:(PLKLinkSuccess *)success {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-plaid-link-sdk",
3
- "version": "12.2.0",
3
+ "version": "12.2.1",
4
4
  "description": "React Native Plaid Link SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",