react-native-plaid-link-sdk 12.8.5 → 12.8.7
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 +3369 -0
- package/README.md +4 -0
- package/android/build.gradle +1 -1
- package/android/src/main/AndroidManifest.xml +1 -1
- package/dist/src/Types.d.ts +1 -0
- package/dist/src/fabric/EmbeddedLinkViewNativeComponent.d.ts +2 -0
- package/ios/Frameworks/LinkKit.xcframework/Info.plist +44 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Headers/LinkKit-Swift.h +364 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Headers/LinkKit.h +25 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Headers/PLKPlaid+PrivateInitializers.h +122 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Headers/PLKPlaid.h +648 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Info.plist +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/LinkKit +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios.abi.json +57717 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios.private.swiftinterface +724 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios.swiftinterface +724 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios.swiftmodule +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/PrivacyInfo.xcprivacy +32 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Threads_Threads.bundle/Assets.car +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Threads_Threads.bundle/Info.plist +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/_CodeSignature/CodeResources +245 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Headers/LinkKit-Swift.h +724 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Headers/LinkKit.h +25 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Headers/PLKPlaid+PrivateInitializers.h +122 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Headers/PLKPlaid.h +648 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Info.plist +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/LinkKit +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios-simulator.abi.json +57717 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +724 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +724 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/x86_64-apple-ios-simulator.abi.json +57717 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +724 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +724 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/PrivacyInfo.xcprivacy +32 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Threads_Threads.bundle/Assets.car +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Threads_Threads.bundle/Info.plist +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/_CodeSignature/CodeResources +300 -0
- package/ios/RNLinksdk.mm +1 -1
- package/package.json +30 -4
- package/react-native-plaid-link-sdk.podspec +6 -2
- package/dist/EmbeddedLink/EmbeddedLinkView.d.ts +0 -13
- package/dist/EmbeddedLink/EmbeddedLinkView.js +0 -55
- package/dist/EmbeddedLink/EmbeddedLinkView.web.d.ts +0 -1
- package/dist/EmbeddedLink/EmbeddedLinkView.web.js +0 -1
- package/dist/EmbeddedLink/NativeEmbeddedLinkView.d.ts +0 -2
- package/dist/EmbeddedLink/NativeEmbeddedLinkView.js +0 -2
- package/dist/PlaidLink.d.ts +0 -27
- package/dist/PlaidLink.js +0 -124
- package/dist/Types.d.ts +0 -539
- package/dist/Types.js +0 -454
- package/dist/__tests__/Types.tests.d.ts +0 -1
- package/dist/__tests__/Types.tests.js +0 -14
- package/dist/build/PlaidEmbeddedSearchView.d.ts +0 -2
- package/dist/build/PlaidEmbeddedSearchView.js +0 -19
- package/dist/build/ReactNativePlaidLinkSdk.types.d.ts +0 -108
- package/dist/build/ReactNativePlaidLinkSdk.types.js +0 -470
- package/dist/build/ReactNativePlaidLinkSdkModule.d.ts +0 -2
- package/dist/build/ReactNativePlaidLinkSdkModule.js +0 -4
- package/dist/build/index.d.ts +0 -14
- package/dist/build/index.js +0 -104
- package/dist/fabric/EmbeddedLinkViewNativeComponent.d.ts +0 -15
- package/dist/fabric/EmbeddedLinkViewNativeComponent.js +0 -2
- package/dist/fabric/NativePlaidLinkModuleAndroid.d.ts +0 -14
- package/dist/fabric/NativePlaidLinkModuleAndroid.js +0 -4
- package/dist/fabric/NativePlaidLinkModuleiOS.d.ts +0 -15
- package/dist/fabric/NativePlaidLinkModuleiOS.js +0 -4
- package/dist/fabric/fabricUtils.d.ts +0 -1
- package/dist/fabric/fabricUtils.js +0 -1
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -6
- package/dist/scripts/check-package-entrypoints.d.ts +0 -1
- package/dist/scripts/check-package-entrypoints.js +0 -61
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { TurboModule } from 'react-native';
|
|
2
|
-
import { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
-
import { UnsafeObject } from './fabricUtils';
|
|
4
|
-
import { LinkSuccess, LinkExit, LinkError, FinanceKitError } from '../Types';
|
|
5
|
-
export interface Spec extends TurboModule {
|
|
6
|
-
create(token: string, noLoadingState: boolean): void;
|
|
7
|
-
open(fullScreen: boolean, onSuccess: (result: UnsafeObject<LinkSuccess>) => void, onExit: (error: UnsafeObject<LinkError>, result: UnsafeObject<LinkExit>) => void): void;
|
|
8
|
-
dismiss(): void;
|
|
9
|
-
submit(phoneNumber: string | undefined): void;
|
|
10
|
-
addListener(eventName: string): void;
|
|
11
|
-
removeListeners(count: Int32): void;
|
|
12
|
-
syncFinanceKit(token: string, requestAuthorizationIfNeeded: boolean, onSuccess: (success: void) => void, onError: (error: FinanceKitError) => void): void;
|
|
13
|
-
}
|
|
14
|
-
declare const _default: Spec | null;
|
|
15
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type UnsafeObject<T> = T;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/index.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { create, open, dismissLink, usePlaidEmitter, syncFinanceKit, submit } from './PlaidLink';
|
|
2
|
-
export * from './Types';
|
|
3
|
-
export { create, open, dismissLink, usePlaidEmitter, syncFinanceKit, submit, };
|
|
4
|
-
export { EmbeddedLinkView } from './EmbeddedLink/EmbeddedLinkView';
|
package/dist/index.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
// qwe clean this up...
|
|
2
|
-
import { create, open, dismissLink, usePlaidEmitter, syncFinanceKit, submit, } from './PlaidLink';
|
|
3
|
-
export * from './Types';
|
|
4
|
-
export { create, open, dismissLink, usePlaidEmitter, syncFinanceKit, submit, };
|
|
5
|
-
// Components
|
|
6
|
-
export { EmbeddedLinkView } from './EmbeddedLink/EmbeddedLinkView';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const { execFileSync } = require('child_process');
|
|
3
|
-
const fs = require('fs');
|
|
4
|
-
const os = require('os');
|
|
5
|
-
const path = require('path');
|
|
6
|
-
const root = path.resolve(__dirname, '..');
|
|
7
|
-
const packageJsonPath = path.join(root, 'package.json');
|
|
8
|
-
const packageJson = require(packageJsonPath);
|
|
9
|
-
function fail(message) {
|
|
10
|
-
console.error(`Package entrypoint check failed: ${message}`);
|
|
11
|
-
process.exit(1);
|
|
12
|
-
}
|
|
13
|
-
function assertPackageFieldExists(fieldName) {
|
|
14
|
-
const fieldValue = packageJson[fieldName];
|
|
15
|
-
if (typeof fieldValue !== 'string' || fieldValue.length === 0) {
|
|
16
|
-
fail(`package.json field "${fieldName}" must be a non-empty string.`);
|
|
17
|
-
}
|
|
18
|
-
const absolutePath = path.join(root, fieldValue);
|
|
19
|
-
if (!fs.existsSync(absolutePath)) {
|
|
20
|
-
fail(`package.json field "${fieldName}" points to a missing file: ${fieldValue}`);
|
|
21
|
-
}
|
|
22
|
-
return fieldValue;
|
|
23
|
-
}
|
|
24
|
-
const main = assertPackageFieldExists('main');
|
|
25
|
-
const types = assertPackageFieldExists('types');
|
|
26
|
-
try {
|
|
27
|
-
const resolved = require.resolve(root);
|
|
28
|
-
const expected = path.join(root, main);
|
|
29
|
-
if (resolved !== expected) {
|
|
30
|
-
fail(`require.resolve('.') resolved to ${path.relative(root, resolved)}, expected ${main}`);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
catch (error) {
|
|
34
|
-
fail(`require.resolve('.') failed: ${error.message}`);
|
|
35
|
-
}
|
|
36
|
-
let packOutput;
|
|
37
|
-
try {
|
|
38
|
-
packOutput = execFileSync('npm', ['pack', '--dry-run', '--json'], {
|
|
39
|
-
cwd: root,
|
|
40
|
-
encoding: 'utf8',
|
|
41
|
-
env: Object.assign(Object.assign({}, process.env), { npm_config_cache: path.join(os.tmpdir(), 'react-native-plaid-link-sdk-npm-cache') }),
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
catch (error) {
|
|
45
|
-
fail(`npm pack --dry-run --json failed:\n${error.stderr || error.message}`);
|
|
46
|
-
}
|
|
47
|
-
let packResult;
|
|
48
|
-
try {
|
|
49
|
-
packResult = JSON.parse(packOutput);
|
|
50
|
-
}
|
|
51
|
-
catch (error) {
|
|
52
|
-
fail(`npm pack did not return valid JSON: ${error.message}`);
|
|
53
|
-
}
|
|
54
|
-
const packedFiles = (packResult[0] && packResult[0].files) || [];
|
|
55
|
-
const files = new Set(packedFiles.map(file => file.path));
|
|
56
|
-
for (const entrypoint of [main, types]) {
|
|
57
|
-
if (!files.has(entrypoint)) {
|
|
58
|
-
fail(`packed package does not include ${entrypoint}`);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
console.log(`Package entrypoints are valid: ${main}, ${types}`);
|