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.
Files changed (27) hide show
  1. package/README.md +5 -2
  2. package/android/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
  3. package/android/.gradle/6.1/fileChanges/last-build.bin +0 -0
  4. package/android/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
  5. package/android/.gradle/6.1/gc.properties +0 -0
  6. package/android/.gradle/6.9/executionHistory/executionHistory.lock +0 -0
  7. package/android/.gradle/6.9/fileChanges/last-build.bin +0 -0
  8. package/android/.gradle/6.9/fileHashes/fileHashes.lock +0 -0
  9. package/android/.gradle/6.9/gc.properties +0 -0
  10. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  11. package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
  12. package/android/.gradle/checksums/checksums.lock +0 -0
  13. package/android/.gradle/checksums/md5-checksums.bin +0 -0
  14. package/android/.gradle/checksums/sha1-checksums.bin +0 -0
  15. package/android/.gradle/vcs-1/gc.properties +0 -0
  16. package/android/build.gradle +2 -2
  17. package/android/src/main/AndroidManifest.xml +1 -1
  18. package/dist/PlaidLink.d.ts +2 -2
  19. package/dist/Types.d.ts +7 -7
  20. package/ios/RNLinksdk.m +1 -1
  21. package/package.json +1 -1
  22. package/react-native-plaid-link-sdk.podspec +1 -1
  23. package/ios/.DS_Store +0 -0
  24. package/ios/RNLinksdk.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
  25. package/ios/RNLinksdk.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  26. package/ios/RNLinksdk.xcodeproj/project.xcworkspace/xcuserdata/wkiefer.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  27. 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
- | 8.x.x | [3.10.1+] | >=3.1.0 | Active, supports Xcode 14 |
202
- | 7.x.x | [3.2.0+] | >=2.0.11 | Active, supports Xcode <= 13 |
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 |
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ #Thu Jul 20 12:32:57 PDT 2023
2
+ gradle.version=6.1
File without changes
@@ -1,7 +1,7 @@
1
1
  allprojects {
2
2
  repositories {
3
3
  mavenLocal()
4
- + mavenCentral()
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.10.1"
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
  }
@@ -4,7 +4,7 @@
4
4
  <application>
5
5
  <meta-data
6
6
  android:name="com.plaid.link.react_native"
7
- android:value="9.0.0" />
7
+ android:value="9.1.0" />
8
8
  </application>
9
9
 
10
10
  </manifest>
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
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 declare type LinkTokenConfiguration = (CommonPlaidLinkOptions & {
6
+ export type LinkTokenConfiguration = (CommonPlaidLinkOptions & {
7
7
  token: string;
8
8
  noLoadingState: boolean;
9
9
  });
10
- export declare type LinkPublicKeyConfiguration = (CommonPlaidLinkOptions & {
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 declare type LinkEventListener = (linkEvent: LinkEvent) => void;
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 declare type LinkSuccessListener = (LinkSuccess: LinkSuccess) => void;
392
- export declare type LinkExitListener = (LinkExit: LinkExit) => void;
393
- export declare type PlaidLinkConfiguration = LinkTokenConfiguration | LinkPublicKeyConfiguration;
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 declare type PlaidLinkComponentProps = (PlaidLinkProps & {
401
+ export type PlaidLinkComponentProps = (PlaidLinkProps & {
402
402
  children: React.ReactNode;
403
403
  });
404
404
  export {};
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 @"9.0.0"; // SDK_VERSION
120
+ return @"9.1.0"; // SDK_VERSION
121
121
  }
122
122
 
123
123
  + (NSString*)objCBridgeVersion {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-plaid-link-sdk",
3
- "version": "9.0.0",
3
+ "version": "9.1.0",
4
4
  "description": "React Native Plaid Link SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -16,5 +16,5 @@ Pod::Spec.new do |s|
16
16
  s.source_files = "ios/*.{h,m}"
17
17
 
18
18
  s.dependency 'React-Core'
19
- s.dependency 'Plaid', '~> 4.1.0'
19
+ s.dependency 'Plaid', '~> 4.4.0'
20
20
  end
package/ios/.DS_Store DELETED
Binary file
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Workspace
3
- version = "1.0">
4
- <FileRef
5
- location = "self:">
6
- </FileRef>
7
- </Workspace>
@@ -1,8 +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>IDEDidComputeMac32BitWarning</key>
6
- <true/>
7
- </dict>
8
- </plist>
@@ -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>