react-native-plaid-link-sdk 9.0.0 → 9.1.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 +5 -2
- package/android/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/6.1/fileChanges/last-build.bin +0 -0
- package/android/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/6.1/gc.properties +0 -0
- package/android/.gradle/6.9/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/6.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/6.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/6.9/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/build.gradle +2 -2
- package/android/src/main/AndroidManifest.xml +1 -1
- package/dist/PlaidLink.d.ts +2 -2
- package/dist/Types.d.ts +7 -7
- package/ios/RNLinksdk.m +1 -1
- package/package.json +1 -1
- package/react-native-plaid-link-sdk.podspec +1 -1
- 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
|
@@ -40,6 +40,8 @@ followed by
|
|
|
40
40
|
|
|
41
41
|
### OAuth Requirements
|
|
42
42
|
|
|
43
|
+
:warning: All integrations must migrate to version 9.0.0 or later of the React Native SDK (requires version 4.1.0 or later of the iOS LinkKit SDK) by June 30, 2023, to maintain support for Chase OAuth on iOS.
|
|
44
|
+
|
|
43
45
|
For iOS OAuth to work, specific requirements must be met.
|
|
44
46
|
* Redirect URIs must be registered, and set up as universal links ([docs](https://plaid.com/docs/link/ios/#register-your-redirect-uri))
|
|
45
47
|
* Deep linking must be set up in the application delegate class (see code sample below)
|
|
@@ -198,8 +200,9 @@ When upgrading from a previous major version of this library, see the following
|
|
|
198
200
|
# Version compatibility
|
|
199
201
|
| React Native SDK | Android SDK | iOS SDK | Status |
|
|
200
202
|
|---|---|---|---|
|
|
201
|
-
|
|
|
202
|
-
|
|
|
203
|
+
| 9.x.x | [3.10.1+] | >=4.1.0 | Active, supports Xcode 14 |
|
|
204
|
+
| 8.x.x | [3.10.1+] | >=3.1.0 | Deprecated, supports Xcode 14 |
|
|
205
|
+
| 7.x.x | [3.2.0+] | >=2.0.11 | Deprecated, supports Xcode <= 13 |
|
|
203
206
|
| 6.x.x | [3.0.0-3.2.0) | >=2.0.1 | Deprecated |
|
|
204
207
|
| 5.x.x | [2.1.0-3.0.0) | >=1.1.34 | Deprecated |
|
|
205
208
|
| 4.x.x | [2.0.0-2.1.0) | <=1.1.33 | Deprecated |
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
package/android/build.gradle
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
allprojects {
|
|
2
2
|
repositories {
|
|
3
3
|
mavenLocal()
|
|
4
|
-
|
|
4
|
+
mavenCentral()
|
|
5
5
|
maven {
|
|
6
6
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
7
7
|
url "$rootDir/../node_modules/react-native/android"
|
|
@@ -64,7 +64,7 @@ repositories {
|
|
|
64
64
|
|
|
65
65
|
dependencies {
|
|
66
66
|
implementation "com.facebook.react:react-native:+"
|
|
67
|
-
implementation "com.plaid.link:sdk-core:3.
|
|
67
|
+
implementation "com.plaid.link:sdk-core:3.13.2"
|
|
68
68
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
69
69
|
implementation "com.jakewharton.rxrelay2:rxrelay:2.1.1"
|
|
70
70
|
}
|
package/dist/PlaidLink.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { LinkEventListener, PlaidLinkComponentProps, PlaidLinkProps } from './Types';
|
|
3
3
|
/**
|
|
4
4
|
* A hook that registers a listener on the Plaid emitter for the 'onEvent' type.
|
|
@@ -10,4 +10,4 @@ export declare const usePlaidEmitter: (LinkEventListener: LinkEventListener) =>
|
|
|
10
10
|
export declare const openLink: (props: PlaidLinkProps) => Promise<void>;
|
|
11
11
|
export declare const dismissLink: () => void;
|
|
12
12
|
export declare const useDeepLinkRedirector: () => void;
|
|
13
|
-
export declare const PlaidLink: (props: PlaidLinkComponentProps) => JSX.Element;
|
|
13
|
+
export declare const PlaidLink: (props: PlaidLinkComponentProps) => React.JSX.Element;
|
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;
|
|
@@ -313,7 +313,7 @@ export declare enum LinkErrorType {
|
|
|
313
313
|
RECAPTCHA_ERROR = "RECAPTCHA_ERROR",
|
|
314
314
|
OAUTH_ERROR = "OAUTH_ERROR"
|
|
315
315
|
}
|
|
316
|
-
export
|
|
316
|
+
export type LinkEventListener = (linkEvent: LinkEvent) => void;
|
|
317
317
|
export interface LinkEvent {
|
|
318
318
|
eventName: LinkEventName;
|
|
319
319
|
metadata: LinkEventMetadata;
|
|
@@ -388,9 +388,9 @@ export declare enum LinkEventViewName {
|
|
|
388
388
|
SELECT_INSTITUTION = "SELECT_INSTITUTION",
|
|
389
389
|
VERIFY_SMS = "VERIFY_SMS"
|
|
390
390
|
}
|
|
391
|
-
export
|
|
392
|
-
export
|
|
393
|
-
export
|
|
391
|
+
export type LinkSuccessListener = (LinkSuccess: LinkSuccess) => void;
|
|
392
|
+
export type LinkExitListener = (LinkExit: LinkExit) => void;
|
|
393
|
+
export type PlaidLinkConfiguration = LinkTokenConfiguration | LinkPublicKeyConfiguration;
|
|
394
394
|
export interface PlaidLinkProps {
|
|
395
395
|
tokenConfig?: LinkTokenConfiguration;
|
|
396
396
|
publicKeyConfig?: LinkPublicKeyConfiguration;
|
|
@@ -398,7 +398,7 @@ export interface PlaidLinkProps {
|
|
|
398
398
|
onExit?: LinkExitListener;
|
|
399
399
|
onPress?(): any;
|
|
400
400
|
}
|
|
401
|
-
export
|
|
401
|
+
export type PlaidLinkComponentProps = (PlaidLinkProps & {
|
|
402
402
|
children: React.ReactNode;
|
|
403
403
|
});
|
|
404
404
|
export {};
|
package/ios/RNLinksdk.m
CHANGED
package/package.json
CHANGED
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>
|