react-native-plaid-link-sdk 9.0.1 → 10.0.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/README.md +0 -35
- package/android/build.gradle +2 -2
- package/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/android/gradle.properties +3 -0
- package/android/gradlew +2 -0
- package/android/gradlew.bat +24 -19
- package/android/src/main/AndroidManifest.xml +1 -1
- package/dist/PlaidLink.d.ts +0 -1
- package/dist/PlaidLink.js +2 -2
- package/dist/Types.d.ts +9 -7
- package/dist/Types.js +2 -0
- package/ios/RNLinksdk.m +53 -7
- package/ios/RNLinksdk.xcworkspace/contents.xcworkspacedata +3 -0
- package/package.json +5 -5
- package/ios/.DS_Store +0 -0
- package/ios/RNLinksdk.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
- package/ios/RNLinksdk.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/ios/RNLinksdk.xcodeproj/project.xcworkspace/xcuserdata/wkiefer.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/RNLinksdk.xcodeproj/xcuserdata/wkiefer.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
package/README.md
CHANGED
|
@@ -44,41 +44,6 @@ followed by
|
|
|
44
44
|
|
|
45
45
|
For iOS OAuth to work, specific requirements must be met.
|
|
46
46
|
* Redirect URIs must be registered, and set up as universal links ([docs](https://plaid.com/docs/link/ios/#register-your-redirect-uri))
|
|
47
|
-
* Deep linking must be set up in the application delegate class (see code sample below)
|
|
48
|
-
* The exported `useDeepLinkRedirector` method must be invoked. If you are using the `PlaidLink` component it is invoked automatically, but if you are calling `openLink` programatically you must invoke `useDeepLinkRedirector`.
|
|
49
|
-
|
|
50
|
-
```objective-c
|
|
51
|
-
#import "AppDelegate.h"
|
|
52
|
-
...
|
|
53
|
-
#import <React/RCTLinkingManager.h>
|
|
54
|
-
|
|
55
|
-
...
|
|
56
|
-
|
|
57
|
-
@implementation AppDelegate
|
|
58
|
-
|
|
59
|
-
...
|
|
60
|
-
|
|
61
|
-
- (BOOL)application:(UIApplication *)app
|
|
62
|
-
openURL:(NSURL *)url
|
|
63
|
-
options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options
|
|
64
|
-
{
|
|
65
|
-
return [RCTLinkingManager application:app openURL:url options:options];
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
// Needed for universal links, which are required for Plaid iOS OAuth.
|
|
69
|
-
- (BOOL)application:(UIApplication *)application
|
|
70
|
-
continueUserActivity:(NSUserActivity *)userActivity
|
|
71
|
-
restorationHandler:(void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler
|
|
72
|
-
{
|
|
73
|
-
return [RCTLinkingManager application:application
|
|
74
|
-
continueUserActivity:userActivity
|
|
75
|
-
restorationHandler:restorationHandler];
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
...
|
|
79
|
-
|
|
80
|
-
@end
|
|
81
|
-
```
|
|
82
47
|
|
|
83
48
|
|
|
84
49
|
## Android setup
|
package/android/build.gradle
CHANGED
|
@@ -12,7 +12,7 @@ allprojects {
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
buildscript {
|
|
15
|
-
ext.kotlin_version = '1.
|
|
15
|
+
ext.kotlin_version = '1.7.10'
|
|
16
16
|
repositories {
|
|
17
17
|
google()
|
|
18
18
|
mavenCentral()
|
|
@@ -21,7 +21,7 @@ buildscript {
|
|
|
21
21
|
dependencies {
|
|
22
22
|
classpath 'com.android.tools.build:gradle:3.6.2'
|
|
23
23
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
24
|
-
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.
|
|
24
|
+
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10'
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
|
|
3
3
|
distributionPath=wrapper/dists
|
|
4
4
|
zipStoreBase=GRADLE_USER_HOME
|
|
5
5
|
zipStorePath=wrapper/dists
|
|
6
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.
|
|
6
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip
|
package/android/gradlew
CHANGED
|
@@ -66,6 +66,7 @@ esac
|
|
|
66
66
|
|
|
67
67
|
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
|
68
68
|
|
|
69
|
+
|
|
69
70
|
# Determine the Java command to use to start the JVM.
|
|
70
71
|
if [ -n "$JAVA_HOME" ] ; then
|
|
71
72
|
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
|
@@ -113,6 +114,7 @@ fi
|
|
|
113
114
|
if $cygwin ; then
|
|
114
115
|
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
|
115
116
|
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
|
117
|
+
|
|
116
118
|
JAVACMD=`cygpath --unix "$JAVACMD"`
|
|
117
119
|
|
|
118
120
|
# We build the pattern for arguments to be converted via cygpath
|
package/android/gradlew.bat
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
@rem
|
|
2
|
+
@rem Copyright 2015 the original author or authors.
|
|
3
|
+
@rem
|
|
4
|
+
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
@rem you may not use this file except in compliance with the License.
|
|
6
|
+
@rem You may obtain a copy of the License at
|
|
7
|
+
@rem
|
|
8
|
+
@rem https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
@rem
|
|
10
|
+
@rem Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
@rem See the License for the specific language governing permissions and
|
|
14
|
+
@rem limitations under the License.
|
|
15
|
+
@rem
|
|
16
|
+
|
|
1
17
|
@if "%DEBUG%" == "" @echo off
|
|
2
18
|
@rem ##########################################################################
|
|
3
19
|
@rem
|
|
@@ -13,15 +29,18 @@ if "%DIRNAME%" == "" set DIRNAME=.
|
|
|
13
29
|
set APP_BASE_NAME=%~n0
|
|
14
30
|
set APP_HOME=%DIRNAME%
|
|
15
31
|
|
|
32
|
+
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
|
|
33
|
+
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
|
|
34
|
+
|
|
16
35
|
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
17
|
-
set DEFAULT_JVM_OPTS=
|
|
36
|
+
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
|
|
18
37
|
|
|
19
38
|
@rem Find java.exe
|
|
20
39
|
if defined JAVA_HOME goto findJavaFromJavaHome
|
|
21
40
|
|
|
22
41
|
set JAVA_EXE=java.exe
|
|
23
42
|
%JAVA_EXE% -version >NUL 2>&1
|
|
24
|
-
if "%ERRORLEVEL%" == "0" goto
|
|
43
|
+
if "%ERRORLEVEL%" == "0" goto execute
|
|
25
44
|
|
|
26
45
|
echo.
|
|
27
46
|
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
@@ -35,7 +54,7 @@ goto fail
|
|
|
35
54
|
set JAVA_HOME=%JAVA_HOME:"=%
|
|
36
55
|
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
|
37
56
|
|
|
38
|
-
if exist "%JAVA_EXE%" goto
|
|
57
|
+
if exist "%JAVA_EXE%" goto execute
|
|
39
58
|
|
|
40
59
|
echo.
|
|
41
60
|
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
|
@@ -45,28 +64,14 @@ echo location of your Java installation.
|
|
|
45
64
|
|
|
46
65
|
goto fail
|
|
47
66
|
|
|
48
|
-
:init
|
|
49
|
-
@rem Get command-line arguments, handling Windows variants
|
|
50
|
-
|
|
51
|
-
if not "%OS%" == "Windows_NT" goto win9xME_args
|
|
52
|
-
|
|
53
|
-
:win9xME_args
|
|
54
|
-
@rem Slurp the command line arguments.
|
|
55
|
-
set CMD_LINE_ARGS=
|
|
56
|
-
set _SKIP=2
|
|
57
|
-
|
|
58
|
-
:win9xME_args_slurp
|
|
59
|
-
if "x%~1" == "x" goto execute
|
|
60
|
-
|
|
61
|
-
set CMD_LINE_ARGS=%*
|
|
62
|
-
|
|
63
67
|
:execute
|
|
64
68
|
@rem Setup the command line
|
|
65
69
|
|
|
66
70
|
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
|
67
71
|
|
|
72
|
+
|
|
68
73
|
@rem Execute Gradle
|
|
69
|
-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain
|
|
74
|
+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
|
|
70
75
|
|
|
71
76
|
:end
|
|
72
77
|
@rem End local scope for the variables with windows NT shell
|
package/dist/PlaidLink.d.ts
CHANGED
package/dist/PlaidLink.js
CHANGED
|
@@ -79,9 +79,9 @@ export const useDeepLinkRedirector = () => {
|
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
useEffect(() => {
|
|
82
|
-
Linking.addEventListener('url', _handleListenerChange);
|
|
82
|
+
const listener = Linking.addEventListener('url', _handleListenerChange);
|
|
83
83
|
return function cleanup() {
|
|
84
|
-
|
|
84
|
+
listener.remove();
|
|
85
85
|
};
|
|
86
86
|
}, []);
|
|
87
87
|
};
|
package/dist/Types.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ interface CommonPlaidLinkOptions {
|
|
|
3
3
|
logLevel?: LinkLogLevel;
|
|
4
4
|
extras?: Record<string, any>;
|
|
5
5
|
}
|
|
6
|
-
export
|
|
6
|
+
export type LinkTokenConfiguration = (CommonPlaidLinkOptions & {
|
|
7
7
|
token: string;
|
|
8
8
|
noLoadingState: boolean;
|
|
9
9
|
});
|
|
10
|
-
export
|
|
10
|
+
export type LinkPublicKeyConfiguration = (CommonPlaidLinkOptions & {
|
|
11
11
|
token?: string;
|
|
12
12
|
publicKey?: string;
|
|
13
13
|
clientName: string;
|
|
@@ -284,6 +284,7 @@ export declare enum LinkErrorCode {
|
|
|
284
284
|
INVALID_PROCESSOR_TOKEN = "INVALID_PROCESSOR_TOKEN",
|
|
285
285
|
INVALID_AUDIT_COPY_TOKEN = "INVALID_AUDIT_COPY_TOKEN",
|
|
286
286
|
INVALID_ACCOUNT_ID = "INVALID_ACCOUNT_ID",
|
|
287
|
+
MICRODEPOSITS_ALREADY_VERIFIED = "MICRODEPOSITS_ALREADY_VERIFIED",
|
|
287
288
|
PLAID_DIRECT_ITEM_IMPORT_RETURNED_INVALID_MFA = "PLAID_DIRECT_ITEM_IMPORT_RETURNED_INVALID_MFA",
|
|
288
289
|
ACCOUNTS_LIMIT = "ACCOUNTS_LIMIT",
|
|
289
290
|
ADDITION_LIMIT = "ADDITION_LIMIT",
|
|
@@ -313,7 +314,7 @@ export declare enum LinkErrorType {
|
|
|
313
314
|
RECAPTCHA_ERROR = "RECAPTCHA_ERROR",
|
|
314
315
|
OAUTH_ERROR = "OAUTH_ERROR"
|
|
315
316
|
}
|
|
316
|
-
export
|
|
317
|
+
export type LinkEventListener = (linkEvent: LinkEvent) => void;
|
|
317
318
|
export interface LinkEvent {
|
|
318
319
|
eventName: LinkEventName;
|
|
319
320
|
metadata: LinkEventMetadata;
|
|
@@ -334,6 +335,7 @@ export interface LinkEventMetadata {
|
|
|
334
335
|
timestamp: string;
|
|
335
336
|
}
|
|
336
337
|
export declare enum LinkEventName {
|
|
338
|
+
BANK_INCOME_INSIGHTS_COMPLETED = "BANK_INCOME_INSIGHTS_COMPLETED",
|
|
337
339
|
CLOSE_OAUTH = "CLOSE_OAUTH",
|
|
338
340
|
ERROR = "ERROR",
|
|
339
341
|
EXIT = "EXIT",
|
|
@@ -388,9 +390,9 @@ export declare enum LinkEventViewName {
|
|
|
388
390
|
SELECT_INSTITUTION = "SELECT_INSTITUTION",
|
|
389
391
|
VERIFY_SMS = "VERIFY_SMS"
|
|
390
392
|
}
|
|
391
|
-
export
|
|
392
|
-
export
|
|
393
|
-
export
|
|
393
|
+
export type LinkSuccessListener = (LinkSuccess: LinkSuccess) => void;
|
|
394
|
+
export type LinkExitListener = (LinkExit: LinkExit) => void;
|
|
395
|
+
export type PlaidLinkConfiguration = LinkTokenConfiguration | LinkPublicKeyConfiguration;
|
|
394
396
|
export interface PlaidLinkProps {
|
|
395
397
|
tokenConfig?: LinkTokenConfiguration;
|
|
396
398
|
publicKeyConfig?: LinkPublicKeyConfiguration;
|
|
@@ -398,7 +400,7 @@ export interface PlaidLinkProps {
|
|
|
398
400
|
onExit?: LinkExitListener;
|
|
399
401
|
onPress?(): any;
|
|
400
402
|
}
|
|
401
|
-
export
|
|
403
|
+
export type PlaidLinkComponentProps = (PlaidLinkProps & {
|
|
402
404
|
children: React.ReactNode;
|
|
403
405
|
});
|
|
404
406
|
export {};
|
package/dist/Types.js
CHANGED
|
@@ -300,6 +300,7 @@ export var LinkErrorCode;
|
|
|
300
300
|
LinkErrorCode["INVALID_PROCESSOR_TOKEN"] = "INVALID_PROCESSOR_TOKEN";
|
|
301
301
|
LinkErrorCode["INVALID_AUDIT_COPY_TOKEN"] = "INVALID_AUDIT_COPY_TOKEN";
|
|
302
302
|
LinkErrorCode["INVALID_ACCOUNT_ID"] = "INVALID_ACCOUNT_ID";
|
|
303
|
+
LinkErrorCode["MICRODEPOSITS_ALREADY_VERIFIED"] = "MICRODEPOSITS_ALREADY_VERIFIED";
|
|
303
304
|
// INVALID_RESULT
|
|
304
305
|
LinkErrorCode["PLAID_DIRECT_ITEM_IMPORT_RETURNED_INVALID_MFA"] = "PLAID_DIRECT_ITEM_IMPORT_RETURNED_INVALID_MFA";
|
|
305
306
|
// RATE_LIMIT_EXCEEDED
|
|
@@ -336,6 +337,7 @@ export var LinkErrorType;
|
|
|
336
337
|
})(LinkErrorType || (LinkErrorType = {}));
|
|
337
338
|
export var LinkEventName;
|
|
338
339
|
(function (LinkEventName) {
|
|
340
|
+
LinkEventName["BANK_INCOME_INSIGHTS_COMPLETED"] = "BANK_INCOME_INSIGHTS_COMPLETED";
|
|
339
341
|
LinkEventName["CLOSE_OAUTH"] = "CLOSE_OAUTH";
|
|
340
342
|
LinkEventName["ERROR"] = "ERROR";
|
|
341
343
|
LinkEventName["EXIT"] = "EXIT";
|
package/ios/RNLinksdk.m
CHANGED
|
@@ -117,7 +117,7 @@ NSString* const kRNLinkKitPublicTokenPrefix = @"public-";
|
|
|
117
117
|
RCT_EXPORT_MODULE();
|
|
118
118
|
|
|
119
119
|
+ (NSString*)sdkVersion {
|
|
120
|
-
return @"
|
|
120
|
+
return @"10.0.0"; // SDK_VERSION
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
+ (NSString*)objCBridgeVersion {
|
|
@@ -160,7 +160,7 @@ RCT_EXPORT_METHOD(continueFromRedirectUriString:(NSString *)redirectUriString) {
|
|
|
160
160
|
NSURL *receivedRedirectUri = (id)redirectUriString == [NSNull null] ? nil : [NSURL URLWithString:redirectUriString];
|
|
161
161
|
|
|
162
162
|
if (receivedRedirectUri && self.linkHandler) {
|
|
163
|
-
|
|
163
|
+
[self.linkHandler continueWithRedirectUri:receivedRedirectUri];
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
|
|
@@ -772,6 +772,28 @@ RCT_EXPORT_METHOD(dismiss) {
|
|
|
772
772
|
return @"FAIL_OAUTH";
|
|
773
773
|
case PLKEventNameValueHandoff:
|
|
774
774
|
return @"HANDOFF";
|
|
775
|
+
case PLKEventNameValueIdentityVerificationStartStep:
|
|
776
|
+
return @"IDENTITY_VERIFICATION_START_STEP";
|
|
777
|
+
case PLKEventNameValueIdentityVerificationPassStep:
|
|
778
|
+
return @"IDENTITY_VERIFICATION_PASS_STEP";
|
|
779
|
+
case PLKEventNameValueIdentityVerificationFailStep:
|
|
780
|
+
return @"IDENTITY_VERIFICATION_FAIL_STEP";
|
|
781
|
+
case PLKEventNameValueIdentityVerificationPendingReviewStep:
|
|
782
|
+
return @"IDENTITY_VERIFICATION_PENDING_REVIEW_STEP";
|
|
783
|
+
case PLKEventNameValueIdentityVerificationCreateSession:
|
|
784
|
+
return @"IDENTITY_VERIFICATION_CREATE_SESSION";
|
|
785
|
+
case PLKEventNameValueIdentityVerificationResumeSession:
|
|
786
|
+
return @"IDENTITY_VERIFICATION_RESUME_SESSION";
|
|
787
|
+
case PLKEventNameValueIdentityVerificationPassSession:
|
|
788
|
+
return @"IDENTITY_VERIFICATION_PASS_SESSION";
|
|
789
|
+
case PLKEventNameValueIdentityVerificationFailSession:
|
|
790
|
+
return @"IDENTITY_VERIFICATION_FAIL_SESSION";
|
|
791
|
+
case PLKEventNameValueIdentityVerificationOpenUI:
|
|
792
|
+
return @"IDENTITY_VERIFICATION_OPEN_UI";
|
|
793
|
+
case PLKEventNameValueIdentityVerificationResumeUI:
|
|
794
|
+
return @"IDENTITY_VERIFICATION_RESUME_UI";
|
|
795
|
+
case PLKEventNameValueIdentityVerificationCloseUI:
|
|
796
|
+
return @"IDENTITY_VERIFICATION_CLOSE_UI";
|
|
775
797
|
case PLKEventNameValueMatchedSelectInstitution:
|
|
776
798
|
return @"MATCHED_SELECT_INSTITUTION";
|
|
777
799
|
case PLKEventNameValueMatchedSelectVerifyMethod:
|
|
@@ -784,6 +806,10 @@ RCT_EXPORT_METHOD(dismiss) {
|
|
|
784
806
|
return @"OPEN_OAUTH";
|
|
785
807
|
case PLKEventNameValueSearchInstitution:
|
|
786
808
|
return @"SEARCH_INSTITUTION";
|
|
809
|
+
case PLKEventNameValueSelectDegradedInstitution:
|
|
810
|
+
return @"SELECT_DEGRADED_INSTITUTION";
|
|
811
|
+
case PLKEventNameValueSelectDownInstitution:
|
|
812
|
+
return @"SELECT_DOWN_INSTITUTION";
|
|
787
813
|
case PLKEventNameValueSelectInstitution:
|
|
788
814
|
return @"SELECT_INSTITUTION";
|
|
789
815
|
case PLKEventNameValueSubmitCredentials:
|
|
@@ -792,11 +818,7 @@ RCT_EXPORT_METHOD(dismiss) {
|
|
|
792
818
|
return @"SUBMIT_MFA";
|
|
793
819
|
case PLKEventNameValueTransitionView:
|
|
794
820
|
return @"TRANSITION_VIEW";
|
|
795
|
-
|
|
796
|
-
return @"SELECT_DEGRADED_INSTITUTION";
|
|
797
|
-
case PLKEventNameValueSelectDownInstitution:
|
|
798
|
-
return @"SELECT_DOWN_INSTITUTION";
|
|
799
|
-
}
|
|
821
|
+
}
|
|
800
822
|
return @"unknown";
|
|
801
823
|
}
|
|
802
824
|
|
|
@@ -897,6 +919,30 @@ RCT_EXPORT_METHOD(dismiss) {
|
|
|
897
919
|
return @"SELECT_ACCOUNT";
|
|
898
920
|
case PLKViewNameValueSelectInstitution:
|
|
899
921
|
return @"SELECT_INSTITUTION";
|
|
922
|
+
case PLKViewNameValueUploadDocuments:
|
|
923
|
+
return @"UPLOAD_DOCUMENTS";
|
|
924
|
+
case PLKViewNameValueSubmitDocuments:
|
|
925
|
+
return @"SUBMIT_DOCUMENTS";
|
|
926
|
+
case PLKViewNameValueSubmitDocumentsSuccess:
|
|
927
|
+
return @"SUBMIT_DOCUMENTS_SUCCESS";
|
|
928
|
+
case PLKViewNameValueSubmitDocumentsError:
|
|
929
|
+
return @"SUBMIT_DOCUMENTS_ERROR";
|
|
930
|
+
case PLKViewNameValueOauth:
|
|
931
|
+
return @"OAUTH";
|
|
932
|
+
case PLKViewNameValueAcceptTOS:
|
|
933
|
+
return @"ACCEPT_TOS";
|
|
934
|
+
case PLKViewNameValueDocumentaryVerification:
|
|
935
|
+
return @"DOCUMENTARY_VERIFICATION";
|
|
936
|
+
case PLKViewNameValueKYCCheck:
|
|
937
|
+
return @"KYC_CHECK";
|
|
938
|
+
case PLKViewNameValueSelfieCheck:
|
|
939
|
+
return @"SELFIE_CHECK";
|
|
940
|
+
case PLKViewNameValueRiskCheck:
|
|
941
|
+
return @"RISK_CHECK";
|
|
942
|
+
case PLKViewNameValueScreening:
|
|
943
|
+
return @"SCREENING";
|
|
944
|
+
case PLKViewNameValueVerifySMS:
|
|
945
|
+
return @"VERIFY_SMS";
|
|
900
946
|
}
|
|
901
947
|
|
|
902
948
|
return @"unknown";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-plaid-link-sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"description": "React Native Plaid Link SDK",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"license": "MIT",
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": "*",
|
|
44
|
-
"react-native": ">=0.
|
|
44
|
+
"react-native": ">=0.66.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@react-native-community/eslint-plugin": "^1.1.0",
|
|
48
48
|
"@types/jest": "^26.0.14",
|
|
49
49
|
"@types/react": "^16.14.20",
|
|
50
|
-
"@types/react-native": "^0.
|
|
50
|
+
"@types/react-native": "^0.66.0",
|
|
51
51
|
"@types/react-test-renderer": "^16.9.3",
|
|
52
52
|
"@typescript-eslint/eslint-plugin": "^4.6.1",
|
|
53
53
|
"@typescript-eslint/parser": "^4.6.1",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"husky": "^3.1.0",
|
|
59
59
|
"lint-staged": "^9.4.2",
|
|
60
60
|
"prettier": "^1.18.2",
|
|
61
|
-
"react": "
|
|
62
|
-
"react-native": "
|
|
61
|
+
"react": "17.0.2",
|
|
62
|
+
"react-native": "0.66.0",
|
|
63
63
|
"typescript": "^4.5.5",
|
|
64
64
|
"xyz": "0.5.x"
|
|
65
65
|
}
|
package/ios/.DS_Store
DELETED
|
Binary file
|
|
Binary file
|
package/ios/RNLinksdk.xcodeproj/xcuserdata/wkiefer.xcuserdatad/xcschemes/xcschememanagement.plist
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
-
<plist version="1.0">
|
|
4
|
-
<dict>
|
|
5
|
-
<key>SchemeUserState</key>
|
|
6
|
-
<dict>
|
|
7
|
-
<key>RNLinksdk.xcscheme_^#shared#^_</key>
|
|
8
|
-
<dict>
|
|
9
|
-
<key>orderHint</key>
|
|
10
|
-
<integer>0</integer>
|
|
11
|
-
</dict>
|
|
12
|
-
</dict>
|
|
13
|
-
</dict>
|
|
14
|
-
</plist>
|